Print all the types with type reflection in ELDEN RING:
#include "../example_base.hpp"
void example_base() {
con_allocate(false);
if (!from::DLSY::wait_for_system(5'000)) {
std::cout << "wait_for_system timed out!\n";
return;
}
const auto& registered_classes =
for (const auto& registered_class : registered_classes) {
std::cout << registered_class.get() << ' '
<< registered_class.get()->class_name();
const auto& methods = registered_class.get()->get_methods();
if (methods.empty()) {
std::cout << '\n';
continue;
}
std::cout << " and its methods:\n";
for (const auto& method : methods) {
std::cout << " " << method.get()->get_method_name();
const auto& invokers = method.get()->get_invokers();
if (invokers.empty())
continue;
std::cout << " and its invokers: ";
for (const auto& invoker : invokers) {
std::cout << &invoker << " ";
}
std::cout << '\n';
}
}
}
static LIBERAPI const from::vector< DLRuntimeClassHolder > & get_registered_classes() noexcept
Get a vector of all globally registered DLRuntimeClasses.
Dantelion2 type reflection.
Dantelion2 system properties.