Json stl拓展完成

This commit is contained in:
2022-04-22 02:16:45 +08:00
parent bb87d4d3a9
commit 44ea52a10a
9 changed files with 250 additions and 42 deletions

View File

@@ -170,7 +170,7 @@ void STL::SetIntArr_STL(std::string name, int idx, int value)
IntArr_STL[name][idx] = value;
}
void STL::SetFloatArr_STL(std::string name, int idx, float value)
void STL::SetFloatArr_STL(std::string name, int idx, FLOAT value)
{
FloatArr_STL[name][idx] = value;
}
@@ -180,7 +180,7 @@ void STL::SetStringArr_STL(std::string name, int idx, std::string value)
StringArr_STL[name][idx] = value;
}
void STL::SetBoolArr_STL(std::string name, int idx, bool value)
void STL::SetBoolArr_STL(std::string name, int idx, BOOL value)
{
BoolArr_STL[name][idx] = value;
}
@@ -190,7 +190,7 @@ int STL::GetIntArr_STL(std::string name, int idx)
return IntArr_STL[name][idx];
}
float STL::GetFloatArr_STL(std::string name, int idx)
FLOAT STL::GetFloatArr_STL(std::string name, int idx)
{
return FloatArr_STL[name][idx];
}
@@ -200,7 +200,7 @@ std::string STL::GetStringArr_STL(std::string name, int idx)
return StringArr_STL[name][idx];
}
bool STL::GetBoolArr_STL(std::string name, int idx)
BOOL STL::GetBoolArr_STL(std::string name, int idx)
{
return BoolArr_STL[name][idx];
}