Skip to content

Developer guide

Marcus Møller edited this page Aug 21, 2013 · 1 revision

Array guide

  • Map[] is an array holding all MapClass() objects. Has a size of MAX_MAPS.
  • MapCache[] is an array holding all the map caches that are sent to players. Has a size of MAX_MAPS.
  • playersOnMap[] is an array at the size of MAX_MAPS. Each index is set to 1 if there are players on the specified map id. If there are no players on the map, it is set to 0.
  • Player[] is an array holding all the Player() objects. Has a size of MAX_PLAYERS.
  • TempPlayer[] is an "expanded" Player-array, holding all the TempPlayerClass() objects and has a size of MAX_PLAYERS. TempPlayerClass() stores information such as if the player is in-game, if in a party, what character etc.
Clone this wiki locally