GC-Proto/proto/ChatInfo.proto

25 lines
490 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
2024-06-23 18:33:14 +03:00
// 4.7.0
2022-11-06 15:30:21 +03:00
message ChatInfo {
2024-06-23 18:33:14 +03:00
message SystemHint {
uint32 type = 7;
}
2024-06-23 18:33:14 +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-06-23 18:33:14 +03:00
uint32 time = 9;
uint32 to_uid = 8;
bool is_read = 12;
uint32 uid = 5;
uint32 sequence = 4;
oneof content {
string text = 1751;
uint32 icon = 1792;
SystemHint system_hint = 370;
}
2022-11-06 15:30:21 +03:00
}