mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-26 01:44:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			301 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			301 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "mxatomidcounter.h"
 | |
| 
 | |
| #include "decomp.h"
 | |
| 
 | |
| DECOMP_SIZE_ASSERT(MxAtomIdCounter, 0x14);
 | |
| DECOMP_SIZE_ASSERT(MxAtomIdCounterSet, 0x10);
 | |
| 
 | |
| // OFFSET: LEGO1 0x100ad7f0
 | |
| void MxAtomIdCounter::Inc()
 | |
| {
 | |
| 	m_value++;
 | |
| }
 | |
| 
 | |
| // OFFSET: LEGO1 0x100ad800
 | |
| void MxAtomIdCounter::Dec()
 | |
| {
 | |
| 	if (m_value)
 | |
| 		m_value--;
 | |
| }
 | 
