rodecomp/Source/UI/Lists/UIChatHisBox.h
ragnarok-clanker 171e2e078d Decompile 4 functions in Source/UI/Lists/UIScrollBar.cpp, Source/UI/Buttons/UITextButton.cpp, ...
Batch #4232 by eAthena: 0 byte-identical, 4 confirmed by peer review.

- fn_11527 UIChatHisBox::Resize: logic confirmed by peer review
- fn_11528 UIComboBox::Resize: logic confirmed by peer review
- fn_11541 UIBmpRadioBtn::SendMsg: logic confirmed by peer review
- fn_11542 UIChatHisBox::SendMsg: logic confirmed by peer review

Peer-reviewed-by: Yommy, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 01:56:56 +00:00

24 lines
757 B
C++

#ifndef RAGNAROK_SOURCE_UI_LISTS_UICHATHISBOX_H
#define RAGNAROK_SOURCE_UI_LISTS_UICHATHISBOX_H
#include "UI/Lists/UIListBox.h"
#include <string>
#include <vector>
class UIChatHisBox : public UIListBox {
public:
void Resize(int width, int height) override;
void Show(int visible) override;
void Slot25(int x, int y) override;
void Slot26(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;
const char* HistoryText(unsigned int index);
bool SaveChatLog(const char* path);
/* 00DC */ unsigned char unknown_00DC[0x18];
/* 00F4 */ std::vector<std::string> history;
};
#endif