Enum ApprovalRejection
- Namespace
- Unity.Multiplayer.Core
Why the server turned a connection request down.
public enum ApprovalRejection
Fields
BadPayload = 5The connection data is missing, malformed or carries invalid fields.
Banned = 4The player token is on the server's ban list.
Full = 3Every seat is taken.
None = 0Not rejected: the connection was approved.
ProtocolMismatch = 2Same game version, but the RPC / synced-field protocol hash differs: the builds do not match.
TokenInUse = 7The player token belongs to a seat that is occupied by someone else who is still connected (the host's own seat, which is never given up) rather than a dropped player's held seat.
VersionMismatch = 1The client runs a different game version than the server.
WrongPassword = 6The server has a password and the client gave none or a different one.