isle/LEGO1/mxatomidcounter.cpp

20 lines
301 B
C++
Raw Normal View History

#include "mxatomidcounter.h"
2023-10-24 19:38:27 -04:00
#include "decomp.h"
DECOMP_SIZE_ASSERT(MxAtomIdCounter, 0x14);
DECOMP_SIZE_ASSERT(MxAtomIdCounterSet, 0x10);
// OFFSET: LEGO1 0x100ad7f0
void MxAtomIdCounter::Inc()
{
2023-10-24 19:38:27 -04:00
m_value++;
}
// OFFSET: LEGO1 0x100ad800
void MxAtomIdCounter::Dec()
{
2023-10-24 19:38:27 -04:00
if (m_value)
m_value--;
}