terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Color32.cs
Go to the documentation of this file.
1using System;
10
11namespace UnityEngine
12{
13 [DefaultMember("Item")]
15 [global::Cpp2ILInjected.Token(Token = "0x20000CE")]
16 [StructLayout(2)]
17 public struct Color32 : IFormattable
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x60003F2")]
20 [global::Cpp2ILInjected.Address(RVA = "0x1F81694", Offset = "0x1F81694", Length = "0x14")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 [MethodImpl(256)]
23 public Color32(byte r, byte g, byte b, byte a)
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x60003F3")]
29 [global::Cpp2ILInjected.Address(RVA = "0x1F816A8", Offset = "0x1F816A8", Length = "0x2C4")]
30 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
33 [MethodImpl(256)]
34 public static implicit operator Color32(Color c)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x60003F4")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1F8196C", Offset = "0x1F8196C", Length = "0x3C")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 [MethodImpl(256)]
44 public static implicit operator Color(Color32 c)
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x60003F5")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1F819A8", Offset = "0x1F819A8", Length = "0xDC")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 [MethodImpl(256)]
54 public static Color32 Lerp(Color32 a, Color32 b, float t)
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x60003F6")]
60 [global::Cpp2ILInjected.Address(RVA = "0x1F81A84", Offset = "0x1F81A84", Length = "0xC")]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 public override string ToString()
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x60003F7")]
68 [global::Cpp2ILInjected.Address(RVA = "0x1F81A90", Offset = "0x1F81A90", Length = "0x1A0")]
69 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(byte), Member = "ToString", MemberParameters = new object[]
73 {
74 typeof(string),
76 }, ReturnType = typeof(string))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "UnityEngine.UnityString", Member = "Format", MemberParameters = new object[]
78 {
79 typeof(string),
80 typeof(object[])
81 }, ReturnType = typeof(string))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
84 {
85 throw null;
86 }
87
88 [Ignore(DoesNotContributeToSize = true)]
89 [global::Cpp2ILInjected.Token(Token = "0x40003BB")]
90 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
91 [global::System.Runtime.InteropServices.FieldOffset(0)]
92 private int rgba;
93
94 [global::Cpp2ILInjected.Token(Token = "0x40003BC")]
95 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
96 [global::System.Runtime.InteropServices.FieldOffset(0)]
97 public byte r;
98
99 [global::Cpp2ILInjected.Token(Token = "0x40003BD")]
100 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1")]
101 [global::System.Runtime.InteropServices.FieldOffset(1)]
102 public byte g;
103
104 [global::Cpp2ILInjected.Token(Token = "0x40003BE")]
105 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2")]
106 [global::System.Runtime.InteropServices.FieldOffset(2)]
107 public byte b;
108
109 [global::Cpp2ILInjected.Token(Token = "0x40003BF")]
110 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3")]
111 [global::System.Runtime.InteropServices.FieldOffset(3)]
112 public byte a;
113 }
114}
class f__AnonymousType0<< Count > j__TPar
string ToString(string format, IFormatProvider formatProvider)
Definition Color32.cs:83
Color32(byte r, byte g, byte b, byte a)
Definition Color32.cs:23
override string ToString()
Definition Color32.cs:62
static Color32 Lerp(Color32 a, Color32 b, float t)
Definition Color32.cs:54