From 001c7a65792f5e04b4c17290aa78e5ee5518ab0e Mon Sep 17 00:00:00 2001 From: praydog Date: Sun, 16 Jun 2024 10:19:16 -0700 Subject: [PATCH] Plugins: Forgot to add find_property to API.hpp --- include/uevr/API.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uevr/API.hpp b/include/uevr/API.hpp index e09bd204..9aabf41a 100644 --- a/include/uevr/API.hpp +++ b/include/uevr/API.hpp @@ -403,6 +403,11 @@ class API { return (UFunction*)fn(to_handle(), name.data()); } + FProperty* find_property(std::wstring_view name) const { + static const auto fn = initialize()->find_property; + return (FProperty*)fn(to_handle(), name.data()); + } + // Not an array, it's a linked list. Meant to call ->get_next() until nullptr FField* get_child_properties() const { static const auto fn = initialize()->get_child_properties;