game-common / pragma.matchmaking / GameInstanceUpdate /
GameInstanceUpdate #
class GameInstanceUpdate(requestExt: ExtBackendAddPlayersRequest = ExtBackendAddPlayersRequest.getDefaultInstance())
Represents an update to an active game instance that is in matchmaking when returned from MatchmakingPlugin.matchPartiesWithGame. It will result in players being added to the active game instance and/or the game instance being removed from matchmaking.
Constructors #
GameInstanceUpdate | fun GameInstanceUpdate(requestExt: ExtBackendAddPlayersRequest = ExtBackendAddPlayersRequest.getDefaultInstance()) |
Functions #
Name | Summary |
---|---|
Add multiple parties to the GameInstanceUpdate. Always sets the team number of all players within all parties, defaulted to 0. | |
Set the ext for a player to be sent to the game instance. | |
Update the ExtGamePlayer payload for a given player in the game instance update. This data will be set on the GameInstance for the specified player. | |
Update multiple players’ team number. | |
Indicate that after this GameInstanceUpdate is processed, the game instance should stop looking for players. |
Properties #
Name | Summary |
---|---|
Calculated as true if GameInstanceUpdate.stopMatchmaking has not been called. | |
The list of players in the GameInstanceUpdate. List is copied when retrieved. |