MCPcopy Create free account
hub / github.com/LUX-Core/lux / getint

Method getint

src/script/script.h:319–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 }
318
319 int getint() const
320 {
321 if (m_value > std::numeric_limits<int>::max())
322 return std::numeric_limits<int>::max();
323 else if (m_value < std::numeric_limits<int>::min())
324 return std::numeric_limits<int>::min();
325 return m_value;
326 }
327
328 std::vector<unsigned char> getvch() const
329 {

Callers 2

ValueStringFunction · 0.45
EvalScriptFunction · 0.45

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected