CommonLibVR
CombatMagicCasterOffensive.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/AITimer.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_CombatMagicCasterOffensive;
12  inline static constexpr auto VTABLE = VTABLE_CombatMagicCasterOffensive;
13 
14  ~CombatMagicCasterOffensive() override; // 00
15 
16  // override (CombatMagicCaster)
17  std::uint32_t GetObjectType() override; // 02
18  void SaveGame(BGSSaveGameBuffer* a_buf) override; // 03
19  void LoadGame(BGSLoadGameBuffer* a_buf) override; // 04
20  CombatInventoryItem::CATEGORY GetCategory() override; // 05 - { return 0; }
21  bool CheckStartCast(CombatController* a_combatController) override; // 06
22  bool CheckStopCast(CombatController* a_combatController) override; // 07
23  float CalcCastMagicChance(CombatController* a_combatController) const override; // 08
24  float CalcMagicHoldTime(CombatController* a_combatController) const override; // 09
25  void NotifyStartCast(CombatController* a_combatController) override; // 0B
26  void NotifyStopCast(CombatController* a_combatController) override; // 0C
27 
28  // members
31  private:
32  KEEP_FOR_RE()
33  };
34  static_assert(sizeof(CombatMagicCasterOffensive) == 0x30);
35 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: CombatController.h:23
CATEGORY
Definition: CombatInventoryItem.h:56
Definition: CombatMagicCasterOffensive.h:9
float CalcCastMagicChance(CombatController *a_combatController) const override
void SaveGame(BGSSaveGameBuffer *a_buf) override
static constexpr auto VTABLE
Definition: CombatMagicCasterOffensive.h:12
void LoadGame(BGSLoadGameBuffer *a_buf) override
CombatInventoryItem::CATEGORY GetCategory() override
AITimer stopCastTimer
Definition: CombatMagicCasterOffensive.h:30
void NotifyStopCast(CombatController *a_combatController) override
AITimer startCastTimer
Definition: CombatMagicCasterOffensive.h:29
static constexpr auto RTTI
Definition: CombatMagicCasterOffensive.h:11
bool CheckStopCast(CombatController *a_combatController) override
bool CheckStartCast(CombatController *a_combatController) override
std::uint32_t GetObjectType() override
float CalcMagicHoldTime(CombatController *a_combatController) const override
void NotifyStartCast(CombatController *a_combatController) override
Definition: CombatMagicCaster.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_CombatMagicCasterOffensive(static_cast< std::uint64_t >(687625))
constexpr std::array< REL::ID, 1 > VTABLE_CombatMagicCasterOffensive
Definition: Offsets_VTABLE.h:11055
Definition: AITimer.h:6