-
Notifications
You must be signed in to change notification settings - Fork 0
Eklips.Save
ZeeAy edited this page Dec 1, 2024
·
1 revision
This is the class that handles your save file. The savefile is located in %userprofile%/Eklips Engine/<Name of your game>
.
-
Returns the value of the
key
path. If key path is not found, It returnsdefault
instead.key = A string that is path to the key (example: "path/to/key"), The keypath is translated into (example: Savefile["path"]["to"]["key"]) (REQUIRED) default = An object (string, integer, float, boolean, etc..) that is turned into the output if the key is not found. (Optional, Default = 0)
-
Set a key path (
val
) intoout
.val = The key path to be modified (REQUIRED) out = An object (string, integer, float, boolean, etc..) that modifies the keypaths (val) value. Confusing i know. (REQUIRED)
-
Reset the savefile back to original settings (
/default_save.json
)