rodecomp/Source/UI/Guild/UIAgitWnd.h
ragnarok-clanker ad35c78229 Decompile fn_13036 (UIAgitMessageBox::sub_956130)
Batch #7582 by secret: 0 byte-identical, 1 confirmed by peer review.

- fn_13036 UIAgitMessageBox::sub_956130: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 10:28:57 +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:
using UIListBox::UIListBox;
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