Grasscutter/proto/ChatInfo.proto

27 lines
471 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ChatInfo {
uint32 time = 1;
uint32 uid = 2;
uint32 sequence = 3;
uint32 to_uid = 4;
bool is_read = 5;
oneof content {
string text = 100;
uint32 icon = 101;
SystemHint system_hint = 102;
}
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 = 1;
}
}