//SETUP - [2021-12-06 11:19:00]
#ifndef _SETUP_H_
#define _SETUP_H_

#include "CTeam.h"
#include "CPlayer.h"
#include "TPlayerInfoLight.h"
#include "CDataBase.h"

/*
0017829c SETUP_ExpandPlayer
00178378 SETUP_ExpandPlayers
0017864a SETUP_GetCaptainIndex
001781d0 SETUP_StandardPlayer
001784c8 SETUP_TeamExpand
00178474 SETUP_TeamNames
*/

//国家字母前三个
enum ECountry {
  ECountry_neg1 = -1,
  ECountry_SPA_0,
  ECountry_ITA_1,
  ECountry_GER_2,
  ECountry_NET_3,
  ECountry_CRO_4,
  ECountry_BRA_5,
  ECountry_ARG_6,
  ECountry_CZE_7,
  ECountry_8,
  ECountry_TUR_9,
  ECountry_FRA_A,
  ECountry_RUS_B,
  ECountry_CAM_C,
  ECountry_ENG_D,
  ECountry_SCO_E,
  ECountry_GRE_F,
  ECountry_GHA_10,
  ECountry_EGY_11,
  ECountry_12,
  ECountry_IVO_13,
  ECountry_MEX_14,
  ECountry_15,
  ECountry_NIG_16,
  ECountry_17,
  ECountry_USA_18,
  ECountry_COL_19,
  ECountry_POL_1A,
  ECountry_SWE_1B,
  ECountry_1C,
  ECountry_JAP_1D,
  ECountry_1E,
  ECountry_IRE_1F,
  ECountry_20,
  ECountry_21,
  ECountry_22,
  ECountry_23,
  ECountry_IRA_24,
  ECountry_SAU_25,
  ECountry_SOK_26,
  ECountry_27,
  ECountry_28,
  ECountry_29,
  ECountry_2A,
  ECountry_SOA_2B,
  ECountry_2C,
  ECountry_2D,
  ECountry_2E,
  ECountry_CHI_2F,
  ECountry_30,
  ECountry_31,
  ECountry_32,
  ECountry_IND_33,
  ECountry_BEL_34,
  ECountry_35,
  ECountry_36,
  ECountry_BUL_37,
  ECountry_38,
  ECountry_NOR_39,
  ECountry_3A,
  ECountry_ISR_3B,
  ECountry_3C,
  ECountry_3D,
  ECountry_3E,
  ECountry_ROM_3F,
  ECountry_40,
  ECountry_SER_41,
  ECountry_42,
  ECountry_43,
  ECountry_ICE_44,
  ECountry_ALG_45,
  ECountry_HUN_46,
  ECountry_47,
  ECountry_48,
  ECountry_49,
  ECountry_FIN_4A,
  ECountry_4B,
  ECountry_4C,
  ECountry_4D,
  ECountry_4E,
  ECountry_4F,
  ECountry_50,
  ECountry_51,
  ECountry_52,
  ECountry_53,
  ECountry_54,
  ECountry_55,
  ECountry_56,
  ECountry_57,
  ECountry_58,
  ECountry_59,
  ECountry_5A,
  ECountry_5B,
  ECountry_5C,
  ECountry_5D,
  ECountry_5E,
  ECountry_5F,
  ECountry_60,
  ECountry_61,
  ECountry_62,
  ECountry_63,
  ECountry_64,
  ECountry_65,
  ECountry_66,
  ECountry_67,
  ECountry_68,
  ECountry_69,
  ECountry_6A,
  ECountry_6B,
  ECountry_6C,
  ECountry_6D,
  ECountry_6E,
  ECountry_6F,
  ECountry_70,
  ECountry_71,
  ECountry_72,
  ECountry_73,
  ECountry_74,
  ECountry_75,
  ECountry_76,
  ECountry_77,
  ECountry_78,
  ECountry_79,
  ECountry_7A,
  ECountry_7B,
  ECountry_7C,
  ECountry_7D,
  ECountry_7E,
  ECountry_7F,
  ECountry_80,
  ECountry_81,
  ECountry_82,
  ECountry_83,
  ECountry_84,
  ECountry_85,
  ECountry_86,
  ECountry_87,
  ECountry_THA_88,
  ECountry_VNM_89,
  ECountry_MYS_8A,
  ECountry_IDN_8B,
  ECountry_8C,
  ECountry_SGP_8D,
  ECountry_HKG_8E,
  ECountry_8F,
};

//0x0017864a
int SETUP_GetCaptainIndex(CTeam*);

//0x0017829c
void SETUP_ExpandPlayer(TPlayerInfo*, TPlayerInfoLight*, int, ECountry, bool);

//0x00178378
void SETUP_ExpandPlayers(CTeam*, TTeamInfo*);

//0x001781d0
void SETUP_StandardPlayer(TPlayerInfo*);

//0x001784c8
void SETUP_TeamExpand(CTeam*, TPlayerInfo*, TPlayerInfo*, ushort);

//0x00178474
void SETUP_TeamNames();

#endif  //_SETUP_H_