iw4madminapplicationfactories ScriptCommandFactory - RaidMax/IW4M-Admin GitHub Wiki
implementation of IScriptCommandFactory
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
| Returns | Name |
|---|---|
IManagerCommand |
CreateScriptCommand(string name, string alias, string description, string permission, bool isTargetRequired, IEnumerable<CommandArgument> args, Func<GameEvent, Task> executeAction, IEnumerable<Game> supportedGames) |
implementation of IScriptCommandFactory
public ScriptCommandFactory(CommandConfiguration config, ITranslationLookup transLookup, IServiceProvider serviceProvider)| Type | Name | Description |
|---|---|---|
CommandConfiguration |
config | |
ITranslationLookup |
transLookup | |
IServiceProvider |
serviceProvider |
public virtual IManagerCommand CreateScriptCommand(string name, string alias, string description, string permission, bool isTargetRequired, IEnumerable<CommandArgument> args, Func<GameEvent, Task> executeAction, IEnumerable<Game> supportedGames)| 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