rodecomp/Source/Contents/Hotkeys/UserHotkeyScript.h
ragnarok-clanker 31bd9d1952 Decompile 2 functions in Source/Contents/Hotkeys/UserHotkeyScript.cpp, Source/Contents/Hotkeys/UserHotkeyScript.h
Batch #910 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_04064 ChangeUserHotkey: logic confirmed by peer review
- fn_03473 LoadUserHotkeyTab: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:07:49 +00:00

30 lines
821 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 ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description);
void LoadUserHotkeyTab(Json::Value& values, int tab);
inline void ClearUserHotkeys(LuaScript&) {
ClearUserHotkeys();
}
inline void SaveUserHotkeys(LuaScript&) {
SaveUserHotkeys();
}
inline void ChangeUserHotkey(LuaScript&, int tab, int index, int key1, int key2, const std::string& description) {
ChangeUserHotkey(tab, index, key1, key2, description);
}
inline void LoadUserHotkeyTab(LuaScript&, Json::Value& values, int tab) {
LoadUserHotkeyTab(values, tab);
}
#endif