CommonLibSSE NG
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  };
32  static_assert(sizeof(CombatMagicCasterOffensive) == 0x30);
33 }
Definition: BGSLoadGameBuffer.h:6
Definition: BGSSaveGameBuffer.h:10
Definition: CombatController.h:23
CATEGORY
Definition: CombatInventoryItem.h:53
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::VariantID RTTI_CombatMagicCasterOffensive(687625, 395749, 0x1f1de08)
constexpr std::array< REL::VariantID, 1 > VTABLE_CombatMagicCasterOffensive
Definition: Offsets_VTABLE.h:3081
Definition: AITimer.h:6