Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ResourcePackContentValidator.cs
Go to the documentation of this file.
1using System.IO;
4
5namespace Terraria.IO;
6
8{
10 {
11 //IL_0019: Unknown result type (might be due to invalid IL or missing references)
12 if ((int)(AssetReaderCollection)Main.instance.Services.GetService(typeof(AssetReaderCollection)) != 0)
13 {
14 pack.GetContentSource().GetAllAssetsStartingWith("Images" + Path.DirectorySeparatorChar);
15 VanillaContentValidator.Instance.GetValidImageFilePaths();
16 }
17 }
18}
static readonly char DirectorySeparatorChar
Definition Path.cs:71
IContentSource GetContentSource()
static Main instance
Definition Main.cs:283