Skip to content

sharedlibrarycorecommands SetLevelCommand

RaidMax edited this page May 21, 2023 · 1 revision

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]]
  end
  subgraph SharedLibraryCore
  SharedLibraryCore.Command[[Command]]
  class SharedLibraryCore.Command abstractStyle;
  end
SharedLibraryCore.Command --> SharedLibraryCore.Commands.SetLevelCommand
Loading

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

Clone this wiki locally