rodecomp/Source/UI/Chat/UIChatRoomTitle.h
ragnarok-clanker e76e49a37f Decompile fn_21350 (CGameMode::SaveActorStates)
Batch #8682 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_21350 CGameMode::SaveActorStates: logic confirmed by peer review

Peer-reviewed-by: youko, KWDev, Montyla, aDw
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 21:49:16 +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;
struct 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