rodecomp/Source/Contents/Hotkeys/UserHotkeyScript.h
ragnarok-clanker d70ade1bc1 Decompile 3 functions in Source/Contents/Hotkeys/UserHotkeyMgr.cpp, Source/Contents/Hotkeys/UserHotkeyMgr.h, ...
Batch #18539 by eAthena: 0 byte-identical, 3 confirmed by peer review.

- fn_03464 CUserHotkeyMgr::LoadV2: logic confirmed by peer review
- fn_03473 CUserHotkeyMgr::LoadUserHotkeyTab: logic confirmed by peer review
- fn_03465 CAccountLinkedUserDataMgr::CompleteLoad: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, bibinir, kyoshi
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-12 15:48:27 +00:00

28 lines
699 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_HOTKEYS_USERHOTKEYSCRIPT_H
#define RAGNAROK_SOURCE_CONTENTS_HOTKEYS_USERHOTKEYSCRIPT_H
#include "Script/LuaScript.h"
#include <json/value.h>
#include <string>
void ClearUserHotkeys();
void SaveUserHotkeys();
void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description);
// INLINED
inline void ClearUserHotkeys(LuaScript&) {
ClearUserHotkeys();
}
// INLINED
inline void SaveUserHotkeys(LuaScript&) {
SaveUserHotkeys();
}
// INLINED
inline void ChangeUserHotkey(LuaScript&, int tab, int index, int key1, int key2, const std::string& description) {
ChangeUserHotkey(tab, index, key1, key2, description);
}
#endif