Activating Game Server Session

Last updated: 2021-03-30 10:16:27

    API Name

    ActivateGameServerSession

    API Description

    This API is used to inform GSE of activating the corresponding GameServerSession after the game process receives a callback from GSE through the OnStartGameServerSession API.

    Request Message

    message ActivateGameServerSessionRequest{
        string gameServerSessionId = 1;
        int32 maxPlayers = 2;
    }
    

    Response Message

    message GseResponse 
    

    Field Description

    ActivateGameServerSessionRequest
    Field Name Type Description
    gameServerSessionId string GameServerSessionId which uniquely identifies a GameServerSession
    maxPlayers int32 Maximum number of players allowed to join this GameServerSession

    Sample

    For samples, see the OnStartGameServerSession API.