Plugins
From UBot Studio
(Difference between revisions)
(→IUBotCommand) |
(→IUBotCommand) |
||
Line 6: | Line 6: | ||
=== IUBotCommand === | === IUBotCommand === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<syntaxhighlight lang="csharp"> | <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> | </syntaxhighlight> | ||
=== IUBotFunction === | === IUBotFunction === |
Revision as of 16:21, 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; } }