tModLoader v2024.11
A mod to make and play Terraria mods
|
Inherits ITownNPCProfile.
Public Member Functions | |
LegacyNPCProfile (string npcFileTitleFilePath, int defaultHeadIndex, bool includeDefault=true, bool uniquePartyTexture=true) | |
int | GetHeadTextureIndex (NPC npc) |
string | GetNameForVariant (NPC npc) |
Asset< Texture2D > | GetTextureNPCShouldUse (NPC npc) |
int | RollVariation () |
int | GetHeadTextureIndex (NPC npc) |
string | GetNameForVariant (NPC npc) |
Asset< Texture2D > | GetTextureNPCShouldUse (NPC npc) |
int | RollVariation () |
int Profiles.LegacyNPCProfile.GetHeadTextureIndex | ( | NPC | npc | ) |
Implements ITownNPCProfile.
string Profiles.LegacyNPCProfile.GetNameForVariant | ( | NPC | npc | ) |
Implements ITownNPCProfile.
Asset< Texture2D > Profiles.LegacyNPCProfile.GetTextureNPCShouldUse | ( | NPC | npc | ) |
Implements ITownNPCProfile.
int Profiles.LegacyNPCProfile.RollVariation | ( | ) |
Implements ITownNPCProfile.