Enum SeatClaimOutcome
- Namespace
- Unity.Multiplayer.Core
Why SeatRegistry gave or refused a seat.
public enum SeatClaimOutcome
Fields
Full = 3No seat is free.
New = 0A new player got the lowest free seat.
Reclaimed = 1A player whose seat was being held came back to it.
Refused = 4The token's seat is occupied by the host, who is never stale: a join presenting it is a stray copy of the install (for example, saved player-prefs shared by two copies of the same build), not the host reconnecting, so the connection is refused rather than bumping the host out of its own game.
TookOver = 2The player's token was still seated on another connection (one the server has not yet noticed is dead, such as a killed client): the new connection takes the seat and the old one must be dropped.