Decompile fn_12851 (UINormalMB::UINormalMB)
Batch #4661 by gordaoprogramas: 0 byte-identical, 1 confirmed by peer review. - fn_12851 UINormalMB::UINormalMB: 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).
This commit is contained in:
parent
1f1737d944
commit
e6b6f46e99
2 changed files with 10 additions and 1 deletions
|
|
@ -2,6 +2,12 @@
|
|||
#include "UI/Text/UITextViewer.h"
|
||||
#include "UI/Window/UIWindowMgr.h"
|
||||
|
||||
// OFFSET: 0x00946C00
|
||||
// FUNCTION: fn_12851
|
||||
UINormalMB::UINormalMB(UIWindowContext& windows, UIFrameContext& frames) : UIFrameWnd(windows, frames, 0), m_owner(nullptr), m_viewer(nullptr) {
|
||||
this->m_keepOpen = 0;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00950740
|
||||
// FUNCTION: fn_12943
|
||||
int UINormalMB::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
|
||||
|
|
|
|||
|
|
@ -4,17 +4,20 @@
|
|||
#include "UI/Window/UIFrameWnd.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class UITextViewer;
|
||||
|
||||
class UINormalMB : public UIFrameWnd {
|
||||
public:
|
||||
UINormalMB(UIWindowContext& windows, UIFrameContext& frames);
|
||||
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
||||
|
||||
protected:
|
||||
/* 00B4 */ UIWindow* m_owner;
|
||||
/* 00B8 */ UITextViewer* m_viewer;
|
||||
/* 00BC */ unsigned char unknown_00BC[0x30];
|
||||
/* 00BC */ std::string unknown_00BC;
|
||||
/* 00D4 */ std::string unknown_00D4;
|
||||
/* 00EC */ unsigned char m_keepOpen;
|
||||
/* 00F0 */ std::map<int, void (*)()> m_actions;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue