rodecomp/Source/Contents/EffectAttachments.h
2026-10-24 00:35:19 +00:00

21 lines
565 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTATTACHMENTS_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTATTACHMENTS_H
#include <list>
struct RagEffectState;
// Original CAbleToMakeEffect fields +0x144..+0x153. List nodes are owned;
// effect objects are borrowed from the active game-mode object owner.
struct EffectAttachments {
std::list<RagEffectState*>& effects;
RagEffectState*& first;
RagEffectState*& second;
bool HasId(int id) const;
bool Contains(const RagEffectState* effect) const;
void Unlink(RagEffectState* effect);
void DetachAll();
};
#endif