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

Public Member Functions

bool GetProfile (NPC npc, out ITownNPCProfile profile)
 

Static Public Member Functions

static int GetHeadIndexSafe (NPC npc)
 
static ITownNPCProfile LegacyWithSimpleShimmer (string subPath, int headIdNormal, int headIdShimmered, bool uniquePartyTexture=true, bool uniquePartyTextureShimmered=true)
 
static ITownNPCProfile TransformableWithSimpleShimmer (string subPath, int headIdNormal, int headIdShimmered, bool uniqueCreditTexture=true, bool uniqueCreditTextureShimmered=true)
 

Static Public Attributes

static TownNPCProfiles Instance = new TownNPCProfiles()