diff --git a/Source/UI/Exchange/UIExchangeUI.cpp b/Source/UI/Exchange/UIExchangeUI.cpp index 39fefd644..b4c99af94 100644 --- a/Source/UI/Exchange/UIExchangeUI.cpp +++ b/Source/UI/Exchange/UIExchangeUI.cpp @@ -28,6 +28,32 @@ template void CUIListBoxEx::SetImage const std::string&); template <> void CUIListBoxEx::UpdateScrollBar(); +template <> +void CUIListBoxEx::Paint(); +template <> +void CUIListBoxEx::Slot35(int value); +template <> +void CUIListBoxEx::OnScroll(int position); + +// OFFSET: 0x00A0F840 + +// OFFSET: 0x00A0FA00 + +// OFFSET: 0x00A100B0 +// FUNCTION: fn_15188 +template <> +void CUIListBoxEx::ClearItems() { + for (ExchangeUI::CUIItem* item : this->items) { + this->RemoveChild(item, 1); + } + + this->items.clear(); + this->selected = static_cast(-1); +} + +// OFFSET: 0x00A10140 + +// OFFSET: 0x00A101E0 // OFFSET: 0x00A15150 // FUNCTION: fn_15193 diff --git a/Source/UI/Exchange/UIExchangeUI.h b/Source/UI/Exchange/UIExchangeUI.h index 2467f3d78..88173850f 100644 --- a/Source/UI/Exchange/UIExchangeUI.h +++ b/Source/UI/Exchange/UIExchangeUI.h @@ -59,6 +59,7 @@ public: void Slot10(int x, int y, std::intptr_t value) override; void Slot19() override; + virtual void Slot53(); void Conclude(); void SubmitZeny();