Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/11cc5c0d3bd46b5e68bb549625ef9ca7294deb21)
This commit is contained in:
@@ -243,7 +243,7 @@ namespace Game.Networking.Packets
|
||||
data .WritePackedGuid( Guid);
|
||||
data.WriteUInt32(Species);
|
||||
data.WriteUInt32(CreatureID);
|
||||
data.WriteUInt32(CollarID);
|
||||
data.WriteUInt32(DisplayID);
|
||||
data.WriteUInt16(Breed);
|
||||
data.WriteUInt16(Level);
|
||||
data.WriteUInt16(Exp);
|
||||
@@ -255,7 +255,7 @@ namespace Game.Networking.Packets
|
||||
data .WriteUInt8( Quality);
|
||||
data.WriteBits(Name.GetByteCount(), 7);
|
||||
data.WriteBit(OwnerInfo.HasValue); // HasOwnerInfo
|
||||
data.WriteBit(Name.IsEmpty()); // NoRename
|
||||
data.WriteBit(false); // NoRename
|
||||
data.FlushBits();
|
||||
|
||||
data.WriteString(Name);
|
||||
@@ -278,7 +278,7 @@ namespace Game.Networking.Packets
|
||||
public ObjectGuid Guid;
|
||||
public uint Species;
|
||||
public uint CreatureID;
|
||||
public uint CollarID;
|
||||
public uint DisplayID;
|
||||
public ushort Breed;
|
||||
public ushort Level;
|
||||
public ushort Exp;
|
||||
|
||||
@@ -744,9 +744,9 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
|
||||
public ObjectGuid Source;
|
||||
public ObjectGuid Target; // Exclusive with TargetPosition
|
||||
public ObjectGuid Target;
|
||||
public ObjectGuid Transport; // Used when Target = Empty && (SpellVisual::Flags & 0x400) == 0
|
||||
public Vector3 TargetPosition; // Exclusive with Target
|
||||
public Vector3 TargetPosition; // Overrides missile destination for SpellVisual::SpellVisualMissileSetID
|
||||
public uint SpellVisualID;
|
||||
public float TravelSpeed;
|
||||
public ushort HitReason;
|
||||
|
||||
Reference in New Issue
Block a user