Started to clean up/ rewrite Primitive class , currently the new version is called Primitive2 and not used, but once it is complete then it will replace the old version.

This commit is contained in:
MW
2007-04-04 11:06:39 +00:00
parent 5e81e7ed9d
commit a70ef1c2cb
6 changed files with 160 additions and 181 deletions

View File

@@ -207,13 +207,26 @@ namespace OpenSim.Framework.Inventory
public LLUUID CreatorID;
public sbyte InvType;
public sbyte Type;
public string Name;
public string Name ="";
public string Description;
public InventoryItem()
{
this.CreatorID = LLUUID.Zero;
}
public string ExportString()
{
string typ = "notecard";
string result = "";
result += "\tinv_object\t0\n\t{\n";
result += "\t\tobj_id\t%s\n";
result += "\t\tparent_id\t"+ ItemID.ToString() +"\n";
result += "\t\ttype\t"+ typ +"\n";
result += "\t\tname\t" + Name+"|\n";
result += "\t}\n";
return result;
}
}
public class AvatarWearable