Core/Instances: Reimplement resetting instances from UI
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddd0c7b152d65b980db0cc2d00f15ae62a602936)
This commit is contained in:
@@ -92,12 +92,16 @@ namespace Framework.Constants
|
||||
|
||||
public enum InstanceResetMethod
|
||||
{
|
||||
All,
|
||||
ChangeDifficulty,
|
||||
Global,
|
||||
GroupDisband,
|
||||
GroupJoin,
|
||||
RespawnDelay
|
||||
Manual,
|
||||
OnChangeDifficulty,
|
||||
Expire,
|
||||
}
|
||||
|
||||
public enum InstanceResetResult
|
||||
{
|
||||
Success,
|
||||
NotEmpty,
|
||||
CannotReset
|
||||
}
|
||||
|
||||
[Flags]
|
||||
@@ -188,6 +192,7 @@ namespace Framework.Constants
|
||||
CannotEnterTooManyInstances, // Player Has Entered Too Many Instances Recently
|
||||
CannotEnterMaxPlayers, // Target Map Already Has The Maximum Number Of Players Allowed
|
||||
CannotEnterZoneInCombat, // A Boss Encounter Is Currently In Progress On The Target Map
|
||||
CannotEnterInstanceShuttingDown,
|
||||
CannotEnterUnspecifiedReason
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user