* 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.
This commit is contained in:
Adam Frisby
2008-04-29 14:04:55 +00:00
parent 9907c0fd10
commit 375163a6fe
64 changed files with 1283 additions and 1475 deletions

View File

@@ -34,6 +34,11 @@ namespace OpenSim.Framework
/// </summary>
public class InventoryFolderBase
{
/// <summary>
/// The UUID for this folder
/// </summary>
private LLUUID _id;
/// <summary>
/// The name of the folder (64 characters or less)
/// </summary>
@@ -49,11 +54,6 @@ namespace OpenSim.Framework
/// </summary>
private LLUUID _parentID;
/// <summary>
/// The UUID for this folder
/// </summary>
private LLUUID _id;
/// <summary>
/// Type of items normally stored in this folder
/// </summary>
@@ -65,59 +65,41 @@ namespace OpenSim.Framework
/// time to time (1.19.1 caused us some fits there).
/// </summary>
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; }
}
}
}
}