mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 02:13:09 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into cloneables
This commit is contained in:
commit
3031bb05be
5 changed files with 36 additions and 34 deletions
|
@ -483,8 +483,8 @@ public slots:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the status of server entity script attached to an entity
|
* Gets the status of server entity script attached to an entity
|
||||||
* @function Entities.getServerScriptStatus
|
* @function Entities.getServerScriptStatus
|
||||||
* @property {Uuid} entityID - The ID of the entity to get the server entity script status for.
|
* @param {Uuid} entityID - The ID of the entity to get the server entity script status for.
|
||||||
* @property {Entities~getServerScriptStatusCallback} callback - The function to call upon completion.
|
* @param {Entities~getServerScriptStatusCallback} callback - The function to call upon completion.
|
||||||
* @returns {boolean} <code>true</code> always.
|
* @returns {boolean} <code>true</code> always.
|
||||||
*/
|
*/
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
|
|
|
@ -97,7 +97,7 @@ public:
|
||||||
|
|
||||||
int getCheckInPacketsSinceLastReply() const { return _checkInPacketsSinceLastReply; }
|
int getCheckInPacketsSinceLastReply() const { return _checkInPacketsSinceLastReply; }
|
||||||
void sentCheckInPacket();
|
void sentCheckInPacket();
|
||||||
void domainListReceived() { _checkInPacketsSinceLastReply = 0; }
|
void clearPendingCheckins() { _checkInPacketsSinceLastReply = 0; }
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* <p>The reasons that you may be refused connection to a domain are defined by numeric values:</p>
|
* <p>The reasons that you may be refused connection to a domain are defined by numeric values:</p>
|
||||||
|
|
|
@ -594,6 +594,8 @@ void NodeList::processDomainServerConnectionTokenPacket(QSharedPointer<ReceivedM
|
||||||
}
|
}
|
||||||
// read in the connection token from the packet, then send domain-server checkin
|
// read in the connection token from the packet, then send domain-server checkin
|
||||||
_domainHandler.setConnectionToken(QUuid::fromRfc4122(message->readWithoutCopy(NUM_BYTES_RFC4122_UUID)));
|
_domainHandler.setConnectionToken(QUuid::fromRfc4122(message->readWithoutCopy(NUM_BYTES_RFC4122_UUID)));
|
||||||
|
|
||||||
|
_domainHandler.clearPendingCheckins();
|
||||||
sendDomainServerCheckIn();
|
sendDomainServerCheckIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -605,7 +607,7 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
||||||
}
|
}
|
||||||
|
|
||||||
// this is a packet from the domain server, reset the count of un-replied check-ins
|
// this is a packet from the domain server, reset the count of un-replied check-ins
|
||||||
_domainHandler.domainListReceived();
|
_domainHandler.clearPendingCheckins();
|
||||||
|
|
||||||
// emit our signal so listeners know we just heard from the DS
|
// emit our signal so listeners know we just heard from the DS
|
||||||
emit receivedDomainServerList();
|
emit receivedDomainServerList();
|
||||||
|
|
|
@ -397,7 +397,7 @@ void ObjectActionTractor::deserialize(QByteArray serializedArguments) {
|
||||||
|
|
||||||
EntityDynamicType type;
|
EntityDynamicType type;
|
||||||
dataStream >> type;
|
dataStream >> type;
|
||||||
assert(type == getType());
|
assert(type == getType() || type == DYNAMIC_TYPE_SPRING);
|
||||||
|
|
||||||
QUuid id;
|
QUuid id;
|
||||||
dataStream >> id;
|
dataStream >> id;
|
||||||
|
|
|
@ -186,36 +186,36 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.deleteAsset
|
* @function Assets.deleteAsset
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback = ""]
|
* @param {} [callback = ""]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void deleteAsset(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void deleteAsset(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.resolveAsset
|
* @function Assets.resolveAsset
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback = ""]
|
* @param {} [callback = ""]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void resolveAsset(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void resolveAsset(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.decompressData
|
* @function Assets.decompressData
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback = ""]
|
* @param {} [callback = ""]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void decompressData(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void decompressData(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.compressData
|
* @function Assets.compressData
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback = ""]
|
* @param {} [callback = ""]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void compressData(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void compressData(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
@ -229,7 +229,7 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.canWriteCacheValue
|
* @function Assets.canWriteCacheValue
|
||||||
* @property {string} url
|
* @param {string} url
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -237,8 +237,8 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.getCacheStatus
|
* @function Assets.getCacheStatus
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback=undefined]
|
* @param {} [callback=undefined]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void getCacheStatus(QScriptValue scope, QScriptValue callback = QScriptValue()) {
|
Q_INVOKABLE void getCacheStatus(QScriptValue scope, QScriptValue callback = QScriptValue()) {
|
||||||
|
@ -247,38 +247,38 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.queryCacheMeta
|
* @function Assets.queryCacheMeta
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback=undefined]
|
* @param {} [callback=undefined]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void queryCacheMeta(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void queryCacheMeta(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.loadFromCache
|
* @function Assets.loadFromCache
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback=undefined]
|
* @param {} [callback=undefined]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void loadFromCache(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void loadFromCache(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.saveToCache
|
* @function Assets.saveToCache
|
||||||
* @property {} options
|
* @param {} options
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback=undefined]
|
* @param {} [callback=undefined]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void saveToCache(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
Q_INVOKABLE void saveToCache(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Assets.saveToCache
|
* @function Assets.saveToCache
|
||||||
* @property {} url
|
* @param {} url
|
||||||
* @property {} data
|
* @param {} data
|
||||||
* @property {} metadata
|
* @param {} metadata
|
||||||
* @property {} scope
|
* @param {} scope
|
||||||
* @property {} [callback=undefined]
|
* @param {} [callback=undefined]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Q_INVOKABLE void saveToCache(const QUrl& url, const QByteArray& data, const QVariantMap& metadata,
|
Q_INVOKABLE void saveToCache(const QUrl& url, const QByteArray& data, const QVariantMap& metadata,
|
||||||
|
|
Loading…
Reference in a new issue