2022-11-06 15:30:21 +03:00
|
|
|
// Proto has been converted from Sorapointa to Grasscutter format
|
|
|
|
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
|
|
|
|
// Copyright (C) 2022 Sorapointa Team
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2022-12-05 15:02:30 +03:00
|
|
|
import "StopServerInfo.proto";
|
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
option java_package = "emu.grasscutter.net.proto";
|
|
|
|
|
|
|
|
message GetPlayerTokenRsp {
|
2022-12-05 15:02:30 +03:00
|
|
|
// enum CmdId {
|
|
|
|
// option allow_alias = true;
|
|
|
|
// NONE = 0;
|
|
|
|
// CMD_ID = 130;
|
|
|
|
// ENET_CHANNEL_ID = 0;
|
|
|
|
// ENET_IS_RELIABLE = 1;
|
|
|
|
// }
|
|
|
|
|
2022-11-06 15:30:21 +03:00
|
|
|
bytes security_cmd_buffer = 6;
|
2022-12-27 23:28:34 +03:00
|
|
|
uint32 gm_uid = 7;
|
2022-12-05 15:02:30 +03:00
|
|
|
bool is_guest = 11;
|
|
|
|
bool Unk3300_AJBBIPFMBEL = 126;
|
|
|
|
uint32 key_id = 134;
|
|
|
|
string sign = 1666;
|
2022-11-06 15:30:21 +03:00
|
|
|
string secret_key = 15;
|
2022-12-07 07:38:18 +03:00
|
|
|
uint32 account_type = 8;
|
2022-12-05 15:02:30 +03:00
|
|
|
uint32 channel_id = 676;
|
|
|
|
bytes extra_bin_data = 5;
|
|
|
|
uint64 secret_key_seed = 3;
|
|
|
|
string token = 13;
|
|
|
|
string server_rand_key = 1188;
|
2022-12-27 23:28:34 +03:00
|
|
|
uint32 cloud_client_ip = 1670;
|
2022-12-05 15:02:30 +03:00
|
|
|
string birthday = 1847;
|
|
|
|
uint32 tag = 1099;
|
|
|
|
string client_ip_str = 1382;
|
2022-12-12 12:47:14 +03:00
|
|
|
uint32 sub_channel_id = 1038;
|
2022-12-05 15:02:30 +03:00
|
|
|
int32 retcode = 2;
|
|
|
|
string client_version_random_key = 1152;
|
|
|
|
string psn_id = 242;
|
2022-12-11 07:40:50 +03:00
|
|
|
bool is_proficient_player = 9;
|
2022-12-05 15:02:30 +03:00
|
|
|
uint32 platform_type = 10;
|
|
|
|
uint32 reg_platform = 646;
|
|
|
|
StopServerInfo stop_server = 1897;
|
2022-12-27 23:28:34 +03:00
|
|
|
uint32 black_uid_end_time = 12;
|
2022-12-05 15:02:30 +03:00
|
|
|
bool Unk3300_CFBHAHOHDKC = 746;
|
|
|
|
string account_uid = 1;
|
|
|
|
repeated uint32 finish_collection_id_list = 1766;
|
|
|
|
string msg = 4;
|
|
|
|
string country_code = 245;
|
|
|
|
uint32 uid = 14;
|
2022-11-06 15:30:21 +03:00
|
|
|
}
|