On GameLift Server API reference for C++: Actions ( GameLift Server API reference for C++: Actions - Amazon GameLift ) I can’t find the answer to a couple of questions.
when a game is ended what should the server call? Should it call a RemovePlayerSession() for each connected player and system realizes the game is ended or is there a specific API call for this event?
In the documentation ( How Players Connect to Games - Amazon GameLift ) I read that a GameSession could be customized with custom data. From the doc (" Add custom game and player data" paragraph): “Alternatively, you might use game properties to pass information that a game server needs when setting up a new game session, such as a game mode or map.” . How could I retrieve that custom data from my C++ server?