move proto to submodule

This commit is contained in:
wetabq
2022-04-25 16:17:42 +08:00
parent 7f5e053290
commit 1bdec08806
439 changed files with 5371 additions and 2625 deletions

25
proto/ChatInfo.proto Normal file → Executable file
View File

@@ -2,17 +2,26 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "SystemHint.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 toUid = 4;
bool isRead = 5;
oneof content {
string text = 100;
uint32 icon = 101;
SystemHint systemHint = 102;
}
uint32 to_uid = 4;
bool is_read = 5;
}