C4 Engine Terathon Software C4 Engine API Documentation

• Message Manager

API Links
Developer Links

MessageMgr::GetMaxPlayerCount

Defined in:  C4Messages.h
Returns the maximum number of players that the server will allow in a multiplayer game.
Prototype

long GetMaxPlayerCount(voidconst;

Description
The count returned by the GetMaxPlayerCount function represents the maximum number of players that will be allowed to enter a game which is hosted by the local machine. This count includes the server machine.
See Also
MessageMgr::SetMaxPlayerCount

MessageMgr::GetPlayerCount