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).
28 lines
699 B
C++
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
|