|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Difficulty manager: Base class that modifies the state of the difficulty and works as a bridge to read and access current difficulty settings. This class is supposed the store the difficulty of the current active profile. More...
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| static UDifficultyManagerSubsystem | 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 | |
Variables | |
| const UProgressionDifficultySettings | ProgressionDifficultySettings |
| const TSubclassOf< UCombatDifficultySettings > | CombatDifficultySettingsClass |
| TSubclassOf< UDifficultyPreset > | CurrentPreset |
| const TArray< TSubclassOf< UDifficultyPreset > > | DifficultyPresetArray |
| const int | NumberOfPresets |
| const UCombatDifficultySettings | CombatDifficultySettings |
| const TSubclassOf< UProgressionDifficultySettings > | ProgressionDifficultySettingsClass |
| const UResourcesDifficultySettings | ResourcesDifficultySettings |
| const TSubclassOf< UResourcesDifficultySettings > | ResourcesDifficultySettingsClass |
| const bool | SteppedProgressionState |
| bool | SurvivalModeState |
| 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 |
Difficulty manager: Base class that modifies the state of the difficulty and works as a bridge to read and access current difficulty settings. This class is supposed the store the difficulty of the current active profile.
| void AddDifficultyPreset | ( | TSubclassOf< UDifficultyPreset > | newPreset | ) |
| void AddGroupDifficultySettings | ( | TSubclassOf< UDifficultySettings > | settings, |
| EDifficultyGroup | group ) |
|
static |
| UCombatDifficultySettings GetCombatDifficultySettings | ( | ) | const |
| TSubclassOf< UCombatDifficultySettings > GetCombatDifficultySettingsClass | ( | ) | const |
| TSubclassOf< UDifficultyPreset > GetCurrentPreset | ( | ) | const |
| TSubclassOf< UDifficultySettings > GetCustomDifficultySettings | ( | EDifficultyGroup | group | ) | const |
| TArray< TSubclassOf< UDifficultyPreset > > GetDifficultyPresetArray | ( | ) | const |
| TArray< TSubclassOf< UDifficultySettings > > GetGroupDifficultySettingsArray | ( | EDifficultyGroup | group | ) | const |
| int GetNumberOfPresets | ( | ) | const |
| int GetNumberOfSettingsByGroup | ( | EDifficultyGroup | group | ) | const |
| UProgressionDifficultySettings GetProgressionDifficultySettings | ( | ) | const |
| TSubclassOf< UProgressionDifficultySettings > GetProgressionDifficultySettingsClass | ( | ) | const |
| UResourcesDifficultySettings GetResourcesDifficultySettings | ( | ) | const |
| TSubclassOf< UResourcesDifficultySettings > GetResourcesDifficultySettingsClass | ( | ) | const |
| bool GetSteppedProgressionState | ( | ) | const |
| bool GetSurvivalModeState | ( | ) | const |
| void SetCurrentPreset | ( | TSubclassOf< UDifficultyPreset > | preset | ) |
Setting the current preset should change the preset in FProfileData too.
| void SetCustomGroupDifficultySettings | ( | EDifficultyGroup | group, |
| TSubclassOf< UDifficultySettings > | settings ) |
| void SetSteppedProgresssionState | ( | bool | value | ) |
| void SetSurvivalModeState | ( | bool | value | ) |
|
static |
| void UpdateProfilePreset | ( | ) |
| const UCombatDifficultySettings CombatDifficultySettings |
| const TSubclassOf<UCombatDifficultySettings> CombatDifficultySettingsClass |
| TSubclassOf<UDifficultyPreset> CurrentPreset |
| const TArray<TSubclassOf<UDifficultyPreset> > DifficultyPresetArray |
| const int NumberOfPresets |
| const UProgressionDifficultySettings ProgressionDifficultySettings |
| const TSubclassOf<UProgressionDifficultySettings> ProgressionDifficultySettingsClass |
| const UResourcesDifficultySettings ResourcesDifficultySettings |
| const TSubclassOf<UResourcesDifficultySettings> ResourcesDifficultySettingsClass |
| const bool SteppedProgressionState |
| bool SurvivalModeState |