Game Instances #
The Game Instance service is responsible for tracking in-progress game instances, receiving events from the game server, executing all end of game processing, and helping disconnected players reconnect to ongoing game instances.
Teams #
Pragma Engine allows for creating teams of players or parties within a game instance. This allows for a scenario where a developer wishes to split the players or parties into opposing teams when necessary for MMR balancing.
End of game processing #
You can handle end-of-game tasks, such as issuing rewards, by overriding the onEndGame()
method in your Game Instance Plugin implementation.
Players removed from the game instance before the game ends can be included in end game processes and receive end game data. This is useful if you have a game that issues additional rewards to players at the end of the game, whether or not they are still active.