CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::ExtraEnchantment Class Reference

#include <ExtraEnchantment.h>

Inheritance diagram for RE::ExtraEnchantment:
RE::BSExtraData

Public Member Functions

 ExtraEnchantment ()
 
 ExtraEnchantment (EnchantmentItem *a_enchantment, std::uint16_t a_charge, bool a_removeOnUnequip=false)
 
 ~ExtraEnchantment () override=default
 
ExtraDataType GetType () const override
 
bool IsNotEqual (const BSExtraData *a_rhs) const override
 
- Public Member Functions inherited from RE::BSExtraData
 BSExtraData ()
 
virtual ~BSExtraData ()=default
 
virtual ExtraDataType GetType () const =0
 
virtual bool IsNotEqual (const BSExtraData *a_rhs) const
 
bool operator== (const BSExtraData &a_rhs) const
 
bool operator!= (const BSExtraData &a_rhs) const
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

EnchantmentItemenchantment
 
std::uint16_t charge
 
bool removeOnUnequip
 
std::uint8_t pad1B
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::BSExtraData
BSExtraDatanext
 

Static Public Attributes

static constexpr auto RTTI = RTTI_ExtraEnchantment
 
static constexpr auto EXTRADATATYPE = ExtraDataType::kEnchantment
 
- Static Public Attributes inherited from RE::BSExtraData
static constexpr auto RTTI = RTTI_BSExtraData
 
static constexpr auto EXTRADATATYPE = ExtraDataType::kNone
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::BSExtraData
static BSExtraDataCreate (std::size_t a_size, std::uintptr_t a_vtbl)
 
template<class T >
static T * Create (std::uintptr_t a_vtbl)
 

Constructor & Destructor Documentation

◆ ExtraEnchantment() [1/2]

RE::ExtraEnchantment::ExtraEnchantment ( )

◆ ExtraEnchantment() [2/2]

RE::ExtraEnchantment::ExtraEnchantment ( EnchantmentItem a_enchantment,
std::uint16_t  a_charge,
bool  a_removeOnUnequip = false 
)

◆ ~ExtraEnchantment()

RE::ExtraEnchantment::~ExtraEnchantment ( )
overridedefault

Member Function Documentation

◆ GetType()

ExtraDataType RE::ExtraEnchantment::GetType ( ) const
overridevirtual

Implements RE::BSExtraData.

◆ IsNotEqual()

bool RE::ExtraEnchantment::IsNotEqual ( const BSExtraData a_rhs) const
overridevirtual

Reimplemented from RE::BSExtraData.

Member Data Documentation

◆ charge

std::uint16_t RE::ExtraEnchantment::charge

◆ enchantment

EnchantmentItem* RE::ExtraEnchantment::enchantment

◆ EXTRADATATYPE

constexpr auto RE::ExtraEnchantment::EXTRADATATYPE = ExtraDataType::kEnchantment
inlinestaticconstexpr

◆ pad1B

std::uint8_t RE::ExtraEnchantment::pad1B

◆ pad1C

std::uint32_t RE::ExtraEnchantment::pad1C

◆ removeOnUnequip

bool RE::ExtraEnchantment::removeOnUnequip

◆ RTTI

constexpr auto RE::ExtraEnchantment::RTTI = RTTI_ExtraEnchantment
inlinestaticconstexpr

The documentation for this class was generated from the following file: