Core/Players: Add PlayerExtraFlags for tracking race change, level boost, and raf level grant usage

Port From (https://github.com/TrinityCore/TrinityCore/commit/c2751f9195959a199413e332d2b595a60e4a6d35)
This commit is contained in:
hondacrx
2021-06-06 14:12:53 -04:00
parent 21d8fbee40
commit d687d41078
4 changed files with 17 additions and 3 deletions
+7 -1
View File
@@ -602,6 +602,7 @@ namespace Framework.Constants
VengefulGladiator = 0x0000010000000000, // 40
}
[Flags]
public enum PlayerExtraFlags
{
// gm abilities
@@ -612,7 +613,12 @@ namespace Framework.Constants
GMChat = 0x20, // Show GM badge in chat messages
// other states
PVPDeath = 0x100 // store PvP death status until corpse creating.
PVPDeath = 0x100, // store PvP death status until corpse creating.
// Character services markers
HasRaceChanged = 0x0200,
GrantedLevelsFromRaf = 0x0400,
LevelBoosted = 0x0800
}
public enum EquipmentSetUpdateState