Batch #14681 by ragnarok-clanker: forced by an admin (6 lower score(s), 70 changed function(s)); checked with 555 compiled unit(s), including every includer of Source/Client/Mode/CLoginMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Actors/RenderObject.h, Source/Contents/EffectResourceSwitcher.h, Source/Contents/Effects/CartCannon.h, Source/Contents/Effects/EZ2STREffectEx.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/MonsterSkillEffects.h, Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/RectUpEffect.h, Source/Contents/Ground/GroundGeometry.h, Source/Network/Connection/Connection.h, Source/Resource/Audio/WaveResource.h, Source/Resource/Bitmap/BitmapResource.h, Source/Resource/EZeffectResource.h, Source/Resource/EmblemResource.h, Source/Resource/GifResource.h, Source/Resource/ImfResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelResource.h, Source/Resource/PaletteResource.h, Source/Resource/RmaResource.h, Source/Resource/Sprites/ActionResource.h, Source/Resource/Sprites/SpriteResource.h, Source/Resource/World/GroundResource.h, Source/Resource/World/TerrainResource.h, Source/Resource/World/WorldResource.h, Source/UI/Buttons/UIBmpRadioBtn.h, Source/UI/Buttons/UITextButton.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIParaItemShopWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIMakeTargetProcessWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Rodex/UIRodexInboxWnd.h, Source/UI/Shop/UIMerchantItemShopWnd.h, Source/UI/Shop/UIMerchantMirrorItemWnd.h, Source/UI/Shop/UIMerchantShopMakeWnd.h, Source/UI/StylingShop/UIStylingShopWnd.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.h, Source/UI/UILapineScrollBar.h, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UINewSelectCharWnd.h.
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTACTOR_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTACTOR_H
|
|
|
|
#include "Contents/Actors/RenderObject.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <list>
|
|
|
|
struct CRagEffect;
|
|
struct RagEffectState;
|
|
|
|
struct EffectActorState {
|
|
EffectActorState();
|
|
~EffectActorState();
|
|
|
|
/* 0138 */ int unknown_0138;
|
|
/* 013C */ std::uint32_t unknown_013C;
|
|
/* 0140 */ std::uint32_t unknown_0140;
|
|
/* 0144 */ std::list<CRagEffect*> effects;
|
|
/* 014C */ CRagEffect* first;
|
|
/* 0150 */ CRagEffect* second;
|
|
};
|
|
|
|
struct EffectActor : CRenderObject {
|
|
EffectActor();
|
|
~EffectActor() 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;
|
|
bool EffectVisible() const;
|
|
bool HasId(int id) const;
|
|
bool Contains(const RagEffectState* effect) const;
|
|
void ResetEffectState();
|
|
CRagEffect* LaunchEffect(int effectId, vector3d deltaPos, float rotation);
|
|
CRagEffect* LaunchEffect(int effectId, int duration);
|
|
CRagEffect* LaunchTaggedEffect(int effectId, std::uint32_t tag);
|
|
|
|
/* 0138 */ EffectActorState state;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(EffectActorState) == 28);
|
|
static_assert(sizeof(EffectActor) == 0x158);
|
|
static_assert(offsetof(EffectActor, state) == 0x138);
|
|
#endif
|
|
|
|
#endif
|