Plugins
From UBot Studio
(Difference between revisions)
(Created page with " = Plugins = == Using Plugins == == Building Plugins == == Plugin Interfaces == === IUBotCommand === === IUBotFunction ===") |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
== Using Plugins == | == Using Plugins == | ||
− | |||
== Building Plugins == | == Building Plugins == | ||
Line 12: | Line 7: | ||
=== IUBotCommand === | === IUBotCommand === | ||
− | + | <syntaxhighlight lang="csharp"> | |
+ | public interface IUBotCommand | ||
+ | { | ||
+ | string CommandName { get; } | ||
+ | string Category { get; } | ||
+ | IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; } | ||
+ | void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters); | ||
+ | bool IsContainer { get; } | ||
+ | } | ||
+ | </syntaxhighlight> | ||
=== IUBotFunction === | === IUBotFunction === |
Revision as of 16:06, 15 October 2012
Contents |
Using Plugins
Building Plugins
Plugin Interfaces
IUBotCommand
public interface IUBotCommand { string CommandName { get; } string Category { get; } IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; } void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters); bool IsContainer { get; } }