Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)

Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
This commit is contained in:
hondacrx
2019-08-14 11:20:42 -04:00
parent e4d500f4b5
commit 125e3b3ac7
232 changed files with 12268 additions and 14670 deletions
+11 -11
View File
@@ -59,8 +59,8 @@ namespace Game.Network.Packets
foreach (ClientGossipOptions options in GossipOptions)
{
_worldPacket.WriteInt32(options.ClientOption);
_worldPacket.WriteInt8(options.OptionNPC);
_worldPacket.WriteInt8(options.OptionFlags);
_worldPacket.WriteUInt8(options.OptionNPC);
_worldPacket.WriteUInt8(options.OptionFlags);
_worldPacket.WriteInt32(options.OptionCost);
_worldPacket.WriteBits(options.Text.GetByteCount(), 12);
@@ -155,16 +155,16 @@ namespace Game.Network.Packets
_worldPacket.WriteInt32(Spells.Count);
foreach (TrainerListSpell spell in Spells)
{
_worldPacket.WriteInt32(spell.SpellID);
_worldPacket.WriteInt32(spell.MoneyCost);
_worldPacket.WriteInt32(spell.ReqSkillLine);
_worldPacket.WriteInt32(spell.ReqSkillRank);
_worldPacket.WriteUInt32(spell.SpellID);
_worldPacket.WriteUInt32(spell.MoneyCost);
_worldPacket.WriteUInt32(spell.ReqSkillLine);
_worldPacket.WriteUInt32(spell.ReqSkillRank);
for (uint i = 0; i < SharedConst.MaxTrainerspellAbilityReqs; ++i)
_worldPacket.WriteInt32(spell.ReqAbility[i]);
_worldPacket.WriteUInt32(spell.ReqAbility[i]);
_worldPacket.WriteInt8(spell.Usable);
_worldPacket.WriteInt8(spell.ReqLevel);
_worldPacket.WriteUInt8((byte)spell.Usable);
_worldPacket.WriteUInt8(spell.ReqLevel);
}
_worldPacket.WriteBits(Greeting.GetByteCount(), 11);
@@ -276,7 +276,7 @@ namespace Game.Network.Packets
{
_worldPacket.WritePackedGuid(TrainerGUID);
_worldPacket.WriteUInt32(SpellID);
_worldPacket.WriteUInt32(TrainerFailedReason);
_worldPacket.WriteUInt32((uint)TrainerFailedReason);
}
public ObjectGuid TrainerGUID;
@@ -323,7 +323,7 @@ namespace Game.Network.Packets
{
public void Write(WorldPacket data)
{
data.WriteUInt32(MuID);
data.WriteInt32(MuID);
data.WriteInt32(Type);
data.WriteInt32(Quantity);
data.WriteUInt64(Price);