Plugins

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Plugin Interfaces)
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">

Revision as of 16:12, 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>
    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