Batch #17312 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_07514 CTetraBallEffect::ActiveCount: byte-identical - fn_07519 CTetraBallEffect::Spread: byte-identical Merged automatically: every function is byte-identical to the original.
34 lines
766 B
C++
34 lines
766 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SKILLS_TETRABALLEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SKILLS_TETRABALLEFFECT_H
|
|
|
|
#include "Contents/Effects/Core/Effect.h"
|
|
|
|
#include <cstddef>
|
|
|
|
class CEZ2STRParticle;
|
|
|
|
class CTetraBallEffect : public CEffect {
|
|
public:
|
|
CTetraBallEffect();
|
|
|
|
void Open() override;
|
|
void OnProcess() override;
|
|
void Render() override;
|
|
void Close() override;
|
|
bool IsAlive() override;
|
|
|
|
void AddBall(int id, int index);
|
|
void RemoveBall(int index);
|
|
int ActiveCount();
|
|
void Spread();
|
|
void MoveFirstTo(int index);
|
|
|
|
/* 00CC */ CEZ2STRParticle* balls[5];
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CTetraBallEffect, balls) == 0xCC);
|
|
static_assert(sizeof(CTetraBallEffect) == 0xE0);
|
|
#endif
|
|
|
|
#endif
|