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

Public Member Functions

Functions
const UGothicAudioSettings GetMusicSettings () const
AGothicCharacter GetPlayerCharacter () const
AGothicCharacterState GetPlayerCharacterState () const
bool IntroIsPlaying () const
bool IsMapActive (UWorld Map) const
 Checks if we are currently in the given Map.
bool IsWidgetClassActive (TSoftClassPtr< UCommonActivatableWidget > SoftWidgetClass) const
 Checks if this Widget is visible right now.
bool CanBeActivated () const
 Override this function to determine the conditions for the MusicMode. Gets called every tick.
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

MusicModeParameter
TArray< TSubclassOf< UMusicModeParameter > > InappropriateModesToFollow
float32 Priority
EMusicMode Mode
Variables
const AGothicCharacter PlayerCharacter
const AGothicCharacterState PlayerCharacterState
const UGothicAudioSettings MusicSettings
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

◆ CanBeActivated()

bool CanBeActivated ( ) const

Override this function to determine the conditions for the MusicMode. Gets called every tick.

◆ GetMusicSettings()

const UGothicAudioSettings GetMusicSettings ( ) const

◆ GetPlayerCharacter()

AGothicCharacter GetPlayerCharacter ( ) const

◆ GetPlayerCharacterState()

AGothicCharacterState GetPlayerCharacterState ( ) const

◆ IntroIsPlaying()

bool IntroIsPlaying ( ) const

◆ IsMapActive()

bool IsMapActive ( UWorld Map) const

Checks if we are currently in the given Map.

◆ IsWidgetClassActive()

bool IsWidgetClassActive ( TSoftClassPtr< UCommonActivatableWidget > SoftWidgetClass) const

Checks if this Widget is visible right now.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ InappropriateModesToFollow

TArray<TSubclassOf<UMusicModeParameter> > InappropriateModesToFollow

◆ Mode

EMusicMode Mode

◆ MusicSettings

const UGothicAudioSettings MusicSettings

◆ PlayerCharacter

const AGothicCharacter PlayerCharacter

◆ PlayerCharacterState

const AGothicCharacterState PlayerCharacterState

◆ Priority

float32 Priority