plugins

package
v0.0.0-...-0fbe63c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerPlugin

type ControllerPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateControllerPlugin

func CreateControllerPlugin() *ControllerPlugin

func (*ControllerPlugin) Load

func (p *ControllerPlugin) Load() error

func (*ControllerPlugin) Unload

func (p *ControllerPlugin) Unload() error

type GameFlowPlugin

type GameFlowPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateGameFlowPlugin

func CreateGameFlowPlugin() *GameFlowPlugin

func (*GameFlowPlugin) Load

func (p *GameFlowPlugin) Load() error

func (*GameFlowPlugin) Unload

func (p *GameFlowPlugin) Unload() error

type JukeboxPlugin

type JukeboxPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool

	Queue []models.QueueMap
}

func CreateJukeboxPlugin

func CreateJukeboxPlugin() *JukeboxPlugin

func GetJukeboxPlugin

func GetJukeboxPlugin() *JukeboxPlugin

func (*JukeboxPlugin) Load

func (p *JukeboxPlugin) Load() error

func (*JukeboxPlugin) QueueMap

func (p *JukeboxPlugin) QueueMap(mapInfo structs.TMMapInfo, login string) error

func (*JukeboxPlugin) Unload

func (p *JukeboxPlugin) Unload() error

type MapsPlugin

type MapsPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateMapsPlugin

func CreateMapsPlugin() *MapsPlugin

func (*MapsPlugin) Load

func (p *MapsPlugin) Load() error

func (*MapsPlugin) Unload

func (p *MapsPlugin) Unload() error

type PlayersPlugin

type PlayersPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreatePlayersPlugin

func CreatePlayersPlugin() *PlayersPlugin

func (*PlayersPlugin) Load

func (p *PlayersPlugin) Load() error

func (*PlayersPlugin) Unload

func (p *PlayersPlugin) Unload() error

type RecorderPlugin

type RecorderPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool

	IsRecording bool
	Recording   *database.Recording
}

func CreateRecorderPlugin

func CreateRecorderPlugin() *RecorderPlugin

func (*RecorderPlugin) Load

func (p *RecorderPlugin) Load() error

func (*RecorderPlugin) Unload

func (p *RecorderPlugin) Unload() error

type RecordsPlugin

type RecordsPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool

	LocalRecords  map[string]models.Record
	RecordsWidget *widgets.RecordsWidget
}

func CreateRecordsPlugin

func CreateRecordsPlugin() *RecordsPlugin

func GetRecordsPlugin

func GetRecordsPlugin() *RecordsPlugin

func (*RecordsPlugin) Load

func (p *RecordsPlugin) Load() error

func (*RecordsPlugin) Unload

func (p *RecordsPlugin) Unload() error

type ScriptPlugin

type ScriptPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateScriptPlugin

func CreateScriptPlugin() *ScriptPlugin

func (*ScriptPlugin) Load

func (p *ScriptPlugin) Load() error

func (*ScriptPlugin) Unload

func (p *ScriptPlugin) Unload() error

type ServerPlugin

type ServerPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateServerPlugin

func CreateServerPlugin() *ServerPlugin

func (*ServerPlugin) Load

func (p *ServerPlugin) Load() error

func (*ServerPlugin) Unload

func (p *ServerPlugin) Unload() error

type TeamsPlugin

type TeamsPlugin struct {
	Name         string
	Dependencies []string
	Loaded       bool
}

func CreateTeamsPlugin

func CreateTeamsPlugin() *TeamsPlugin

func (*TeamsPlugin) Load

func (p *TeamsPlugin) Load() error

func (*TeamsPlugin) Unload

func (p *TeamsPlugin) Unload() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL