C4 Engine
C4 Engine API Documentation

MessageMgr::GetMaxPlayerCount

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

int32 GetMaxPlayerCount(voidconst;

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

MessageMgr::SetMaxPlayerCount

MessageMgr::GetPlayerCount