Documentation ¶
Index ¶
- func LoadNewDifficulty(bytes []byte) (*types.NewDifficultyJSON, error)
- func LoadNewInfo(bytes []byte) (*types.NewInfoJSON, error)
- func LoadOldDifficulty(bytes []byte) (*types.OldDifficultyJSON, error)
- func LoadOldInfo(bytes []byte) (*types.OldInfoJSON, error)
- func NewToOld(new *types.NewInfoJSON) (*types.OldInfoJSON, error)
- func OldToNew(old *types.OldInfoJSON) (*types.NewInfoJSON, error)
- func ReadDirectoryNew(path string) (*types.NewInfoJSON, error)
- func ReadDirectoryOld(path string) (*types.OldInfoJSON, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadNewDifficulty ¶
func LoadNewDifficulty(bytes []byte) (*types.NewDifficultyJSON, error)
LoadNewDifficulty Loads new difficulty struct from byte array
func LoadNewInfo ¶
func LoadNewInfo(bytes []byte) (*types.NewInfoJSON, error)
LoadNewInfo Loads new info struct from byte array
func LoadOldDifficulty ¶
func LoadOldDifficulty(bytes []byte) (*types.OldDifficultyJSON, error)
LoadOldDifficulty Loads old difficulty struct from byte array
func LoadOldInfo ¶
func LoadOldInfo(bytes []byte) (*types.OldInfoJSON, error)
LoadOldInfo Loads old info struct from byte array
func NewToOld ¶
func NewToOld(new *types.NewInfoJSON) (*types.OldInfoJSON, error)
NewToOld converts the new format back to the old format
func OldToNew ¶
func OldToNew(old *types.OldInfoJSON) (*types.NewInfoJSON, error)
OldToNew converts the old format to the new format
func ReadDirectoryNew ¶
func ReadDirectoryNew(path string) (*types.NewInfoJSON, error)
ReadDirectoryNew Reads a directory and loads new beatmap format
func ReadDirectoryOld ¶
func ReadDirectoryOld(path string) (*types.OldInfoJSON, error)
ReadDirectoryOld Reads a directory and loads old beatmap format
Types ¶
type Result ¶
Result conversion result
func DirNewToOld ¶
DirNewToOld converts a new directory into an old directory
Click to show internal directories.
Click to hide internal directories.