rodecomp/Source/UI/Rodex/UIRodexComposeWnd.h
ragnarok-clanker f8d3e8622d Maintenance: Rename placeholder sub_XXXXXX functions to evidence-based names (Lua registration strings, log/error strings, packet ids
Batch #13412 by ragnarok-clanker: no function's compiled code changes; checked with 592 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/CashEmotionMgr.h, Source/Contents/ClientItemLists.h, Source/Contents/ClientState.h, Source/Contents/Configuration/GameSettingsMgr.h, Source/Contents/Items/ItemInfo.h, Source/Contents/NavigationManager.h, Source/Contents/RenewQuestMgr.h, Source/Contents/ReputeMgr.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/WorldView/WorldViewData.h, Source/UI/Buttons/UIDescriptRace.h, Source/UI/CashEmotion/UICashEmotionListWnd.h, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Edit/UIItemTagCtrl.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Items/UISwapEquipmentWnd.h, Source/UI/Lists/UIChatHisBox.h, Source/UI/Lists/UITagListBox.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/Text/UIAchWnd.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIMacroUserInfoWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIRegisterMgr.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/Utility/JsonCppLoader.h.
2026-11-06 16:30:12 +00:00

75 lines
2.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_RODEX_UIRODEXCOMPOSEWND_H
#define RAGNAROK_SOURCE_UI_RODEX_UIRODEXCOMPOSEWND_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Edit/UIEditCtrl.h"
#include "UI/Lists/UIScrollBar.h"
#include "UI/Window/UIFrameWnd.h"
#include <cstdint>
#include <list>
#include <string>
class UIEditCtrl_Custom;
class UIEditCtrl_Currency;
class UIBmpTextButton;
class UIBasicButton;
class UIStaticText;
class UIRodexScrollBar : public UIScrollBar {
public:
UIRodexScrollBar();
void Paint() override;
};
class UIRodexEditCtrl3 : public UIEditCtrl3 {
public:
UIRodexEditCtrl3();
void Slot15(int width, int height) override;
};
class UIRodexComposeWnd : public UIFrameWnd {
public:
UIRodexComposeWnd();
~UIRodexComposeWnd() override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot15(int width, int height) override;
void Slot19() override;
void Slot25(int x, int y) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
void InsertItemTag(const ITEM_INFO& item);
void InsertSkillTag(int tagId);
ITEM_INFO GetItemAtPoint(int x, int y);
int MeasureText(const std::string& text, const unsigned& bytes);
void SetRecipient(int id, unsigned short job, unsigned short level, const char* name);
__declspec(noinline) std::int64_t GetZeny();
/* 00B4 */ UIEditCtrl_Custom* unknown_00B4;
/* 00B8 */ UIEditCtrl_Custom* unknown_00B8;
/* 00BC */ UIBmpTextButton* unknown_00BC;
/* 00C0 */ UIStaticText* unknown_00C0;
/* 00C4 */ UIStaticText* unknown_00C4;
/* 00C8 */ UIStaticText* unknown_00C8;
/* 00CC */ int unknown_00CC;
/* 00D0 */ UIEditCtrl_Custom* unknown_00D0;
/* 00D4 */ UIRodexEditCtrl3* m_contents;
/* 00D8 */ UIBasicButton* unknown_00D8;
/* 00DC */ UIEditCtrl_Currency* m_zeny;
/* 00E0 */ int unknown_00E0;
/* 00E4 */ int unknown_00E4;
/* 00E8 */ std::list<ITEM_INFO> m_items;
/* 00F0 */ int m_itemIndex;
/* 00F4 */ int unknown_00F4;
/* 00F8 */ std::int64_t unknown_00F8;
/* 0100 */ UIEditCtrl* unknown_0100;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(UIRodexComposeWnd) == 0x108);
#endif
#endif