GC-Proto/proto/ChatInfo.proto

25 lines
506 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-05-22 14:51:09 +03:00
// 4.6.0
2022-11-06 15:30:21 +03:00
message ChatInfo {
message SystemHint {
2024-05-22 14:51:09 +03:00
uint32 type = 11;
}
2024-05-22 14:51:09 +03:00
enum SystemHintType {
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
}
uint32 time = 1;
uint32 uid = 3;
uint32 to_uid = 6;
bool is_read = 11;
uint32 sequence = 14;
oneof content {
2024-05-22 14:51:09 +03:00
string text = 1643;
uint32 icon = 1290;
SystemHint system_hint = 279;
}
2022-11-06 15:30:21 +03:00
}