MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / SetValue

Method SetValue

Shadows/SampleFramework11/TextGUI.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 operator uint32() const { return value; }
29 bool Changed() const { return changed; }
30 void SetValue(uint32 newValue) { value = std::min(newValue, numValues - 1); }
31 const std::wstring& ValueName() const { return valueNames[value]; }
32
33protected:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected