Skip to content

Commit

Permalink
Merge branch 'master' into lua-api
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jun 16, 2024
2 parents 51153a4 + 001c7a6 commit 868d9dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/uevr/API.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 868d9dc

Please sign in to comment.