isle/LEGO1/mxatomidcounter.cpp
disinvite f461bd9eb8 Implement MxAtomId and reference counter (stl set)
* Partial success in hiding 4786 warning spam.
* Build out most of MxOmni::Destroy since it also touches the set
2023-08-13 13:47:30 -04:00

15 lines
194 B
C++

#include "mxatomidcounter.h"
// OFFSET: LEGO1 0x100ad7f0
void MxAtomIdCounter::Inc()
{
m_value++;
}
// OFFSET: LEGO1 0x100ad800
void MxAtomIdCounter::Dec()
{
if (m_value)
m_value--;
}