Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeVCRuntimeHash ¶
func ValidateFolderName ¶
func WriteMeta ¶
func WriteMeta(versionDir string, meta VersionMeta) error
Types ¶
type VersionMeta ¶
type VersionMeta struct {
Name string `json:"name"`
GameVersion string `json:"gameVersion"`
Type string `json:"type"`
EnableIsolation bool `json:"enableIsolation"`
EnableConsole bool `json:"enableConsole"`
EnableEditorMode bool `json:"enableEditorMode"`
CreatedAt time.Time `json:"createdAt"`
}
func ReadMeta ¶
func ReadMeta(versionDir string) (VersionMeta, error)
func ScanVersions ¶
func ScanVersions(versionsRoot string) ([]VersionMeta, error)
Click to show internal directories.
Click to hide internal directories.