From ee839dc9497ee0af21fe0c9d7eeba281d4d52c75 Mon Sep 17 00:00:00 2001 From: praydog Date: Sat, 17 Feb 2024 22:57:34 -0800 Subject: [PATCH] Example plugin: Update to reflect previous commit --- examples/example_plugin/Plugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/example_plugin/Plugin.cpp b/examples/example_plugin/Plugin.cpp index c6fffee6..f9b92d9f 100644 --- a/examples/example_plugin/Plugin.cpp +++ b/examples/example_plugin/Plugin.cpp @@ -182,8 +182,7 @@ class ExamplePlugin : public uevr::Plugin { API::get()->execute_command(L"stat fps"); // Log the UEngine name. - const auto uengine_fname = engine->get_fname(); - const auto uengine_name = uengine_fname->to_string(); + const auto uengine_name = engine->get_full_name(); // Convert from wide to narrow string (we do not have utility::narrow in this context). std::string uengine_name_narrow{std::wstring_convert>{}.to_bytes(uengine_name)};