Documentation ¶
Index ¶
- Constants
- type BuildCommand
- type Builder
- func (b *Builder) Build() error
- func (b *Builder) BuildGame() ([]byte, []byte, error)
- func (b *Builder) BuildProd() error
- func (b *Builder) BuildUI() ([]byte, []byte, error)
- func (b *Builder) Clean() error
- func (b *Builder) Manifest() (*ManifestV1, error)
- func (b *Builder) WatchedFiles() ([]string, error)
- type GameConfig
- type ManifestV1
- type Server
- type UIConfig
Constants ¶
View Source
const ( UI = iota Game )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCommand ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) Manifest ¶
func (b *Builder) Manifest() (*ManifestV1, error)
func (*Builder) WatchedFiles ¶
type GameConfig ¶
type GameConfig struct { Root string `json:"root"` BuildCommand BuildCommand `json:"build"` WatchPaths []string `json:"watchPaths"` OutputFile string `json:"out"` }
type ManifestV1 ¶
type ManifestV1 struct { Name string `json:"name"` FriendlyName string `json:"friendlyName"` Tagline string `json:"tagline"` Description string `json:"description"` MinimumPlayers int `json:"minPlayers"` MaximumPlayers int `json:"maxPlayers"` UI UIConfig `json:"ui"` Game GameConfig `json:"game"` Image string `json:"image"` }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BuildError ¶
Click to show internal directories.
Click to hide internal directories.