Settings

This contains the source code documentation of the class subsystem_Settings.

subsystem_Settings

Inherits: DialogicSubsystem

##################################################################################################

Properties

NameTypeDefault
settingsDictionary{}

Methods

ReturnsMethod
voidclear_game_state ( _clear_flag: int = 0 )
Variantget_setting ( property: StringName, default: Variant )
boolhas_setting ( property: StringName )
voidreset_all ( )
voidreset_setting ( property: StringName )
voidconnect_to_change ( property: StringName, callable: Callable )

Property Descriptions

var settings = {}

No description available.


Method Descriptions

func clear_game_state ( _clear_flag: int = 0 ) ⇒ void

Built-in, called by DialogicGameHandler.


func get_setting ( property: StringName, default: Variant ) ⇒ Variant

Get a setting named property, if it does not exist, falls back to default.


func has_setting ( property: StringName ) ⇒ bool

Whether a setting has been set/stored before.


func reset_all ( ) ⇒ void

No description available.


func reset_setting ( property: StringName ) ⇒ void

No description available.


func connect_to_change ( property: StringName, callable: Callable ) ⇒ void

If a setting named property changes its value, this will emit Callable.