#ifndef RAGNAROK_SOURCE_UI_UILAPINEUPGRADEBOXWND_H #define RAGNAROK_SOURCE_UI_UILAPINEUPGRADEBOXWND_H #include "Contents/Items/ItemInfo.h" #include "UI/Window/UIFrameWnd.h" #include #include class UIBitmapButton; class UILapineUpgradeBox_IngredientListWnd; class UILapineUpgradeBox_IngredientInfoWnd : public UIFrameWnd { public: UILapineUpgradeBox_IngredientInfoWnd(); void Move(int x, int y) override; void Slot10(int x, int y, std::intptr_t value) override; void Paint() override; void Slot25(int x, int y) override; void Slot26(int x, int y) override; void Slot28(int x, int y) override; void Slot31(int x, int y) override; void Slot32(int x, int y) override; void Slot35(int argument) override; void SetItem(std::uint32_t identity); /* 00B8 */ ITEM_INFO item; /* 01B0 */ unsigned char selected; /* 01B4 */ std::string tooltip; /* 01CC */ int quantity; }; class UILapineUpgradeBoxWnd : public UIFrameWnd { friend class UILapineUpgradeBox_IngredientListWnd; public: UILapineUpgradeBoxWnd(); ~UILapineUpgradeBoxWnd() override; void Slot10(int x, int y, std::intptr_t value) override; void Slot15(int width, int height) override; void Slot19() override; void Paint() override; void Slot25(int x, int y) override; void Slot26(int x, int y) override; void Slot28(int x, int y) override; void Slot32(int x, int y) override; int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; void SetWaiting(unsigned char value); UILapineUpgradeBox_IngredientInfoWnd* FindSelected(); void SetIngredient(int id); void AddMaterial(int id); // INLINED /* 00B4 */ UIBitmapButton* closeButton; /* 00B8 */ UIBitmapButton* upgradeButton; /* 00BC */ UIBitmapButton* selectButton; /* 00C0 */ UILapineUpgradeBox_IngredientListWnd* ingredientList; /* 00C4 */ int ingredientId; /* 00C8 */ std::string title; /* 00E0 */ ITEM_INFO item; /* 01D8 */ int minOptionCount; /* 01DC */ std::string description; /* 01F4 */ std::string notice; /* 020C */ std::uint32_t noticeTick; /* 0210 */ std::uint32_t noticeDuration; /* 0214 */ unsigned char waiting; }; #endif