Core/PacketIO: Implement building SMSG_UPDATE_OBJECT only for selected fields and use that to fix quest objects not glowing after accepting quests

Port From (https://github.com/TrinityCore/TrinityCore/commit/bbfbb7d4bfa869755e702b40b53dbd295f8c964d)
This commit is contained in:
hondacrx
2020-05-01 12:23:24 -04:00
parent e31ca45d54
commit 1224abafe8
17 changed files with 900 additions and 259 deletions
@@ -16,6 +16,7 @@
*/
using System;
using System.Linq;
namespace Game.Entities
{
@@ -64,6 +65,8 @@ namespace Game.Entities
}
}
public bool IsAnySet() { return _blocksMask.Any(blockMask => blockMask != 0); }
public void Reset(int index)
{
int blockIndex = GetBlockIndex(index);