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-05 15:02:30 +03:00
|
|
|
uint32 Unk3300_PIPLDEAPMMN = 7;
|
|
|
|
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-05 15:02:30 +03:00
|
|
|
uint32 Unk3300_FDNAJOFMOAK = 8;
|
|
|
|
uint32 channel_id = 676;
|
|
|
|
bytes extra_bin_data = 5;
|
|
|
|
uint64 secret_key_seed = 3;
|
|
|
|
string token = 13;
|
|
|
|
string server_rand_key = 1188;
|
|
|
|
uint32 Unk3300_DILMOPPLPEM = 1670;
|
|
|
|
string birthday = 1847;
|
|
|
|
uint32 tag = 1099;
|
|
|
|
string client_ip_str = 1382;
|
|
|
|
uint32 Unk3300_IADFJHNFKIB = 1038;
|
|
|
|
int32 retcode = 2;
|
|
|
|
string client_version_random_key = 1152;
|
|
|
|
string psn_id = 242;
|
|
|
|
bool Unk3300_PPGJMLBGJED = 9;
|
|
|
|
uint32 platform_type = 10;
|
|
|
|
uint32 reg_platform = 646;
|
|
|
|
StopServerInfo stop_server = 1897;
|
|
|
|
uint32 Unk3300_FHPCJMIILPA = 12;
|
|
|
|
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
|
|
|
}
|