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

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

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