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

◆ Load()

void TextureAtlasDB.Load ( )
inline

Definition at line 125 of file TextureAtlasDB.cs.

126 {
127 string contentRoot = this.ContentRoot;
128 string id = this.Id;
129 TextAsset textAsset = ContentManager.LoadUnityResource<TextAsset>(contentRoot + id);
130 if (textAsset.bytes != null)
131 {
132 byte[] bytes = textAsset.bytes;
133 return;
134 }
135 long num = 0L;
136 this.SetNumberOfAtlasPages((short)num);
137 }
class f__AnonymousType0<< Count > j__TPar
void SetNumberOfAtlasPages(short pages)

References UnityEngine.TextAsset.bytes, ContentRoot, Id, j__TPar, System.L, and SetNumberOfAtlasPages().