turn fields -> properties in TaskInventoryItem

0.6.0-stable
Sean Dague 2008-07-23 19:28:18 +00:00
parent db06e628de
commit aad92e1368
1 changed files with 212 additions and 23 deletions

View File

@ -203,29 +203,218 @@ namespace OpenSim.Framework
"gesture" "gesture"
}; };
public LLUUID AssetID = LLUUID.Zero; private LLUUID _assetID = LLUUID.Zero;
public uint BaseMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _baseMask = FULL_MASK_PERMISSIONS_GENERAL;
public uint CreationDate = 0; private uint _creationDate = 0;
public LLUUID CreatorID = LLUUID.Zero; private LLUUID _creatorID = LLUUID.Zero;
public string Description = String.Empty; private string _description = String.Empty;
public uint EveryoneMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _everyoneMask = FULL_MASK_PERMISSIONS_GENERAL;
public uint Flags = 0; private uint _flags = 0;
public LLUUID GroupID = LLUUID.Zero; private LLUUID _groupID = LLUUID.Zero;
public uint GroupMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _groupMask = FULL_MASK_PERMISSIONS_GENERAL;
public int InvType = 0; private int _invType = 0;
public LLUUID ItemID = LLUUID.Zero; private LLUUID _itemID = LLUUID.Zero;
public LLUUID LastOwnerID = LLUUID.Zero; private LLUUID _lastOwnerID = LLUUID.Zero;
public string Name = String.Empty; private string _name = String.Empty;
public uint NextOwnerMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _nextOwnerMask = FULL_MASK_PERMISSIONS_GENERAL;
public LLUUID OwnerID = LLUUID.Zero; private LLUUID _ownerID = LLUUID.Zero;
public uint OwnerMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _ownerMask = FULL_MASK_PERMISSIONS_GENERAL;
public LLUUID ParentID = LLUUID.Zero; //parent folder id private LLUUID _parentID = LLUUID.Zero; //parent folder id
public LLUUID ParentPartID = LLUUID.Zero; private LLUUID _parentPartID = LLUUID.Zero; // SceneObjectPart this is inside
public LLUUID PermsGranter; private LLUUID _permsGranter;
public int PermsMask; private int _permsMask;
public int Type = 0; private int _type = 0;
public LLUUID AssetID {
get {
return _assetID;
}
set {
_assetID = value;
}
}
public uint BaseMask {
get {
return _baseMask;
}
set {
_baseMask = value;
}
}
public uint CreationDate {
get {
return _creationDate;
}
set {
_creationDate = value;
}
}
public LLUUID CreatorID {
get {
return _creatorID;
}
set {
_creatorID = value;
}
}
public string Description {
get {
return _description;
}
set {
_description = value;
}
}
public uint EveryoneMask {
get {
return _everyoneMask;
}
set {
_everyoneMask = value;
}
}
public uint Flags {
get {
return _flags;
}
set {
_flags = value;
}
}
public LLUUID GroupID {
get {
return _groupID;
}
set {
_groupID = value;
}
}
public uint GroupMask {
get {
return _groupMask;
}
set {
_groupMask = value;
}
}
public int InvType {
get {
return _invType;
}
set {
_invType = value;
}
}
public LLUUID ItemID {
get {
return _itemID;
}
set {
_itemID = value;
}
}
public LLUUID LastOwnerID {
get {
return _lastOwnerID;
}
set {
_lastOwnerID = value;
}
}
public string Name {
get {
return _name;
}
set {
_name = value;
}
}
public uint NextOwnerMask {
get {
return _nextOwnerMask;
}
set {
_nextOwnerMask = value;
}
}
public LLUUID OwnerID {
get {
return _ownerID;
}
set {
_ownerID = value;
}
}
public uint OwnerMask {
get {
return _ownerMask;
}
set {
_ownerMask = value;
}
}
public LLUUID ParentID {
get {
return _parentID;
}
set {
_parentID = value;
}
}
public LLUUID ParentPartID {
get {
return _parentPartID;
}
set {
_parentPartID = value;
}
}
public LLUUID PermsGranter {
get {
return _permsGranter;
}
set {
_permsGranter = value;
}
}
public int PermsMask {
get {
return _permsMask;
}
set {
_permsMask = value;
}
}
public int Type {
get {
return _type;
}
set {
_type = value;
}
}
// See ICloneable // See ICloneable
@ -244,8 +433,8 @@ namespace OpenSim.Framework
/// <param name="partID">The new part ID to which this item belongs</param> /// <param name="partID">The new part ID to which this item belongs</param>
public void ResetIDs(LLUUID partID) public void ResetIDs(LLUUID partID)
{ {
ItemID = LLUUID.Random(); _itemID = LLUUID.Random();
ParentPartID = partID; _parentPartID = partID;
} }
} }
} }