//
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace MUnique.OpenMU.GameLogic.PlugIns.PeriodicTasks;
using System.Runtime.InteropServices;
using MUnique.OpenMU.GameLogic.MiniGames;
using MUnique.OpenMU.PlugIns;
///
/// This plugin enables the start of the blood castle.
///
[PlugIn]
[Display(Name = nameof(BloodCastleStartPlugIn), Description = "Blood Castle event")]
[Guid("95E68C14-AD87-4B3C-AF46-45B8F1C3BC2A")]
public sealed class BloodCastleStartPlugIn : MiniGameStartBasePlugIn
{
///
public override MiniGameType Key => MiniGameType.BloodCastle;
///
public override object CreateDefaultConfig()
{
return BloodCastleStartConfiguration.Default;
}
///
protected override BloodCastleGameServerState CreateState(IGameContext gameContext)
{
return new BloodCastleGameServerState(gameContext);
}
}