rodecomp/Source/Contents/SkinMgr.h
ragnarok-clanker 5167f6ba82 Decompile 2 functions in Source/Contents/SkinInfo.cpp, Source/Contents/SkinCatalog.cpp, ...
Batch #1877 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_09691 CSkinMgr::Select: logic confirmed by peer review
- fn_09689 CSkinMgr::Refresh: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Contents/SkinCatalog.cpp
2026-10-28 23:12:35 +00:00

39 lines
835 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_SKINMGR_H
#define RAGNAROK_SOURCE_CONTENTS_SKINMGR_H
#include "Client/Application/Launcher.h"
#include <string>
#include <vector>
// VTABLE: vt_00808
class CSkinMgr {
public:
/* 0004 */ std::string m_name;
/* 001C */ int selected;
/* 0020 */ std::vector<std::string> names;
/* 002C */ std::vector<std::string> prefixes;
/* 0038 */ std::vector<int> prepared;
/* 0044 */ std::vector<int> archives;
virtual ~CSkinMgr();
CSkinMgr();
bool Selected() const;
void Select(int index);
const char* Prefix() const;
const char* Name() const;
const char* Name(int index) const;
void Prepare();
void Refresh();
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CSkinMgr) == 0x50);
#endif
extern std::string g_defaultSkinPrefix;
extern CSkinMgr g_skinInfo;
#endif