Core/DataStores: Updated db2 structures to 9.0.2

Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
This commit is contained in:
hondacrx
2020-12-12 23:20:41 -05:00
parent 18d2b7bb80
commit f0037ab99f
86 changed files with 12653 additions and 2811 deletions
+8
View File
@@ -85,6 +85,14 @@ namespace Game.Cache
_characterCacheByNameStore[name] = characterCacheEntry;
}
public void UpdateCharacterGender(ObjectGuid guid, byte gender)
{
if (!_characterCacheStore.ContainsKey(guid))
return;
_characterCacheStore[guid].Sex = (Gender)gender;
}
public void UpdateCharacterLevel(ObjectGuid guid, byte level)
{
if (!_characterCacheStore.ContainsKey(guid))