From 375163a6fece8b3a57c7555246abe8338223a599 Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Tue, 29 Apr 2008 14:04:55 +0000
Subject: * 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.
---
OpenSim/Framework/InventoryFolderBase.cs | 80 +++++++++++++-------------------
1 file changed, 31 insertions(+), 49 deletions(-)
(limited to 'OpenSim/Framework/InventoryFolderBase.cs')
diff --git a/OpenSim/Framework/InventoryFolderBase.cs b/OpenSim/Framework/InventoryFolderBase.cs
index d3af3c7..910f7da 100644
--- a/OpenSim/Framework/InventoryFolderBase.cs
+++ b/OpenSim/Framework/InventoryFolderBase.cs
@@ -35,6 +35,11 @@ namespace OpenSim.Framework
public class InventoryFolderBase
{
///
+ /// The UUID for this folder
+ ///
+ private LLUUID _id;
+
+ ///
/// The name of the folder (64 characters or less)
///
private string _name;
@@ -50,11 +55,6 @@ namespace OpenSim.Framework
private LLUUID _parentID;
///
- /// The UUID for this folder
- ///
- private LLUUID _id;
-
- ///
/// Type of items normally stored in this folder
///
private short _type;
@@ -65,59 +65,41 @@ namespace OpenSim.Framework
/// time to time (1.19.1 caused us some fits there).
///
private ushort _version;
-
- public string Name {
- get {
- return _name;
- }
- set {
- _name = value;
- }
+
+ public string Name
+ {
+ get { return _name; }
+ set { _name = value; }
}
- public LLUUID Owner {
- get {
- return _owner;
- }
- set {
- _owner = value;
- }
+ public LLUUID Owner
+ {
+ get { return _owner; }
+ set { _owner = value; }
}
- public LLUUID ParentID {
- get {
- return _parentID;
- }
- set {
- _parentID = value;
- }
+ public LLUUID ParentID
+ {
+ get { return _parentID; }
+ set { _parentID = value; }
}
- public LLUUID ID {
- get {
- return _id;
- }
- set {
- _id = value;
- }
+ public LLUUID ID
+ {
+ get { return _id; }
+ set { _id = value; }
}
- public short Type {
- get {
- return _type;
- }
- set {
- _type = value;
- }
+ public short Type
+ {
+ get { return _type; }
+ set { _type = value; }
}
- public ushort Version {
- get {
- return _version;
- }
- set {
- _version = value;
- }
+ public ushort Version
+ {
+ get { return _version; }
+ set { _version = value; }
}
}
-}
+}
\ No newline at end of file
--
cgit v1.1