GC-Proto/proto/ChatInfo.proto

26 lines
475 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
2024-04-21 23:51:36 +03:00
2022-11-06 15:30:21 +03:00
message ChatInfo {
2024-04-21 23:51:36 +03:00
2023-06-11 17:35:48 +03:00
enum SystemHintType {
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
}
message SystemHint {
2024-04-21 23:51:36 +03:00
uint32 type = 10;
}
2024-04-21 23:51:36 +03:00
uint32 to_uid = 3;
uint32 time = 5;
uint32 uid = 11;
oneof content {
2024-04-21 23:51:36 +03:00
string text = 457;
uint32 icon = 1812;
SystemHint system_hint = 44;
}
2024-04-21 23:51:36 +03:00
bool is_read = 8;
uint32 sequence = 13;
2022-11-06 15:30:21 +03:00
}