8class EnchantmentInstance {
12 ::ll::TypedStorage<1, 1, ::Enchant::Type> mEnchantType;
13 ::ll::TypedStorage<4, 4, int> mLevel;
19 MCAPI EnchantmentInstance();
21 MCAPI EnchantmentInstance(::Enchant::Type enchantType,
int level);
23 MCFOLD
int getEnchantLevel()
const;
25 MCFOLD ::Enchant::Type getEnchantType()
const;
27 MCAPI
bool operator==(::EnchantmentInstance
const& rhs)
const;
29 MCFOLD
void setEnchantLevel(
int level);
31 MCFOLD
void setEnchantType(::Enchant::Type enchantType);
39 MCAPI
void* $ctor(::Enchant::Type enchantType,
int level);