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

Public Member Functions

MapData
FMapPlayerPosAndRot GetNormalized2DPositionAndRotationFromActor (AActor Actor, FGameplayTag MapTag)
 Get normalized position from the map. (0, 0) is top-left.
void TeleportActorToNormalized2DPosition (AGothicCharacter Character, FVector2D Position)
 Get normalized position from the map. (0, 0) is top-left.
Functions
FMapMarkerArrayData GetMarkersArrayFromTag (FGameplayTag _GameplayTag)
FInstancedStruct GetSaveData () const
void RegisterMapVolume (AActor Volume, FGameplayTag Tag)
bool AddMarkerToMap (FGameplayTag _GameplayTag, FVector2D _Position, FGameplayTag _MarkerTag)
FGameplayTagContainer GetActorMapTags (APlayerController _PlayerController)
void RemoveMarkerFromMap (FGameplayTag _GameplayTag, FVector2D _Position)
void UnregisterMapVolume (const FGameplayTag Tag)
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 UMapData Get ()
static UMapData GetInstance ()
 Gets the instance of this manager to be able to access it from anywhere.
Static Public Member Functions inherited from UWorldSubsystem
static UClass StaticClass ()
Static Public Member Functions inherited from USubsystem
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Variables
const FInstancedStruct SaveData
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

Static Public Attributes

Static Variables
static const UMapData Instance

Member Function Documentation

◆ AddMarkerToMap()

bool AddMarkerToMap ( FGameplayTag _GameplayTag,
FVector2D _Position,
FGameplayTag _MarkerTag )

◆ Get()

UMapData Get ( )
static

◆ GetActorMapTags()

FGameplayTagContainer GetActorMapTags ( APlayerController _PlayerController)

◆ GetInstance()

UMapData GetInstance ( )
static

Gets the instance of this manager to be able to access it from anywhere.

◆ GetMarkersArrayFromTag()

FMapMarkerArrayData GetMarkersArrayFromTag ( FGameplayTag _GameplayTag)

◆ GetNormalized2DPositionAndRotationFromActor()

FMapPlayerPosAndRot GetNormalized2DPositionAndRotationFromActor ( AActor Actor,
FGameplayTag MapTag )

Get normalized position from the map. (0, 0) is top-left.

◆ GetSaveData()

FInstancedStruct GetSaveData ( ) const

◆ RegisterMapVolume()

void RegisterMapVolume ( AActor Volume,
FGameplayTag Tag )

◆ RemoveMarkerFromMap()

void RemoveMarkerFromMap ( FGameplayTag _GameplayTag,
FVector2D _Position )

◆ StaticClass()

UClass StaticClass ( )
static

◆ TeleportActorToNormalized2DPosition()

void TeleportActorToNormalized2DPosition ( AGothicCharacter Character,
FVector2D Position )

Get normalized position from the map. (0, 0) is top-left.

◆ UnregisterMapVolume()

void UnregisterMapVolume ( const FGameplayTag Tag)

Member Data Documentation

◆ Instance

const UMapData Instance
static

◆ SaveData

const FInstancedStruct SaveData