1 iw4madminapplicationfactories ScriptCommandFactory
RaidMax edited this page 2023-05-20 22:09:21 -05:00

ScriptCommandFactory Public class

Description

implementation of IScriptCommandFactory

Diagram

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

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

implementation of IScriptCommandFactory

Inheritance

Constructors

ScriptCommandFactory

Source code

public ScriptCommandFactory(CommandConfiguration config, ITranslationLookup transLookup, IServiceProvider serviceProvider)
Arguments
Type Name Description
CommandConfiguration config
ITranslationLookup transLookup
IServiceProvider serviceProvider

Methods

CreateScriptCommand

Source code

public virtual 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