rodecomp/Source/UI/Chat/UIChatRoomTitle.h
ragnarok-clanker 4fd6cd3ad7 Maintenance: Resubmission of batch 9115 rebased onto main (it conflicted with 9108's CommonObject.cpp change, which it already contai
Batch #9132 by ragnarok-clanker: forced by an admin (2 lower score(s), 13 changed function(s)); checked with 22 compiled unit(s), including every includer of Source/Contents/ForbiddenWords.h, Source/Contents/Party/PartyInvitation.h, Source/File/CommonObject.h, Source/UI/Chat/UIChatRoomTitle.h, Source/UI/Guild/UIGuildWnd.h, Source/UI/Party/UIRegisterPartyWnd.h, Source/UI/Window/UIHomunInfoWnd.h, Source/UI/Window/UIPetInfoWnd.h.
2026-11-01 02:10:48 +00:00

47 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_CHAT_UICHATROOMTITLE_H
#define RAGNAROK_SOURCE_UI_CHAT_UICHATROOMTITLE_H
#include "UI/Window/UIWindow.h"
#include <string>
class UIStaticText;
struct UIButtonContext;
class ForbiddenWords;
struct ChatRoomTitleInfo {
/* 0000 */ std::string title;
/* 0018 */ std::string unknown_0018;
/* 0030 */ int type;
/* 0034 */ int memberCount;
/* 0038 */ int memberLimit;
/* 003C */ int id;
};
class UIChatRoomTitle : public UIWindow {
friend class UIWindowMgr;
friend class CGameMode;
public:
explicit UIChatRoomTitle(UIWindowContext& context);
void Slot15(int width, int height) override;
void Slot26(int x, int y) override;
void Paint() override;
void ResetCursor(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
/* 007C */ UIStaticText* label;
/* 0080 */ std::string title;
/* 0098 */ std::string unknown_0098;
/* 00B0 */ int roomType;
/* 00B4 */ int memberCount;
/* 00B8 */ int memberLimit;
protected:
/* 00BC */ int roomId;
/* 00C0 */ short unknown_00C0;
UIButtonContext* m_controls;
ForbiddenWords* m_forbiddenWords;
};
#endif