rodecomp/Source/Contents/Effects/HealEffect.h
ragnarok-clanker 3f8411389e Maintenance: Rename placeholder sub_XXXXXX functions to evidence-based names (Lua registration strings, log/error strings, packet ids
Batch #13406 by ragnarok-clanker: no function's compiled code changes; checked with 124 compiled unit(s), including every includer of Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/PowderingEffect.h, Source/Contents/Effects/SpriteParticle.h, Source/UI/Enchant/EnchantUI.h, Source/UI/Guild/UIAgitWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/Contents/Actors/Skill.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/Contents/Effects/HealEffect.h, Source/Contents/AchievementMgr.h, Source/UI/Window/UISecondCostumeWnd.h, Source/Contents/Effects/LightSphereEffect.h, Source/Contents/Effects/BlastForge.h, Source/Security/NProtectGameGuardMgr.h, Source/Contents/Effects/MapChainEffect.h, Source/Utility/Math/Int64Math.h.
2026-11-06 16:08:47 +00:00

51 lines
1.5 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_HEALEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_HEALEFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <vector>
class CParticle;
class CHealEffect : public CEffect {
public:
CHealEffect();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void Slot12() override;
void AddSparks(int kind);
void AddColumn(int kind);
void AddCone(int kind);
void SpawnParticles();
void UpdateParticleVertices(CParticle* particle);
void RotateToCamera(vector3d* points);
/* 00CC */ vector3d columnEdge[2];
/* 00E4 */ vector3d coneEdge[2];
/* 00FC */ int columnLifetime;
/* 0100 */ int coneLifetime;
/* 0104 */ int spawnTick;
/* 0108 */ std::vector<CParticle*> columnParticles;
/* 0114 */ std::vector<CParticle*> coneParticles;
/* 0120 */ std::vector<CParticle*> sparkParticles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CHealEffect) == 0x12C);
static_assert(offsetof(CHealEffect, columnEdge) == 0xCC);
static_assert(offsetof(CHealEffect, coneEdge) == 0xE4);
static_assert(offsetof(CHealEffect, columnLifetime) == 0xFC);
static_assert(offsetof(CHealEffect, spawnTick) == 0x104);
static_assert(offsetof(CHealEffect, columnParticles) == 0x108);
static_assert(offsetof(CHealEffect, coneParticles) == 0x114);
static_assert(offsetof(CHealEffect, sparkParticles) == 0x120);
#endif
#endif