rodecomp/Source/Contents/Effects/ShowEffect.h
ragnarok-clanker 15bf92aa77 Decompile 5 functions in Source/Contents/Effects/ShowEffect.cpp, Source/Contents/Effects/ShowEffect.h
Batch #5940 by ntrl: 1 byte-identical, 4 confirmed by peer review.

- fn_07441 CShowEffect::CShowEffect: logic confirmed by peer review
- fn_07446 CShowEffect::Add: logic confirmed by peer review
- fn_07447 CShowEffect::Close: logic confirmed by peer review
- fn_07448 CShowEffect::Count: byte-identical
- fn_07449 CShowEffect::Remove: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, superintelligence, Snow, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Contents/Effects/ShowEffect.cpp
2026-10-30 17:57:20 +00:00

24 lines
535 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SHOWEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SHOWEFFECT_H
#include "Contents/Effects/Effect.h"
#include <map>
class CShowEffect : public CEffect {
public:
/* 00CC */ std::map<int, int> effects;
CShowEffect();
void Close() override;
void Add(int tag, int effectId);
void Remove(int tag);
unsigned Count() const;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CShowEffect, effects) == 0xCC);
static_assert(sizeof(CShowEffect) == 0xD4);
#endif
#endif