G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UClass Class Reference

Public Member Functions

Functions
bool IsChildOf (UClass Other) const
 Returns true if this class either is the same class, or is a child class of the other class.
bool IsAbstract () const
UClass GetSuperClass () const
UObject GetDefaultObject () const
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static TArray< UClass > FindAllClassesInheritingFrom (UClass BaseClass)
static UClass FindClassFromName (FName name)
 Searches for a UClass with the given name.
static UClass StaticClass ()
static TArray< UClass > GetAllSubclassesOf (UClass Class, bool bIncludeAbstractClasses=false)
Static Public Member Functions inherited from UStruct
static UClass StaticClass ()
Static Public Member Functions inherited from UField
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Variables
const UClass SuperClass
const UObject DefaultObject
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Member Function Documentation

◆ FindAllClassesInheritingFrom()

TArray< UClass > FindAllClassesInheritingFrom ( UClass BaseClass)
static
Returns
All classes inheriting from the given base class. Does not include the base-class.

◆ FindClassFromName()

UClass FindClassFromName ( FName name)
static

Searches for a UClass with the given name.

Note: Unreal strips the "U"-prefix from these, so make sure to pass your classname without it!

◆ GetAllSubclassesOf()

TArray< UClass > GetAllSubclassesOf ( UClass Class,
bool bIncludeAbstractClasses = false )
static

◆ GetDefaultObject()

UObject GetDefaultObject ( ) const

◆ GetSuperClass()

UClass GetSuperClass ( ) const

◆ IsAbstract()

bool IsAbstract ( ) const

◆ IsChildOf()

bool IsChildOf ( UClass Other) const

Returns true if this class either is the same class, or is a child class of the other class.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DefaultObject

const UObject DefaultObject

◆ SuperClass

const UClass SuperClass