game-common / pragma.gameinstance / GameInstanceApi /
GameInstanceApi #
class GameInstanceApi(service: Service)
The backend entrypoint for sending service RPCs to the GameInstanceService.
Constructors #
GameInstanceApi  | fun GameInstanceApi(service: Service) | 
Functions #
| Name | Summary | 
|---|---|
 Request to add players to a GameInstance. Triggers the GameInstancePlugin.handleBackendAddPlayersRequest plugin method.  | |
 Request to create a game instance. Triggers the GameInstancePlugin.handleBackendCreateRequest plugin method.  | |
 Request to get a game instance summary.  | |
 Request to get the game instances that a player is in.  | |
 Request to get the game instance ids of the game instances that a player is in.  | |
 Request to remove players from a GameInstance. Triggers the GameInstancePlugin.handleBackendRemovePlayersRequest plugin method.  | |
 Request to update a GameInstance. Triggers the GameInstancePlugin.handleBackendUpdateRequest plugin method.  |