mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Add a wrapper.
Took 35 minutes
This commit is contained in:
parent
e5f23f1906
commit
1d1de904e0
164 changed files with 25 additions and 34 deletions
17
libs/protocol/pb/event_room_say.proto
Normal file
17
libs/protocol/pb/event_room_say.proto
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
syntax = "proto2";
|
||||
import "room_event.proto";
|
||||
|
||||
message Event_RoomSay {
|
||||
extend RoomEvent {
|
||||
optional Event_RoomSay ext = 1002;
|
||||
}
|
||||
enum RoomMessageType {
|
||||
UserMessage = 0; // user message
|
||||
Welcome = 1; // rooms welcome message
|
||||
ChatHistory = 2; // rooms chat history message
|
||||
}
|
||||
optional string name = 1;
|
||||
optional string message = 2;
|
||||
optional RoomMessageType message_type = 3;
|
||||
optional uint64 time_of = 4;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue