Plugins

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(IUBotCommand)
(IUBotCommand)
Line 6: Line 6:
  
 
=== IUBotCommand ===
 
=== IUBotCommand ===
<pre>
 
<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>
 
  
 
<syntaxhighlight lang="csharp">
 
<syntaxhighlight lang="csharp">
<pre>
+
public interface IUBotCommand
    public interface IUBotCommand
+
{
    {
+
    string CommandName { get; }
        string CommandName { get; }
+
    string Category { get; }
        string Category { get; }
+
    IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; }
        IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; }
+
    void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters);
        void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters);
+
    bool IsContainer { get; }
        bool IsContainer { get; }
+
}
    }
+
</pre>
+
 
</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; }
}

IUBotFunction

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox