rodecomp/Source/UI/Guild/UIAgitWnd.h
ragnarok-clanker fbf7c57f40 Decompile 2 functions in Source/UI/Guild/UIGuildWnd.cpp, Source/UI/Guild/UIGuildWnd.h, ...
Batch #8019 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_13004 UIGuildTotalInfoWnd::UIGuildTotalInfoWnd: logic confirmed by peer review
- fn_13006 UIListBoxAgitMenu::UIListBoxAgitMenu: logic confirmed by peer review

Peer-reviewed-by: eAthena, secret, Snow, pedrao, Tanke
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 13:31:23 +00:00

48 lines
1.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_GUILD_UIAGITWND_H
#define RAGNAROK_SOURCE_UI_GUILD_UIAGITWND_H
#include "UI/Lists/UIListBox.h"
#include "UI/Window/UIFrameWnd.h"
#include <cstdint>
struct UIButtonContext;
struct WindowResponseRecorder;
struct UIAgitMessageBoxContext {
UIButtonContext& buttons;
WindowResponseRecorder& recorder;
};
class UIAgitMessageBox : public UIFrameWnd {
public:
UIAgitMessageBox();
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;
void sub_956130(const char* text);
void sub_956130(const char* text, int width, int height);
/* 00B4 */ std::uint16_t m_agitId;
UIAgitMessageBoxContext* m_dialog;
};
class UIListBoxAgit : public UIListBox {
public:
using UIListBox::UIListBox;
void Slot15(int width, int height) override;
void Slot25(int x, int y) override;
void Slot32(int x, int y) override;
};
class UIListBoxAgitMenu : public UIListBox {
public:
UIListBoxAgitMenu(UIWindowContext& windows, UIListBoxContext& list);
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;
void Slot25(int x, int y) override;
void Slot28(int x, int y) override;
/* 00D4 */ int m_agitIndex;
};
#endif