Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Terraria
ModLoader
NPCLoader
TownNPCName
Terraria.ModLoader.NPCLoader.TownNPCName C# (CSharp) Method
NPCLoader Class Documentation
Show file
Open project: bluemagic123/tModLoader
TownNPCName()
public
static
method
public
static
TownNPCName
(
int
type
) :
string
type
int
return
string
public static string TownNPCName(int type) { return GetNPC(type)?.TownNPCName() ?? ""; }
NPCLoader
AI
BossBag
BossHeadRotation
BossHeadSlot
BossHeadSpriteEffects
BossLoot
BuffTownNPC
CanBeHitByItem
CanBeHitByProjectile
CanHitNPC
CanHitPlayer
CanTownNPCSpawn
CheckActive
CheckConditions
CheckDead
ChooseSpawn
DisplayName
DrawEffects
DrawHealthBar
DrawTownAttackGun
DrawTownAttackSwing
EditSpawnRange
EditSpawnRate
FindFrame
GetAlpha
GetChat
GetNPC
GetNPCInfo
HitEffect
IsModNPC
ModifyHitByItem
ModifyHitByProjectile
ModifyHitNPC
ModifyHitPlayer
NPCAI
NPCLoader
NPCLoot
OnChatButtonClicked
OnHitByItem
OnHitByProjectile
OnHitNPC
OnHitPlayer
PostAI
PostDraw
PreAI
PreDraw
PreNPCLoot
ReceiveExtraAI
ReserveNPCID
ResetEffects
ResizeArrays
ScaleExpertStats
SendExtraAI
SetChatButtons
SetupNPC
SetupNPCInfo
SetupShop
SetupTravelShop
SpawnNPC
StrikeNPC
TownNPCAttackCooldown
TownNPCAttackMagic
TownNPCAttackProj
TownNPCAttackProjSpeed
TownNPCAttackShoot
TownNPCAttackStrength
TownNPCAttackSwing
TownNPCName
Unload
UpdateLifeRegen
UsesPartyHat