Activating Game Server Session

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

    API Name


    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

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


    For samples, see the OnStartGameServerSession API.