mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
put some useless consts back
This commit is contained in:
parent
f6a0004f26
commit
a1096510e8
2 changed files with 4 additions and 4 deletions
|
@ -1776,7 +1776,7 @@ void EntityItem::serializeActions(bool& success, QByteArray& result) const {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray EntityItem::getActionDataInternal() const {
|
const QByteArray EntityItem::getActionDataInternal() const {
|
||||||
if (_actionDataDirty) {
|
if (_actionDataDirty) {
|
||||||
bool success;
|
bool success;
|
||||||
serializeActions(success, _allActionsDataCache);
|
serializeActions(success, _allActionsDataCache);
|
||||||
|
@ -1787,7 +1787,7 @@ QByteArray EntityItem::getActionDataInternal() const {
|
||||||
return _allActionsDataCache;
|
return _allActionsDataCache;
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray EntityItem::getActionData() const {
|
const QByteArray EntityItem::getActionData() const {
|
||||||
QByteArray result;
|
QByteArray result;
|
||||||
assertUnlocked();
|
assertUnlocked();
|
||||||
|
|
||||||
|
|
|
@ -401,7 +401,7 @@ public:
|
||||||
bool removeAction(EntitySimulation* simulation, const QUuid& actionID);
|
bool removeAction(EntitySimulation* simulation, const QUuid& actionID);
|
||||||
bool clearActions(EntitySimulation* simulation);
|
bool clearActions(EntitySimulation* simulation);
|
||||||
void setActionData(QByteArray actionData);
|
void setActionData(QByteArray actionData);
|
||||||
QByteArray getActionData() const;
|
const QByteArray getActionData() const;
|
||||||
bool hasActions() { return !_objectActions.empty(); }
|
bool hasActions() { return !_objectActions.empty(); }
|
||||||
QList<QUuid> getActionIDs() { return _objectActions.keys(); }
|
QList<QUuid> getActionIDs() { return _objectActions.keys(); }
|
||||||
QVariantMap getActionArguments(const QUuid& actionID) const;
|
QVariantMap getActionArguments(const QUuid& actionID) const;
|
||||||
|
@ -415,7 +415,7 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
QByteArray getActionDataInternal() const;
|
const QByteArray getActionDataInternal() const;
|
||||||
void setActionDataInternal(QByteArray actionData);
|
void setActionDataInternal(QByteArray actionData);
|
||||||
|
|
||||||
static bool _sendPhysicsUpdates;
|
static bool _sendPhysicsUpdates;
|
||||||
|
|
Loading…
Reference in a new issue