SaveLoadData

File & Network View source
SaveLoadData

Asynchronously loads the data from the file of the given player and then synchronizes it with all other players. The listener will be invoked once with the synced data string and destroyed afterwards.

Re-exports: FileIO

Types

Functions and constants

public constant READ_FILES_IN_REPLAYS = false

Declaration shown above.

Configurable. Override it in your map’s config package.

public function LoadStatus.toString() returns string
public function LoadStatus.isFail() returns boolean
public function player.saveData(string slotName, string data)

Blockingly saves the given data string for the given player.

public function player.saveData(string slotName, ChunkedString data)

Blockingly saves the given data string for the given player.

public function player.loadData(string slotName, LoadListener listener)