sharedlibrarycoreinterfaces IScriptCommandFactory - RaidMax/IW4M-Admin GitHub Wiki
defines capabilities of script command factory
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
| Returns | Name |
|---|---|
IManagerCommand |
CreateScriptCommand(string name, string alias, string description, string permission, bool isTargetRequired, IEnumerable<CommandArgument> args, Func<GameEvent, Task> executeAction, IEnumerable<Game> supportedGames) |
defines capabilities of script command factory
public 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