Documentation
¶
Index ¶
Constants ¶
View Source
const FeedbackPkg = feedback.Package("cgfile")
Variables ¶
This section is empty.
Functions ¶
func FindProjectRoot ¶
func FindProjectRootRelative ¶
Types ¶
type CodeGameFileData ¶
type CodeGameFileData struct {
GameName string `json:"game_name"`
GameVersion string `json:"game_version,omitempty"`
ProjectType string `json:"project_type"`
Language string `json:"language"`
LangConfig map[string]any `json:"lang_config,omitempty"`
GameURL string `json:"game_url,omitempty"`
ModVersion versions.Version `json:"mod_version,omitempty"`
}
func Load ¶
func Load(projectRoot string) (*CodeGameFileData, error)
func (*CodeGameFileData) Write ¶
func (c *CodeGameFileData) Write(dir string) error
Click to show internal directories.
Click to hide internal directories.