EOS API reference page for EOS_SessionModification_SetMaxPlayers

This function is part of the Sessions Interface.


Set the maximum number of players allowed in this session. When updating the session, it is not possible to reduce this number below the current number of existing players

Return Value

  • EOS_Success if setting this parameter was successful

  • EOS_IncompatibleVersion if the API version passed in is incorrect


Parameter Type And Name

Usage Information

EOS_HSessionModification Handle

const EOS_SessionModification_SetMaxPlayersOptions* Options

Options associated with max number of players in this session

Related API Members