// 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";

import "BlockInfo.proto";
import "FeatureBlockInfo.proto";
import "ResVersionConfig.proto";
import "ShortAbilityHashPair.proto";

option java_package = "emu.grasscutter.net.proto";

message PlayerLoginRsp {
  // enum CmdId {
  //   option allow_alias = true;
  //   NONE = 0;
  //   CMD_ID = 119;
  //   ENET_CHANNEL_ID = 0;
  //   ENET_IS_RELIABLE = 1;
  // }

  uint64 login_rand = 9;
  bytes Unk3300_DHCMDHHDLFF = 2;
  string Unk3300_HMGCPAGLDHB = 16;
  double total_tick_time = 530;
  bool Unk3300_LLIJKLDBHNN = 5;
  bool is_audit = 930;
  string birthday = 1387;
  bool Unk3300_HGFNECIJDLN = 13;
  string client_silence_version_suffix = 908;
  string client_version_suffix = 1845;
  string next_resource_url = 1324;
  bool Unk3300_EJKCNNDFAAI = 196;
  repeated ShortAbilityHashPair short_ability_hash_map = 1373;
  bool is_data_need_relogin = 1119;
  ResVersionConfig res_version_config = 808;
  uint32 client_silence_data_version = 1;
  uint32 target_uid = 15;
  string Unk3300_NEICPFBPNPD = 99;
  bool Unk3300_CANONIPHMDI = 1522;
  bool Unk3300_IIHDKKNJPGD = 8;
  uint32 player_data_version = 14;
  bytes Unk3300_MOPDDGHMKBD = 1888;
  string country_code = 360;
  ResVersionConfig next_res_version_config = 1688;
  bool Unk3300_IADLIIMGDMC = 17;
  map<uint32, BlockInfo> block_info_map = 2018;
  bool is_transfer = 295;
  uint32 target_home_owner_uid = 446;
  string game_biz = 4;
  map<string, int32> ability_hash_map = 3;
  int32 ability_hash_code = 12;
  uint32 client_data_version = 10;
  string Unk3300_OPGDBOLKLJA = 1299;
  int32 retcode = 7;
  repeated FeatureBlockInfo feature_block_info_list = 138;
}
