tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.GameContent.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 Terraria.GameContent.VanillaContentValidator.AssetIsValid< T > ( content,
string  contentPath,
out IRejectionReason  rejectReason 
)
Type Constraints
T :class