servatrice/common/pb/event_room_say.proto
woogerboy21 87a64da1bc Added chat history to a room that is displayed on join.
With this update a new chat history definition is added on a per
room bases which allows operators to specify the number of chat
messages to store and present to the user on join.  Please see
the sample ini for room definitions.
2015-09-14 17:54:04 -04:00

17 lines
429 B
Protocol Buffer

syntax = "proto2";
import "room_event.proto";
message Event_RoomSay {
extend RoomEvent {
optional Event_RoomSay ext = 1002;
}
enum RoomMessageType {
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;
}