API/Autodoc/Classes/RuStoreGodotRemoteConfigClient.en.md


RuStoreGodotRemoteConfigClient

class_name RuStoreGodotRemoteConfigClient extends Object

The class implements an API for retrieving data configuration from a remote server. It encapsulates the configuration request from the server, caching, background update.

Public Member Functions

static func get_instance() -> RuStoreGodotRemoteConfigClient:
Get an instance of RuStoreGodotRemoteConfigClient.
Returns a pointer to the only instance of RuStoreGodotRemoteConfigClient (implementation of the Singleton pattern).
If the instance has not been created yet, it creates it.
func setAccount(value: String):
Sets the Account parameter, which can be used to retrieve the specified configuration.
value — The value of the Account parameter.
func get_account() -> String:
Gets the currently set Account parameter.
The value of the Account parameter.
func setLanguage(value: String):
Sets the Language parameter, which can be used to retrieve the specified configuration.
value — The value of the Language parameter.
func get_language() -> String:
Gets the currently set Language parameter.
The value of the Language parameter.
func get_remote_config():
Retrieves the data configuration depending on the update policy selected during initialization.

Properties

var isInitialized: bool = false
Returns true if the singleton is initialized, otherwise false.

Signals

signal on_get_remote_config_success
Action performed upon successful completion of get_remote_config.
signal on_get_remote_config_failure
Action performed in case of get_remote_config error.
signal on_rustore_background_job_errors
Returns the background job error.
signal on_rustore_first_load_complete
Called when the first load is complete.
signal on_rustore_init_complete
Called when initialization is complete.
signal on_rustore_memory_cache_updated
Called when the memory cache is updated.
signal on_rustore_persistent_storage_updated
Called when the persistent storage is updated.
signal on_rustore_remote_config_network_request_failure
Called when a network request to Remote Config fails.