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

Function toInt

source/utils/Helper.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 int toInt(const std::string& text)
56 {
57 std::stringstream ss(text);
58 int number = 0;
59 ss >> number;
60 return number;
61 }
62
63 uint32_t toUInt32(const std::string& text)
64 {

Callers 15

importSeatFromStreamMethod · 0.85
fillMasterServerGamesFunction · 0.85
loadGlobalGameConfigMethod · 0.85
getRoomConfigInt32Method · 0.85
getTrapConfigInt32Method · 0.85
getSpellConfigInt32Method · 0.85
importFromStreamMethod · 0.85
updateMethod · 0.85
loadRoomAffinityMethod · 0.85
loadFromLineMethod · 0.85
loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected