61 static_assert(
sizeof(
Data) == 0x8);
87 [[nodiscard]]
virtual bool IsFood()
const;
126 static_assert(
sizeof(
MagicItem) == 0x90);
Definition: BGSKeyword.h:10
Definition: BSTArray.h:377
Definition: BSTSmartPointer.h:37
Definition: EffectSetting.h:24
Definition: MagicItem.h:55
std::uint32_t flags
Definition: MagicItem.h:59
std::int32_t costOverride
Definition: MagicItem.h:58
Definition: MagicItem.h:32
virtual void VisitModel(TESModel *a_model)=0
virtual void VisitWeapon(TESObjectWEAP *a_weapon)=0
Definition: MagicItem.h:27
virtual void LoadChunkDataPostProcess(TESFile *a_mod)
virtual bool IsMedicine() const
virtual bool GetNoDualCastModifications() const
virtual bool IgnoresResistance() const
float CalculateTotalGoldValue(Actor *a_caster=nullptr) const
virtual void CopyMagicItemData(MagicItem *a_src)=0
void Copy(TESForm *a_srcForm) override
std::uint32_t pad74
Definition: MagicItem.h:117
virtual bool GetNoAbsorb() const
virtual bool IsFood() const
bool IsMagicItem() const override
virtual Data * GetData2()=0
Effect * GetCostliestEffectItem(std::uint32_t a_arg1=5, bool a_arg2=false)
EffectSetting * avEffectSetting
Definition: MagicItem.h:118
void InitItemImpl() override
virtual bool IsValidDelivery(MagicSystem::Delivery a_delivery)
virtual void LoadMagicItemChunk(TESFile *a_mod, std::uint32_t a_chunkID)
virtual float GetChargeTime() const
virtual void AdjustCost(float &a_cost, Actor *a_actor) const
BSTSmartPointer< QueuedFile > preloadedItem
Definition: MagicItem.h:121
virtual float GetRange() const
virtual void InitFromChunk(TESFile *a_mod)=0
std::int32_t hostileCount
Definition: MagicItem.h:116
virtual ActorValue GetAssociatedSkill() const
bool HasKeyword(const BGSKeyword *a_keyword) const override
const Data * GetData() const
virtual std::uint32_t GetMaxEffectCount() const
static constexpr auto RTTI
Definition: MagicItem.h:29
std::uint32_t preloadCount
Definition: MagicItem.h:119
virtual void SetCastingType(MagicSystem::CastingType a_type)
bool Load(TESFile *a_mod) override
virtual void InitChunk()=0
virtual bool GetSkillUsageData(SkillUsageData &a_data) const
virtual float GetFixedCastDuration() const
virtual MagicSystem::Delivery GetDelivery() const =0
void InitializeData() override
virtual const Data * GetData1() const =0
virtual MagicSystem::SpellType GetSpellType() const =0
bool IsAutoCalc() const override
virtual void SetDelivery(MagicSystem::Delivery a_delivery)
virtual MagicSystem::CastingType GetCastingType() const =0
std::uint32_t pad84
Definition: MagicItem.h:120
BSTArray< Effect * > effects
Definition: MagicItem.h:115
virtual bool IgnoreLOS() const
float CalculateCost(Actor *a_caster) const
virtual bool IsPoison() const
virtual std::uint32_t GetChunkID()=0
virtual std::uint32_t GetDataSize() const =0
float CalculateMagickaCost(Actor *a_caster) const
virtual bool IsTwoHanded() const
Definition: TESBoundObject.h:24
Definition: TESFullName.h:9
Definition: TESModel.h:16
Definition: TESObjectWEAP.h:73
SpellType
Definition: MagicSystem.h:56
CastingType
Definition: MagicSystem.h:29
Delivery
Definition: MagicSystem.h:37
Definition: AbsorbEffect.h:6
ActorValue
Definition: ActorValues.h:6
constexpr REL::ID RTTI_MagicItem
Definition: Offsets_RTTI.h:5128
Definition: MagicItem.h:41
std::uint32_t pad14
Definition: MagicItem.h:50
bool custom
Definition: MagicItem.h:47
std::uint8_t pad11
Definition: MagicItem.h:48
float magnitude
Definition: MagicItem.h:46
std::uint16_t pad12
Definition: MagicItem.h:49
EffectItem * effect
Definition: MagicItem.h:44
ActorValue skill
Definition: MagicItem.h:45