tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Profiles.VariantNPCProfile Class Reference

Inherits Terraria.GameContent.ITownNPCProfile.

Public Member Functions

 VariantNPCProfile (string npcFileTitleFilePath, string npcBaseName, int[] variantHeadIds, params string[] variantTextureNames)
 
int GetHeadTextureIndex (NPC npc)
 
string GetNameForVariant (NPC npc)
 
Asset< Texture2D > GetTextureNPCShouldUse (NPC npc)
 
int RollVariation ()