Core/PacketIO: Updated most packet structures to 9.0.1
This commit is contained in:
@@ -481,6 +481,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, CreateObjectBits flags) const
|
||||
bool hasAreaTriggerCylinder = areaTriggerTemplate->IsCylinder();
|
||||
bool hasAreaTriggerSpline = areaTrigger->HasSplines();
|
||||
bool hasOrbit = areaTrigger->HasOrbit();
|
||||
bool hasMovementScript = false;
|
||||
|
||||
data->WriteBit(hasAbsoluteOrientation);
|
||||
data->WriteBit(hasDynamicShape);
|
||||
@@ -503,6 +504,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, CreateObjectBits flags) const
|
||||
data->WriteBit(hasAreaTriggerCylinder);
|
||||
data->WriteBit(hasAreaTriggerSpline);
|
||||
data->WriteBit(hasOrbit);
|
||||
data->WriteBit(hasMovementScript);
|
||||
|
||||
if (hasUnk3)
|
||||
data->WriteBit(false);
|
||||
@@ -581,6 +583,9 @@ void Object::BuildMovementUpdate(ByteBuffer* data, CreateObjectBits flags) const
|
||||
*data << float(areaTriggerTemplate->CylinderDatas.LocationZOffsetTarget);
|
||||
}
|
||||
|
||||
//if (hasMovementScript)
|
||||
// *data << *areaTrigger->GetMovementScript(); // AreaTriggerMovementScriptInfo
|
||||
|
||||
if (hasOrbit)
|
||||
*data << *areaTrigger->GetCircularMovementInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user