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
TextureAtlasEntry.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6
7[global::Cpp2ILInjected.Token(Token = "0x20002E9")]
8public class TextureAtlasEntry
9{
10 [global::Cpp2ILInjected.Token(Token = "0x6001148")]
11 [global::Cpp2ILInjected.Address(RVA = "0xA6940C", Offset = "0xA6940C", Length = "0x34")]
12 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
13 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
15 {
16 throw null;
17 }
18
19 [global::Cpp2ILInjected.Token(Token = "0x6001149")]
20 [global::Cpp2ILInjected.Address(RVA = "0xA6AB60", Offset = "0xA6AB60", Length = "0x78")]
21 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
24 public TextureAtlasEntry(int textureId, int atlasIndex, short textureWidth, short textureHeight, short textureOffsetX, short textureOffsetY, short textureScale)
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x600114A")]
30 [global::Cpp2ILInjected.Address(RVA = "0xA6999C", Offset = "0xA6999C", Length = "0x16C")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasDB), Member = "Save", ReturnType = typeof(byte[]))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasEntry.TextureAtlasEntryTiles), Member = "SaveTileData", MemberParameters = new object[]
35 {
36 typeof(BinaryWriter),
37 typeof(TextureAtlasEntry)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
40 public void Save(BinaryWriter writer)
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x600114B")]
46 [global::Cpp2ILInjected.Address(RVA = "0xA691D4", Offset = "0xA691D4", Length = "0xA0")]
47 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasDB), Member = "Load", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasEntry), Member = "LoadData", MemberParameters = new object[]
52 {
54 typeof(short)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
57 public static TextureAtlasEntry Load(BinaryReader loader, short version)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x600114C")]
63 [global::Cpp2ILInjected.Address(RVA = "0xA69274", Offset = "0xA69274", Length = "0x198")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasDB), Member = "Load", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasEntry), Member = "Load", MemberParameters = new object[]
67 {
69 typeof(short)
70 }, ReturnType = typeof(TextureAtlasEntry))]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasEntry.TextureAtlasEntryTiles), Member = "LoadTileData", MemberParameters = new object[]
73 {
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Texture2D), Member = "ResetLoaded", ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
79 public void LoadData(BinaryReader loader, short version)
80 {
81 throw null;
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x4002114")]
85 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
86 public int TextureId;
87
88 [global::Cpp2ILInjected.Token(Token = "0x4002115")]
89 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
90 public int AtlasIndex;
91
92 [global::Cpp2ILInjected.Token(Token = "0x4002116")]
93 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
94 public short TextureOffsetX;
95
96 [global::Cpp2ILInjected.Token(Token = "0x4002117")]
97 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1A")]
98 public short TextureOffsetY;
99
100 [global::Cpp2ILInjected.Token(Token = "0x4002118")]
101 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
102 public short TextureWidth;
103
104 [global::Cpp2ILInjected.Token(Token = "0x4002119")]
105 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1E")]
106 public short TextureHeight;
107
108 [global::Cpp2ILInjected.Token(Token = "0x400211A")]
109 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
110 public short TileWidth;
111
112 [global::Cpp2ILInjected.Token(Token = "0x400211B")]
113 [global::Cpp2ILInjected.FieldOffset(Offset = "0x22")]
114 public short TileHeight;
115
116 [global::Cpp2ILInjected.Token(Token = "0x400211C")]
117 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
118 public bool TileTrimming;
119
120 [global::Cpp2ILInjected.Token(Token = "0x400211D")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x26")]
122 public short TextureScale;
123
124 [global::Cpp2ILInjected.Token(Token = "0x400211E")]
125 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
126 public int TileDataOffset;
127
128 [global::Cpp2ILInjected.Token(Token = "0x400211F")]
129 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
131
132 [global::Cpp2ILInjected.Token(Token = "0x20002EA")]
133 public static class TextureAtlasEntryTiles
134 {
135 [global::Cpp2ILInjected.Token(Token = "0x600114D")]
136 [global::Cpp2ILInjected.Address(RVA = "0xA6ADD8", Offset = "0xA6ADD8", Length = "0x58")]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
139 public static void Reset()
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x600114E")]
145 [global::Cpp2ILInjected.Address(RVA = "0xA6ACCC", Offset = "0xA6ACCC", Length = "0x10C")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasEntry), Member = "LoadData", MemberParameters = new object[]
148 {
150 typeof(short)
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextureAtlasEntry.TextureAtlasEntryTiles), Member = "ReserveData", MemberParameters = new object[] { typeof(TextureAtlasEntry) }, ReturnType = typeof(int))]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x600114F")]
161 [global::Cpp2ILInjected.Address(RVA = "0xA6ABD8", Offset = "0xA6ABD8", Length = "0xF4")]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasEntry), Member = "Save", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
166 public static void SaveTileData(BinaryWriter writer, TextureAtlasEntry entry)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x6001150")]
172 [global::Cpp2ILInjected.Address(RVA = "0xA6AEC8", Offset = "0xA6AEC8", Length = "0x30")]
173 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
175 public static int CalculateFrameCount(TextureAtlasEntry entry)
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x6001151")]
181 [global::Cpp2ILInjected.Address(RVA = "0xA6AE30", Offset = "0xA6AE30", Length = "0x98")]
182 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
183 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextureAtlasEntry.TextureAtlasEntryTiles), Member = "LoadTileData", MemberParameters = new object[]
184 {
185 typeof(BinaryReader),
186 typeof(TextureAtlasEntry)
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
190 public static int ReserveData(TextureAtlasEntry entry)
191 {
192 throw null;
193 }
194
195 // Note: this type is marked as 'beforefieldinit'.
196 [global::Cpp2ILInjected.Token(Token = "0x6001152")]
197 [global::Cpp2ILInjected.Address(RVA = "0xA6AEF8", Offset = "0xA6AEF8", Length = "0x6C")]
198 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
199 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
200 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x4002120")]
207 public static short[] TileOffsetData;
208
209 [global::Cpp2ILInjected.Token(Token = "0x4002121")]
210 private static int TileDataOffset;
211 }
212}
class f__AnonymousType0<< Count > j__TPar
static int CalculateFrameCount(TextureAtlasEntry entry)
static int ReserveData(TextureAtlasEntry entry)
static void LoadTileData(BinaryReader loader, TextureAtlasEntry entry)
static void SaveTileData(BinaryWriter writer, TextureAtlasEntry entry)
TextureAtlasEntry(int textureId)
static TextureAtlasEntry Load(BinaryReader loader, short version)
TextureAtlasEntry(int textureId, int atlasIndex, short textureWidth, short textureHeight, short textureOffsetX, short textureOffsetY, short textureScale)
void LoadData(BinaryReader loader, short version)
void Save(BinaryWriter writer)