Skip to content

sharedlibrarycorecommands TempBanCommand

RaidMax edited this page May 21, 2023 · 1 revision

TempBanCommand Public class

Description

Temporarily bans a client

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Commands
  SharedLibraryCore.Commands.TempBanCommand[[TempBanCommand]]
  end
  subgraph SharedLibraryCore
  SharedLibraryCore.Command[[Command]]
  class SharedLibraryCore.Command abstractStyle;
  end
SharedLibraryCore.Command --> SharedLibraryCore.Commands.TempBanCommand
Loading

Members

Methods

Public methods

Returns Name
Task ExecuteAsync(GameEvent gameEvent)

Details

Summary

Temporarily bans a client

Inheritance

Constructors

TempBanCommand

Source code

public TempBanCommand(ApplicationConfiguration appConfig, CommandConfiguration config, ITranslationLookup translationLookup)
Arguments
Type Name Description
ApplicationConfiguration appConfig
CommandConfiguration config
ITranslationLookup translationLookup

Methods

ExecuteAsync

Source code

public override async Task ExecuteAsync(GameEvent gameEvent)
Arguments
Type Name Description
GameEvent gameEvent

Generated with ModularDoc

Clone this wiki locally