MessageMgr::GetFirstPlayer
Defined in:
Returns the first player in the map of players maintained by the Message Manager.
C4Messages.h
Prototype
Player *GetFirstPlayer(void) const;
Description
The map of players represents the machines connected to a multiplayer game. Calling the GetFirstPlayer
function retrieves a pointer to the first player in the map maintained by the Message Manager. Once the first player has been obtained, one may iterate through the entire map of players by using the MapElement::GetNextMapElement
function.
See Also