sharedlibrarycorecommands BanCommand - RaidMax/IW4M-Admin GitHub Wiki
Public class
BanCommand Description
Permanently bans a client
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Commands
SharedLibraryCore.Commands.BanCommand[BanCommand](/RaidMax/IW4M-Admin/wiki/BanCommand)
end
subgraph SharedLibraryCore
SharedLibraryCore.Command[Command](/RaidMax/IW4M-Admin/wiki/Command)
class SharedLibraryCore.Command abstractStyle;
end
SharedLibraryCore.Command --> SharedLibraryCore.Commands.BanCommand
Members
Methods
Public methods
Returns | Name |
---|---|
Task |
ExecuteAsync (GameEvent gameEvent) |
Details
Summary
Permanently bans a client
Inheritance
Constructors
BanCommand
public BanCommand(ApplicationConfiguration appConfig, CommandConfiguration config, ITranslationLookup translationLookup)
Arguments
Type | Name | Description |
---|---|---|
ApplicationConfiguration |
appConfig | |
CommandConfiguration |
config | |
ITranslationLookup |
translationLookup |
Methods
ExecuteAsync
public override async Task ExecuteAsync(GameEvent gameEvent)
Arguments
Type | Name | Description |
---|---|---|
GameEvent |
gameEvent |
Generated with ModularDoc