1syntax = "proto3"; 2 3package nugget.app.protoapi; 4 5enum NoticeCode { 6 NO_ERROR = 0; 7 PING = 1; 8 PONG = 2; 9 MESSAGE_LOST = 3; 10 GENERIC_ERROR = 4; 11 UNRECOGNIZED_MESSAGE = 5; 12 DECODE_ERROR = 6; 13 ENCODE_ERROR = 7; 14} 15 16message Notice { 17 NoticeCode notice_code = 1; 18 string notice_message = 2; 19} 20 21enum ControlRequestType { 22 CRT_RESERVED = 0; 23 REVERT_TO_CONSOLE = 1; 24} 25 26message ControlRequest { 27 ControlRequestType type = 1; 28} 29