summaryrefslogtreecommitdiff
path: root/indra/newview/lluilistener.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-05-30 21:48:31 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-05-30 21:48:31 +0300
commit3fc2aa78f371f7f3da4a3c485293492c68e9b2c8 (patch)
treee68acd8065c817401b3cd4f87fc640d3cd23edd7 /indra/newview/lluilistener.h
parentf2f3ed08db9709fbb0f4c48c0d9e39c450207383 (diff)
Add separate minor throttle period for UNTRUSTED_ALLOW funcs
Diffstat (limited to 'indra/newview/lluilistener.h')
-rw-r--r--indra/newview/lluilistener.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lluilistener.h b/indra/newview/lluilistener.h
index e53984dae2..790284a27a 100644
--- a/indra/newview/lluilistener.h
+++ b/indra/newview/lluilistener.h
@@ -41,8 +41,12 @@ public:
// FIXME These fields are intended to be private, changed here to support very hacky code in llluamanager.cpp
public:
- void call(const LLSD& event) const;
+ void call(const LLSD& event);
void getValue(const LLSD&event) const;
+
+ private:
+ F64 mLastUntrustedThrottle {0.f};
+ F64 mLastMinThrottle {0.f};
};
#endif /* ! defined(LL_LLUILISTENER_H) */