1111
This commit is contained in:
20
test/STL.h
20
test/STL.h
@@ -33,13 +33,22 @@ static std::map<std::string, std::map<int, bool>>BoolArr_STL;
|
||||
|
||||
|
||||
|
||||
//构造 抽奖 类型容器
|
||||
|
||||
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;
|
||||
|
||||
|
||||
ifdenf DRAGONBOX_SWITCH
|
||||
//抽奖 类型结构体
|
||||
struct Dargonresult
|
||||
{
|
||||
int ItemIndex;
|
||||
int ItemNum;
|
||||
int ItemGrade;
|
||||
};
|
||||
//龙盒结构体
|
||||
struct DargonMap
|
||||
{
|
||||
int LuckyValue;
|
||||
@@ -47,14 +56,11 @@ struct DargonMap
|
||||
int sync;
|
||||
int box_num;
|
||||
};
|
||||
//龙盒状态Map
|
||||
static std::map<std::string, DargonMap>DargonState_STL;
|
||||
//龙盒模式Map
|
||||
static std::map<std::string, int>DargonModel_STL;
|
||||
|
||||
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;
|
||||
|
||||
ifndef
|
||||
|
||||
class STL
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user