Batch #1066 by ragnarok-clanker: no function's compiled code changes; checked with 70 compiled unit(s), including every includer of Source/Contents/Actors/RenderObject.h, Source/Contents/CashEmotionMgr.h, Source/Contents/Effects/AttachedEffect.h, Source/Contents/Effects/Effect.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectParticle.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/Emblems/GuildEmblemReqBundle.h, Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/Ground/GroundWaterState.h, Source/Contents/Ground/TerrainHeight.h, Source/Contents/Hotkeys/EmotionHotkeys.h, Source/Contents/Hotkeys/HotkeyInfo.h, Source/Contents/Hotkeys/UserHotkeyMgr.h, Source/Contents/InstantVar.h.
30 lines
938 B
C++
30 lines
938 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_HOTKEYS_HOTKEYINFO_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_HOTKEYS_HOTKEYINFO_H
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
class LuaScript;
|
|
|
|
struct HotkeyInfo {
|
|
/* 0000 */ int key1;
|
|
/* 0004 */ int key2;
|
|
/* 0008 */ std::string text;
|
|
/* 0020 */ std::string description;
|
|
HotkeyInfo();
|
|
~HotkeyInfo();
|
|
};
|
|
|
|
HotkeyInfo GetHotkeyInfo(LuaScript& script, int tab, int index);
|
|
std::string SkillTooltipPercent(const char* hotkey, const char* name, int level, int sp, int ap);
|
|
std::string SkillTooltipFlat(const char* hotkey, const char* name, int level, int sp, int ap);
|
|
std::string SkillTooltip(const char* hotkey, const char* name, int level, int sp, int ap, bool percent);
|
|
bool SkillUsesPercentSp(int id);
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(HotkeyInfo) == 56);
|
|
static_assert(offsetof(HotkeyInfo, text) == 8);
|
|
static_assert(offsetof(HotkeyInfo, description) == 0x0020);
|
|
#endif
|
|
|
|
#endif
|