Skip to main content

OdinRoomConnectionStateChangeReason

Possible reasons for connection state changes of an ODIN room.

Declaration
typedef enum OdinRoomConnectionStateChangeReason {
OdinRoomConnectionStateChangeReason_ClientRequested,
OdinRoomConnectionStateChangeReason_ServerRequested,
OdinRoomConnectionStateChangeReason_ConnectionLost,
} OdinRoomConnectionStateChangeReason;

Fields

OdinRoomConnectionStateChangeReason_ClientRequested

Connection state change was initiated by the user.

Declaration
OdinRoomConnectionStateChangeReason_ClientRequested

OdinRoomConnectionStateChangeReason_ServerRequested

Connection state change was initiated by the server (e.g. peer was kicked).

Declaration
OdinRoomConnectionStateChangeReason_ServerRequested

OdinRoomConnectionStateChangeReason_ConnectionLost

Connection state change was caused by a timeout.

Declaration
OdinRoomConnectionStateChangeReason_ConnectionLost