26 lines
475 B
Protocol Buffer
26 lines
475 B
Protocol Buffer
syntax = "proto3";
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
message ChatInfo {
|
|
|
|
enum SystemHintType {
|
|
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
|
|
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
|
|
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
|
|
}
|
|
message SystemHint {
|
|
uint32 type = 10;
|
|
}
|
|
|
|
uint32 to_uid = 3;
|
|
uint32 time = 5;
|
|
uint32 uid = 11;
|
|
oneof content {
|
|
string text = 457;
|
|
uint32 icon = 1812;
|
|
SystemHint system_hint = 44;
|
|
}
|
|
bool is_read = 8;
|
|
uint32 sequence = 13;
|
|
}
|