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

Public Member Functions

Functions
float32 GetMostRecentPlayTime ()
UGothicPersistentDataList LoadOrCreateSettings (const UGothicLocalPlayer localPlayer)
bool CheckIsPermaDeath ()
FProfileData & GetCurrentProfile ()
int GetCurrentProfileId () const
UGothicPersistentDataGame LoadOrCreateDataGame ()
void GetProfiles (TArray< FProfileData > &profiles)
FString GetSavePublicName (FString SlotName)
bool HasProfile () const
Public Member Functions inherited from UScriptGameInstanceSubsystem
UGameInstance GetGameInstance () const
void Initialize ()
bool ShouldCreateSubsystem (UObject Outer) const
void Tick (float32 DeltaTime)
void Deinitialize ()
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 UPersistentDataSubsystem Get ()
Static Public Member Functions inherited from UScriptGameInstanceSubsystem
static UClass StaticClass ()
Static Public Member Functions inherited from UGameInstanceSubsystem
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

PersistentDataSubsystem
bool m_SaveScreenshotEnabled
int m_MaxProfileNumber
bool bAllowSaveLoad
float32 m_autosavePermaDeathTimer
float32 m_ScreenshotTimeout
int m_ScreenshotResolutionX
int m_ScreenshotResolutionY
Variables
FOnGameSavedDelegate m_OnGameSaved
FOnCannotSaveDelegate m_OnCannotSave
const FProfileData & CurrentProfile
const int CurrentProfileId
const float32 MostRecentPlayTime
Public Attributes inherited from UScriptGameInstanceSubsystem
const UGameInstance GameInstance
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

◆ CheckIsPermaDeath()

bool CheckIsPermaDeath ( )

◆ Get()

UPersistentDataSubsystem Get ( )
static

◆ GetCurrentProfile()

FProfileData & GetCurrentProfile ( )

◆ GetCurrentProfileId()

int GetCurrentProfileId ( ) const

◆ GetMostRecentPlayTime()

float32 GetMostRecentPlayTime ( )

◆ GetProfiles()

void GetProfiles ( TArray< FProfileData > & profiles)

◆ GetSavePublicName()

FString GetSavePublicName ( FString SlotName)

◆ HasProfile()

bool HasProfile ( ) const

◆ LoadOrCreateDataGame()

UGothicPersistentDataGame LoadOrCreateDataGame ( )

◆ LoadOrCreateSettings()

UGothicPersistentDataList LoadOrCreateSettings ( const UGothicLocalPlayer localPlayer)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ bAllowSaveLoad

bool bAllowSaveLoad

◆ CurrentProfile

const FProfileData& CurrentProfile

◆ CurrentProfileId

const int CurrentProfileId

◆ m_autosavePermaDeathTimer

float32 m_autosavePermaDeathTimer

◆ m_MaxProfileNumber

int m_MaxProfileNumber

◆ m_OnCannotSave

FOnCannotSaveDelegate m_OnCannotSave

◆ m_OnGameSaved

FOnGameSavedDelegate m_OnGameSaved

◆ m_SaveScreenshotEnabled

bool m_SaveScreenshotEnabled

◆ m_ScreenshotResolutionX

int m_ScreenshotResolutionX

◆ m_ScreenshotResolutionY

int m_ScreenshotResolutionY

◆ m_ScreenshotTimeout

float32 m_ScreenshotTimeout

◆ MostRecentPlayTime

const float32 MostRecentPlayTime