Batch #10230 by ragnarok-clanker: forced by an admin (9 lower score(s), 42 changed function(s)); checked with 339 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Session.h, Source/Contents/Skills/ClientSkills.h, Source/Contents/Skills/PlayerSkillBundle.h, Source/UI/Shortcuts/ShortcutDetails.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/UIBasicCtrl.h, Source/Network/Packets/SkillUpdatePacket.h. Deletes: Source/Network/Packets/SkillUpdatePacket.h
25 lines
729 B
C++
25 lines
729 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_SKILLS_CLIENTSKILLS_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_SKILLS_CLIENTSKILLS_H
|
|
|
|
#include "Contents/Skills/PlayerSkillBundle.h"
|
|
|
|
struct ActiveSkillEffect {
|
|
/* 0000 */ std::uint32_t id;
|
|
/* 0004 */ std::uint32_t unknown_0004;
|
|
/* 0008 */ std::uint32_t unknown_0008;
|
|
/* 000C */ std::uint32_t unknown_000C;
|
|
/* 0010 */ std::uint32_t unknown_0010;
|
|
/* 0014 */ std::uint32_t unknown_0014;
|
|
/* 0018 */ std::uint32_t unknown_0018;
|
|
};
|
|
|
|
extern std::vector<ActiveSkillEffect> g_activeSkillEffects;
|
|
|
|
static_assert(sizeof(ActiveSkillEffect) == 28);
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(ActiveSkillEffect, unknown_0018) == 0x18);
|
|
#endif
|
|
|
|
float GetSkillFactor(int job);
|
|
|
|
#endif
|