C# Class Wolfje.Plugins.SEconomy.JistAliasModule.JistAlias

Inheritance: IDisposable
ファイルを表示 Open project: tylerjwatson/SEconomy Class Usage Examples

Protected Properties

Property Type Description
jsAliases List
parent JistAliasPlugin

Public Methods

Method Description
Dispose ( ) : void
JistAlias ( JistAliasPlugin plugin ) : System
ParseJSCommands ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ChatCommand_AliasExecuted ( TShockAPI e ) : void

Occurs when someone executes an alias command

CreateAlias ( JScriptAliasCommand alias, bool allowServer = true ) : void

Creates a javascript alias pointing to a javascript function.

GetAlias ( object aliasObject ) : JScriptAliasCommand

Gets an alias either by its object reference, or by it's name if the provided object is a string.

JistAlias_AliasExecuted ( object sender, AliasExecutedEventArgs e ) : void
PopulateCooldownList ( AliasCommand>.KeyValuePair cooldownReference, System.TimeSpan customValue = null ) : void
RefundAlias ( Money commandCost, TShockAPI.TSPlayer toPlayer ) : void

Refunds a player the full cost of an alias.

RemoveAlias ( JScriptAliasCommand alias ) : void

Removes an alias.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

JistAlias() public method

public JistAlias ( JistAliasPlugin plugin ) : System
plugin JistAliasPlugin
return System

ParseJSCommands() public method

public ParseJSCommands ( ) : void
return void

Property Details

jsAliases protected_oe property

protected List jsAliases
return List

parent protected_oe property

protected JistAliasPlugin,Wolfje.Plugins.SEconomy.JistAliasModule parent
return JistAliasPlugin