MaxReservationsPerRequest
The most new slots a single request may reserve for the rest of a party, once this Lobby exists.
Returns
- int
- The most new slots a single request may reserve for the rest of a party, once this Lobby exists.
Remarks
Above 0, a player can join and reserve slots for the rest of their party in a single step, so that the party either gets in together or not at all. Members can also reserve slots through ReserveSlotsAsync(LobbyReservations, CancellationToken). The limit is per request, not per member. Players already in the lobby, or who already have a reservation, don't count towards it.
At 0 (the default), a join or ReserveSlotsAsync(LobbyReservations, CancellationToken) that would add new reservations fails with Coherence.Runtime.ErrorCode.LobbyReservationsNotAllowed, even for the owner. Players can still join into slots reserved for them, and Reservations made at creation are not limited by it.
Fixed for the lobby's lifetime; it cannot be changed after creation. Ignored by FindOrCreateLobbyAsync(FindLobbyOptions, CreateLobbyOptions, CancellationToken) when an existing lobby is found.
coherence Cloud currently accepts from 0 to 99, and fails creating the lobby otherwise.