Skip to content

Commit

Permalink
ReferenceEffect RE
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Feb 5, 2024
1 parent 96ecffc commit 00e8238
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 26 deletions.
11 changes: 5 additions & 6 deletions include/RE/A/AttachTechniqueInput.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "RE/M/MagicSystem.h"
#include "RE/N/NiSmartPointer.h"

namespace RE
Expand All @@ -17,13 +16,13 @@ namespace RE
virtual ~AttachTechniqueInput(); // 00

// add
virtual void Unk_01(void); // 01
virtual void Clear(); // 01

// members
NiPointer<NiNode> current3DRoot; // 08 - smart ptr
NiPointer<NiNode> attachedArt; // 10 - smart ptr
MagicSystem::CastingSource castingSource; // 18
std::uint32_t unk1C; // 1C
NiPointer<NiNode> current3DRoot; // 08 - smart ptr
NiPointer<NiNode> attachedArt; // 10 - smart ptr
std::uint32_t attachPoint; // 18 - MagicSystem::CastingSource for casting art
std::uint32_t pad18; // 18
};
static_assert(sizeof(AttachTechniqueInput) == 0x20);
}
Expand Down
18 changes: 9 additions & 9 deletions include/RE/M/ModelReferenceEffect.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "RE/B/BSFixedString.h"
#include "RE/B/BGSLoadGameSubBuffer.h"
#include "RE/B/BSTEvent.h"
#include "RE/N/NiSmartPointer.h"
#include "RE/R/RefAttachTechniqueInput.h"
Expand All @@ -9,9 +9,9 @@

namespace RE
{
class BGSArtObjectCloneTask;
class NiAVObject;
struct BSAnimationGraphEvent;
class BGSArtObjectCloneTask;

class ModelReferenceEffect :
public ReferenceEffect, // 00
Expand Down Expand Up @@ -55,13 +55,13 @@ namespace RE
BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent* a_event, BSTEventSource<BSAnimationGraphEvent>* a_eventSource) override; // 01

// members
RefAttachTechniqueInput hitEffectArtData; // 68
std::uint64_t unkB0; // B0
BGSArtObject* artObject; // B8
BSTSmartPointer<BGSArtObjectCloneTask> cloneTask; // C0
NiPointer<NiAVObject> artObject3D; // C8
stl::enumeration<Flags, std::uint32_t> flags; // D0
std::uint32_t padD4; // D4
RefAttachTechniqueInput hitEffectArtData; // 68
BGSLoadGameSubBuffer loadGameSubBuffer; // B0
BGSArtObject* artObject; // B8
BSTSmartPointer<BGSArtObjectCloneTask> cloneTask; // C0
NiPointer<NiAVObject> artObject3D; // C8
stl::enumeration<Flags, std::uint32_t> flags; // D0
std::uint32_t padD4; // D4
};
static_assert(sizeof(ModelReferenceEffect) == 0xD8);
}
14 changes: 7 additions & 7 deletions include/RE/R/RefAttachTechniqueInput.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ namespace RE
~RefAttachTechniqueInput() override; // 00

// override (BSAttachTechniques::AttachTechniqueInput)
void Unk_01(void) override; // 01
void Clear() override; // 01

// members
std::uint64_t unk20; // 20
TESRace* actorRace; // 28
bhkWorld* physicsWorld; // 30
std::uint32_t collisionFilter; // 38
std::uint32_t unk3C; // 3C
BSFixedString nodeName; // 40
TESObjectREFR* actor; // 20
TESRace* actorRace; // 28
bhkWorld* physicsWorld; // 30
std::uint32_t collisionFilter; // 38
std::uint32_t pad3C; // 3C
BSFixedString nodeName; // 40
};
static_assert(sizeof(RefAttachTechniqueInput) == 0x48);
}
8 changes: 4 additions & 4 deletions include/RE/S/ShaderReferenceEffect.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ namespace RE
TESEffectShader* effectData; // 108
BSEffectShaderData* effectShaderData; // 110
NiPointer<NiAVObject> targetRoot; // 118 - smart ptr
float unk120; // 120
float unk124; // 124 - 1.0f
float addonModelsScaleStart; // 128 - 1.0f
std::uint32_t unk12C; // 12C
float alphaTimer; // 120
float addonAlpha; // 124 - 1.0f
float addonScale; // 128 - 1.0f
float effectShaderAge; // 12C
stl::enumeration<Flag, std::uint32_t> flags; // 130
std::uint32_t pushCount; // 134
};
Expand Down

0 comments on commit 00e8238

Please sign in to comment.