terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Color32.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
11 // Token: 0x020000CE RID: 206
12 [DefaultMember("Item")]
14 [StructLayout(2)]
15 public struct Color32 : IFormattable
16 {
17 // Token: 0x060003F2 RID: 1010 RVA: 0x00007B28 File Offset: 0x00005D28
18 public Color32(byte r, byte g, byte b, byte a)
19 {
20 this.rgba = (int)r;
21 this.g = g;
22 this.b = b;
23 this.a = a;
24 }
25
26 // Token: 0x060003F3 RID: 1011 RVA: 0x000021B3 File Offset: 0x000003B3
27 public static implicit operator Color32(Color c)
28 {
29 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
30 }
31
32 // Token: 0x060003F4 RID: 1012 RVA: 0x000021B3 File Offset: 0x000003B3
33 public static implicit operator Color(Color32 c)
34 {
35 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
36 }
37
38 // Token: 0x060003F5 RID: 1013 RVA: 0x000021B3 File Offset: 0x000003B3
39 public static Color32 Lerp(Color32 a, Color32 b, float t)
40 {
41 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
42 }
43
44 // Token: 0x060003F6 RID: 1014 RVA: 0x00007B54 File Offset: 0x00005D54
45 public override string ToString()
46 {
47 string text;
48 return text;
49 }
50
51 // Token: 0x060003F7 RID: 1015 RVA: 0x00007B64 File Offset: 0x00005D64
53 {
54 if (formatProvider == null)
55 {
57 }
58 string text;
59 string text2;
60 string text3;
61 string text4;
62 if ((text == null || text != null) && (text2 == null || text2 != null) && (text3 == null || text3 != null) && (text4 == null || text4 != null))
63 {
64 string text5;
65 return text5;
66 }
68 }
69
70 // Token: 0x040003BB RID: 955
71 [Ignore(DoesNotContributeToSize = true)]
72 private int rgba;
73
74 // Token: 0x040003BC RID: 956
75 public byte r;
76
77 // Token: 0x040003BD RID: 957
78 public byte g;
79
80 // Token: 0x040003BE RID: 958
81 public byte b;
82
83 // Token: 0x040003BF RID: 959
84 public byte a;
85 }
86}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
string ToString(string format, IFormatProvider formatProvider)
Definition Color32.cs:52
Color32(byte r, byte g, byte b, byte a)
Definition Color32.cs:18
override string ToString()
Definition Color32.cs:45
static Color32 Lerp(Color32 a, Color32 b, float t)
Definition Color32.cs:39