2022-03-09 16:27:06 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, int>Int_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>float<61><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, float>Float_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>string<6E><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, std::string>String_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>bool<6F><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, bool>Bool_STL;
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>intarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, std::map<int, int>>IntArr_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>floatarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, std::map<int, float>>FloatArr_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>stringarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, std::map<int, std::string>>StringArr_STL;
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>boolarr<72><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static std::map<std::string, std::map<int, bool>>BoolArr_STL;
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-11 21:52:14 +08:00
|
|
|
|
//<2F><><EFBFBD><EFBFBD> <20>齱 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
struct Dargonresult
|
|
|
|
|
|
{
|
|
|
|
|
|
int ItemIndex;
|
|
|
|
|
|
int ItemNum;
|
|
|
|
|
|
int ItemGrade;
|
|
|
|
|
|
};
|
|
|
|
|
|
struct DargonMap
|
|
|
|
|
|
{
|
|
|
|
|
|
int LuckyValue;
|
|
|
|
|
|
Dargonresult Result[10];
|
2022-03-15 09:21:02 +08:00
|
|
|
|
int sync;
|
2022-03-16 10:03:39 +08:00
|
|
|
|
int box_num;
|
2022-03-11 21:52:14 +08:00
|
|
|
|
};
|
|
|
|
|
|
static std::map<std::string, DargonMap>DargonState_STL;
|
|
|
|
|
|
static std::map<std::string, int>DargonModel_STL;
|
|
|
|
|
|
|
2022-03-09 16:27:06 +08:00
|
|
|
|
static std::map<int, int>aod;
|
|
|
|
|
|
static std::map<int, float>bod;
|
|
|
|
|
|
static std::map<int, std::string>cod;
|
|
|
|
|
|
static std::map<int, bool>dod;
|
|
|
|
|
|
|
2022-03-11 21:52:14 +08:00
|
|
|
|
|
2022-03-09 16:27:06 +08:00
|
|
|
|
class STL
|
|
|
|
|
|
{
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
2022-03-11 21:52:14 +08:00
|
|
|
|
|
2022-03-09 16:27:06 +08:00
|
|
|
|
//<2F><>ѯָ<D1AF><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static int Check_STL(std::string name,int Type,int idx = 0);
|
|
|
|
|
|
//static int Check_STL_Idx(std::string name,int idx);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD> Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static void BuildIntArr_STL(std::string name);
|
|
|
|
|
|
static void BuildFloatArr_STL(std::string name);
|
|
|
|
|
|
static void BuildStringArr_STL(std::string name);
|
|
|
|
|
|
static void BuildBoolArr_STL(std::string name);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD> Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static void SetIntArr_STL(std::string name,int idx,int value);
|
|
|
|
|
|
static void SetFloatArr_STL(std::string name,int idx,float value);
|
|
|
|
|
|
static void SetStringArr_STL(std::string name,int idx,std::string value);
|
|
|
|
|
|
static void SetBoolArr_STL(std::string name,int idx,bool value);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><>ȡ Int<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
static int GetIntArr_STL(std::string name, int idx);
|
|
|
|
|
|
static float GetFloatArr_STL(std::string name, int idx);
|
|
|
|
|
|
static std::string GetStringArr_STL(std::string name, int idx);
|
|
|
|
|
|
static bool GetBoolArr_STL(std::string name, int idx);
|
|
|
|
|
|
|
2022-03-15 09:21:02 +08:00
|
|
|
|
static void SyncDargonBox_STL();//ͬ<><CDAC><EFBFBD><EFBFBD><EFBFBD>а<EFBFBD>
|
|
|
|
|
|
static void DrawDargonBox_STL(char* Buffer);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>а<EFBFBD>
|
|
|
|
|
|
static int SelectDargonBox_STL(int Type,int Index = 0);//<2F><>ȡ<EFBFBD><C8A1><EFBFBD>а<EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
static void DrawDargonModel_STL(int Value);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
2022-03-21 11:51:20 +08:00
|
|
|
|
static int SelectDargonModel_STL(int Type);//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>ģʽ
|
2022-03-15 09:21:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
2022-03-09 16:27:06 +08:00
|
|
|
|
};
|
|
|
|
|
|
|