Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
serverinfo_chat_message.proto
Go to the documentation of this file.
1
syntax
=
"proto2"
;
2
/*
3
* Chat communication of a user to a target.
4
* Targets can be users or rooms.
5
* These communications are also stored in the DB log table.
6
*/
7
message
ServerInfo_ChatMessage
{
8
optional
string
time
= 1;
// time chat was sent
9
optional
string
sender_id
= 2;
// id of sender
10
optional
string
sender_name
= 3;
// name of sender
11
optional
string
sender_ip
= 4;
// ip of sender
12
optional
string
message = 5;
// message
13
optional
string
target_type
= 6;
// target type (room,game,chat)
14
optional
string
target_id
= 7;
// id of target
15
optional
string
target_name
= 8;
// name of target
16
optional
string
channel
= 9;
// channel id, for room_channel targets
17
}
syntax
syntax
Definition
admin_commands.proto:1
ServerInfo_ChatMessage
Definition
serverinfo_chat_message.proto:7
ServerInfo_ChatMessage::target_name
optional string target_name
name of target
Definition
serverinfo_chat_message.proto:15
ServerInfo_ChatMessage::channel
optional string channel
channel id, for room_channel targets
Definition
serverinfo_chat_message.proto:16
ServerInfo_ChatMessage::sender_id
optional string sender_id
id of sender
Definition
serverinfo_chat_message.proto:9
ServerInfo_ChatMessage::target_type
optional string target_type
< message
Definition
serverinfo_chat_message.proto:13
ServerInfo_ChatMessage::sender_name
optional string sender_name
name of sender
Definition
serverinfo_chat_message.proto:10
ServerInfo_ChatMessage::sender_ip
optional string sender_ip
ip of sender
Definition
serverinfo_chat_message.proto:11
ServerInfo_ChatMessage::target_id
optional string target_id
id of target
Definition
serverinfo_chat_message.proto:14
ServerInfo_ChatMessage::time
optional string time
time chat was sent
Definition
serverinfo_chat_message.proto:8
libcockatrice_protocol
libcockatrice
protocol
pb
serverinfo_chat_message.proto
Generated by
1.18.0