Decompile fn_11454 (UIItemMoveInfo::Slot28)
Batch #1901 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_11454 UIItemMoveInfo::Slot28: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
3b3e844b6b
commit
78afd8c2c8
2 changed files with 24 additions and 0 deletions
18
Source/UI/Buttons/UIItemMoveInfo.h
Normal file
18
Source/UI/Buttons/UIItemMoveInfo.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UIITEMMOVEINFO_H
|
||||
#define RAGNAROK_SOURCE_UI_BUTTONS_UIITEMMOVEINFO_H
|
||||
|
||||
#include "UI/Buttons/UITextButton.h"
|
||||
#include "UI/Window/WindowManagerWindows.h"
|
||||
|
||||
class UIItemMoveInfo : public UITextButton {
|
||||
public:
|
||||
void Slot28(int x, int y) override;
|
||||
|
||||
protected:
|
||||
/* 00F8 */ int m_moveIndex;
|
||||
|
||||
private:
|
||||
WindowManagerWindows* m_windows;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
#include "Render/Text/TextContext.h"
|
||||
#include "UI/Window/UIWindowMgr.h"
|
||||
#include "UI/Buttons/UIItemTagButton.h"
|
||||
#include "UI/Buttons/UIItemMoveInfo.h"
|
||||
#include "UI/Buttons/UITextButton.h"
|
||||
#include "UI/Lists/UIImgMenu.h"
|
||||
#include "UI/Lists/UITabControl.h"
|
||||
|
|
@ -286,6 +287,11 @@ void UIINT64BarGraph::Slot28(int, int) {
|
|||
this->m_controls->services.Tooltip(text, screenX, screenY, -1, false, true);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00891A40
|
||||
// FUNCTION: fn_11454
|
||||
void UIItemMoveInfo::Slot28(int, int) {
|
||||
this->m_windows->EnsureWindow(276)->SendMsg(nullptr, 147, this->m_moveIndex, 0, 0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00891A10
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue