Documentation
¶
Index ¶
- func DownloadSaveFile(fileName string) error
- func GetSaveDir() (string, error)
- func GetSaveFiles()
- func InitSaveManager()
- func ShutdownSaveManager() error
- func UploadSaveFile(filePath string) error
- func UploadSaveFiles()
- func UploadSaveInfo()
- type HttpRequestBody_SaveInfo
- type SaveFile
- type SaveFileInfo
- type SaveSession
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()
func UploadSaveInfo ¶
func UploadSaveInfo()
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.