1 sharedlibrarycorecommands KickCommand
RaidMax edited this page 2023-05-20 22:09:21 -05:00

KickCommand Public class

Description

Kicks client for given reason

Diagram

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

Members

Methods

Public methods

Returns Name
Task ExecuteAsync(GameEvent gameEvent)

Details

Summary

Kicks client for given reason

Inheritance

Constructors

KickCommand

Source code

public KickCommand(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