F4MP/tiltedcode/Code/client/Games/Skyrim/Forms/MagicItem.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

29 lines
783 B
C

#pragma once
#include <Forms/TESBoundObject.h>
#include <Forms/EffectSetting.h>
#include <Forms/BGSKeyword.h>
#include <Magic/EffectItem.h>
#include <Components/BGSKeywordForm.h>
#include <Components/TESFullName.h>
struct MagicItem : TESBoundObject
{
bool IsWardSpell() const noexcept;
bool IsInvisibilitySpell() const noexcept;
bool IsHealingSpell() const noexcept;
bool IsBuffSpell() const noexcept;
bool IsBoundWeaponSpell() noexcept;
EffectItem* GetEffect(const uint32_t aEffectId) noexcept;
TESFullName fullName;
BGSKeywordForm keyword;
GameArray<EffectItem*> listOfEffects;
int32_t iHostileCount;
EffectSetting* pAVEffectSetting;
uint32_t uiPreloadCount;
void* pPreloadItem;
};
static_assert(sizeof(MagicItem) == 0x90);