F4MP/codigos originales/tiltedcode/Code/client/Games/Skyrim/Magic/EffectItem.h

30 lines
632 B
C
Raw Permalink Normal View History

#pragma once
#include <Components/TESCondition.h>
struct EffectSetting;
struct EffectItemData
{
float fMagnitude;
int32_t iArea;
int32_t iDuration;
};
struct EffectItem
{
bool IsHealingEffect() const noexcept;
bool IsSummonEffect() const noexcept;
bool IsSlowEffect() const noexcept;
bool IsInivisibilityEffect() const noexcept;
bool IsWerewolfEffect() const noexcept;
bool IsVampireLordEffect() const noexcept;
bool IsNightVisionEffect() const noexcept;
EffectItemData data;
uint32_t padC;
EffectSetting* pEffectSetting;
float fRawCost;
TESCondition Condition{};
};