mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 16:30:10 +02:00
Javascript methods to getAvatars listing and getAvatar from id.
This commit is contained in:
parent
f25cc93936
commit
770282ad88
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ public:
|
|||
|
||||
Q_INVOKABLE void setLocalLights(const QVector<AvatarManager::LocalLight>& localLights);
|
||||
Q_INVOKABLE QVector<AvatarManager::LocalLight> getLocalLights() const;
|
||||
// Currently, your own avatar will be included as the null avatar id.
|
||||
Q_INVOKABLE QVector<QUuid> getAvatars() const { return _avatarHash.keys().toVector(); }
|
||||
// Minor Bug: A bogus avatarID answers your own avatar.
|
||||
Q_INVOKABLE AvatarData* getAvatar(QUuid avatarID) const { return _avatarHash[avatarID].get(); }
|
||||
|
||||
void getObjectsToDelete(VectorOfMotionStates& motionStates);
|
||||
void getObjectsToAdd(VectorOfMotionStates& motionStates);
|
||||
|
|
Loading…
Reference in a new issue