Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5

Port From (https://github.com/TrinityCore/TrinityCore/commit/68db469ee1f992bcdc81de64d6af1007d303be05)
This commit is contained in:
Hondacrx
2024-11-11 21:11:21 -05:00
parent 5909e7ba98
commit 7d351406f5
23 changed files with 678 additions and 208 deletions
@@ -209,6 +209,8 @@ namespace Framework.Constants
VaultKeeper = 0x20000000, // Void Storage
WildBattlePet = 0x40000000, // Pet That Player Can Fight (Battle Pet)
BlackMarket = 0x80000000, // Black Market
VendorMask = Vendor | VendorAmmo | VendorFood | VendorPoison | VendorReagent
}
public enum NPCFlags2
@@ -728,4 +730,14 @@ namespace Framework.Constants
None = 0,
Empty = 1
}
public enum VendorDataTypeFlags
{
Generic = 0x01,
Ammo = 0x02,
Food = 0x04,
Poison = 0x08,
Reagent = 0x10,
Petition = 0x20,
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ namespace Framework.Constants
SceneObject = 0x1000,
Conversation = 0x2000,
Seer = Player | Unit | DynamicObject,
Seer = Unit | Player | DynamicObject,
WorldObject = Unit | GameObject | DynamicObject | Corpse | AreaTrigger | SceneObject | Conversation
}