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

Add/Modify WorldPoints and ItemSpawns. This could be done by just using InjeritanceInjection, but since the CDOs for these get quite big, that wouldn't scale very well when many item-changing mods are enabled. More...

Public Member Functions

Functions
void AddSingleItemSpawn (FName SpawnerName, TSubclassOf< UItemDefinition > ItemDefinition, FTransform Transform, FName SpawnEvent=NAME_None)
 Utility function to register a single new item spawn. Creates a new WorldPoint and ItemConfig.
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 UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

GothicModExt_WorldPoints
TSubclassOf< UWorldPointManagerConfig > WorldPointManagerConfigToExtend
 Which UWorldPointManagerConfig to extend.
UWorldItemSpawnConfig Items
 Items to merge to the worlds own WorldItemSpawnConfig.
UWorldPointManagerConfig Points
 WorldPoints to merge to the worlds own WorldItemSpawnConfig.
TSubclassOf< UWorldItemSpawnConfig > ItemSpawnConfigToExtend
 Which UWorldItemSpawnConfig to extend.
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

Detailed Description

Add/Modify WorldPoints and ItemSpawns. This could be done by just using InjeritanceInjection, but since the CDOs for these get quite big, that wouldn't scale very well when many item-changing mods are enabled.

Member Function Documentation

◆ AddSingleItemSpawn()

void AddSingleItemSpawn ( FName SpawnerName,
TSubclassOf< UItemDefinition > ItemDefinition,
FTransform Transform,
FName SpawnEvent = NAME_None )

Utility function to register a single new item spawn. Creates a new WorldPoint and ItemConfig.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ Items

Items to merge to the worlds own WorldItemSpawnConfig.

◆ ItemSpawnConfigToExtend

TSubclassOf<UWorldItemSpawnConfig> ItemSpawnConfigToExtend

Which UWorldItemSpawnConfig to extend.

◆ Points

WorldPoints to merge to the worlds own WorldItemSpawnConfig.

◆ WorldPointManagerConfigToExtend

TSubclassOf<UWorldPointManagerConfig> WorldPointManagerConfigToExtend

Which UWorldPointManagerConfig to extend.