Plugins
From UBot Studio
(Difference between revisions)
(→Plugin Interfaces) |
(→IUBotCommand) |
||
| Line 20: | Line 20: | ||
<syntaxhighlight lang="csharp"> | <syntaxhighlight lang="csharp"> | ||
| + | <pre> | ||
public interface IUBotCommand | public interface IUBotCommand | ||
{ | { | ||
| Line 28: | Line 29: | ||
bool IsContainer { get; } | bool IsContainer { get; } | ||
} | } | ||
| + | </pre> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
=== IUBotFunction === | === IUBotFunction === | ||
Revision as of 15:13, 15 October 2012
Contents |
Using Plugins
Building Plugins
Plugin Interfaces
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>
<pre> public interface IUBotCommand { string CommandName { get; } string Category { get; } IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; } void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters); bool IsContainer { get; } } </pre>