TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ NPCKillCounterInfoElement()

Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.NPCKillCounterInfoElement ( int npcNetId)
inline

Definition at line 15 of file NPCKillCounterInfoElement.cs.

16 {
17 _instance = new NPC();
18 _instance.SetDefaults(npcNetId, new NPCSpawnParams
19 {
20 gameModeData = GameModeData.NormalMode,
21 strengthMultiplierOverride = null
22 });
23 }
void SetDefaults(int Type, NPCSpawnParams spawnparams=default(NPCSpawnParams))
Definition NPC.cs:3378
static readonly GameModeData NormalMode

References Terraria.GameContent.Bestiary.NPCKillCounterInfoElement._instance, Terraria.DataStructures.GameModeData.NormalMode, and Terraria.NPC.SetDefaults().

+ Here is the call graph for this function: