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

◆ CreateIcon()

Texture2D Terraria.IO.ResourcePack.CreateIcon ( )
inlineprivate

Definition at line 158 of file ResourcePack.cs.

159 {
160 bool flag = this.HasFile("icon.png");
161 Stream stream = this.OpenStream("icon.png");
163 if (stream != null)
164 {
165 }
166 if ("Images/UI/DefaultResourcePackIcon" == null)
167 {
168 }
169 throw new OutOfMemoryException();
170 }
class f__AnonymousType0<< Count > j__TPar
readonly IServiceProvider _services
bool HasFile(string fileName)
Stream OpenStream(string fileName)

References Terraria.IO.ResourcePack._services, Terraria.IO.ResourcePack.HasFile(), j__TPar, and Terraria.IO.ResourcePack.OpenStream().