Use ENUM macro for Item Category enums.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -2,9 +2,10 @@
 | 
			
		||||
#define CREATURELIB_BATTLEITEMCATEGORY_HPP
 | 
			
		||||
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
#include "../../Core/Enum.hpp"
 | 
			
		||||
 | 
			
		||||
namespace CreatureLib::Library {
 | 
			
		||||
    enum class BattleItemCategory : uint8_t { None, Healing, StatusHealing, CaptureDevice, MiscBattleItem };
 | 
			
		||||
    ENUM(BattleItemCategory, uint8_t, None, Healing, StatusHealing, CaptureDevice, MiscBattleItem)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // CREATURELIB_BATTLEITEMCATEGORY_HPP
 | 
			
		||||
 
 | 
			
		||||
@@ -2,18 +2,10 @@
 | 
			
		||||
#define CREATURELIB_ITEMCATEGORY_HPP
 | 
			
		||||
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
#include "../../Core/Enum.hpp"
 | 
			
		||||
 | 
			
		||||
namespace CreatureLib::Library {
 | 
			
		||||
    enum class ItemCategory : uint8_t {
 | 
			
		||||
        MiscItem,
 | 
			
		||||
        CaptureDevice,
 | 
			
		||||
        Medicine,
 | 
			
		||||
        Berry,
 | 
			
		||||
        TM,
 | 
			
		||||
        VariantChanger,
 | 
			
		||||
        KeyItem,
 | 
			
		||||
        Mail,
 | 
			
		||||
    };
 | 
			
		||||
    ENUM(ItemCategory, uint8_t, MiscItem, CaptureDevice, Medicine, Berry, MoveLearner, VariantChanger, KeyItem, Mail)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // CREATURELIB_ITEMCATEGORY_HPP
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user