rodecomp/Source/Contents/Hotkeys/EmotionHotkeys.h
ragnarok-clanker 749039eea6 Maintenance: [forced, user-approved] Family G30: remove ModeBaseEvents, CharacterConfigSave, AccountConfigLoad. ModeBaseEvents::Send
Batch #10264 by ragnarok-clanker: forced by an admin (2 lower score(s), 29 changed function(s)); checked with 511 compiled unit(s), including every includer of Source/Client/Session.h, Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Hotkeys/EmotionHotkeys.h, Source/Contents/UserData/AccountLinkedUserDataLoadAsyncWork.h, Source/Contents/UserData/AccountLinkedUserDataMgr.h, Source/Contents/UserData/CharacterLinkedUserDataMgr.h, Source/Contents/UserData/NormalItemSlots.h, Source/Client/ModeBaseEvents.h, Source/Contents/UserData/AccountConfigLoad.h, Source/Contents/UserData/CharacterConfigSave.h.
Deletes: Source/Client/ModeBaseEvents.h, Source/Contents/UserData/AccountConfigLoad.h, Source/Contents/UserData/CharacterConfigSave.h
2026-11-03 14:13:27 +00:00

30 lines
749 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_HOTKEYS_EMOTIONHOTKEYS_H
#define RAGNAROK_SOURCE_CONTENTS_HOTKEYS_EMOTIONHOTKEYS_H
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
class CRenderSystemBase;
namespace Json {
class Value;
}
struct EmotionHotkeys {
/* 0FF8 */ std::vector<std::string> current;
/* 1004 */ std::vector<std::string> saved;
void Load(Json::Value& data);
bool HasChanges() const;
void Save(std::uint32_t accountId, CRenderSystemBase* renderSystem) const;
bool LoadDefaults(std::uint32_t accountId);
void Export(Json::Value& data) const;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(EmotionHotkeys) == 24);
static_assert(offsetof(EmotionHotkeys, saved) == 12);
#endif
#endif