Core/Player: Clean up duel related code. Fix a check for abusive client behavior, code style.

Port From (https://github.com/TrinityCore/TrinityCore/commit/7c062db94b1c2d28329c5f0ddc2fee74a6c07c35)
This commit is contained in:
hondacrx
2021-11-15 19:56:36 -05:00
parent 30af4577f8
commit c48696da32
11 changed files with 103 additions and 101 deletions
@@ -790,4 +790,12 @@ namespace Framework.Constants
Normal = 0,
NPE = 1
}
public enum DuelState
{
Challenged,
Countdown,
InProgress,
Completed
}
}