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

Inheritance: IDisposable
Afficher le fichier Open project: tylerjwatson/SEconomy Class Usage Examples

Protected Properties

Свойство Type Description
jsAliases List
parent JistAliasPlugin

Méthodes publiques

Méthode Description
Dispose ( ) : void
JistAlias ( JistAliasPlugin plugin ) : System
ParseJSCommands ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

JistAlias() public méthode

public JistAlias ( JistAliasPlugin plugin ) : System
plugin JistAliasPlugin
Résultat System

ParseJSCommands() public méthode

public ParseJSCommands ( ) : void
Résultat void

Property Details

jsAliases protected_oe property

protected List jsAliases
Résultat List

parent protected_oe property

protected JistAliasPlugin,Wolfje.Plugins.SEconomy.JistAliasModule parent
Résultat JistAliasPlugin