MCPcopy Create free account
hub / github.com/TurningWheel/Barony / jsonValueToString

Function jsonValueToString

src/playfab.cpp:405–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405void jsonValueToString(Json::Value& val, std::string key, std::string& set)
406{
407 if ( val.isMember(key) )
408 {
409 if ( val[key].isString() )
410 {
411 set = val[key].asString();
412 }
413 }
414}
415
416void jsonArrayToInt(Json::Value& val, Json::ArrayIndex index, int& set)
417{

Callers 2

parseOnlineHiscoreFunction · 0.85
OnFunctionExecuteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected