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

USettingObject_Int. More...

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from USettingObject
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Settings Object - Int

int m_MinValue
 The minimum value for this setting.
int m_MaxValue
 The maximum value for this setting.
const int DefaultValue
 Returns the default value of this setting.
const int MaxValue
 Returns the maximum value of this setting.
const int MinValue
 Returns the minimum value of this setting.
int Value
 Returns the current value of this setting.
int m_DefaultValue
 The default value for this setting.
int GetMaxValue () const
 Returns the maximum value of this setting.
int GetMinValue () const
 Returns the minimum value of this setting.
int GetValue () const
 Returns the current value of this setting.
int SanitizeValue (float32 _Value) const
 Rounds the given value to int and makes sure its within the min/max range.
void SetValue (int _NewValue)
 Sets the value of this setting.
int GetDefaultValue () const
 Returns the default value of this setting.

Additional Inherited Members

bool IsAvailable () const
 Returns if this setting is currently available, e.g. by the current display mode (will be grayer out if not).
const FSettingDescription & GetDescription () const
 Returns the descriptive text of this setting.
const FText & GetDisplayName () const
 Returns the display name.
ESettingsType GetSettingsType () const
 Returns the type of this setting.
bool HideUnavailable () const
 Whether this setting should be hidden if not available.
void ConfirmValue ()
 To be called when the user wants to confirm the new value of this setting.
bool IsInputModeSupported () const
 Returns if this setting is supported for the current input mode.
bool IsPlattformSupported () const
 Returns if this setting is supported for the current platform.
bool IsSupported () const
 Returns if this setting is even supported, e.g. by soft- or hardware (won't show up at all if not).
void RevertToLastConfirmedValue ()
 To be called when the user wants to revert the value of this setting to the last confirmed value.
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
FSettingDescription m_Description
 The description of this setting.
int m_PlatformExclusivityMask
 If any platforms are set the setting is exclusive to them and won't be shown on others.
int m_InputAvailabilityMask
 If any Input modes are set the setting will only available when they are used, and unavailable otherwise.
const FSettingDescription Description
 Returns the descriptive text of this setting.
const FText DisplayName
 Returns the display name.
const ESettingsType SettingsType
 Returns the type of this setting.
FText m_DisplayName
 The display name of this setting.
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

USettingObject_Int.

A UObject encapsulating a single int-valued setting.

Member Function Documentation

◆ GetDefaultValue()

int GetDefaultValue ( ) const

Returns the default value of this setting.

◆ GetMaxValue()

int GetMaxValue ( ) const

Returns the maximum value of this setting.

◆ GetMinValue()

int GetMinValue ( ) const

Returns the minimum value of this setting.

◆ GetValue()

int GetValue ( ) const

Returns the current value of this setting.

◆ SanitizeValue()

int SanitizeValue ( float32 _Value) const

Rounds the given value to int and makes sure its within the min/max range.

◆ SetValue()

void SetValue ( int _NewValue)

Sets the value of this setting.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DefaultValue

const int DefaultValue

Returns the default value of this setting.

◆ m_DefaultValue

int m_DefaultValue

The default value for this setting.

◆ m_MaxValue

int m_MaxValue

The maximum value for this setting.

◆ m_MinValue

int m_MinValue

The minimum value for this setting.

◆ MaxValue

const int MaxValue

Returns the maximum value of this setting.

◆ MinValue

const int MinValue

Returns the minimum value of this setting.

◆ Value

int Value

Returns the current value of this setting.