Decompile 5 functions in Source/Contents/Messenger/MessengerMember.cpp, Source/UI/Edit/UIEditCtrl.cpp, ...
Batch #8117 by eAthena: 0 byte-identical, 5 confirmed by peer review. - fn_07703 UIMessengerGroupWnd::OpenMiniPartyWnd: logic confirmed by peer review - fn_09192 UIAchievementWnd::`scalar deleting destructor': logic confirmed by peer review - fn_09966 UIRenewQuestScrollBar::UIRenewQuestScrollBar: logic confirmed by peer review - fn_13479 UIItemStoreFindWnd::SetTitle: logic confirmed by peer review - fn_13480 UIItemStoreSubWnd::SetTitle: logic confirmed by peer review Peer-reviewed-by: Yommy, gordaoprogramas, pedrao 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
cc582a3022
commit
b7187ff45b
8 changed files with 41 additions and 4 deletions
|
|
@ -125,6 +125,7 @@ public:
|
|||
void Slot31(int x, int y) override;
|
||||
void Slot35(int delta) override;
|
||||
MessengerMember MemberAt(int x, int y);
|
||||
void OpenMiniPartyWnd(int cell, const MessengerMember& member);
|
||||
MessengerMember MemberAtIndex(int index);
|
||||
void UpdateScroll();
|
||||
void LayoutButtons();
|
||||
|
|
@ -684,6 +685,17 @@ MessengerMember UIMessengerGroupWnd::MemberAt(int x, int y) {
|
|||
return MessengerMember(0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x0073A330
|
||||
// FUNCTION: fn_07703
|
||||
void UIMessengerGroupWnd::OpenMiniPartyWnd(int cell, const MessengerMember& member) {
|
||||
UIMiniPartyWnd* window = new UIMiniPartyWnd(*this->m_context, *this->m_frameContext);
|
||||
window->SetSize(174, 52);
|
||||
window->m_cell = cell;
|
||||
g_windowMgr.AddMiniPartyWindow(window);
|
||||
window->SendMsg(nullptr, 0x17, reinterpret_cast<std::intptr_t>(&member), 0, 0, 0);
|
||||
g_session.AddRecord0734(member.accountId, cell);
|
||||
}
|
||||
|
||||
// OFFSET: 0x0073A540
|
||||
// FUNCTION: fn_07705
|
||||
MessengerMember UIMessengerGroupWnd::MemberAtIndex(int index) {
|
||||
|
|
|
|||
|
|
@ -2448,6 +2448,18 @@ void UIMerchantItemShopWnd::StartTimer(std::uint32_t value) {
|
|||
this->SendMsg(nullptr, 14, 3, this->geometry.width, this->geometry.height, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x009970A0
|
||||
// FUNCTION: fn_13479
|
||||
void UIItemStoreFindWnd::SetTitle(std::string title) {
|
||||
this->title->SetTextFitted(title.c_str());
|
||||
}
|
||||
|
||||
// OFFSET: 0x00997100
|
||||
// FUNCTION: fn_13480
|
||||
void UIItemStoreSubWnd::SetTitle(std::string title) {
|
||||
this->title->SetTextFitted(title.c_str());
|
||||
}
|
||||
|
||||
// OFFSET: 0x009971E0
|
||||
// FUNCTION: fn_13483
|
||||
void UIItemStoreFindWnd::SetSearchText(std::string text) {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ public:
|
|||
void Slot35(int value) override;
|
||||
|
||||
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
|
||||
void SetTitle(std::string title);
|
||||
void SetSearchText(std::string text);
|
||||
void Slot15(int width, int height) override;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "UI/Item/UIItemBaseWnd.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
class UIResizer;
|
||||
class UIStaticText;
|
||||
|
|
@ -21,6 +22,7 @@ public:
|
|||
|
||||
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
|
||||
void SetTabIndex(int index);
|
||||
void SetTitle(std::string title);
|
||||
bool Sort1();
|
||||
bool Sort2();
|
||||
bool Sort3();
|
||||
|
|
|
|||
|
|
@ -484,6 +484,13 @@ void UIRenewDetailQuestInfoWnd::SetQuest(unsigned int questId, bool recommended)
|
|||
this->Invalidate();
|
||||
}
|
||||
|
||||
// OFFSET: 0x007FBF60
|
||||
// FUNCTION: fn_09966
|
||||
UIRenewQuestScrollBar::UIRenewQuestScrollBar(UIWindowContext& windows) : UIScrollBar(windows) {
|
||||
this->arrowLength = 3;
|
||||
this->thickness = 7;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007FBFD0
|
||||
// FUNCTION: fn_09967
|
||||
UIRenewQuestWnd::UIRenewQuestWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls)
|
||||
|
|
|
|||
|
|
@ -99,10 +99,7 @@ protected:
|
|||
|
||||
class UIRenewQuestScrollBar : public UIScrollBar {
|
||||
public:
|
||||
explicit UIRenewQuestScrollBar(UIWindowContext& windows) : UIScrollBar(windows) {
|
||||
this->arrowLength = 3;
|
||||
this->thickness = 7;
|
||||
}
|
||||
explicit UIRenewQuestScrollBar(UIWindowContext& windows);
|
||||
void Paint() override;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@ UIAchievementWnd::UIAchievementWnd(UIWindowContext& windows, UIFrameContext& fra
|
|||
: UIFrameWnd(windows, frame, 0), upper(nullptr), tab(nullptr), list(nullptr), group(0), sub(-1), m_controls(&controls) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x007B2E80
|
||||
// FUNCTION: fn_09192
|
||||
UIAchievementWnd::~UIAchievementWnd() {
|
||||
}
|
||||
|
||||
// OFFSET: 0x007B32B0
|
||||
|
||||
// OFFSET: 0x007B37F0
|
||||
|
|
|
|||
|
|
@ -245,6 +245,7 @@ private:
|
|||
class UIAchievementWnd : public UIFrameWnd {
|
||||
public:
|
||||
UIAchievementWnd(UIWindowContext& windows, UIFrameContext& frame, UIButtonContext& controls);
|
||||
~UIAchievementWnd() override;
|
||||
|
||||
/* 00B4 */ UIAchUpperWnd* upper;
|
||||
/* 00B8 */ UIAchTab* tab;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue