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

◆ ResetLoaded()

void Microsoft.Xna.Framework.Graphics.Texture2D.ResetLoaded ( )
inline

Definition at line 12 of file Texture2D.cs.

13 {
14 if (this._textureLoaded)
15 {
17 if (textureAtlas == null)
18 {
20 if (textureAtlas == null)
21 {
22 }
25 if (textureAtlas == null)
26 {
27 }
30 if (textureAtlas == null)
31 {
32 }
34 }
35 }
37 if (textureAtlas2 != null)
38 {
40 int[] textureWidth = textureAtlas2.TextureWidth;
42 int[] textureHeight = textureAtlas2.TextureHeight;
43 this.UnityHeight = textureHeight;
45 {
46 int[] batchTextureIndex = textureAtlas2.BatchTextureIndex;
47 return;
48 }
49 }
50 }
class f__AnonymousType0<< Count > j__TPar
static void UnloadAsset(Object assetToUnload)
Definition Resources.cs:149

References Microsoft.Xna.Framework.Graphics.Texture2D._textureAtlas, Microsoft.Xna.Framework.Graphics.Texture2D._textureLoaded, Microsoft.Xna.Framework.Graphics.Texture2D._unityAlphaTexture, Microsoft.Xna.Framework.Graphics.Texture2D._unityPalTexture, Microsoft.Xna.Framework.Graphics.Texture2D._unityTexture, j__TPar, Microsoft.Xna.Framework.Graphics.Texture2D.PackedEntry, Microsoft.Xna.Framework.Graphics.Texture2D.SharedBatching, TextureAtlasEntry.TextureWidth, and UnityEngine.Resources.UnloadAsset().