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

#include <CombatMagicCaster.h>

Inheritance diagram for RE::CombatMagicCaster:
RE::CombatObject RE::NiRefObject RE::CombatMagicCasterBoundItem RE::CombatMagicCasterCloak RE::CombatMagicCasterDisarm RE::CombatMagicCasterInvisibility RE::CombatMagicCasterLight RE::CombatMagicCasterOffensive RE::CombatMagicCasterParalyze RE::CombatMagicCasterReanimate RE::CombatMagicCasterRestore RE::CombatMagicCasterScript RE::CombatMagicCasterStagger RE::CombatMagicCasterSummon RE::CombatMagicCasterTargetEffect RE::CombatMagicCasterWard

Public Member Functions

 ~CombatMagicCaster () override
 
void SaveGame (BGSSaveGameBuffer *a_buf) override
 
void LoadGame (BGSLoadGameBuffer *a_buf) override
 
virtual CombatInventoryItem::CATEGORY GetCategory ()=0
 
virtual bool CheckStartCast (CombatController *a_combatController)
 
virtual bool CheckStopCast (CombatController *a_combatController)
 
virtual float CalcCastMagicChance (CombatController *a_combatController) const
 
virtual float CalcMagicHoldTime (CombatController *a_combatController) const
 
virtual void * GetMagicTarget (CombatController *a_combatController) const
 
virtual void NotifyStartCast (CombatController *a_combatController)
 
virtual void NotifyStopCast (CombatController *a_combatController)
 
virtual void SetupAimController (CombatProjectileAimController *a_aimController)
 
bool CheckTargetValid (const CombatController *a_combatController)
 
- 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 ()
 

Static Public Member Functions

static bool CheckTargetValid (const CombatController *a_combatController, Actor *a_target, const CombatInventoryItemMagic *a_inventoryItem)
 
- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Public Attributes

NiPointer< CombatInventoryItemMagicinventoryItem
 
MagicItemmagicItem
 
- 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_CombatMagicCaster
 
static constexpr auto VTABLE = VTABLE_CombatMagicCaster
 
- 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
 

Constructor & Destructor Documentation

◆ ~CombatMagicCaster()

RE::CombatMagicCaster::~CombatMagicCaster ( )
override

Member Function Documentation

◆ CalcCastMagicChance()

virtual float RE::CombatMagicCaster::CalcCastMagicChance ( CombatController a_combatController) const
virtual

Reimplemented in RE::CombatMagicCasterOffensive.

◆ CalcMagicHoldTime()

virtual float RE::CombatMagicCaster::CalcMagicHoldTime ( CombatController a_combatController) const
virtual

Reimplemented in RE::CombatMagicCasterOffensive.

◆ CheckStartCast()

◆ CheckStopCast()

◆ CheckTargetValid() [1/2]

bool RE::CombatMagicCaster::CheckTargetValid ( const CombatController a_combatController)
inline

◆ CheckTargetValid() [2/2]

static bool RE::CombatMagicCaster::CheckTargetValid ( const CombatController a_combatController,
Actor a_target,
const CombatInventoryItemMagic a_inventoryItem 
)
inlinestatic

◆ GetCategory()

◆ GetMagicTarget()

virtual void * RE::CombatMagicCaster::GetMagicTarget ( CombatController a_combatController) const
virtual

Reimplemented in RE::CombatMagicCasterReanimate.

◆ LoadGame()

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

◆ NotifyStartCast()

virtual void RE::CombatMagicCaster::NotifyStartCast ( CombatController a_combatController)
virtual

◆ NotifyStopCast()

◆ SaveGame()

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

◆ SetupAimController()

virtual void RE::CombatMagicCaster::SetupAimController ( CombatProjectileAimController *  a_aimController)
virtual

Reimplemented in RE::CombatMagicCasterReanimate.

Member Data Documentation

◆ inventoryItem

NiPointer<CombatInventoryItemMagic> RE::CombatMagicCaster::inventoryItem

◆ magicItem

MagicItem* RE::CombatMagicCaster::magicItem

◆ RTTI

constexpr auto RE::CombatMagicCaster::RTTI = RTTI_CombatMagicCaster
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::CombatMagicCaster::VTABLE = VTABLE_CombatMagicCaster
inlinestaticconstexpr

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