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

NextMapCommand Public class

Description

Retrieves the next map in rotation

Diagram

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

Members

Methods

Public Static methods

Returns Name
Task<string> GetNextMap(Server s, ITranslationLookup lookup)

Public methods

Returns Name
Task ExecuteAsync(GameEvent E)

Details

Summary

Retrieves the next map in rotation

Inheritance

Constructors

NextMapCommand

Source code

public NextMapCommand(CommandConfiguration config, ITranslationLookup translationLookup)
Arguments
Type Name Description
CommandConfiguration config
ITranslationLookup translationLookup

Methods

GetNextMap

Source code

public static async Task<string> GetNextMap(Server s, ITranslationLookup lookup)
Arguments
Type Name Description
Server s
ITranslationLookup lookup

ExecuteAsync

Source code

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

Generated with ModularDoc