Batch #9184 by Bielhp: 0 byte-identical, 2 confirmed by peer review. - fn_12224 UIItemCollectionWnd::Paint: logic confirmed by peer review - fn_12123 CartTypeName: logic confirmed by peer review Peer-reviewed-by: youko, KWDev, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
50 lines
1.2 KiB
C++
50 lines
1.2 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_CHAT_UIWHISPERWND_H
|
|
#define RAGNAROK_SOURCE_UI_CHAT_UIWHISPERWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct UIButtonContext;
|
|
struct WindowPlacement;
|
|
class UIBitmapButton;
|
|
class UIChatEditCtrl;
|
|
class UIChatHisBox;
|
|
class UIResizer;
|
|
|
|
struct WhisperLogLine {
|
|
/* 0000 */ std::string text;
|
|
/* 0018 */ std::uint32_t unknown_0018;
|
|
};
|
|
|
|
class UIWhisperWnd : public UIFrameWnd {
|
|
public:
|
|
UIWhisperWnd(UIWindowContext& windows, UIFrameContext& frames);
|
|
|
|
/* 00B4 */ std::string m_target;
|
|
/* 00CC */ std::string m_name;
|
|
/* 00E4 */ UIResizer* m_resizer;
|
|
/* 00E8 */ UIChatEditCtrl* m_edit;
|
|
/* 00EC */ UIChatHisBox* m_chatHistory;
|
|
/* 00F0 */ UIBitmapButton* m_closeButton;
|
|
/* 00F4 */ std::vector<WhisperLogLine> m_log;
|
|
/* 0100 */ WindowPlacement* unknown_0100;
|
|
/* 0104 */ std::string m_code;
|
|
|
|
void Move(int x, int y) override;
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot33(int x, int y) override;
|
|
bool Slot42(void* output) override;
|
|
void Slot43() override;
|
|
void Slot11() override;
|
|
|
|
void SaveChatLog();
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|