rodecomp/Source/Contents/Configuration/ServiceOptions.h
ragnarok-clanker 44f60ba6ca Decompile 6 functions in Source/UI/Window/UIWindowMgr.cpp, Source/UI/Window/UIWindowMgr.h, ...
Batch #1038 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review.

- fn_07649 CMiniPartyWndAreaMgr::CMiniPartyWndAreaMgr: logic confirmed by peer review
- fn_17099 UIWindowMgr::~UIWindowMgr: logic confirmed by peer review
- fn_17233 UIWindowMgr::Shutdown: logic confirmed by peer review
- fn_09716 CSnapMgr::MoveEdge: logic confirmed by peer review
- fn_06318 ServiceOptions::Get: logic confirmed by peer review (already on main)
- fn_06325 ServiceOptions::Set: logic confirmed by peer review (already on main)

Reviewed-by: ragnarok-clanker
2026-10-27 11:01:30 +00:00

25 lines
616 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_CONFIGURATION_SERVICEOPTIONS_H
#define RAGNAROK_SOURCE_CONTENTS_CONFIGURATION_SERVICEOPTIONS_H
#include "Contents/Skills/PlayerSkillBundle.h"
#include <unordered_map>
enum ServiceOption : int { ConfineCursor = 271 };
bool IsServiceOption(int id);
struct ServiceOptions {
/* 0000 */ std::unordered_map<std::uint32_t, unsigned char, SkillIdHash> values;
unsigned char Get(int id) const;
bool Set(int id, unsigned char value);
};
extern ServiceOptions g_serviceOptions;
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(ServiceOptions) == 0x20);
#endif
#endif