game-common / pragma.matchmaking / GameInstanceUpdate /
GameInstanceUpdate #
class GameInstanceUpdate(requestExt: ExtBackendAddPlayersRequest = ExtBackendAddPlayersRequest.getDefaultInstance())
A GameInstanceUpdate represents an update to an active game instance that is searching for more players by triggering the GameInstancePlugin.handleBackendAddPlayersRequest plugin method. A GameInstanceUpdate should be constructed and returned from the MatchmakingPlugin.matchPartiesWithGame plugin method.
Constructors #
GameInstanceUpdate | fun GameInstanceUpdate(requestExt: ExtBackendAddPlayersRequest = ExtBackendAddPlayersRequest.getDefaultInstance()) |
Functions #
Name | Summary |
---|---|
Select parties that should be added to the game instance. | |
Set the ext for a player. | |
DEPRECATED in version 0.5.0, removal by 0.6.0. Use GameInstanceUpdate.setExtForPlayer instead. | |
Set the team number on some players. | |
Indicate that the game instance should be removed from matchmaking after this update is processed. |
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. |