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

◆ DrawToMap_Section()

unsafe void GUIMap.DrawToMap_Section ( int secX,
int secY )
inline

Definition at line 224 of file GUIMap.cs.

225 {
226 if (!true)
227 {
228 }
229 int num = this.activeY;
230 this.activeY = num;
231 this.InitialiseTargets();
232 int num2 = 150;
233 if (num == 0)
234 {
235 }
236 if (num2 == 0)
237 {
238 }
239 if (num == 0)
240 {
241 }
242 if (num2 == 0)
243 {
244 }
245 WorldMap map = Main.Map;
246 if (num == 0)
247 {
248 }
249 int num3 = this.activeX;
251 int num4 = this.activeX;
252 if (this.mapDirty != null)
253 {
254 ushort*[] array2 = this.mapTextureDataPtr;
255 return;
256 }
258 int num5 = this.activeX;
260 int num6 = this.activeX;
261 ushort*[] array5 = this.mapTextureDataPtr;
262 bool[] array6 = this.mapDirty;
263 if (num6 == 0)
264 {
265 }
267 MapTile* ptr;
268 byte color = ptr->Color;
269 byte light = ptr->Light;
270 }
class f__AnonymousType0<< Count > j__TPar
int activeY
Definition GUIMap.cs:382
int activeX
Definition GUIMap.cs:379
NativeArray< ushort >[] mapTextureData
Definition GUIMap.cs:391
bool[] mapDirty
Definition GUIMap.cs:388
unsafe ushort * mapTextureDataPtr
Definition GUIMap.cs:394
unsafe void InitialiseTargets()
Definition GUIMap.cs:82
Microsoft.Xna.Framework.Graphics.Texture2D[] mapTarget
Definition GUIMap.cs:385
static WorldMap Map
Definition Main.cs:1875

References activeX, activeY, System.array, Terraria.Map.MapTile.Color, InitialiseTargets(), j__TPar, Terraria.Main.Map, mapDirty, mapTarget, mapTextureData, and mapTextureDataPtr.