EOS API reference page for EOS_SessionModification_SetMaxPlayers

Under 1 min to read

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 NameUsage Information
EOS_HSessionModification Handle
const EOS_SessionModification_SetMaxPlayersOptions* OptionsOptions associated with max number of players in this session