Mania++
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
MapList Class Reference

Contains the maplist and a pointer to the current map. More...

#include <MapList.h>

Public Member Functions

void SetCurrentMap (std::string uid)
 Sets the current map to the one belonging to the unique identifier. More...
 
MapGetByUid (std::string uid)
 Gets map for unique identifier. More...
 

Public Attributes

std::map< std::string, MapList
 List of all maps on the server.
 
MapCurrent = NULL
 Pointer to the current map (in the list).
 

Detailed Description

Contains the maplist and a pointer to the current map.

Member Function Documentation

Map * MapList::GetByUid ( std::string  uid)

Gets map for unique identifier.

Parameters
uidMap identifier (from game/server).
void MapList::SetCurrentMap ( std::string  uid)

Sets the current map to the one belonging to the unique identifier.

Parameters
uidMap identifier (from game/server).

The documentation for this class was generated from the following files: