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
TorchID.cs
Go to the documentation of this file.
1using System;
4
5namespace Terraria.ID
6{
7 // Token: 0x02000600 RID: 1536
8 public static class TorchID
9 {
10 // Token: 0x060035A5 RID: 13733 RVA: 0x00211674 File Offset: 0x0020F874
11 public static void Initialize()
12 {
13 if (!true)
14 {
15 }
16 }
17
18 // Token: 0x060035A6 RID: 13734 RVA: 0x0021168C File Offset: 0x0020F88C
19 public static void TorchColor(int torchID, [Out] float R, [Out] float G, [Out] float B)
20 {
21 if (!true)
22 {
23 }
24 }
25
26 // Token: 0x060035A7 RID: 13735 RVA: 0x002116A8 File Offset: 0x0020F8A8
27 // Note: this type is marked as 'beforefieldinit'.
28 static TorchID()
29 {
30 }
31
32 // Token: 0x04007331 RID: 29489
33 public static int[] Dust;
34
35 // Token: 0x04007332 RID: 29490
37
38 // Token: 0x04007333 RID: 29491
39 public const short Torch = 0;
40
41 // Token: 0x04007334 RID: 29492
42 public const short Blue = 1;
43
44 // Token: 0x04007335 RID: 29493
45 public const short Red = 2;
46
47 // Token: 0x04007336 RID: 29494
48 public const short Green = 3;
49
50 // Token: 0x04007337 RID: 29495
51 public const short Purple = 4;
52
53 // Token: 0x04007338 RID: 29496
54 public const short White = 5;
55
56 // Token: 0x04007339 RID: 29497
57 public const short Yellow = 6;
58
59 // Token: 0x0400733A RID: 29498
60 public const short Demon = 7;
61
62 // Token: 0x0400733B RID: 29499
63 public const short Cursed = 8;
64
65 // Token: 0x0400733C RID: 29500
66 public const short Ice = 9;
67
68 // Token: 0x0400733D RID: 29501
69 public const short Orange = 10;
70
71 // Token: 0x0400733E RID: 29502
72 public const short Ichor = 11;
73
74 // Token: 0x0400733F RID: 29503
75 public const short UltraBright = 12;
76
77 // Token: 0x04007340 RID: 29504
78 public const short Bone = 13;
79
80 // Token: 0x04007341 RID: 29505
81 public const short Rainbow = 14;
82
83 // Token: 0x04007342 RID: 29506
84 public const short Pink = 15;
85
86 // Token: 0x04007343 RID: 29507
87 public const short Desert = 16;
88
89 // Token: 0x04007344 RID: 29508
90 public const short Coral = 17;
91
92 // Token: 0x04007345 RID: 29509
93 public const short Corrupt = 18;
94
95 // Token: 0x04007346 RID: 29510
96 public const short Crimson = 19;
97
98 // Token: 0x04007347 RID: 29511
99 public const short Hallowed = 20;
100
101 // Token: 0x04007348 RID: 29512
102 public const short Jungle = 21;
103
104 // Token: 0x04007349 RID: 29513
105 public const short Mushroom = 22;
106
107 // Token: 0x0400734A RID: 29514
108 public const short Shimmer = 23;
109
110 // Token: 0x0400734B RID: 29515
111 public static readonly short Count;
112
113 // Token: 0x02000601 RID: 1537
114 private interface ITorchLightProvider
115 {
116 // Token: 0x060035A8 RID: 13736
117 void GetRGB([Out] float r, [Out] float g, [Out] float b);
118 }
119
120 // Token: 0x02000602 RID: 1538
122 {
123 // Token: 0x060035A9 RID: 13737 RVA: 0x002116B8 File Offset: 0x0020F8B8
124 public ConstantTorchLight(float Red, float Green, float Blue)
125 {
126 }
127
128 // Token: 0x060035AA RID: 13738 RVA: 0x002116C8 File Offset: 0x0020F8C8
129 public void GetRGB([Out] float r, [Out] float g, [Out] float b)
130 {
131 float g2 = this.G;
132 float b2 = this.B;
133 }
134
135 // Token: 0x0400734C RID: 29516
136 public float R;
137
138 // Token: 0x0400734D RID: 29517
139 public float G;
140
141 // Token: 0x0400734E RID: 29518
142 public float B;
143 }
144
145 // Token: 0x02000603 RID: 1539
147 {
148 // Token: 0x060035AB RID: 13739 RVA: 0x002116E4 File Offset: 0x0020F8E4
149 public void GetRGB([Out] float r, [Out] float g, [Out] float b)
150 {
151 if (!true)
152 {
153 }
154 }
155 }
156
157 // Token: 0x02000604 RID: 1540
159 {
160 // Token: 0x060035AC RID: 13740 RVA: 0x002116F4 File Offset: 0x0020F8F4
161 public void GetRGB([Out] float r, [Out] float g, [Out] float b)
162 {
163 if (!true)
164 {
165 }
166 float num = MathHelper.Clamp(r, g, b);
167 float num2 = MathHelper.Clamp(num, g, b);
168 }
169 }
170
171 // Token: 0x02000605 RID: 1541
173 {
174 // Token: 0x060035AD RID: 13741 RVA: 0x0021171C File Offset: 0x0020F91C
175 public void GetRGB([Out] float r, [Out] float g, [Out] float b)
176 {
177 if (!true)
178 {
179 }
180 }
181 }
182 }
183}
class f__AnonymousType0<< Count > j__TPar
static float Clamp(float value, float min, float max)
Definition MathHelper.cs:22
const short Pink
Definition TorchID.cs:84
static void Initialize()
Definition TorchID.cs:11
const short Rainbow
Definition TorchID.cs:81
const short UltraBright
Definition TorchID.cs:75
static readonly short Count
Definition TorchID.cs:111
const short Ice
Definition TorchID.cs:66
const short Yellow
Definition TorchID.cs:57
static int[] Dust
Definition TorchID.cs:33
const short Crimson
Definition TorchID.cs:96
const short Corrupt
Definition TorchID.cs:93
const short White
Definition TorchID.cs:54
const short Mushroom
Definition TorchID.cs:105
const short Ichor
Definition TorchID.cs:72
const short Green
Definition TorchID.cs:48
const short Purple
Definition TorchID.cs:51
const short Demon
Definition TorchID.cs:60
const short Shimmer
Definition TorchID.cs:108
const short Torch
Definition TorchID.cs:39
const short Orange
Definition TorchID.cs:69
const short Blue
Definition TorchID.cs:42
const short Jungle
Definition TorchID.cs:102
const short Red
Definition TorchID.cs:45
static void TorchColor(int torchID, [Out] float R, [Out] float G, [Out] float B)
Definition TorchID.cs:19
static TorchID()
Definition TorchID.cs:28
const short Bone
Definition TorchID.cs:78
const short Cursed
Definition TorchID.cs:63
const short Coral
Definition TorchID.cs:90
static TorchID.ITorchLightProvider[] _lights
Definition TorchID.cs:36
const short Hallowed
Definition TorchID.cs:99
void GetRGB([Out] float r, [Out] float g, [Out] float b)
ConstantTorchLight(float Red, float Green, float Blue)
Definition TorchID.cs:124
void GetRGB([Out] float r, [Out] float g, [Out] float b)
Definition TorchID.cs:129
void GetRGB([Out] float r, [Out] float g, [Out] float b)
Definition TorchID.cs:149
void GetRGB([Out] float r, [Out] float g, [Out] float b)
Definition TorchID.cs:175
void GetRGB([Out] float r, [Out] float g, [Out] float b)
Definition TorchID.cs:161