Files
systemrevivalserver/Game/Dungeon/DungeonSimulationAdmin.cs

24 lines
487 B
C#

namespace GameServer.Dungeon;
/// <summary>
/// Admin extensions for DungeonSimulation
/// </summary>
public partial class DungeonSimulation
{
/// <summary>
/// Force the dungeon to complete (admin action)
/// </summary>
public void ForceComplete()
{
Phase = DungeonPhase.Cleared;
}
/// <summary>
/// Force the dungeon phase (admin action)
/// </summary>
public void SetPhase(DungeonPhase phase)
{
Phase = phase;
}
}