// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.GameLogic.PlugIns.ChatCommands; using System.Runtime.InteropServices; using MUnique.OpenMU.GameLogic.PlugIns.PeriodicTasks; using MUnique.OpenMU.PlugIns; /// /// A chat command plugin which handles the starths command. /// [Guid("F7FCB218-1A4F-462E-B091-90496FA65CA6")] [PlugIn] [ChatCommandHelp(Command, CharacterStatus.GameMaster)] public class StartHeykelSavasiEventChatCommandPlugIn : IChatCommandPlugIn { private const string Command = "/starths"; /// public string Key => Command; /// public CharacterStatus MinCharacterStatusRequirement => CharacterStatus.GameMaster; /// public async ValueTask HandleCommandAsync(Player player, string command) { var strategy = player.GameContext.PlugInManager.GetStrategy(MiniGameType.HeykelSavasi); strategy?.ForceStart(); } }