sharedlibrarycorecommands SetLevelCommand - RaidMax/IW4M-Admin GitHub Wiki

SetLevelCommand Public class

Description

Sets the level of given client

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Commands
  SharedLibraryCore.Commands.SetLevelCommand[SetLevelCommand](/RaidMax/IW4M-Admin/wiki/SetLevelCommand)
  end
  subgraph SharedLibraryCore
  SharedLibraryCore.Command[Command](/RaidMax/IW4M-Admin/wiki/Command)
  class SharedLibraryCore.Command abstractStyle;
  end
SharedLibraryCore.Command --> SharedLibraryCore.Commands.SetLevelCommand

Members

Methods

Public methods

Returns Name
Task ExecuteAsync(GameEvent gameEvent)

Details

Summary

Sets the level of given client

Inheritance

Constructors

SetLevelCommand

Source code

public SetLevelCommand(CommandConfiguration config, ITranslationLookup translationLookup, ILogger<SetLevelCommand> logger)
Arguments
Type Name Description
CommandConfiguration config
ITranslationLookup translationLookup
ILogger<SetLevelCommand> logger

Methods

ExecuteAsync

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

Generated with ModularDoc