[BREAKING CHANGE] proto auto compiled by gradle (#226)

* [BREAK] proto auto compiled by gradle

* [BREAK] move proto to submodule

* update gitmodules

* [BREAK] move proto to submodule

* move proto to submodule

* fix merge conflict

* fix github action after merging

* fix merge conflicts and del submodule

* upload the proto
This commit is contained in:
WetABQ
2022-04-27 05:44:30 +08:00
committed by GitHub
parent 30d4fec9d4
commit b392849577
875 changed files with 8620 additions and 356859 deletions

27
proto/ChatInfo.proto Executable file
View File

@@ -0,0 +1,27 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message ChatInfo {
enum SystemHintType {
CHAT_NONE = 0;
CHAT_ENTER_WORLD = 1;
CHAT_LEAVE_WORLD = 2;
}
message SystemHint {
uint32 type = 1;
}
oneof Content {
string text = 100;
uint32 icon = 101;
SystemHint system_hint = 102;
}
uint32 time = 1;
uint32 uid = 2;
uint32 sequence = 3;
uint32 to_uid = 4;
bool is_read = 5;
}