Batch #1404 by Yommy: 6 byte-identical, 0 confirmed by peer review. - fn_13327 UIItemWnd::Slot18: byte-identical - fn_13351 UIItemStoreFindWnd::Slot26: byte-identical - fn_13352 UIItemStoreSubWnd::Slot26: byte-identical - fn_13387 UIMerchantItemMyShopWnd::Slot19: byte-identical - fn_13388 UIMerchantItemShopWnd::Slot19: byte-identical - fn_13407 UISkillListWnd::Slot33: byte-identical Merged automatically: every function is byte-identical to the original.
30 lines
729 B
C++
30 lines
729 B
C++
#ifndef RAGNAROK_SOURCE_UI_BUTTONS_UINAVILINKBUTTON_H
|
|
#define RAGNAROK_SOURCE_UI_BUTTONS_UINAVILINKBUTTON_H
|
|
|
|
#include "UI/Buttons/UITextButton.h"
|
|
|
|
class NavigationDestination {
|
|
public:
|
|
virtual void Navigate(std::string map, int x, int y) = 0;
|
|
|
|
protected:
|
|
~NavigationDestination() = default;
|
|
};
|
|
|
|
class UINaviLinkButton : public UITextButton {
|
|
public:
|
|
UINaviLinkButton(UIWindowContext& windows, UIButtonContext& buttons, NavigationDestination& navigation);
|
|
~UINaviLinkButton() override;
|
|
void Slot25(int x, int y) override;
|
|
std::string Link();
|
|
std::string link;
|
|
|
|
private:
|
|
NavigationDestination* m_navigation;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(UINaviLinkButton) == 284);
|
|
#endif
|
|
|
|
#endif
|