servatrice/common/pb/room_event.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
That marker is only recognized by pb3-compatible compilers, meaning that
tools which are otherwise compatible with our files break on them.
Notably, this includes hprotoc (for haskell).
2016-01-14 08:09:40 -05:00

10 lines
218 B
Protocol Buffer

message RoomEvent {
enum RoomEventType {
LEAVE_ROOM = 1000;
JOIN_ROOM = 1001;
ROOM_SAY = 1002;
LIST_GAMES = 1003;
}
optional sint32 room_id = 1;
extensions 100 to max;
}