aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/LandData.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-29 14:04:55 +0000
committerAdam Frisby2008-04-29 14:04:55 +0000
commit375163a6fece8b3a57c7555246abe8338223a599 (patch)
tree163001ca96a4b4d08589e9772f78510677d5d0dc /OpenSim/Framework/LandData.cs
parentPatch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! (diff)
downloadopensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.zip
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.gz
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.bz2
opensim-SC_OLD-375163a6fece8b3a57c7555246abe8338223a599.tar.xz
* Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
Diffstat (limited to 'OpenSim/Framework/LandData.cs')
-rw-r--r--OpenSim/Framework/LandData.cs35
1 files changed, 17 insertions, 18 deletions
diff --git a/OpenSim/Framework/LandData.cs b/OpenSim/Framework/LandData.cs
index 6d2c5d7..68c4c2e 100644
--- a/OpenSim/Framework/LandData.cs
+++ b/OpenSim/Framework/LandData.cs
@@ -33,28 +33,20 @@ namespace OpenSim.Framework
33{ 33{
34 public class LandData 34 public class LandData
35 { 35 {
36 public byte[] landBitmapByteArray = new byte[512];
37 public string landName = "Your Parcel";
38 public string landDesc = String.Empty;
39 public LLUUID ownerID = LLUUID.Zero;
40 public bool isGroupOwned = false;
41 public LLVector3 AABBMin = new LLVector3();
42 public LLVector3 AABBMax = new LLVector3(); 36 public LLVector3 AABBMax = new LLVector3();
37 public LLVector3 AABBMin = new LLVector3();
43 public int area = 0; 38 public int area = 0;
44 public uint auctionID = 0; //Unemplemented. If set to 0, not being auctioned 39 public uint auctionID = 0; //Unemplemented. If set to 0, not being auctioned
45 public LLUUID authBuyerID = LLUUID.Zero; //Unemplemented. Authorized Buyer's UUID 40 public LLUUID authBuyerID = LLUUID.Zero; //Unemplemented. Authorized Buyer's UUID
46 public Parcel.ParcelCategory category = new Parcel.ParcelCategory(); //Unemplemented. Parcel's chosen category 41 public Parcel.ParcelCategory category = new Parcel.ParcelCategory(); //Unemplemented. Parcel's chosen category
47 public int claimDate = 0; //Unemplemented 42 public int claimDate = 0; //Unemplemented
48 public int claimPrice = 0; //Unemplemented 43 public int claimPrice = 0; //Unemplemented
44 public LLUUID globalID = LLUUID.Zero;
49 public LLUUID groupID = LLUUID.Zero; //Unemplemented 45 public LLUUID groupID = LLUUID.Zero; //Unemplemented
50 public int groupPrims = 0; 46 public int groupPrims = 0;
51 public int otherPrims = 0; 47 public bool isGroupOwned = false;
52 public int ownerPrims = 0; 48 public byte[] landBitmapByteArray = new byte[512];
53 public int selectedPrims = 0; 49 public string landDesc = String.Empty;
54 public int simwidePrims = 0;
55 public int simwideArea = 0;
56 public int salePrice = 0; //Unemeplemented. Parcels price.
57 public Parcel.ParcelStatus landStatus = Parcel.ParcelStatus.Leased;
58 50
59 51
60 public uint landFlags = (uint) Parcel.ParcelFlags.AllowFly | (uint) Parcel.ParcelFlags.AllowLandmark | 52 public uint landFlags = (uint) Parcel.ParcelFlags.AllowFly | (uint) Parcel.ParcelFlags.AllowLandmark |
@@ -64,21 +56,28 @@ namespace OpenSim.Framework
64 (uint) Parcel.ParcelFlags.SoundLocal; 56 (uint) Parcel.ParcelFlags.SoundLocal;
65 57
66 public byte landingType = 0; 58 public byte landingType = 0;
59 public string landName = "Your Parcel";
60 public Parcel.ParcelStatus landStatus = Parcel.ParcelStatus.Leased;
61 public int localID = 0;
67 public byte mediaAutoScale = 0; 62 public byte mediaAutoScale = 0;
68 public LLUUID mediaID = LLUUID.Zero; 63 public LLUUID mediaID = LLUUID.Zero;
69 public int localID = 0;
70 public LLUUID globalID = LLUUID.Zero;
71 64
72 public string mediaURL = String.Empty; 65 public string mediaURL = String.Empty;
73 public string musicURL = String.Empty; 66 public string musicURL = String.Empty;
67 public int otherPrims = 0;
68 public LLUUID ownerID = LLUUID.Zero;
69 public int ownerPrims = 0;
70 public List<ParcelManager.ParcelAccessEntry> parcelAccessList = new List<ParcelManager.ParcelAccessEntry>();
74 public float passHours = 0; 71 public float passHours = 0;
75 public int passPrice = 0; 72 public int passPrice = 0;
73 public int salePrice = 0; //Unemeplemented. Parcels price.
74 public int selectedPrims = 0;
75 public int simwideArea = 0;
76 public int simwidePrims = 0;
76 public LLUUID snapshotID = LLUUID.Zero; 77 public LLUUID snapshotID = LLUUID.Zero;
77 public LLVector3 userLocation = new LLVector3(); 78 public LLVector3 userLocation = new LLVector3();
78 public LLVector3 userLookAt = new LLVector3(); 79 public LLVector3 userLookAt = new LLVector3();
79 80
80 public List<ParcelManager.ParcelAccessEntry> parcelAccessList = new List<ParcelManager.ParcelAccessEntry>();
81
82 public LandData() 81 public LandData()
83 { 82 {
84 globalID = LLUUID.Random(); 83 globalID = LLUUID.Random();
@@ -136,4 +135,4 @@ namespace OpenSim.Framework
136 return landData; 135 return landData;
137 } 136 }
138 } 137 }
139} 138} \ No newline at end of file