game-common / pragma.party / PartyPlugin / buildExtPrivatePlayer /

buildExtPrivatePlayer #

open suspend fun buildExtPrivatePlayer(party: Party.Party, player: Party.PartyPlayer): ExtPrivatePlayer

Called when broadcasting a change to the party member. Use to build any private ext data that should only be sent to the player.

Used by:

  • Party.generateBroadcastPartyProto

Parameters #

party

The party receiving the broadcast.

player

The party member receiving the broadcast.