tModLoader v2024.10
A mod to make and play Terraria mods
VanillaContentValidator Class Reference

Inherits IContentValidator.

Public Member Functions

 VanillaContentValidator (string infoFilePath)
 
bool AssetIsValid< T > (T content, string contentPath, out IRejectionReason rejectReason)
 
HashSet< string > GetValidImageFilePaths ()
 

Static Public Attributes

static VanillaContentValidator Instance
 

Member Function Documentation

◆ AssetIsValid< T >()

bool VanillaContentValidator.AssetIsValid< T > ( content,
string  contentPath,
out IRejectionReason  rejectReason 
)
Type Constraints
T :class