rodecomp/Source/Contents/Hotkeys/UserHotkeyScript.h
ragnarok-clanker 6f9c068680 Decompile fn_04064 (ChangeUserHotkey)
Batch #13460 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review.

- fn_04064 ChangeUserHotkey: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-11-06 17:51:40 +00:00

34 lines
875 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);
void LoadUserHotkeyTab(Json::Value& values, int tab);
// 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);
}
// INLINED
inline void LoadUserHotkeyTab(LuaScript&, Json::Value& values, int tab) {
LoadUserHotkeyTab(values, tab);
}
#endif