Batch #4990 by youko: 3 byte-identical, 19 confirmed by peer review. - fn_24228 ReadMessengerMembers: logic confirmed by peer review - fn_24229 ReadItemList: logic confirmed by peer review - fn_24230 ReadItemArray: logic confirmed by peer review - fn_24232 CSession::SetUnknown5BC0: logic confirmed by peer review - fn_24236 MessengerMember::Deserialize: logic confirmed by peer review - fn_24247 ClientItemLists::SetItems1750: logic confirmed by peer review - fn_24249 AppendBytes: logic confirmed by peer review - fn_24258 CMsgEffect::~CMsgEffect: logic confirmed by peer review - fn_24259 CSkill::~CSkill: logic confirmed by peer review - fn_24267 CGroundScope::SkillScopeType: logic confirmed by peer review - fn_24268 CSkill::GetTrapModelName: logic confirmed by peer review - fn_24269 CSkill::ReleaseModel: logic confirmed by peer review - fn_24270 CMsgEffect::UsesMsgEffect: logic confirmed by peer review - fn_24275 CGraffiSkill::ReleaseTexture: byte-identical - fn_24277 CArrowEffect::Reset: logic confirmed by peer review - fn_24278 CEffectMaker::Reset: byte-identical - fn_24279 CGraffiSkill::BuildTexture: logic confirmed by peer review - fn_24280 CArrowEffect::OnProcess: logic confirmed by peer review - fn_24281 CDummyEffectLauncher::OnProcess: logic confirmed by peer review - fn_24282 CEffectMaker::OnProcess: logic confirmed by peer review - fn_24283 CGraffiSkill::OnProcess: byte-identical - fn_24285 CMandraAttackEffect::OnProcess: logic confirmed by peer review Peer-reviewed-by: eAthena, willerthal, 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/Actors/GraffiSkill.cpp, Source/Contents/Effects/ArrowEffect.cpp, Source/Contents/Effects/DummyEffectLauncher.cpp, Source/Contents/Effects/MandraAttackEffect.cpp, Source/Contents/Effects/MsgEffect.cpp
41 lines
1 KiB
C++
41 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_ACTORS_SKILL_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_SKILL_H
|
|
|
|
#include "Contents/Actors/GameActor.h"
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
class C3dActor;
|
|
struct CRagEffect;
|
|
|
|
class CSkill : public CGameActor {
|
|
public:
|
|
~CSkill() override;
|
|
|
|
const char* GetTrapModelName();
|
|
void ReleaseModel();
|
|
void Render(int argument) override;
|
|
|
|
/* 0410 */ unsigned char unknown_0410[0x08];
|
|
/* 0418 */ std::uint32_t skillAid;
|
|
/* 041C */ C3dActor* m_model;
|
|
/* 0420 */ CRagEffect* m_effect;
|
|
/* 0424 */ int m_effectId;
|
|
/* 0428 */ bool m_hasEffect;
|
|
/* 0429 */ unsigned char unknown_0429[0x03];
|
|
/* 042C */ int range;
|
|
/* 0430 */ std::vector<std::uint64_t> m_targets;
|
|
/* 043C */ int unknown_043C;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CSkill) == 0x440);
|
|
static_assert(offsetof(CSkill, skillAid) == 0x418);
|
|
static_assert(offsetof(CSkill, m_hasEffect) == 0x428);
|
|
static_assert(offsetof(CSkill, range) == 0x42C);
|
|
static_assert(offsetof(CSkill, m_targets) == 0x430);
|
|
#endif
|
|
|
|
#endif
|