rodecomp/Source/Contents/ShowRankingScheduler.h
ragnarok-clanker f702c5e6f6 Decompile fn_04738 (RankingBoardStyles)
Batch #1682 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_04738 RankingBoardStyles: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-28 20:08:30 +00:00

36 lines
975 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_SHOWRANKINGSCHEDULER_H
#define RAGNAROK_SOURCE_CONTENTS_SHOWRANKINGSCHEDULER_H
#include <cstddef>
#include <cstdint>
#include <map>
#include <vector>
struct RankingBoardStyle {
/* 0000 */ const char* title;
/* 0004 */ std::uint32_t color;
/* 0008 */ std::uint32_t background;
};
std::map<int, RankingBoardStyle> RankingBoardStyles();
class CShowRankingScheduler {
public:
virtual ~CShowRankingScheduler() = default;
const void* SetData(const void* data);
/* 0004 */ std::uint8_t schedule[44];
/* 0030 */ std::uint8_t rankingData[88];
/* 0088 */ std::uint32_t unknown_0088 = 0;
/* 008C */ std::uint32_t unknown_008C = 0;
/* 0090 */ std::vector<std::uint32_t> rankingList;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(RankingBoardStyle) == 12);
static_assert(offsetof(CShowRankingScheduler, rankingData) == 0x30);
static_assert(offsetof(CShowRankingScheduler, rankingList) == 0x90);
#endif
#endif