feat(hs): periodic scheduled start plugin + config + state

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Acentech Dev
2026-07-21 00:38:57 +03:00
parent 5f03a011db
commit b674e5a2cb
3 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
// <copyright file="HeykelSavasiStartConfiguration.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic.PlugIns.PeriodicTasks;
/// <summary>
/// The heykel savasi start configuration.
/// </summary>
public class HeykelSavasiStartConfiguration : MiniGameStartConfiguration
{
/// <summary>
/// Gets the default configuration for heykel savasi.
/// </summary>
public static HeykelSavasiStartConfiguration Default =>
new()
{
PreStartMessageDelay = TimeSpan.Zero,
EntranceOpenedMessage = "Heykel Savasi entrance is open and closes in {0} minute(s).",
EntranceClosedMessage = "Heykel Savasi entrance closed.",
TaskDuration = TimeSpan.FromMinutes(20),
Timetable = new List<TimeOnly>
{
new(20, 0),
new(22, 0),
},
};
}