diff --git a/Source/UI/Text/ColoredText.cpp b/Source/UI/Text/ColoredText.cpp index 3c7e8951..da04a1e5 100644 --- a/Source/UI/Text/ColoredText.cpp +++ b/Source/UI/Text/ColoredText.cpp @@ -4,7 +4,9 @@ #include "UI/Text/ColoredText.h" #include "UI/Window/UIWindow.h" +#include #include +#include #include #include @@ -299,3 +301,9 @@ std::string StripColorCodes(const char* text, unsigned bytes) { return result; } + +// OFFSET: 0x00A874B0 +// FUNCTION: fn_17063 +bool ContainsValue(const std::deque& values, const int& value) { + return std::find(values.begin(), values.end(), value) != values.end(); +}