#ifndef RAGNAROK_SOURCE_UI_GUILD_UIGUILD_STORAGE_LOG_H #define RAGNAROK_SOURCE_UI_GUILD_UIGUILD_STORAGE_LOG_H #include "UI/Window/UIFrameWnd.h" #include #include #include struct UIButtonContext; class UIStaticText; class UITabControl; struct GuildStorageLogEntry { /* 0000 */ int unknown_0000 = 0; /* 0004 */ int unknown_0004 = 0; /* 0008 */ unsigned char unknown_0008 = 0; /* 0009 */ char unknown_0009[24] = {}; /* 0021 */ char unknown_0021[24] = {}; /* 003C */ std::string unknown_003C; /* 0054 */ unsigned char unknown_0054 = 0; /* 0058 */ int unknown_0058 = 0; /* 005C */ int unknown_005C = 0; /* 0060 */ unsigned char unknown_0060[16] = {}; /* 0070 */ unsigned char unknown_0070 = 0; /* 0072 */ std::int16_t unknown_0072 = 0; }; extern std::vector g_guildStorageLogs[3]; class UIGuild_Storage_Log : public UIFrameWnd { public: UIGuild_Storage_Log(UIWindowContext& windows, UIFrameContext& frames); void Slot15(int width, int height) override; void Paint() override; int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; protected: /* 00B4 */ UIStaticText* m_dateTexts[10]; /* 00DC */ UIStaticText* m_nameTexts[10]; /* 0104 */ UIStaticText* m_itemTexts[10]; /* 012C */ UIStaticText* m_countTexts[10]; /* 0154 */ int m_category; /* 0158 */ UITabControl* unknown_0158; /* 015C */ unsigned m_page; /* 0160 */ unsigned m_pageCounts[3]; /* 016C */ unsigned m_offset; /* 0170 */ int m_state; /* 0174 */ int unknown_0174; /* 0178 */ std::uint32_t unknown_0178[3]; /* 0184 */ std::uint32_t* unknown_0184; /* 0188 */ std::uint32_t* unknown_0188; /* 018C */ std::uint32_t* unknown_018C; UIButtonContext* m_controls; void FillRows(); }; #endif