Plugins

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(IUBotFunction)
(IUBotFunction)
Line 20: Line 20:
 
=== IUBotFunction ===
 
=== IUBotFunction ===
  
<syntaxhighlight lange="csharp">
+
<syntaxhighlight lang="csharp">
 
public interface IUBotFunction
 
public interface IUBotFunction
 
{
 
{

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

public interface IUBotFunction
{
    string FunctionName { get; }
    object ReturnValue { get; }
    UBotType ReturnValueType { get; }
    string Category { get; }
    IEnumerable<UBotParameterDefinition> ParameterDefinitions { get; }
    void Execute(IUBotStudio ubotStudio, Dictionary<string, string> parameters);
}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox