mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 11:50:45 +02:00
relay 'kinematic' mode of a hold to other interfaces
This commit is contained in:
parent
970d189262
commit
c0eccca6d3
1 changed files with 4 additions and 0 deletions
|
@ -245,6 +245,8 @@ QByteArray AvatarActionHold::serialize() const {
|
|||
|
||||
dataStream << _expires + getEntityServerClockSkew();
|
||||
dataStream << _tag;
|
||||
dataStream << _kinematic;
|
||||
dataStream << _kinematicSetVelocity;
|
||||
});
|
||||
|
||||
return serializedActionArguments;
|
||||
|
@ -278,6 +280,8 @@ void AvatarActionHold::deserialize(QByteArray serializedArguments) {
|
|||
dataStream >> _expires;
|
||||
_expires -= getEntityServerClockSkew();
|
||||
dataStream >> _tag;
|
||||
dataStream >> _kinematic;
|
||||
dataStream >> _kinematicSetVelocity;
|
||||
|
||||
#if WANT_DEBUG
|
||||
qDebug() << "deserialize AvatarActionHold: " << _holderID
|
||||
|
|
Loading…
Reference in a new issue