C# 클래스 Wolfje.Plugins.SEconomy.CmdAliasModule.CmdAlias

상속: IDisposable
파일 보기 프로젝트 열기: tylerjwatson/SEconomy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CooldownList Dictionary,DateTime>

보호된 프로퍼티들

프로퍼티 타입 설명
__rndLock object
msgRegex System.Text.RegularExpressions.Regex
parameterRegex System.Text.RegularExpressions.Regex
parent CmdAliasPlugin
randomGenerator System.Random
randomRegex System.Text.RegularExpressions.Regex
runasFunctionRegex System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
CmdAlias ( CmdAliasPlugin pluginInstance ) : System
Dispose ( ) : void

보호된 메소드들

메소드 설명
ChatCommand_AliasExecuted ( TShockAPI e ) : void

Occurs when someone executes an alias command

ChatCommand_GeneralCommand ( TShockAPI args ) : void
CmdAliasPlugin_AliasExecuted ( object sender, AliasExecutedEventArgs e ) : void
Dispose ( bool disposing ) : void
DoCommands ( AliasCommand alias, TShockAPI player, List parameters ) : void

Executes the AliasCommand. Will either forward the command to the tshock handler or do something else

ParseCommands ( ) : void
ReloadConfigAfterDelayAsync ( int DelaySeconds ) : System.Threading.Tasks.Task

Asynchronously reparses the AliasCmd configuration file after the specified period.

ReplaceParameterMarkers ( IList parameters, string &CommandToExecute ) : void

Mangles the command to execute with the supplied parameters according to the parameter rules.

비공개 메소드들

메소드 설명
PopulateCooldownList ( AliasCommand>.KeyValuePair cooldownReference, System.TimeSpan customValue = null ) : void

메소드 상세

ChatCommand_AliasExecuted() 보호된 메소드

Occurs when someone executes an alias command
protected ChatCommand_AliasExecuted ( TShockAPI e ) : void
e TShockAPI
리턴 void

ChatCommand_GeneralCommand() 보호된 메소드

protected ChatCommand_GeneralCommand ( TShockAPI args ) : void
args TShockAPI
리턴 void

CmdAlias() 공개 메소드

public CmdAlias ( CmdAliasPlugin pluginInstance ) : System
pluginInstance CmdAliasPlugin
리턴 System

CmdAliasPlugin_AliasExecuted() 보호된 메소드

protected CmdAliasPlugin_AliasExecuted ( object sender, AliasExecutedEventArgs e ) : void
sender object
e AliasExecutedEventArgs
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DoCommands() 보호된 메소드

Executes the AliasCommand. Will either forward the command to the tshock handler or do something else
protected DoCommands ( AliasCommand alias, TShockAPI player, List parameters ) : void
alias AliasCommand
player TShockAPI
parameters List
리턴 void

ParseCommands() 보호된 메소드

protected ParseCommands ( ) : void
리턴 void

ReloadConfigAfterDelayAsync() 보호된 메소드

Asynchronously reparses the AliasCmd configuration file after the specified period.
protected ReloadConfigAfterDelayAsync ( int DelaySeconds ) : System.Threading.Tasks.Task
DelaySeconds int
리턴 System.Threading.Tasks.Task

ReplaceParameterMarkers() 보호된 메소드

Mangles the command to execute with the supplied parameters according to the parameter rules.
protected ReplaceParameterMarkers ( IList parameters, string &CommandToExecute ) : void
parameters IList /// * Parameter format: /// * $1 $2 $3 $4: Takes the individual parameter number from the typed alias and puts it into the commands to execute /// * $1-: Takes everything from the indiviual parameter to the end of the line /// * $1-3: Take all parameters ranging from the lowest to the highest. ///
CommandToExecute string
리턴 void

프로퍼티 상세

CooldownList 공개적으로 프로퍼티

public Dictionary,DateTime> CooldownList
리턴 Dictionary,DateTime>

__rndLock 보호되어 있는 프로퍼티

protected object __rndLock
리턴 object

msgRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions msgRegex
리턴 System.Text.RegularExpressions.Regex

parameterRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions parameterRegex
리턴 System.Text.RegularExpressions.Regex

parent 보호되어 있는 프로퍼티

protected CmdAliasPlugin,Wolfje.Plugins.SEconomy.CmdAliasModule parent
리턴 CmdAliasPlugin

randomGenerator 보호되어 있는 프로퍼티

protected Random,System randomGenerator
리턴 System.Random

randomRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions randomRegex
리턴 System.Text.RegularExpressions.Regex

runasFunctionRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions runasFunctionRegex
리턴 System.Text.RegularExpressions.Regex