Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
CProvidesDefaultUObject Struct Reference

#include <MemoryLayout.h>

Public Member Functions

template<typename T >
auto Requires (const T &) -> decltype(T::StaticClass() ->GetDefaultObject())
 

Detailed Description

Access to a global default object is required in order to patch vtables Normally this can be provided by a default-constructed object. For objects without default constructors, a default object must be provided through the global function GetDefault<T>() THasCustomDefaultObject<T>::Value must be specialized to true for these types. This is done by default for any UObject-derived types, which already provide GetDefault<T>()

Definition at line 166 of file MemoryLayout.h.

Member Function Documentation

◆ Requires()

template<typename T >
auto CProvidesDefaultUObject::Requires ( const T & ) -> decltype(T::StaticClass() ->GetDefaultObject())

The documentation for this struct was generated from the following file: