aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory/llparcel.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/llinventory/llparcel.h
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/llinventory/llparcel.h')
-rw-r--r--linden/indra/llinventory/llparcel.h44
1 files changed, 33 insertions, 11 deletions
diff --git a/linden/indra/llinventory/llparcel.h b/linden/indra/llinventory/llparcel.h
index 3144eb9..371b802 100644
--- a/linden/indra/llinventory/llparcel.h
+++ b/linden/indra/llinventory/llparcel.h
@@ -167,21 +167,39 @@ public:
167 167
168 // CREATORS 168 // CREATORS
169 LLParcel(); 169 LLParcel();
170 LLParcel( const LLUUID &owner_id, 170 LLParcel(
171 BOOL modify, BOOL terraform, BOOL damage, 171 const LLUUID &owner_id,
172 time_t claim_date, S32 claim_price, S32 rent_price, S32 area, S32 sim_object_limit, F32 parcel_object_bonus, 172 BOOL modify,
173 BOOL is_group_owned = FALSE); 173 BOOL terraform,
174 BOOL damage,
175 time_t claim_date,
176 S32 claim_price,
177 S32 rent_price,
178 S32 area,
179 S32 sim_object_limit,
180 F32 parcel_object_bonus,
181 BOOL is_group_owned = FALSE);
174 virtual ~LLParcel(); 182 virtual ~LLParcel();
175 183
176 void init( const LLUUID &owner_id, 184 void init(
177 BOOL modify, BOOL terraform, BOOL damage, 185 const LLUUID &owner_id,
178 time_t claim_date, S32 claim_price, S32 rent_price, 186 BOOL modify,
179 S32 area, S32 sim_object_limit, F32 parcel_object_bonus, BOOL is_group_owned = FALSE); 187 BOOL terraform,
188 BOOL damage,
189 time_t claim_date,
190 S32 claim_price,
191 S32 rent_price,
192 S32 area,
193 S32 sim_object_limit,
194 F32 parcel_object_bonus,
195 BOOL is_group_owned = FALSE);
180 196
181 // TODO: make an actual copy constructor for this 197 // TODO: make an actual copy constructor for this
182 void overrideParcelFlags(U32 flags); 198 void overrideParcelFlags(U32 flags);
183 // if you specify an agent id here, the group id will be zeroed 199 // if you specify an agent id here, the group id will be zeroed
184 void overrideOwner(const LLUUID& owner_id, BOOL is_group_owned = FALSE); 200 void overrideOwner(
201 const LLUUID& owner_id,
202 BOOL is_group_owned = FALSE);
185 void overrideSaleTimerExpires(F32 secs_left) { mSaleTimerExpires.setTimerExpirySec(secs_left); } 203 void overrideSaleTimerExpires(F32 secs_left) { mSaleTimerExpires.setTimerExpirySec(secs_left); }
186 204
187 // MANIPULATORS 205 // MANIPULATORS
@@ -211,7 +229,7 @@ public:
211 229
212 void setAuctionID(U32 auction_id) { mAuctionID = auction_id;} 230 void setAuctionID(U32 auction_id) { mAuctionID = auction_id;}
213 231
214 void setAllParcelFlags(U32 flags) { mParcelFlags = flags; } 232 void setAllParcelFlags(U32 flags);
215 void setParcelFlag(U32 flag, BOOL b); 233 void setParcelFlag(U32 flag, BOOL b);
216 234
217 void setArea(S32 area, S32 sim_object_limit); 235 void setArea(S32 area, S32 sim_object_limit);
@@ -410,6 +428,10 @@ public:
410 { return (mParcelFlags & PF_FOR_SALE) ? TRUE : FALSE; } 428 { return (mParcelFlags & PF_FOR_SALE) ? TRUE : FALSE; }
411 BOOL getSoundLocal() const 429 BOOL getSoundLocal() const
412 { return (mParcelFlags & PF_SOUND_LOCAL) ? TRUE : FALSE; } 430 { return (mParcelFlags & PF_SOUND_LOCAL) ? TRUE : FALSE; }
431 BOOL getVoiceEnabled() const
432 { return (mParcelFlags & PF_ALLOW_VOICE_CHAT) ? TRUE : FALSE; }
433 BOOL getVoiceUseEstateChannel() const
434 { return (mParcelFlags & PF_USE_ESTATE_VOICE_CHAN) ? TRUE : FALSE; }
413 BOOL getAllowPublish() const 435 BOOL getAllowPublish() const
414 { return (mParcelFlags & PF_ALLOW_PUBLISH) ? TRUE : FALSE; } 436 { return (mParcelFlags & PF_ALLOW_PUBLISH) ? TRUE : FALSE; }
415 BOOL getMaturePublish() const 437 BOOL getMaturePublish() const