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

◆ TrySyncingUniqueTownNPCData()

void Terraria.NPC.TrySyncingUniqueTownNPCData ( int npcIndex)
inlineprivate

Definition at line 107410 of file NPC.cs.

107411 {
107412 if (Main.netMode == 1 && needsUniqueInfoUpdate && isLikeATownNPC)
107413 {
107414 needsUniqueInfoUpdate = false;
107415 NetMessage.SendData(56, -1, -1, null, npcIndex);
107416 }
107417 }
bool isLikeATownNPC
Definition NPC.cs:1529
bool needsUniqueInfoUpdate
Definition NPC.cs:578

References Terraria.Main.netMode, and Terraria.NetMessage.SendData().

+ Here is the call graph for this function: