Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.TownNPCProfiles Class Reference

Public Member Functions

bool GetProfile (int npcId, out ITownNPCProfile profile)
 

Static Public Member Functions

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 int GetHeadIndexSafe (NPC npc)
 

Static Public Attributes

static TownNPCProfiles Instance = new TownNPCProfiles()
 

Private Attributes

Dictionary< int, ITownNPCProfile_townNPCProfiles
 

Static Private Attributes

const string DefaultNPCFileFolderPath = "Images/TownNPCs/"
 
const string ShimmeredNPCFileFolderPath = "Images/TownNPCs/Shimmered/"
 
static readonly int[] CatHeadIDs = new int[6] { 27, 28, 29, 30, 31, 32 }
 
static readonly int[] DogHeadIDs = new int[6] { 33, 34, 35, 36, 37, 38 }
 
static readonly int[] BunnyHeadIDs = new int[6] { 39, 40, 41, 42, 43, 44 }
 
static readonly int[] SlimeHeadIDs = new int[8] { 46, 47, 48, 49, 50, 51, 52, 53 }
 

Detailed Description

Definition at line 5 of file TownNPCProfiles.cs.


The documentation for this class was generated from the following file: