rodecomp/Source/Contents/Effects/Core/MsgEffect.h
ragnarok-clanker 0d6efeaf09 Maintenance: C7 (replaces 18431/18498/18559). Actor SendMsg takes (CGameObject* sender, std::int64_t message, std::int64_t b..g). Aud
Batch #18562 by ragnarok-clanker: forced by an admin (31 lower score(s), 132 changed function(s)); checked with 230 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Contents/Actors/EffectActors.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GameObject.h, Source/Contents/Actors/GndRiser.h, Source/Contents/Actors/GroundScope.h, Source/Contents/Actors/Item.h, Source/Contents/Actors/MousePointer.h, Source/Contents/Actors/Npc.h, Source/Contents/Actors/Pc.h, Source/Contents/Actors/RenderObject.h, Source/Contents/Actors/Skill.h, Source/Contents/Effects/Core/DummyEffectLauncher.h, Source/Contents/Effects/Core/EffectActor.h, Source/Contents/Effects/Core/EffectMaker.h, Source/Contents/Effects/Core/MsgEffect.h, Source/Contents/Effects/Skills/ArrowEffect.h, Source/Contents/Effects/Skills/MandraAttackEffect.h, Source/Contents/SignBoard/SignBoard.h, Source/Contents/Skills/GraffiSkill.h, Source/Contents/Sound/SoundMaker.h.
2026-11-12 16:09:04 +00:00

56 lines
1.6 KiB
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_CORE_MSGEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_CORE_MSGEFFECT_H
#include "Contents/Effects/Core/EffectActor.h"
#include <cstddef>
#include <string>
extern bool g_msgEffectShowSpecial;
class CMsgEffect : public EffectActor {
public:
CMsgEffect();
static bool UsesMsgEffect(int type);
~CMsgEffect() override;
bool OnProcess() override;
void SendMsg(CGameObject* sender, std::int64_t message, std::int64_t b, std::int64_t c, std::int64_t d, std::int64_t e, std::int64_t f, std::int64_t g) override;
void Render(int argument) override;
void FollowOwner();
/* 0158 */ bool m_visible;
/* 0159 */ unsigned char padding_0159[0x03];
/* 015C */ CGameObject* m_owner;
/* 0160 */ vector3d m_drift;
/* 016C */ vector3d origin;
/* 0178 */ vector3d m_velocity;
/* 0184 */ int m_value;
/* 0188 */ int m_finished;
/* 018C */ float travelDistance;
/* 0190 */ float m_baseY;
/* 0194 */ float m_baseX;
/* 0198 */ float m_scale;
/* 019C */ float initialVelocityX;
/* 01A0 */ int processTick;
/* 01A4 */ int previousAnimation;
/* 01A8 */ int m_type;
/* 01AC */ int m_digit;
/* 01B0 */ int motionInitialized;
/* 01B4 */ int activeMotion;
};
class CSummonActorEffect : public CMsgEffect {
public:
bool OnProcess() override;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CMsgEffect) == 0x1B8);
static_assert(sizeof(CSummonActorEffect) == 0x1B8);
static_assert(offsetof(CMsgEffect, m_owner) == 0x15C);
static_assert(offsetof(CMsgEffect, m_velocity) == 0x178);
static_assert(offsetof(CMsgEffect, m_type) == 0x1A8);
#endif
#endif