mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
33 lines
999 B
C
33 lines
999 B
C
#pragma once
|
|
|
|
#include "MagicCaster.h"
|
|
|
|
#include <Games/Skyrim/NetImmerse/NiPointer.h>
|
|
|
|
struct Actor;
|
|
struct NiNode;
|
|
struct BGSArtObject;
|
|
struct WeaponEnchantmentController;
|
|
|
|
struct ActorMagicCaster : MagicCaster
|
|
{
|
|
virtual uint64_t SpellCast(bool abSuccess, uint32_t auiTargetCount, MagicItem* apSpell) override;
|
|
|
|
virtual void sub_1D(float aUnk1);
|
|
|
|
uint8_t unk48[0x70];
|
|
Actor* pCasterActor;
|
|
NiNode* pMagicNode;
|
|
NiPointer<uint64_t> spLight; // NiPointer<BSLight> spLight;
|
|
void(__fastcall* pfInterruptHandler)(Actor*);
|
|
uint64_t LoadGameSubBuffer; // BGSLoadGameSubBuffer LoadGameSubBuffer;
|
|
BGSArtObject* pWaitingForCastingArt;
|
|
WeaponEnchantmentController* pWeaponEnchantmentController;
|
|
float fCostCharged;
|
|
MagicSystem::CastingSource eCastingSource;
|
|
uint32_t uiFlags;
|
|
};
|
|
|
|
static_assert(offsetof(ActorMagicCaster, pCasterActor) == 0xB8);
|
|
static_assert(offsetof(ActorMagicCaster, pMagicNode) == 0xC0);
|
|
static_assert(sizeof(ActorMagicCaster) == 0x100);
|