Exemple #1
0
 void OnGameSessionUpdate(UpdateGameSession updateGameSession)
 {
     // When a game session is updated (e.g. by FlexMatch backfill), GameLiftsends a request to the game
     // server containing the updated game session object.  The game server can then examine the provided
     // matchmakerData and handle new incoming players appropriately.
     // updateReason is the reason this update is being supplied.
     Debug.Log("updateGameSession");
 }
 private void OnUpdateGameSession(UpdateGameSession updateGameSession)
 {
     Debug.Log("server game session updated: " + updateGameSession.GameSession.GameSessionId);
 }