C# Class PolaMUD.Commands

Show file Open project: Polatrite/PolaMUD

Public Properties

Property Type Description
List Command>.Dictionary

Public Methods

Method Description
CommandAload ( Player user, Command command, string text ) : bool
CommandBattle ( Player user, Command command, string text ) : bool
CommandDb ( Player user, Command command, string text ) : bool
CommandKill ( Player user, Command command, string text ) : bool
CommandLook ( Player user, Command command, string text ) : bool
CommandSay ( Player user, Command command, string text ) : bool
CommandScore ( Player user, Command command, string text ) : bool
CommandScreen ( Player user, Command command, string text ) : bool
CommandSkill ( Player user, Command command, string text ) : bool
CommandTestAct ( Player user, Command command, string text ) : bool
CommandWho ( Player user, Command command, string text ) : bool
Commands ( ) : System

Singleton class. Creating this loads all commands into the parser. TODO: Safe-lock this so that this class can be disposed and re-created at runtime to "reload" commands... for the ability to load commands from XML later, instead of hardcoded.)

Method Details

CommandAload() public method

public CommandAload ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandBattle() public method

public CommandBattle ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandDb() public method

public CommandDb ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandKill() public method

public CommandKill ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandLook() public method

public CommandLook ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandSay() public method

public CommandSay ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandScore() public method

public CommandScore ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandScreen() public method

public CommandScreen ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandSkill() public method

public CommandSkill ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandTestAct() public method

public CommandTestAct ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

CommandWho() public method

public CommandWho ( Player user, Command command, string text ) : bool
user Player
command Command
text string
return bool

Commands() public method

Singleton class. Creating this loads all commands into the parser. TODO: Safe-lock this so that this class can be disposed and re-created at runtime to "reload" commands... for the ability to load commands from XML later, instead of hardcoded.)
public Commands ( ) : System
return System

Property Details

List public property

public Dictionary List
return Command>.Dictionary