feat(maps): add Arkania map initializer (number 83) and register it
This commit is contained in:
@@ -100,6 +100,7 @@ public class GameMapsInitializer : GameMapsInitializerBase
|
||||
yield return typeof(FortressOfImperialGuardian2);
|
||||
yield return typeof(FortressOfImperialGuardian3);
|
||||
yield return typeof(FortressOfImperialGuardian4);
|
||||
yield return typeof(Arkania);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// <copyright file="Arkania.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.Persistence.Initialization.VersionSeasonSix.Maps;
|
||||
|
||||
using MUnique.OpenMU.DataModel.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// The initialization for the Arkania map (imported map, world 83).
|
||||
/// Seeded empty; monster/NPC spawns and gates are added via the admin panel.
|
||||
/// </summary>
|
||||
internal class Arkania : BaseMapInitializer
|
||||
{
|
||||
/// <summary>
|
||||
/// The Number of the Map.
|
||||
/// </summary>
|
||||
internal const byte Number = 83;
|
||||
|
||||
/// <summary>
|
||||
/// The Name of the Map.
|
||||
/// </summary>
|
||||
internal const string Name = "Arkania";
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Arkania"/> class.
|
||||
/// </summary>
|
||||
/// <param name="context">The context.</param>
|
||||
/// <param name="gameConfiguration">The game configuration.</param>
|
||||
public Arkania(IContext context, GameConfiguration gameConfiguration)
|
||||
: base(context, gameConfiguration)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override byte MapNumber => Number;
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override string MapName => Name;
|
||||
}
|
||||
Reference in New Issue
Block a user