#include "Contents/InstantVar.h" // OFFSET: 0x00CA8EE0 // OFFSET: 0x00CA9260 // FUNCTION: fn_20997 CInstantVar::~CInstantVar() = default; // OFFSET: 0x00D559B0 // FUNCTION: fn_21952 void CInstantVar::Set(int key, std::int64_t value) { this->m_values[key] = value; } // OFFSET: 0x00612020 // OFFSET: 0x0091BE20 std::int64_t CInstantVar::Get(int key) const { const auto entry = this->m_values.find(key); return entry == this->m_values.end() ? 0 : entry->second; } // INLINED void CInstantVar::Clear() { this->m_values.clear(); }