|
TModLoader v1.4.4.9
TModLoader source code documentation
|
If you are storing AI information outside of the NPC.ai array, use this to send that AI information between clients and servers, which will be handled in M:Terraria.ModLoader.ModNPC.ReceiveExtraAI(System.IO.BinaryReader).
Called whenever F:Terraria.ID.MessageID.SyncNPC is successfully sent, for example on NPC creation, on player join, or whenever NPC.netUpdate is set to true in the update loop for that tick.
Only called on the server.
| writer | The writer. |
Definition at line 262 of file ModNPC.cs.