game-common / pragma.gameinstance / GameInstancePlugin / buildExtGameServerPlayer /
buildExtGameServerPlayer #
open suspend fun buildExtGameServerPlayer(gameInstance: GameInstance.GameInstance, player: GameInstance.GamePlayer): ExtGameServerPlayer
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.
Return #
The payload to send to the game server.
Parameters #
gameInstance | The game instance the player is in. |
player | The player to prepare data for. |