GC-Proto/proto/ChatInfo.proto

26 lines
530 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2024-08-28 12:09:22 +03:00
2022-11-06 15:30:21 +03:00
option java_package = "emu.grasscutter.net.proto";
2024-08-28 12:09:22 +03:00
// Version: 5.0
2024-04-21 23:51:36 +03:00
2022-11-06 15:30:21 +03:00
message ChatInfo {
2024-08-28 12:09:22 +03:00
enum SystemHintType {
2024-06-02 06:52:03 +03:00
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
}
2024-08-28 12:09:22 +03:00
message SystemHint {
uint32 type = 7;
}
bool is_read = 4;
uint32 time = 8;
uint32 to_uid = 5;
uint32 sequence = 7;
uint32 uid = 10;
oneof content {
uint32 icon = 21;
string text = 357;
SystemHint system_hint = 922;
}
}