Buy Me a Coffee at ko-fi.com

A global API used to save and load avatar data between game sessions

Returns the name of the destination file

overload 1:
ConfigAPI.getName(): String
typings.-1808118735
Method PropertyFluent DescriptionRepresentation
Return Value

Loads a saved variable under the specific key
If no key is given, it will return a table with all saved variables

overload 1:
ConfigAPI.load(): Table
typings.80563118
Method PropertyFluent DescriptionRepresentation
Return Value
overload 2:
ConfigAPI.load(key: String): AnyType
typings.-1808118735typings.821772070
Method PropertyFluent DescriptionRepresentation
key accepts
Return Value

Sets the name of the destination file, data will be saved and loaded from that file
Defaults to the avatar name

overload 1:
ConfigAPI.name(name: String): ConfigAPI
typings.-1808118735typings.1199487832
Method PropertyFluent DescriptionRepresentation
name accepts
Return Value

Save to disk a variable under the specific key
If the value is nil, the variable is removed from the file

overload 1:
ConfigAPI.save(key: String, value: AnyType): ConfigAPI
typings.-1808118735typings.821772070typings.1199487832
Method PropertyFluent DescriptionRepresentation
key accepts
value accepts
Return Value

Sets the name of the destination file, data will be saved and loaded from that file
Defaults to the avatar name

overload 1:
ConfigAPI.setName(name: String): ConfigAPI
typings.-1808118735typings.1199487832
Method PropertyFluent DescriptionRepresentation
name accepts
Return Value