summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-18 13:52:07 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-18 13:52:07 +0800
commitc6048b2a8e18877f3f8bd0a7e190c553a3caa9a5 (patch)
tree5e5b921f08012b20a5ae940d4f8ac4bd95e2f444 /indra/newview/llagent.h
parent04081678eeaa1d56cecc1c68aa358d255addf81d (diff)
parent09a3bac9436af1b6077fb27885c8c6c645f40a8e (diff)
Merge branch 'main' into 2025.05
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index c1d3c6c14b..b475782946 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -446,6 +446,16 @@ public:
void standUp();
/// @brief ground-sit at agent's current position
void sitDown();
+ bool isAllowedToStand() const { return mAllowedToStand; }
+ void setAllowedToStand(bool allow) { mAllowedToStand = allow; }
+ bool isAllowedToSit() const { return mAllowedToSit; }
+ void setAllowedToSit(bool allow) { mAllowedToSit = allow; }
+ const LLUUID& getSitObjectID() const { return mSitObjectID; }
+ void setSitObjectID(const LLUUID& objectID) { mSitObjectID = objectID; }
+private:
+ bool mAllowedToStand;
+ bool mAllowedToSit;
+ LLUUID mSitObjectID;
//--------------------------------------------------------------------
// Do Not Disturb