Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadSaveFile ¶
func GetSaveDir ¶
func GetSaveFiles ¶
func GetSaveFiles()
func InitSaveManager ¶
func InitSaveManager()
func ShutdownSaveManager ¶
func ShutdownSaveManager() error
func UploadSaveFile ¶
func UploadSaveFiles ¶
func UploadSaveFiles()
Types ¶
type HttpRequestBody_SaveInfo ¶
type HttpRequestBody_SaveInfo struct {
SaveDatas []SaveSession `json:"saveDatas"`
}
type SaveFileInfo ¶
type SaveFileInfo struct { SessionName string `json:"sessionName"` Level string `json:"level"` FileName string `json:"fileName"` FilePath string `json:"filePath"` ModTime time.Time `json:"modTime"` Size int64 `json:"size"` }
func GetSaveInfo ¶
func GetSaveInfo(filePath string) SaveFileInfo
type SaveSession ¶
type SaveSession struct { SessionName string `json:"sessionName"` SaveFiles []SaveFile `json:"saveFiles"` }
func GetSaveSessions ¶
func GetSaveSessions() []SaveSession
Click to show internal directories.
Click to hide internal directories.