savedata

package
v0.0.0-...-8c4404e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(uuid []byte, datatype, slot int) error

/savedata/delete - delete save data

func Get

func Get(uuid []byte, datatype, slot int) (any, error)

/savedata/get - get save data

func Update

func Update(uuid []byte, slot int, save any) error

/savedata/update - update save data

Types

type ClearResponse

type ClearResponse struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
}

func Clear

func Clear(uuid []byte, slot int, seed string, save defs.SessionSaveData) (ClearResponse, error)

/savedata/clear - mark session save data as cleared and delete

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL