Batch #13412 by ragnarok-clanker: no function's compiled code changes; checked with 592 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/CashEmotionMgr.h, Source/Contents/ClientItemLists.h, Source/Contents/ClientState.h, Source/Contents/Configuration/GameSettingsMgr.h, Source/Contents/Items/ItemInfo.h, Source/Contents/NavigationManager.h, Source/Contents/RenewQuestMgr.h, Source/Contents/ReputeMgr.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/WorldView/WorldViewData.h, Source/UI/Buttons/UIDescriptRace.h, Source/UI/CashEmotion/UICashEmotionListWnd.h, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Edit/UIItemTagCtrl.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Items/UISwapEquipmentWnd.h, Source/UI/Lists/UIChatHisBox.h, Source/UI/Lists/UITagListBox.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/Text/UIAchWnd.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIMacroUserInfoWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIRegisterMgr.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/Utility/JsonCppLoader.h.
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UIDESCRIPTRACE_H
|
|
#define RAGNAROK_SOURCE_UI_BUTTONS_UIDESCRIPTRACE_H
|
|
|
|
#include "UI/Buttons/UIBitmapButton.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
struct UIDescriptRaceText {
|
|
/* 0000 */ int unknown_0000;
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ std::string names[5];
|
|
/* 0080 */ std::string descriptions[5];
|
|
/* 00F8 */ std::string title;
|
|
/* 0110 */ int unknown_0110;
|
|
/* 0114 */ int unknown_0114;
|
|
/* 0118 */ std::string unknown_0118;
|
|
/* 0130 */ std::string unknown_0130;
|
|
};
|
|
|
|
// VTABLE: vt_00998
|
|
class UIDescriptRace : public UIBitmapButton {
|
|
public:
|
|
explicit UIDescriptRace(int race);
|
|
void Slot15(int width, int height) override;
|
|
void Slot25(int x, int y) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
void Paint() override;
|
|
void DrawRaceDescription();
|
|
|
|
/* 0120 */ int m_race;
|
|
/* 0124 */ UIDescriptRaceText m_text;
|
|
/* 026C */ unsigned char unknown_026C[0x14];
|
|
/* 0280 */ unsigned char m_noRace;
|
|
/* 0284 */ int unknown_0284;
|
|
/* 0288 */ std::uint32_t m_createTime;
|
|
};
|
|
|
|
extern unsigned char g_doramCreationEnabled;
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(UIDescriptRaceText) == 0x148);
|
|
#endif
|
|
|
|
#endif
|