Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = modules.Module{ Name: "idlerpg", CreateInstance: CreateInstance, }
Functions ¶
func CreateInstance ¶
func CreateInstance(name string, config map[string]interface{}) (moduleInstance modules.ModuleInstance)
Types ¶
type IRPGInstance ¶
type IRPGInstance struct {
// contains filtered or unexported fields
}
func (IRPGInstance) Config ¶
func (t IRPGInstance) Config() (m map[string]interface{})
func (IRPGInstance) Name ¶
func (t IRPGInstance) Name() (n string)
func (IRPGInstance) RefreshInterval ¶
func (i IRPGInstance) RefreshInterval() int
func (IRPGInstance) Render ¶
func (t IRPGInstance) Render() (i modules.Item)
func (IRPGInstance) String ¶
func (t IRPGInstance) String() (s string)
type IRPGItem ¶
type Player ¶
type Player struct { Username string `xml:"username"` Isadmin bool `xml:"isadmin"` Level int `xml:"level"` Class string `xml:"class"` Ttl int `xml:"ttl"` Userhost string `xml:"userhost"` Online bool `xml:"online"` Totalidled int `xml:"totalidled"` Xpos int `xml:"xpos"` Ypos int `xml:"ypos"` Penalties Penalties `xml:"penalties"` Items Items `xml:"items"` }
Click to show internal directories.
Click to hide internal directories.