C# Class Ada.Commands.AdaCommandManager

Is either a command or a reply for social nicety.
Show file Open project: yvettec/Dupes Class Usage Examples

Public Properties

Property Type Description
AdaCommands AdaCommand>.Dictionary

Public Methods

Method Description
AddUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Give user permissions.

Break ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Discontinue post hunting.

Continue ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Continue Post hunting.

EchoMessage ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
GetCommand ( string content ) : Action
LeaveChat ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
RemoveUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Remove users permissions.

SummaryReport ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

No where near having ready.

UserStatus ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Get permission status of user.

Private Methods

Method Description
ShowCommands ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Show list of commands. duh

Sleep ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void

Method Details

AddUser() public static method

Give user permissions.
public static AddUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

Break() public static method

Discontinue post hunting.
public static Break ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

Continue() public static method

Continue Post hunting.
public static Continue ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

EchoMessage() public static method

public static EchoMessage ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

GetCommand() public method

public GetCommand ( string content ) : Action
content string
return Action

LeaveChat() public static method

public static LeaveChat ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

RemoveUser() public static method

Remove users permissions.
public static RemoveUser ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

SummaryReport() public static method

No where near having ready.
public static SummaryReport ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

UserStatus() public static method

Get permission status of user.
public static UserStatus ( string command, string arguments, User user, ChatExchangeDotNet.Room room, ChatExchangeDotNet.Client client ) : void
command string
arguments string
user User
room ChatExchangeDotNet.Room
client ChatExchangeDotNet.Client
return void

Property Details

AdaCommands public static property

public static Dictionary AdaCommands
return AdaCommand>.Dictionary