1 sharedlibrarycoreinterfaces IScriptCommandFactory
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IScriptCommandFactory Public interface

Description

defines capabilities of script command factory

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IScriptCommandFactory[[IScriptCommandFactory]]
  class SharedLibraryCore.Interfaces.IScriptCommandFactory interfaceStyle;
  end

Members

Methods

Public methods

Returns Name
IManagerCommand CreateScriptCommand(string name, string alias, string description, string permission, bool isTargetRequired, IEnumerable<CommandArgument> args, Func<GameEvent, Task> executeAction, IEnumerable<Game> supportedGames)

Details

Summary

defines capabilities of script command factory

Methods

CreateScriptCommand

Source code

public IManagerCommand CreateScriptCommand(string name, string alias, string description, string permission, bool isTargetRequired, IEnumerable<CommandArgument> args, Func<GameEvent, Task> executeAction, IEnumerable<Game> supportedGames)
Arguments
Type Name Description
string name
string alias
string description
string permission
bool isTargetRequired
IEnumerable<CommandArgument> args
Func<GameEvent, Task> executeAction
IEnumerable<Game> supportedGames

Generated with ModularDoc