diff --git a/Source/UI/Lists/UIChatHisBox.h b/Source/UI/Lists/UIChatHisBox.h index 7f5a4bb7..c3467a23 100644 --- a/Source/UI/Lists/UIChatHisBox.h +++ b/Source/UI/Lists/UIChatHisBox.h @@ -31,6 +31,7 @@ public: void ShiftNaviLinks(); void ClearNaviLinks(); void DropOldestRecords(); + void ResetContents(); void ShiftItemTags(); void PlaceItemTags(int line); void CopyHistory(const UIChatHisBox& other); diff --git a/Source/UI/Lists/UIScrollBar.cpp b/Source/UI/Lists/UIScrollBar.cpp index 87b2687e..d48abdf9 100644 --- a/Source/UI/Lists/UIScrollBar.cpp +++ b/Source/UI/Lists/UIScrollBar.cpp @@ -984,6 +984,17 @@ void UIChatHisBox::ClearNaviLinks() { } } +// OFFSET: 0x00879E80 +// FUNCTION: fn_11221 +void UIChatHisBox::ResetContents() { + this->unknown_0100.clear(); + this->unknown_010C.clear(); + this->unknown_0118.clear(); + this->Clear(); + this->ClearNaviLinks(); + this->ShiftNaviLinks(); +} + // OFFSET: 0x0087CC30 // FUNCTION: fn_11256 void UIChatHisBox::DropOldestRecords() {