Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Data shared.Data
Data is loaded when booting and updated according to user actions.
View Source
var StaticData struct { Fonts []string Textures []resources.Resource NumPluginSystems int Plugins []shared.Plugin FontDir string Messages []shared.Message AppVersion string Modules []MappedModule }
StaticData is loaded when booting and is constant everafter.
Functions ¶
This section is empty.
Types ¶
type MappedModule ¶
type MappedModule struct { modules.Constructor ConfigItems []modules.ConfigItem PluginIndex int Name, ID string }
MappedModule is a module known to the client.
func (MappedModule) BasePath ¶
func (mm MappedModule) BasePath() string
type PluginRegistrator ¶
type PluginRegistrator interface { RegisterModule(id string, constructor modules.Constructor, configItems []modules.ConfigItem) error }
PluginRegistrator is the interface given to a plugin to register modules to the web UI core. It is used from autogenerated code.
Click to show internal directories.
Click to hide internal directories.