game-common / pragma.party / PartyPlugin / initializeParty /
abstract suspend fun initializeParty(party: Party, requestExt: ExtCreateRequest, partyConfig: PartyConfig)
Called when a new party is created before any players have been added. Use to initialize any party state. Perform any state mutations directly on the party object.
The newly created party. Does not yet have players added to it.
Customer-defined ext data providing information about initialization request.
The current service-level PartyConfig.