rodecomp/Source/UI/Guild/UIAgitWnd.h
ragnarok-clanker 22d974df5b Decompile fn_13136 (UIListBoxAgitMenu::SendMsg)
Batch #12642 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_13136 UIListBoxAgitMenu::SendMsg: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, codeplay
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-06 04:30:22 +00:00

38 lines
1 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>
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, int width, int height);
/* 00B4 */ std::uint16_t m_agitId;
};
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();
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