void UpdateClient(cPlayer *a_Player)
Send next update packet to the specified player and remove invalid decorators / clients.
Encapsulates an in-game world map.
static const unsigned int DEFAULT_RADIUS
cMapManager & GetMapManager(void)
Returns the associated map manager instance.
void UpdateRadius(int a_PixelX, int a_PixelZ, unsigned int a_Radius)
Update a circular region with the specified radius and center (in pixels).
virtual void OnUpdate(cWorld *a_World, cPlayer *a_Player, const cItem &a_Item)
Called every tick while the item is on the player's inventory (used by maps, for example) - For now...
cMap * GetMapData(unsigned int a_ID)
Returns the map with the specified ID, nullptr if out of range.