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.
1
using
System
;
2
using
System.Globalization
;
3
using
System.Reflection
;
4
using
System.Runtime.InteropServices
;
5
using
Cpp2IlInjected
;
6
using
UnityEngine.Bindings
;
7
using
UnityEngine.Scripting
;
8
9
namespace
UnityEngine
10
{
11
// Token: 0x020000CE RID: 206
12
[
DefaultMember
(
"Item"
)]
13
[
UsedByNativeCode
]
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
52
public
string
ToString
(
string
format
,
IFormatProvider
formatProvider
)
53
{
54
if
(
formatProvider
==
null
)
55
{
56
CultureInfo
invariantCulture
=
CultureInfo
.
InvariantCulture
;
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
}
67
throw
new
ArrayTypeMismatchException
();
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
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.Globalization.CultureInfo.InvariantCulture
static CultureInfo InvariantCulture
Definition
CultureInfo.cs:39
System.Globalization.CultureInfo
Definition
CultureInfo.cs:15
System.IFormatProvider
Definition
IFormatProvider.cs:7
System.IFormattable
Definition
IFormattable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Globalization
Definition
Bootstring.cs:5
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.format
@ format
System
Definition
__ComObject.cs:4
UnityEngine.Bindings
Definition
CodegenOptions.cs:4
UnityEngine.Scripting
Definition
MovedFromAttribute.cs:4
UnityEngine.CameraClearFlags.Color
@ Color
UnityEngine.EventType.Ignore
@ Ignore
UnityEngine
Definition
_AndroidJNIHelper.cs:6
UnityEngine.Color32.ToString
string ToString(string format, IFormatProvider formatProvider)
Definition
Color32.cs:52
UnityEngine.Color32.Color32
Color32(byte r, byte g, byte b, byte a)
Definition
Color32.cs:18
UnityEngine.Color32.g
byte g
Definition
Color32.cs:78
UnityEngine.Color32.b
byte b
Definition
Color32.cs:81
UnityEngine.Color32.rgba
int rgba
Definition
Color32.cs:72
UnityEngine.Color32.a
byte a
Definition
Color32.cs:84
UnityEngine.Color32.r
byte r
Definition
Color32.cs:75
UnityEngine.Color32.ToString
override string ToString()
Definition
Color32.cs:45
UnityEngine.Color32.Lerp
static Color32 Lerp(Color32 a, Color32 b, float t)
Definition
Color32.cs:39
UnityEngine.Color32
Definition
Color32.cs:16
UnityEngine.Color
Definition
Color.cs:16
source
UnityEngine.CoreModule
UnityEngine
Color32.cs
Generated by
1.10.0