diff options
author | mingchen | 2007-06-07 00:04:50 +0000 |
---|---|---|
committer | mingchen | 2007-06-07 00:04:50 +0000 |
commit | a12a495c22817f901792fd9e11c2a4b4a5c628a8 (patch) | |
tree | 55d710d872da255036d3003b58e85efa2706be87 /Common | |
parent | If this is what it takes, then fine (diff) | |
download | opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.zip opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.gz opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.bz2 opensim-SC-a12a495c22817f901792fd9e11c2a4b4a5c628a8.tar.xz |
*Added support to change most of a parcel's settings and flags (from the about land box)
*Added the rest of the member variables relating to parcels in the ParcelData class
Diffstat (limited to 'Common')
-rw-r--r-- | Common/OpenSim.Framework/Types/ParcelData.cs | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Common/OpenSim.Framework/Types/ParcelData.cs b/Common/OpenSim.Framework/Types/ParcelData.cs index b5c3946..53dbbbd 100644 --- a/Common/OpenSim.Framework/Types/ParcelData.cs +++ b/Common/OpenSim.Framework/Types/ParcelData.cs | |||
@@ -26,10 +26,20 @@ namespace OpenSim.Framework.Types | |||
26 | public int salePrice = 0; //Unemeplemented. Parcels price. | 26 | public int salePrice = 0; //Unemeplemented. Parcels price. |
27 | public libsecondlife.Parcel.ParcelStatus parcelStatus = libsecondlife.Parcel.ParcelStatus.None; | 27 | public libsecondlife.Parcel.ParcelStatus parcelStatus = libsecondlife.Parcel.ParcelStatus.None; |
28 | public libsecondlife.Parcel.ParcelFlags parcelFlags = libsecondlife.Parcel.ParcelFlags.None; | 28 | public libsecondlife.Parcel.ParcelFlags parcelFlags = libsecondlife.Parcel.ParcelFlags.None; |
29 | 29 | public byte landingType = 0; | |
30 | public byte mediaAutoScale = 0; | ||
31 | public LLUUID mediaID = LLUUID.Zero; | ||
30 | public int localID = 0; | 32 | public int localID = 0; |
31 | public LLUUID globalID = new LLUUID(); | 33 | public LLUUID globalID = new LLUUID(); |
32 | 34 | ||
35 | public string mediaURL = ""; | ||
36 | public string musicURL = ""; | ||
37 | public float passHours = 0; | ||
38 | public int passPrice = 0; | ||
39 | public LLUUID snapshotID = LLUUID.Zero; | ||
40 | public LLVector3 userLocation = new LLVector3(); | ||
41 | public LLVector3 userLookAt = new LLVector3(); | ||
42 | |||
33 | public ParcelData() | 43 | public ParcelData() |
34 | { | 44 | { |
35 | globalID = LLUUID.Random(); | 45 | globalID = LLUUID.Random(); |
@@ -52,13 +62,23 @@ namespace OpenSim.Framework.Types | |||
52 | parcelData.groupPrims = this.groupPrims; | 62 | parcelData.groupPrims = this.groupPrims; |
53 | parcelData.isGroupOwned = this.isGroupOwned; | 63 | parcelData.isGroupOwned = this.isGroupOwned; |
54 | parcelData.localID = this.localID; | 64 | parcelData.localID = this.localID; |
65 | parcelData.landingType = this.landingType; | ||
66 | parcelData.mediaAutoScale = this.mediaAutoScale; | ||
67 | parcelData.mediaID = this.mediaID; | ||
68 | parcelData.mediaURL = this.mediaURL; | ||
69 | parcelData.musicURL = this.musicURL; | ||
55 | parcelData.ownerID = this.ownerID; | 70 | parcelData.ownerID = this.ownerID; |
56 | parcelData.parcelBitmapByteArray = (byte[])this.parcelBitmapByteArray.Clone(); | 71 | parcelData.parcelBitmapByteArray = (byte[])this.parcelBitmapByteArray.Clone(); |
57 | parcelData.parcelDesc = this.parcelDesc; | 72 | parcelData.parcelDesc = this.parcelDesc; |
58 | parcelData.parcelFlags = this.parcelFlags; | 73 | parcelData.parcelFlags = this.parcelFlags; |
59 | parcelData.parcelName = this.parcelName; | 74 | parcelData.parcelName = this.parcelName; |
60 | parcelData.parcelStatus = this.parcelStatus; | 75 | parcelData.parcelStatus = this.parcelStatus; |
76 | parcelData.passHours = this.passHours; | ||
77 | parcelData.passPrice = this.passPrice; | ||
61 | parcelData.salePrice = this.salePrice; | 78 | parcelData.salePrice = this.salePrice; |
79 | parcelData.snapshotID = this.snapshotID; | ||
80 | parcelData.userLocation = this.userLocation; | ||
81 | parcelData.userLookAt = this.userLookAt; | ||
62 | 82 | ||
63 | return parcelData; | 83 | return parcelData; |
64 | 84 | ||