rodecomp/Source/Contents/Effects/MapChainEffect.h
ragnarok-clanker 99e5605fb5 Decompile fn_18952 (CMapChainEffect::Slot03)
Batch #4224 by Millenium: 0 byte-identical, 1 confirmed by peer review.

- fn_18952 CMapChainEffect::Slot03: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy, Snow
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 01:53:08 +00:00

41 lines
908 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAPCHAINEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_MAPCHAINEFFECT_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
#include <vector>
class CParticle;
struct MapChainPoint {
MapChainPoint() : x(0), y(0), z(0) {
}
/* 0000 */ float x;
/* 0004 */ float y;
/* 0008 */ float z;
};
class CMapChainEffect : public CEffect {
public:
CMapChainEffect();
void Slot03() override;
void Slot04() override;
bool Slot06() override;
/* 00CC */ MapChainPoint corners[2];
/* 00E4 */ std::vector<CParticle*> particles;
/* 00F0 */ int unknown_00F0;
/* 00F4 */ int unknown_00F4;
/* 00F8 */ int unknown_00F8;
/* 00FC */ int unknown_00FC;
/* 0100 */ int unknown_0100;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CMapChainEffect, particles) == 0xE4);
static_assert(sizeof(CMapChainEffect) == 0x104);
#endif
#endif