MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SetInt

Method SetInt

utilities/olcUTIL_DataFile.h:110–113  ·  view source on GitHub ↗

Sets the Integer Value of a Property (for a given index)

Source from the content-addressed store, hash-verified

108
109 // Sets the Integer Value of a Property (for a given index)
110 inline void SetInt(const int32_t n, const size_t nItem = 0)
111 {
112 SetString(std::to_string(n), nItem);
113 }
114
115 // Returns the number of Values a property consists of
116 inline size_t GetValueCount() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected