Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Event_ConnectionClosed Struct Reference

Classes

struct  SessionEvent

Public Types

enum  CloseReason {
  OTHER = 1 , SERVER_SHUTDOWN = 2 , TOO_MANY_CONNECTIONS = 3 , BANNED = 4 ,
  USERNAMEINVALID = 5 , USER_LIMIT_REACHED = 6 , DEMOTED = 7 , LOGGEDINELSEWERE = 8
}

Public Attributes

optional CloseReason reason = 1
optional string reason_str = 2
optional uint32 end_time = 3

Member Enumeration Documentation

◆ CloseReason

Enumerator
OTHER 
SERVER_SHUTDOWN 
TOO_MANY_CONNECTIONS 
BANNED 
USERNAMEINVALID 
USER_LIMIT_REACHED 
DEMOTED 
LOGGEDINELSEWERE 

Member Data Documentation

◆ end_time

optional uint32 Event_ConnectionClosed::end_time = 3

◆ reason

optional CloseReason Event_ConnectionClosed::reason = 1

◆ reason_str

optional string Event_ConnectionClosed::reason_str = 2

The documentation for this struct was generated from the following file: