Batch #4156 by Yommy: 0 byte-identical, 4 confirmed by peer review. - fn_13123 UICreateGuildWnd::SendMsg: logic confirmed by peer review - fn_13124 UIGuildBanReasonDescWnd::SendMsg: logic confirmed by peer review - fn_13126 UIGuildHelperWnd::SendMsg: logic confirmed by peer review - fn_13133 UIGuildTipWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: eAthena, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
71 lines
2 KiB
C++
71 lines
2 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_GUILD_UIGUILDHELPERWND_H
|
|
#define RAGNAROK_SOURCE_UI_GUILD_UIGUILDHELPERWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
struct UIButtonContext;
|
|
struct GuildHelperWndInfo;
|
|
class UIEditCtrl;
|
|
|
|
struct GuildBanTarget {
|
|
/* 0000 */ int unknown_0000;
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ int unknown_0008;
|
|
};
|
|
|
|
class UIGuildHelperWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot11() override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot31(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;
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
/* 00B4 */ int unknown_00B4;
|
|
/* 00B8 */ GuildHelperWndInfo* m_saved;
|
|
};
|
|
|
|
class UICreateGuildWnd : public UIGuildHelperWnd {
|
|
public:
|
|
void Slot11() override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot31(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;
|
|
|
|
protected:
|
|
/* 00BC */ UIEditCtrl* m_nameEdit;
|
|
/* 00C0 */ int m_mode;
|
|
};
|
|
|
|
class UIGuildTipWnd : public UIFrameWnd {
|
|
public:
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
class UIGuildLeaveReasonDescWnd : public UIFrameWnd {
|
|
public:
|
|
void Paint() override;
|
|
|
|
protected:
|
|
/* 00B4 */ UIEditCtrl* m_reasonEdit;
|
|
/* 00B8 */ unsigned char unknown_00B8[0x4];
|
|
};
|
|
|
|
class UIGuildBanReasonDescWnd : public UIGuildLeaveReasonDescWnd {
|
|
public:
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
|
|
protected:
|
|
/* 00BC */ GuildBanTarget m_target;
|
|
};
|
|
|
|
#endif
|