Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
This commit is contained in:
@@ -1371,6 +1371,43 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
}
|
||||
|
||||
struct CombatWorldTextViewerInfo
|
||||
{
|
||||
public ObjectGuid ViewerGUID;
|
||||
public byte? ColorType;
|
||||
public byte? ScaleType;
|
||||
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
data.WritePackedGuid(ViewerGUID);
|
||||
data.WriteBit(ColorType.HasValue);
|
||||
data.WriteBit(ScaleType.HasValue);
|
||||
data.FlushBits();
|
||||
|
||||
if (ColorType.HasValue)
|
||||
data.WriteUInt8(ColorType.Value);
|
||||
|
||||
if (ScaleType.HasValue)
|
||||
data.WriteUInt8(ScaleType.Value);
|
||||
}
|
||||
}
|
||||
|
||||
public struct SpellSupportInfo
|
||||
{
|
||||
public ObjectGuid CasterGUID;
|
||||
public int SpellID;
|
||||
public int Amount;
|
||||
public float Percentage;
|
||||
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
data.WritePackedGuid(CasterGUID);
|
||||
data.WriteInt32(SpellID);
|
||||
data.WriteInt32(Amount);
|
||||
data.WriteFloat(Percentage);
|
||||
}
|
||||
}
|
||||
|
||||
public struct SpellCastVisual
|
||||
{
|
||||
public uint SpellXSpellVisualID;
|
||||
|
||||
Reference in New Issue
Block a user