-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycorecommands NextMapCommand
RaidMax edited this page May 21, 2023
·
1 revision
Retrieves the next map in rotation
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
Returns | Name |
---|---|
Task <string > |
GetNextMap (Server s, ITranslationLookup lookup) |
Returns | Name |
---|---|
Task |
ExecuteAsync (GameEvent E) |
Retrieves the next map in rotation
public NextMapCommand(CommandConfiguration config, ITranslationLookup translationLookup)
Type | Name | Description |
---|---|---|
CommandConfiguration |
config | |
ITranslationLookup |
translationLookup |
public static async Task<string> GetNextMap(Server s, ITranslationLookup lookup)
Type | Name | Description |
---|---|---|
Server |
s | |
ITranslationLookup |
lookup |
public override async Task ExecuteAsync(GameEvent E)
Type | Name | Description |
---|---|---|
GameEvent |
E |
Generated with ModularDoc