Core/Misc: Moved CharacterInfo out of world to separate class

Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
hondacrx
2019-08-16 13:43:17 -04:00
parent ea35c2ca62
commit 3634bc7133
56 changed files with 598 additions and 527 deletions
+4
View File
@@ -427,6 +427,9 @@ namespace Game
public uint GetRewItemsCount() { return _rewItemsCount; }
public uint GetRewCurrencyCount() { return _rewCurrencyCount; }
public void SetEventIdForQuest(ushort eventId) { _eventIdForQuest = eventId; }
public ushort GetEventIdForQuest() { return _eventIdForQuest; }
#region Fields
public uint Id;
public QuestType Type;
@@ -542,6 +545,7 @@ namespace Game
uint _rewChoiceItemsCount;
uint _rewItemsCount;
uint _rewCurrencyCount;
ushort _eventIdForQuest;
#endregion
}