C4 Engine
C4 Engine API Documentation

MessageMgr::GetFirstPlayer

Defined in:  C4Messages.h
Returns the first player in the map of players maintained by the Message Manager.
Prototype

Player *GetFirstPlayer(voidconst;

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

MessageMgr::GetLocalPlayer

MessageMgr::GetPlayer

Player