game-common / pragma.matchmaking / GameInstanceUpdate /
GameInstanceUpdate #
class GameInstanceUpdate
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() |
Functions #
Name | Summary |
---|---|
Add multiple parties to the GameInstanceUpdate. Always sets the team number of all players within all parties, defaulted to 0. | |
Update the ExtGameParty payload for a given party in the game instance update. This data will be set on the GameInstance for the specified party. | |
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 parties in the GameInstanceUpdate. List is copied when retrieved. | |
The list of players in the GameInstanceUpdate. List is copied when retrieved. |