mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 16:16:46 +00:00
91f8381fb1
* feature(2.7 version): support 2.7 version & upload new protos 1. Support GC in GI 2.7.0; 2. Upload new protos; 3. Fix some bugs cuz by new protos. BREAKING CHANGE: all * fix(database helper): fix player uid issues * fix(ability embryo): uint32 to fixed32 * fix(proto): map mark rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE * fix(game version): change game version to 2.7.0 * perf(proto): remove unused protos 1. Remove unused protos; 2. Temporarily commented out some of the proto fields. * fix(proto): uint32 to fixed32
27 lines
471 B
Protocol Buffer
Executable File
27 lines
471 B
Protocol Buffer
Executable File
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;
|
|
}
|
|
}
|