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.
26 lines
703 B
C++
26 lines
703 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_ACTORS_GAMEOBJECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_GAMEOBJECT_H
|
|
|
|
#include <cstdint>
|
|
|
|
class CGameObject {
|
|
static std::uint64_t s_nextIdentity;
|
|
|
|
public:
|
|
CGameObject();
|
|
virtual ~CGameObject();
|
|
virtual bool OnProcess();
|
|
virtual 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);
|
|
virtual void Render(int argument);
|
|
virtual int Get8Dir(float angle);
|
|
int Get8Dir2(float rot, int flag);
|
|
int GetDir(float rot);
|
|
|
|
/* 0008 */ std::uint64_t identity;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CGameObject) == 16);
|
|
#endif
|
|
|
|
#endif
|