Search Results for

    Show / Hide Table of Contents

    Class CommandManager

    Inheritance
    System.Object
    CommandManager
    Namespace: OpenAPI.Commands
    Assembly: OpenAPI.dll
    Syntax
    public class CommandManager : object

    Constructors

    | Improve this Doc View Source

    CommandManager(OpenPluginManager)

    Declaration
    public CommandManager(OpenPluginManager pluginManager)
    Parameters
    Type Name Description
    OpenPluginManager pluginManager

    Properties

    | Improve this Doc View Source

    HasExternalPermissionChecker

    Declaration
    public bool HasExternalPermissionChecker { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    FillTargets(OpenPlayer, OpenLevel, String)

    Declaration
    public MiNET.Plugins.Target FillTargets(OpenPlayer commander, OpenLevel level, string source)
    Parameters
    Type Name Description
    OpenPlayer commander
    OpenLevel level
    System.String source
    Returns
    Type Description
    MiNET.Plugins.Target
    | Improve this Doc View Source

    HasProperty(Object, String)

    Declaration
    public static bool HasProperty(dynamic obj, string name)
    Parameters
    Type Name Description
    System.Object obj
    System.String name
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LoadCommands(Object)

    Declaration
    public void LoadCommands(object instance)
    Parameters
    Type Name Description
    System.Object instance
    | Improve this Doc View Source

    ParseTarget(String)

    Declaration
    public static MiNET.Plugins.Target ParseTarget(string source)
    Parameters
    Type Name Description
    System.String source
    Returns
    Type Description
    MiNET.Plugins.Target
    | Improve this Doc View Source

    RegisterPermissionChecker(Type, CommandPermissionChecker)

    Declaration
    public void RegisterPermissionChecker(Type type, CommandPermissionChecker permissionChecker)
    Parameters
    Type Name Description
    Type type
    CommandPermissionChecker permissionChecker
    | Improve this Doc View Source

    RegisterPermissionChecker<TType>(CommandPermissionChecker<TType>)

    Declaration
    public void RegisterPermissionChecker<TType>(CommandPermissionChecker<TType> permissionChecker)
        where TType : CommandPermissionAttribute
    Parameters
    Type Name Description
    CommandPermissionChecker<TType> permissionChecker
    Type Parameters
    Name Description
    TType
    | Improve this Doc View Source

    ToCamelCase(String)

    Declaration
    public static string ToCamelCase(string s)
    Parameters
    Type Name Description
    System.String s
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    UnloadCommands(Object)

    Declaration
    public void UnloadCommands(object instance)
    Parameters
    Type Name Description
    System.Object instance
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX