aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory/llparcel.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llinventory/llparcel.h')
-rw-r--r--linden/indra/llinventory/llparcel.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/linden/indra/llinventory/llparcel.h b/linden/indra/llinventory/llparcel.h
index 3af1824..a8143f2 100644
--- a/linden/indra/llinventory/llparcel.h
+++ b/linden/indra/llinventory/llparcel.h
@@ -253,8 +253,7 @@ public:
253 void setForSale(BOOL b) { setParcelFlag(PF_FOR_SALE, b); } 253 void setForSale(BOOL b) { setParcelFlag(PF_FOR_SALE, b); }
254 void setSoundOnly(BOOL b) { setParcelFlag(PF_SOUND_LOCAL, b); } 254 void setSoundOnly(BOOL b) { setParcelFlag(PF_SOUND_LOCAL, b); }
255 void setDenyAnonymous(BOOL b) { setParcelFlag(PF_DENY_ANONYMOUS, b); } 255 void setDenyAnonymous(BOOL b) { setParcelFlag(PF_DENY_ANONYMOUS, b); }
256 void setDenyIdentified(BOOL b) { setParcelFlag(PF_DENY_IDENTIFIED, b); } 256 void setDenyAgeUnverified(BOOL b) { setParcelFlag(PF_DENY_AGEUNVERIFIED, b); }
257 void setDenyTransacted(BOOL b) { setParcelFlag(PF_DENY_TRANSACTED, b); }
258 void setRestrictPushObject(BOOL b) { setParcelFlag(PF_RESTRICT_PUSHOBJECT, b); } 257 void setRestrictPushObject(BOOL b) { setParcelFlag(PF_RESTRICT_PUSHOBJECT, b); }
259 258
260 void setDrawDistance(F32 dist) { mDrawDistance = dist; } 259 void setDrawDistance(F32 dist) { mDrawDistance = dist; }
@@ -444,10 +443,8 @@ public:
444 { return mRegionPushOverride; } 443 { return mRegionPushOverride; }
445 BOOL getRegionDenyAnonymousOverride() const 444 BOOL getRegionDenyAnonymousOverride() const
446 { return mRegionDenyAnonymousOverride; } 445 { return mRegionDenyAnonymousOverride; }
447 BOOL getRegionDenyIdentifiedOverride() const 446 BOOL getRegionDenyAgeUnverifiedOverride() const
448 { return mRegionDenyIdentifiedOverride; } 447 { return mRegionDenyAgeUnverifiedOverride; }
449 BOOL getRegionDenyTransactedOverride() const
450 { return mRegionDenyTransactedOverride; }
451 448
452 F32 getDrawDistance() const { return mDrawDistance; } 449 F32 getDrawDistance() const { return mDrawDistance; }
453 S32 getSalePrice() const { return mSalePrice; } 450 S32 getSalePrice() const { return mSalePrice; }
@@ -471,7 +468,11 @@ public:
471 BOOL allowTerraformBy(const LLUUID &agent_id) const; 468 BOOL allowTerraformBy(const LLUUID &agent_id) const;
472 469
473 // Returns 0 if access is OK, otherwise a BA_ return code above. 470 // Returns 0 if access is OK, otherwise a BA_ return code above.
474 S32 blockAccess(const LLUUID& agent_id, const LLUUID& group_id, const BOOL is_agent_identified, const BOOL is_agent_transacted) const; 471 S32 blockAccess(const LLUUID& agent_id,
472 const LLUUID& group_id,
473 const BOOL is_agent_identified,
474 const BOOL is_agent_transacted,
475 const BOOL is_agent_ageverified) const;
475 476
476 // Only checks if the agent is explicitly banned from this parcel 477 // Only checks if the agent is explicitly banned from this parcel
477 BOOL isAgentBanned(const LLUUID& agent_id) const; 478 BOOL isAgentBanned(const LLUUID& agent_id) const;
@@ -480,7 +481,8 @@ public:
480 const LLUUID& agent_id, 481 const LLUUID& agent_id,
481 const std::vector<LLUUID>& group_ids, 482 const std::vector<LLUUID>& group_ids,
482 const BOOL is_agent_identified, 483 const BOOL is_agent_identified,
483 const BOOL is_agent_transacted); 484 const BOOL is_agent_transacted,
485 const BOOL is_agent_ageverified);
484 486
485 bool operator==(const LLParcel &rhs) const; 487 bool operator==(const LLParcel &rhs) const;
486 488
@@ -524,8 +526,7 @@ public:
524 void setCleanOtherTime(S32 time) { mCleanOtherTime = time; } 526 void setCleanOtherTime(S32 time) { mCleanOtherTime = time; }
525 void setRegionPushOverride(BOOL override) {mRegionPushOverride = override; } 527 void setRegionPushOverride(BOOL override) {mRegionPushOverride = override; }
526 void setRegionDenyAnonymousOverride(BOOL override) { mRegionDenyAnonymousOverride = override; } 528 void setRegionDenyAnonymousOverride(BOOL override) { mRegionDenyAnonymousOverride = override; }
527 void setRegionDenyIdentifiedOverride(BOOL override) { mRegionDenyIdentifiedOverride = override; } 529 void setRegionDenyAgeUnverifiedOverride(BOOL override) { mRegionDenyAgeUnverifiedOverride = override; }
528 void setRegionDenyTransactedOverride(BOOL override) { mRegionDenyTransactedOverride = override; }
529 530
530 // Accessors for parcel sellWithObjects 531 // Accessors for parcel sellWithObjects
531 void setPreviousOwnerID(LLUUID prev_owner) { mPreviousOwnerID = prev_owner; } 532 void setPreviousOwnerID(LLUUID prev_owner) { mPreviousOwnerID = prev_owner; }
@@ -594,8 +595,7 @@ protected:
594 S32 mCleanOtherTime; 595 S32 mCleanOtherTime;
595 BOOL mRegionPushOverride; 596 BOOL mRegionPushOverride;
596 BOOL mRegionDenyAnonymousOverride; 597 BOOL mRegionDenyAnonymousOverride;
597 BOOL mRegionDenyIdentifiedOverride; 598 BOOL mRegionDenyAgeUnverifiedOverride;
598 BOOL mRegionDenyTransactedOverride;
599 599
600 600
601public: 601public: