mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core/Movement: Named all MonsterSplineSpellEffectExtraData fields
This commit is contained in:
@@ -61,7 +61,7 @@ Location MoveSpline::ComputePosition() const
|
||||
}
|
||||
|
||||
if (splineflags.orientationInversed)
|
||||
c.orientation = -c.orientation;
|
||||
c.orientation = c.orientation - float(M_PI);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
@@ -209,10 +209,10 @@ ByteBuffer& WorldPackets::operator<<(ByteBuffer& data, Movement::MonsterSplineFi
|
||||
|
||||
ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Movement::MonsterSplineSpellEffectExtraData const& spellEffectExtraData)
|
||||
{
|
||||
data << spellEffectExtraData.field_1;
|
||||
data << uint32(spellEffectExtraData.field_2);
|
||||
data << uint32(spellEffectExtraData.field_3);
|
||||
data << uint32(spellEffectExtraData.field_4);
|
||||
data << spellEffectExtraData.TargetGUID;
|
||||
data << uint32(spellEffectExtraData.SpellVisualID);
|
||||
data << uint32(spellEffectExtraData.ProgressCurveID);
|
||||
data << uint32(spellEffectExtraData.ParabolicCurveID);
|
||||
|
||||
return data;
|
||||
}
|
||||
@@ -343,10 +343,10 @@ void WorldPackets::Movement::CommonMovement::WriteCreateObjectSplineDataBlock(::
|
||||
|
||||
//if (HasSpellEffectExtraData)
|
||||
//{
|
||||
// data << ObjectGuid();
|
||||
// data << uint32();
|
||||
// data << uint32();
|
||||
// data << uint32();
|
||||
// data << ObjectGuid(TargetGUID);
|
||||
// data << uint32(SpellVisualID);
|
||||
// data << uint32(ProgressCurveID);
|
||||
// data << uint32(ParabolicCurveID);
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,10 +70,10 @@ namespace WorldPackets
|
||||
|
||||
struct MonsterSplineSpellEffectExtraData
|
||||
{
|
||||
ObjectGuid field_1;
|
||||
uint32 field_2;
|
||||
uint32 field_3;
|
||||
uint32 field_4;
|
||||
ObjectGuid TargetGUID;
|
||||
uint32 SpellVisualID = 0;
|
||||
uint32 ProgressCurveID = 0;
|
||||
uint32 ParabolicCurveID = 0;
|
||||
};
|
||||
|
||||
struct MovementSpline
|
||||
|
||||
Reference in New Issue
Block a user