CommonLibSSE NG
Loading...
Searching...
No Matches
RE::CombatInventoryItemMagic Class Referenceabstract

#include <CombatInventoryItemMagic.h>

Inheritance diagram for RE::CombatInventoryItemMagic:
RE::CombatInventoryItem RE::CombatObject RE::NiRefObject RE::CombatInventoryItemMagicT< InventoryItem, MagicCaster > RE::CombatInventoryItemPotion RE::CombatInventoryItemScroll RE::CombatInventoryItemShout RE::CombatInventoryItemStaff

Public Member Functions

 ~CombatInventoryItemMagic () override
 
void SaveGame (BGSSaveGameBuffer *a_buf) override
 
void LoadGame (BGSLoadGameBuffer *a_buf) override
 
float GetMinRange () override
 
float GetMaxRange () override
 
float GetOptimalRange () override
 
float GetEquipRange () override
 
TYPE GetType () override
 
TYPE GetEquipType (BGSEquipSlot a_slot) override
 
float CalculateScore (CombatController *a_controller) override
 
bool CheckBusy (CombatController *a_controller) override
 
bool CheckShouldEquip (CombatController *a_controller) override
 
bool GetResource (CombatInventoryItemResource &a_resource) override
 
bool IsValid () override
 
virtual void * CreateCaster ()=0
 
virtual MagicItemGetMagic ()
 
- Public Member Functions inherited from RE::CombatInventoryItem
 ~CombatInventoryItem () override
 
void SaveGame (BGSSaveGameBuffer *a_buf) override
 
void LoadGame (BGSLoadGameBuffer *a_buf) override
 
virtual float GetMinRange ()
 
virtual float GetMaxRange ()
 
virtual float GetOptimalRange ()
 
virtual float GetEquipRange ()
 
virtual TYPE GetType ()
 
virtual TYPE GetEquipType (BGSEquipSlot a_slot)
 
virtual CATEGORY GetCategory ()=0
 
virtual float CalculateScore (CombatController *a_controller)=0
 
virtual CombatInventoryItemClone ()=0
 
virtual bool CheckBusy (CombatController *a_controller)
 
virtual bool CheckShouldEquip (CombatController *a_controller)
 
virtual bool GetResource (CombatInventoryItemResource &a_resource)
 
virtual void Equip (CombatController *a_controller)
 
virtual void Unequip (CombatController *a_controller)
 
virtual bool IsValid ()
 
virtual void GetDescription (const char *a_dest, std::uint32_t a_size)
 
- Public Member Functions inherited from RE::CombatObject
 ~CombatObject () override
 
virtual std::uint32_t GetObjectType ()=0
 
virtual void SaveGame (BGSSaveGameBuffer *a_buf)
 
virtual void LoadGame (BGSLoadGameBuffer *a_buf)
 
- Public Member Functions inherited from RE::NiRefObject
 NiRefObject ()
 
virtual ~NiRefObject ()
 
virtual void DeleteThis ()
 
void IncRefCount ()
 
void DecRefCount ()
 
constexpr std::uint32_t GetRefCount () const noexcept
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

float minRange
 
float maxRange
 
float tacticalDuration
 
float power
 
float currentAV
 
Effecteffect
 
- Public Attributes inherited from RE::CombatInventoryItem
TESFormitem
 
float itemScore
 
std::uint32_t unk1C
 
CombatInventoryItemSlot itemSlot
 
- Public Attributes inherited from RE::NiRefObject
volatile std::uint32_t _refCount { 0 }
 
std::uint32_t _pad0C { 0 }
 

Static Public Attributes

static constexpr auto RTTI = RTTI_CombatInventoryItemMagic
 
static constexpr auto VTABLE = VTABLE_CombatInventoryItemMagic
 
- Static Public Attributes inherited from RE::CombatInventoryItem
static constexpr auto RTTI = RTTI_CombatInventoryItem
 
- Static Public Attributes inherited from RE::CombatObject
static constexpr auto RTTI = RTTI_CombatObject
 
- Static Public Attributes inherited from RE::NiRefObject
static constexpr auto RTTI = RTTI_NiRefObject
 

Additional Inherited Members

- Public Types inherited from RE::CombatInventoryItem
enum class  TYPE {
  kNone = 0 , kMelee , kRanged , kShield ,
  kOneHandedBlock = kShield , kMagic , kShout , kStaff ,
  kPotion , kScroll , kTorch
}
 
enum class  CATEGORY { kTotal = 7 }
 
- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Constructor & Destructor Documentation

◆ ~CombatInventoryItemMagic()

RE::CombatInventoryItemMagic::~CombatInventoryItemMagic ( )
override

Member Function Documentation

◆ CalculateScore()

float RE::CombatInventoryItemMagic::CalculateScore ( CombatController a_controller)
overridevirtual

◆ CheckBusy()

bool RE::CombatInventoryItemMagic::CheckBusy ( CombatController a_controller)
overridevirtual

◆ CheckShouldEquip()

bool RE::CombatInventoryItemMagic::CheckShouldEquip ( CombatController a_controller)
overridevirtual

Reimplemented from RE::CombatInventoryItem.

Reimplemented in RE::CombatInventoryItemShout.

◆ CreateCaster()

virtual void * RE::CombatInventoryItemMagic::CreateCaster ( )
pure virtual

◆ GetEquipRange()

float RE::CombatInventoryItemMagic::GetEquipRange ( )
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetEquipType()

TYPE RE::CombatInventoryItemMagic::GetEquipType ( BGSEquipSlot  a_slot)
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetMagic()

virtual MagicItem * RE::CombatInventoryItemMagic::GetMagic ( )
virtual

◆ GetMaxRange()

float RE::CombatInventoryItemMagic::GetMaxRange ( )
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetMinRange()

float RE::CombatInventoryItemMagic::GetMinRange ( )
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetOptimalRange()

float RE::CombatInventoryItemMagic::GetOptimalRange ( )
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetResource()

bool RE::CombatInventoryItemMagic::GetResource ( CombatInventoryItemResource a_resource)
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ GetType()

TYPE RE::CombatInventoryItemMagic::GetType ( )
overridevirtual

◆ IsValid()

bool RE::CombatInventoryItemMagic::IsValid ( )
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ LoadGame()

void RE::CombatInventoryItemMagic::LoadGame ( BGSLoadGameBuffer a_buf)
overridevirtual

Reimplemented from RE::CombatInventoryItem.

◆ SaveGame()

void RE::CombatInventoryItemMagic::SaveGame ( BGSSaveGameBuffer *  a_buf)
overridevirtual

Reimplemented from RE::CombatInventoryItem.

Member Data Documentation

◆ currentAV

float RE::CombatInventoryItemMagic::currentAV

◆ effect

Effect* RE::CombatInventoryItemMagic::effect

◆ maxRange

float RE::CombatInventoryItemMagic::maxRange

◆ minRange

float RE::CombatInventoryItemMagic::minRange

◆ power

float RE::CombatInventoryItemMagic::power

◆ RTTI

constexpr auto RE::CombatInventoryItemMagic::RTTI = RTTI_CombatInventoryItemMagic
inlinestaticconstexpr

◆ tacticalDuration

float RE::CombatInventoryItemMagic::tacticalDuration

◆ VTABLE

constexpr auto RE::CombatInventoryItemMagic::VTABLE = VTABLE_CombatInventoryItemMagic
inlinestaticconstexpr

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