tModLoader v2024.08
A mod to make and play Terraria mods
|
Inherits 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 () |
VariantNPCProfile | SetPartyTextures (params string[] variantTextureNames) |
int | GetHeadTextureIndex (NPC npc) |
string | GetNameForVariant (NPC npc) |
Asset< Texture2D > | GetTextureNPCShouldUse (NPC npc) |
int | RollVariation () |
int Profiles.VariantNPCProfile.GetHeadTextureIndex | ( | NPC | npc | ) |
Implements ITownNPCProfile.
string Profiles.VariantNPCProfile.GetNameForVariant | ( | NPC | npc | ) |
Implements ITownNPCProfile.
Asset< Texture2D > Profiles.VariantNPCProfile.GetTextureNPCShouldUse | ( | NPC | npc | ) |
Implements ITownNPCProfile.
int Profiles.VariantNPCProfile.RollVariation | ( | ) |
Implements ITownNPCProfile.