rodecomp/Source/Contents/Effects/EffectActor.h
ragnarok-clanker a876a515f2 Decompile fn_21083 (EffectActor::ResetEffectState)
Batch #3174 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_21083 EffectActor::ResetEffectState: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/Actors/MousePointer.cpp
2026-10-29 20:43:04 +00:00

40 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTACTOR_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTACTOR_H
#include "Contents/Effects/EffectAttachments.h"
#include "Contents/Actors/RenderObject.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
struct CRagEffect;
struct EffectActorState {
EffectActorState();
~EffectActorState();
EffectAttachments Attachments();
/* 0138 */ int unknown_0138;
/* 013C */ std::uint32_t unknown_013C;
/* 0140 */ std::uint32_t unknown_0140;
/* 0144 */ std::list<RagEffectState*> effects;
/* 014C */ RagEffectState* first;
/* 0150 */ RagEffectState* second;
};
struct EffectActor : CRenderObject {
EffectActor();
bool EffectVisible() const;
void ResetEffectState();
CRagEffect* LaunchEffect(int effectId, vector3d deltaPos, float rotation);
/* 0138 */ EffectActorState state;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(EffectActorState) == 28);
static_assert(sizeof(EffectActor) == 0x158);
static_assert(offsetof(EffectActor, state) == 0x138);
#endif
#endif