Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindLevenshtein ¶
FindLevenshtein finds a target in a list of strings using levenshtein distance.
func RegisterDefaults ¶
func RegisterDefaults()
Types ¶
type Argument ¶
type Argument interface {
Description() string
}
Argument should be implemented on custom command argument types to allow for better cmdline support.
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type ConsoleSource ¶
type ConsoleSource struct {
// contains filtered or unexported fields
}
func (*ConsoleSource) GetLog ¶
func (c *ConsoleSource) GetLog() *logrus.Logger
func (*ConsoleSource) GetServer ¶
func (c *ConsoleSource) GetServer() *server.Server
func (*ConsoleSource) Name ¶
func (c *ConsoleSource) Name() string
func (*ConsoleSource) Position ¶
func (c *ConsoleSource) Position() mgl64.Vec3
func (*ConsoleSource) SendCommandOutput ¶
func (c *ConsoleSource) SendCommandOutput(o *cmd.Output)
func (*ConsoleSource) World ¶
func (c *ConsoleSource) World() *world.World
Click to show internal directories.
Click to hide internal directories.