game-common / pragma.gameinstance / GameInstancePlugin / buildExtAddedToGame /
buildExtAddedToGame #
open suspend fun buildExtAddedToGame(gameInstance: GameInstance.GameInstance, player: GameInstance.GamePlayer): ExtAddedToGame
Called to prepare any custom data to send to the game client when a player joins a game instance.
Return #
The payload to send to the game client.
Parameters #
gameInstance | The game instance the player is in. |
player | The player to prepare data for. |