game / pragma.party / PartyService / setReadyStateV1 /

setReadyStateV1 #

suspend fun setReadyStateV1(session: PlayerSession, request: PartyRpc.SetReadyStateV1Request): PartyRpc.SetReadyStateV1Response

Sets a player’s ready state. Invokes PartyPlugin.canChangeReady before allowing the ready state update to apply.

Request validation:

If player is not in a party, throws PragmaError.PartyService_NotInParty.