import { SaveServer } from "https://deno.land/x/sptaki@1.2.0/servers/mod.ts";
Constructors
Properties
Methods
Add callback to occur prior to saving profile changes
Add full profile in memory by key (info.id)
Create a new profile in memory with empty pmc/scav objects
Delete a profile by id
Get a player profile from memory
Get all profiles from memory
Load all profiles in /user/profiles folder into memory (this.profiles)
Look up profile json in user/profiles by id and store in memory Execute saveLoadRouters callbacks after being loaded into memory
Remove a callback from being executed prior to saving profile in SaveServer.saveProfile()
Remove a physical profile json from user/profiles
Save changes for each profile from memory into user/profiles json
Save changes from in-memory profile to user/profiles json Execute onBeforeSaveCallbacks callbacks prior to being saved to json