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
DrawData.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000621 RID: 1569
8 public struct DrawData
9 {
10 // Token: 0x060035E0 RID: 13792 RVA: 0x00211BF0 File Offset: 0x0020FDF0
12 {
15 if (!true)
16 {
17 }
18 long num = 0L;
19 long num2 = 0L;
20 long num3 = 0L;
21 long num4 = 0L;
22 Rectangle rectangle = texture.Frame(1, 1, (int)num, (int)num2, (int)num3, (int)num4);
25 if (!true)
26 {
27 }
28 if (!true)
29 {
30 }
31 this.origin = 1;
32 if (!true)
33 {
34 }
35 this.scale = 1;
36 }
37
38 // Token: 0x060035E1 RID: 13793 RVA: 0x00211C50 File Offset: 0x0020FE50
52
53 // Token: 0x060035E2 RID: 13794 RVA: 0x00211C90 File Offset: 0x0020FE90
55 {
56 if (!true)
57 {
58 }
59 long num = 0L;
60 long num2 = 0L;
61 long num3 = 0L;
62 long num4 = 0L;
63 Rectangle rectangle = texture.Frame(1, 1, (int)num, (int)num2, (int)num3, (int)num4);
68 }
69
70 // Token: 0x060035E3 RID: 13795 RVA: 0x00211CD8 File Offset: 0x0020FED8
79
80 // Token: 0x060035E4 RID: 13796 RVA: 0x00211D10 File Offset: 0x0020FF10
89
90 // Token: 0x060035E5 RID: 13797 RVA: 0x00211D48 File Offset: 0x0020FF48
91 public void Draw(SpriteBatch sb)
92 {
93 float num = this.rotation;
94 float x = this.origin.X;
95 float y = this.origin.Y;
96 float x2 = this.scale.X;
97 float y2 = this.scale.Y;
99 }
100
101 // Token: 0x060035E6 RID: 13798 RVA: 0x00211D98 File Offset: 0x0020FF98
103 {
104 int num = 1;
105 float x = this.position.X;
106 float y = this.position.Y;
107 if (num == 0)
108 {
109 }
110 float num2 = this.rotation;
111 float x2 = this.origin.X;
112 float y2 = this.origin.Y;
113 float x3 = this.scale.X;
114 float y3 = this.scale.Y;
116 }
117
118 // Token: 0x040076B3 RID: 30387
120
121 // Token: 0x040076B4 RID: 30388
123
124 // Token: 0x040076B5 RID: 30389
126
127 // Token: 0x040076B6 RID: 30390
128 public Color color;
129
130 // Token: 0x040076B7 RID: 30391
131 public float rotation;
132
133 // Token: 0x040076B8 RID: 30392
135
136 // Token: 0x040076B9 RID: 30393
138
139 // Token: 0x040076BA RID: 30394
141
142 // Token: 0x040076BB RID: 30395
143 public int shader;
144
145 // Token: 0x040076BC RID: 30396
147
148 // Token: 0x040076BD RID: 30397
149 public static Rectangle? nullRectangle;
150 }
151}
class f__AnonymousType0<< Count > j__TPar
DrawData(Texture2D texture, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effect, int inactiveLayerDepth)
Definition DrawData.cs:54
void Draw(SpriteBatch sb)
Definition DrawData.cs:91
DrawData(Texture2D texture, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effect, int inactiveLayerDepth)
Definition DrawData.cs:39
DrawData(Texture2D texture, Vector2 position, Rectangle sourceRect, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effect, int inactiveLayerDepth)
Definition DrawData.cs:81
void Draw(SpriteBatch sb, Vector2 offset)
Definition DrawData.cs:102
static ? Rectangle nullRectangle
Definition DrawData.cs:149
DrawData(Texture2D texture, Vector2 position, Color color)
Definition DrawData.cs:11
DrawData(Texture2D texture, Vector2 position, Rectangle sourceRect, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effect, int inactiveLayerDepth)
Definition DrawData.cs:71