rodecomp/Source/Contents/Effects/RedLineEffect.h
ragnarok-clanker faa8dbf9d8 Decompile 4 functions in Source/Contents/Effects/RedLineEffect.cpp, Source/Contents/Effects/RedLineEffect.h
Batch #4730 by eAthena: 3 byte-identical, 1 confirmed by peer review.

- fn_19134 CRedLineEffect::CreateLines: logic confirmed by peer review
- fn_19135 CRedLineEffect::Close: byte-identical
- fn_19136 CRedLineEffect::Slot01: byte-identical
- fn_19137 CRedLineEffect::Slot06: byte-identical

Peer-reviewed-by: youko, Millenium
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 04:53:26 +00:00

34 lines
862 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_REDLINEEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_REDLINEEFFECT_H
#include "Contents/Effects/Effect.h"
#include "Utility/Math/Vector3d.h"
#include <cstddef>
#include <vector>
class CParticle;
class CRedLineEffect : public CEffect {
public:
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void CreateLines(int layer);
/* 00CC */ vector3d previousInner;
/* 00D8 */ vector3d previousOuter;
/* 00E4 */ std::vector<CParticle*> lines;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CRedLineEffect, previousInner) == 0xCC);
static_assert(offsetof(CRedLineEffect, previousOuter) == 0xD8);
static_assert(offsetof(CRedLineEffect, lines) == 0xE4);
static_assert(sizeof(CRedLineEffect) == 0xF0);
#endif
#endif