MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / toUInt32

Function toUInt32

source/utils/Helper.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 uint32_t toUInt32(const std::string& text)
64 {
65 std::stringstream ss(text);
66 uint32_t number = 0;
67 ss >> number;
68 return number;
69 }
70
71 float toFloat(const std::string& text)
72 {

Callers 7

loadGlobalGameConfigMethod · 0.85
loadSpawnConditionsMethod · 0.85
getRoomConfigUInt32Method · 0.85
getTrapConfigUInt32Method · 0.85
getSpellConfigUInt32Method · 0.85
cSrvSetCreatureLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected