game-common / pragma.gameinstance / GameInstancePlugin /
GameInstancePlugin #
interface GameInstancePlugin
GameInstancePlugin is used to define custom interactions throughout the lifecycle of a game instance.
Functions #
Name | Summary |
---|---|
Called to prepare any custom data to send to the game client when a player joins a game instance. | |
Called to prepare any custom data about a player in a game instance to send to the game server when a player is joining the game instance. | |
Called to prepare any custom data about the game instance to send to the game server when the game server is allocated. | |
Called when a game instance is being created out of matchmaking. The matched players will already be added to the game instance. | |
Called when receiving a backend request to update a game instance. | |
Called when receiving a player request to update a game instance. | |
Called when receiving a game server request to end the game instance. | |
Called when players are removed from the game to prepare any custom data to send to the removed players. |