rodecomp/Source/Contents/Effects/MsgEffect.h
ragnarok-clanker c5802826d4 Decompile 11 functions in Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GraffiSkill.cpp, ...
Batch #5431 by Yommy: 1 byte-identical, 10 confirmed by peer review.

- fn_24290 CEffectMaker::Render: byte-identical
- fn_24291 CGraffiSkill::Render: logic confirmed by peer review
- fn_24292 CGroundScope::Render: logic confirmed by peer review
- fn_24293 CMsgEffect::Render: logic confirmed by peer review
- fn_24295 CArrowEffect::SendMsg: logic confirmed by peer review
- fn_24296 CDummyEffectLauncher::SendMsg: logic confirmed by peer review
- fn_24297 CEffectMaker::SendMsg: logic confirmed by peer review
- fn_24298 CGraffiSkill::SendMsg: logic confirmed by peer review
- fn_24299 CGroundScope::SendMsg: logic confirmed by peer review
- fn_24300 CMandraAttackEffect::SendMsg: logic confirmed by peer review
- fn_24301 CMsgEffect::SendMsg: logic confirmed by peer review

Peer-reviewed-by: ntrl, bigodeira, willerthal, Snow, Lumen
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 13:56:17 +00:00

48 lines
1.4 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_MSGEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_MSGEFFECT_H
#include "Contents/Effects/EffectActor.h"
#include <cstddef>
#include <string>
extern std::string g_damageResourceName;
extern bool g_msgEffectShowSpecial;
class CMsgEffect : public EffectActor {
public:
CMsgEffect();
static bool UsesMsgEffect(int type);
~CMsgEffect() override;
void SendMsg(CGameObject* sender, int message, int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l, int m) override;
void Render(int argument) override;
/* 0158 */ bool m_visible;
/* 0159 */ unsigned char unknown_0159[0x03];
/* 015C */ CGameObject* m_owner;
/* 0160 */ unsigned char unknown_0160[0x18];
/* 0178 */ vector3d m_velocity;
/* 0184 */ int m_value;
/* 0188 */ int m_finished;
/* 018C */ int unknown_018C;
/* 0190 */ float m_baseY;
/* 0194 */ float m_baseX;
/* 0198 */ float m_scale;
/* 019C */ int unknown_019C;
/* 01A0 */ int unknown_01A0;
/* 01A4 */ int unknown_01A4;
/* 01A8 */ int m_type;
/* 01AC */ int m_digit;
/* 01B0 */ int unknown_01B0;
/* 01B4 */ int unknown_01B4;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CMsgEffect) == 0x1B8);
static_assert(offsetof(CMsgEffect, m_owner) == 0x15C);
static_assert(offsetof(CMsgEffect, m_velocity) == 0x178);
static_assert(offsetof(CMsgEffect, m_type) == 0x1A8);
#endif
#endif