#ifndef RAGNAROK_SOURCE_UI_ACCEPTANCE_UIJOINPARTYACCEPTWND_H #define RAGNAROK_SOURCE_UI_ACCEPTANCE_UIJOINPARTYACCEPTWND_H #include "Contents/Items/ItemInfo.h" #include "UI/Window/UIFrameWnd.h" class UITextViewer; struct NormalItemSlotWindow; class UIChooseSellBuyWnd : public UIFrameWnd { public: UIChooseSellBuyWnd(); ~UIChooseSellBuyWnd() override; void Slot15(int width, int height) override; void Paint() override; int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; /* 00B4 */ std::uint32_t identity; /* 00B8 */ UITextViewer* viewer; protected: void AddChoice(const char* name, int id, int x, int y); void CreateViewer(int width, int height); }; class UIExchangeAcceptWnd : public UIChooseSellBuyWnd { public: UIExchangeAcceptWnd(); ~UIExchangeAcceptWnd() override; void Slot15(int width, int height) 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 Slot11() override; std::vector Slot44() override; /* 00BC */ NormalItemSlotWindow* saved; }; class UIJoinPartyAcceptWnd : public UIExchangeAcceptWnd { public: UIJoinPartyAcceptWnd(); ~UIJoinPartyAcceptWnd() override; int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; }; class UIAllyGuildAcceptWnd : public UIExchangeAcceptWnd { public: UIAllyGuildAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; }; class UIBabyAcceptWnd2 : public UIExchangeAcceptWnd { public: UIBabyAcceptWnd2(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; }; class UIBabyAcceptWnd : public UIExchangeAcceptWnd { public: UIBabyAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; }; class UICoupleAcceptWnd : public UIExchangeAcceptWnd { public: UICoupleAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; }; class UIJoinFriendAcceptWnd : public UIExchangeAcceptWnd { public: UIJoinFriendAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; /* 00C0 */ int m_accountId; /* 00C4 */ int m_characterId; }; class UIJoinGuildAcceptWnd : public UIExchangeAcceptWnd { public: UIJoinGuildAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; }; class UIMixAcceptWnd : public UIExchangeAcceptWnd { public: UIMixAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; /* 00C0 */ unsigned char m_kind; }; class UIStarPlaceAcceptWnd : public UIExchangeAcceptWnd { public: UIStarPlaceAcceptWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; std::vector Slot44() override; /* 00C0 */ char m_place; }; class UIYourItemWnd : public UIExchangeAcceptWnd { public: UIYourItemWnd(); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; /* 00C0 */ int m_index; /* 00C4 */ int m_location; }; #if defined(_WIN32) && !defined(_WIN64) static_assert(sizeof(UIChooseSellBuyWnd) == 0xBC); static_assert(sizeof(UIExchangeAcceptWnd) == 0xC0); static_assert(sizeof(UIJoinPartyAcceptWnd) == 0xC0); #endif #endif