[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

31
proto/GetPlayerTokenReq.proto Executable file
View File

@@ -0,0 +1,31 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message GetPlayerTokenReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 149;
}
uint32 account_type = 1;
string account_uid = 2;
string account_token = 3;
string account_ext = 4;
uint32 uid = 5;
bool is_guest = 6;
uint32 platform_type = 7;
uint32 cloud_client_ip = 8;
string online_id = 9;
string psn_region = 10;
uint32 channel_id = 11;
uint32 sub_channel_id = 12;
string country_code = 13;
string psn_id = 14;
string client_ip_str = 15;
}