跳到主要内容
版本:0.1.0

Interface IWukongConsoleApi

Namespace: WukongMp.Sdk.Api
Assembly: WukongMp.Sdk.dll

public interface IWukongConsoleApi : IConsoleCommandRegistry

Implements

IConsoleCommandRegistry

Methods

AddCommand(string, ConsoleCommand, IEnumerable<string>?)

void AddCommand(string commandName, ConsoleCommand command, IEnumerable<string>? availableFirstParams = null)

Parameters

commandName string

command ConsoleCommand

availableFirstParams IEnumerable<string>?

HasCommand(string)

bool HasCommand(string commandName)

Parameters

commandName string

Returns

bool

WriteConsoleMessage(string)

void WriteConsoleMessage(string message)

Parameters

message string

  • Methods
    • AddCommand(string, ConsoleCommand, IEnumerable<string>?)
    • HasCommand(string)
    • WriteConsoleMessage(string)