UserCommands

package
v0.0.0-...-75e9581 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessMessage

func ProcessMessage(msg string, mudconn *StructCollection.MudClient) (isQuit bool)

ProcessMessage processes a message from a telnet connection

func RegisterCommand

func RegisterCommand(cmd IUserCommand)

Types

type IUserCommand

type IUserCommand interface {
	Execute(string, *StructCollection.MudClient) (quit bool)
	Settings() (Fullkey string, DoNotSupportFuzzyMatch bool)
}

Command is an interface for a command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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