ConfigAPI

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

ConfigAPI.name

figura.docs.config.name
overload 1:
config:name(name)
Method Property Fluent Description Representation
name accepts a String
Return Value nil

ConfigAPI.load

Loads a saved variable under the specific key
If no key is given,
it will return a table with all saved variables
overload 1:
config:load()
Method Property Fluent Description Representation
Return Value a table
overload 2:
config:load(key)
Method Property Fluent Description Representation
key accepts a String
Return Value anything

ConfigAPI.save

Save to disk a variable under the specific key
If the value is nil,
the variable is removed from the file
overload 1:
config:save(key, value)
Method Property Fluent Description Representation
key accepts a String
value accepts anything
Return Value nil
a a