Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
IslMessage Struct Reference
Collaboration diagram for IslMessage:
[legend]

Public Types

enum  MessageType {
  GAME_COMMAND_CONTAINER = 0 , ROOM_COMMAND_CONTAINER = 1 , RESPONSE = 10 , SESSION_EVENT = 11 ,
  GAME_EVENT_CONTAINER = 12 , ROOM_EVENT = 13
}

Public Attributes

optional MessageType message_type = 1
optional uint64 session_id = 9
optional sint32 player_id = 10 [default = -1]
optional CommandContainer game_command = 100
optional CommandContainer room_command = 101
optional Response response = 200
optional SessionEvent session_event = 201
optional GameEventContainer game_event_container = 202
optional RoomEvent room_event = 203

Member Enumeration Documentation

◆ MessageType

Enumerator
GAME_COMMAND_CONTAINER 
ROOM_COMMAND_CONTAINER 
RESPONSE 
SESSION_EVENT 
GAME_EVENT_CONTAINER 
ROOM_EVENT 

Member Data Documentation

◆ game_command

optional CommandContainer IslMessage::game_command = 100

◆ game_event_container

optional GameEventContainer IslMessage::game_event_container = 202

◆ message_type

optional MessageType IslMessage::message_type = 1

◆ player_id

optional sint32 IslMessage::player_id = 10 [default = -1]

◆ response

optional Response IslMessage::response = 200

◆ room_command

optional CommandContainer IslMessage::room_command = 101

◆ room_event

optional RoomEvent IslMessage::room_event = 203

◆ session_event

optional SessionEvent IslMessage::session_event = 201

◆ session_id

optional uint64 IslMessage::session_id = 9

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