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

◆ UpdateNPC()

void Terraria.NPC.UpdateNPC ( int i)
inline

Definition at line 107065 of file NPC.cs.

107066 {
107067 whoAmI = i;
107068 if (!active)
107069 {
107070 return;
107071 }
107073 {
107074 UpdateNPC_Inner(i);
107075 }
107076 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
Definition Entity.cs:21
readonly IEntitySource thisEntitySourceCache
Definition NPC.cs:1280
void UpdateNPC_Inner(int i)
Definition NPC.cs:107078
static FallbackSourceRef PushFallback(IEntitySource source)
This object encapsulates context information about the source of a particular spawning event of an It...

References Terraria.DataStructures.IEntitySource.PushFallback().

+ Here is the call graph for this function: