Documentation
¶
Index ¶
- func DetectGameLocale(projectRoot string) string
- type Engine
- func (e *Engine) AddGame(ctx context.Context, dir string) (*game.Game, error)
- func (e *Engine) FollowGameText(ctx context.Context, g *game.Game, opts ...engine.FollowGameOptions) (chan engine.Line, error)
- func (e *Engine) GetDefaultPlugin() string
- func (e *Engine) GetFile(g *game.Game, file string) (*engine.EngineFileInfo, error)
- func (e *Engine) GetTextractor(game *game.Game) *textractor.Client
- func (e *Engine) InstallGame(dir string) (*game.Game, error)
- func (e *Engine) InstallHook(ctx context.Context, g *game.Game) error
- func (e *Engine) InstallTextHook(g *game.Game) error
- func (e *Engine) IsDirEngine(dir string) bool
- func (e *Engine) IsEngine(dir string) bool
- func (e *Engine) ManagedGames() []*game.Game
- func (e *Engine) Name() string
- func (e *Engine) RunGame(ctx context.Context, g *game.Game) (*gr.Process, error)
- func (e *Engine) SetCustomPlugin(data string) error
- func (e *Engine) Shutdown() error
- func (e *Engine) StopGame(ctx context.Context, proc *gr.Process) (*gr.Process, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectGameLocale ¶
Types ¶
type Engine ¶
func New ¶
func New() *Engine
New returns an RPG Maker engine installer with sane defaults. You can override fields directly if your caller already resolved runner/prefix.
func (*Engine) FollowGameText ¶ added in v0.0.14
func (*Engine) GetDefaultPlugin ¶ added in v0.0.8
func (*Engine) GetTextractor ¶ added in v0.0.14
func (e *Engine) GetTextractor(game *game.Game) *textractor.Client
func (*Engine) InstallHook ¶ added in v0.0.14
func (*Engine) IsDirEngine ¶
func (*Engine) ManagedGames ¶ added in v0.0.14
func (*Engine) SetCustomPlugin ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.