Entity Info Protocols
The entity info protocols class brings together the relatively complex player and NPC info protocols. This is responsible for registering all the client types that are used by the user.
Properties
the avatar factory for NPCs. Each NPC must allocate one avatar as they spawn, and that avatar must be deallocated when the NPC is fully removed from the game.
the main NPC info protocol responsible for computing the npc info packet for all the players in the game.
the avatar factory for players. Since players have a 1:1 player info to avatar ratio, the avatar is automatically included in the player info object that is requested. This is additionally strategically placed to improve cache locality and improve the performance of the player info protocol.
the main player info protocol responsible for computing the player info packet for all the players in the game.