aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.API.cs
diff options
context:
space:
mode:
authorMW2007-07-25 19:18:34 +0000
committerMW2007-07-25 19:18:34 +0000
commit74654dc7351baf092ecae12c90a236ec43c86c98 (patch)
treebfff64c22423a0949bb298f676685c84a8257732 /OpenSim/Region/ClientStack/ClientView.API.cs
parentStart of the OpenSim library , for now only contains a few textures. (diff)
downloadopensim-SC-74654dc7351baf092ecae12c90a236ec43c86c98.zip
opensim-SC-74654dc7351baf092ecae12c90a236ec43c86c98.tar.gz
opensim-SC-74654dc7351baf092ecae12c90a236ec43c86c98.tar.bz2
opensim-SC-74654dc7351baf092ecae12c90a236ec43c86c98.tar.xz
Added the default shape to the OpenSim library. Now need to get the new ruth into asset format and add that.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index 2f5c5c3..0da89a1 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -526,19 +526,19 @@ namespace OpenSim.Region.ClientStack
526 descend.ItemData[i].ItemID = item.inventoryID; 526 descend.ItemData[i].ItemID = item.inventoryID;
527 descend.ItemData[i].AssetID = item.assetID; 527 descend.ItemData[i].AssetID = item.assetID;
528 descend.ItemData[i].CreatorID = item.creatorsID; 528 descend.ItemData[i].CreatorID = item.creatorsID;
529 descend.ItemData[i].BaseMask = FULL_MASK_PERMISSIONS; 529 descend.ItemData[i].BaseMask = item.inventoryBasePermissions;
530 descend.ItemData[i].CreationDate = 1000; 530 descend.ItemData[i].CreationDate = 1000;
531 descend.ItemData[i].Description = enc.GetBytes(item.inventoryDescription+ "\0"); 531 descend.ItemData[i].Description = enc.GetBytes(item.inventoryDescription+ "\0");
532 descend.ItemData[i].EveryoneMask = FULL_MASK_PERMISSIONS; 532 descend.ItemData[i].EveryoneMask = item.inventoryEveryOnePermissions;
533 descend.ItemData[i].Flags = 1; 533 descend.ItemData[i].Flags = 1;
534 descend.ItemData[i].FolderID = item.parentFolderID; 534 descend.ItemData[i].FolderID = item.parentFolderID;
535 descend.ItemData[i].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000"); 535 descend.ItemData[i].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000");
536 descend.ItemData[i].GroupMask = FULL_MASK_PERMISSIONS; 536 descend.ItemData[i].GroupMask = 0;
537 descend.ItemData[i].InvType = (sbyte)item.type; 537 descend.ItemData[i].InvType = (sbyte)item.type;
538 descend.ItemData[i].Name = enc.GetBytes(item.inventoryName+ "\0"); 538 descend.ItemData[i].Name = enc.GetBytes(item.inventoryName+ "\0");
539 descend.ItemData[i].NextOwnerMask = FULL_MASK_PERMISSIONS; 539 descend.ItemData[i].NextOwnerMask = item.inventoryNextPermissions;
540 descend.ItemData[i].OwnerID = item.avatarID; 540 descend.ItemData[i].OwnerID = item.avatarID;
541 descend.ItemData[i].OwnerMask = FULL_MASK_PERMISSIONS; 541 descend.ItemData[i].OwnerMask = item.inventoryCurrentPermissions;
542 descend.ItemData[i].SalePrice = 0; 542 descend.ItemData[i].SalePrice = 0;
543 descend.ItemData[i].SaleType = 0; 543 descend.ItemData[i].SaleType = 0;
544 descend.ItemData[i].Type = (sbyte)item.type; 544 descend.ItemData[i].Type = (sbyte)item.type;
@@ -562,19 +562,19 @@ namespace OpenSim.Region.ClientStack
562 inventoryReply.InventoryData[0].ItemID = item.inventoryID; 562 inventoryReply.InventoryData[0].ItemID = item.inventoryID;
563 inventoryReply.InventoryData[0].AssetID = item.assetID; 563 inventoryReply.InventoryData[0].AssetID = item.assetID;
564 inventoryReply.InventoryData[0].CreatorID = item.creatorsID; 564 inventoryReply.InventoryData[0].CreatorID = item.creatorsID;
565 inventoryReply.InventoryData[0].BaseMask = FULL_MASK_PERMISSIONS; 565 inventoryReply.InventoryData[0].BaseMask = item.inventoryBasePermissions;
566 inventoryReply.InventoryData[0].CreationDate = (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; 566 inventoryReply.InventoryData[0].CreationDate = (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
567 inventoryReply.InventoryData[0].Description = enc.GetBytes(item.inventoryDescription + "\0"); 567 inventoryReply.InventoryData[0].Description = enc.GetBytes(item.inventoryDescription + "\0");
568 inventoryReply.InventoryData[0].EveryoneMask = FULL_MASK_PERMISSIONS; 568 inventoryReply.InventoryData[0].EveryoneMask = item.inventoryEveryOnePermissions;
569 inventoryReply.InventoryData[0].Flags = 0; 569 inventoryReply.InventoryData[0].Flags = 0;
570 inventoryReply.InventoryData[0].FolderID = item.parentFolderID; 570 inventoryReply.InventoryData[0].FolderID = item.parentFolderID;
571 inventoryReply.InventoryData[0].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000"); 571 inventoryReply.InventoryData[0].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000");
572 inventoryReply.InventoryData[0].GroupMask = FULL_MASK_PERMISSIONS; 572 inventoryReply.InventoryData[0].GroupMask = 0;
573 inventoryReply.InventoryData[0].InvType = (sbyte)item.type; 573 inventoryReply.InventoryData[0].InvType = (sbyte)item.type;
574 inventoryReply.InventoryData[0].Name = enc.GetBytes(item.inventoryName + "\0"); 574 inventoryReply.InventoryData[0].Name = enc.GetBytes(item.inventoryName + "\0");
575 inventoryReply.InventoryData[0].NextOwnerMask = FULL_MASK_PERMISSIONS; 575 inventoryReply.InventoryData[0].NextOwnerMask = item.inventoryNextPermissions;
576 inventoryReply.InventoryData[0].OwnerID = item.avatarID; 576 inventoryReply.InventoryData[0].OwnerID = item.avatarID;
577 inventoryReply.InventoryData[0].OwnerMask = FULL_MASK_PERMISSIONS; 577 inventoryReply.InventoryData[0].OwnerMask = item.inventoryCurrentPermissions;
578 inventoryReply.InventoryData[0].SalePrice = 0; 578 inventoryReply.InventoryData[0].SalePrice = 0;
579 inventoryReply.InventoryData[0].SaleType = 0; 579 inventoryReply.InventoryData[0].SaleType = 0;
580 inventoryReply.InventoryData[0].Type = (sbyte)item.type; 580 inventoryReply.InventoryData[0].Type = (sbyte)item.type;
@@ -595,19 +595,19 @@ namespace OpenSim.Region.ClientStack
595 InventoryReply.InventoryData[0].ItemID = Item.inventoryID; 595 InventoryReply.InventoryData[0].ItemID = Item.inventoryID;
596 InventoryReply.InventoryData[0].AssetID = Item.assetID; 596 InventoryReply.InventoryData[0].AssetID = Item.assetID;
597 InventoryReply.InventoryData[0].CreatorID = Item.creatorsID; 597 InventoryReply.InventoryData[0].CreatorID = Item.creatorsID;
598 InventoryReply.InventoryData[0].BaseMask = FULL_MASK_PERMISSIONS; 598 InventoryReply.InventoryData[0].BaseMask = Item.inventoryBasePermissions;
599 InventoryReply.InventoryData[0].CreationDate = 1000; 599 InventoryReply.InventoryData[0].CreationDate = 1000;
600 InventoryReply.InventoryData[0].Description = enc.GetBytes(Item.inventoryDescription + "\0"); 600 InventoryReply.InventoryData[0].Description = enc.GetBytes(Item.inventoryDescription + "\0");
601 InventoryReply.InventoryData[0].EveryoneMask = FULL_MASK_PERMISSIONS; 601 InventoryReply.InventoryData[0].EveryoneMask = Item.inventoryEveryOnePermissions;
602 InventoryReply.InventoryData[0].Flags = 0; 602 InventoryReply.InventoryData[0].Flags = 0;
603 InventoryReply.InventoryData[0].FolderID = Item.parentFolderID; 603 InventoryReply.InventoryData[0].FolderID = Item.parentFolderID;
604 InventoryReply.InventoryData[0].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000"); 604 InventoryReply.InventoryData[0].GroupID = new LLUUID("00000000-0000-0000-0000-000000000000");
605 InventoryReply.InventoryData[0].GroupMask = FULL_MASK_PERMISSIONS; 605 InventoryReply.InventoryData[0].GroupMask = 0;
606 InventoryReply.InventoryData[0].InvType =(sbyte) Item.type; 606 InventoryReply.InventoryData[0].InvType =(sbyte) Item.type;
607 InventoryReply.InventoryData[0].Name = enc.GetBytes(Item.inventoryName + "\0"); 607 InventoryReply.InventoryData[0].Name = enc.GetBytes(Item.inventoryName + "\0");
608 InventoryReply.InventoryData[0].NextOwnerMask = FULL_MASK_PERMISSIONS; 608 InventoryReply.InventoryData[0].NextOwnerMask = Item.inventoryNextPermissions;
609 InventoryReply.InventoryData[0].OwnerID = Item.avatarID; 609 InventoryReply.InventoryData[0].OwnerID = Item.avatarID;
610 InventoryReply.InventoryData[0].OwnerMask = FULL_MASK_PERMISSIONS; 610 InventoryReply.InventoryData[0].OwnerMask = Item.inventoryCurrentPermissions;
611 InventoryReply.InventoryData[0].SalePrice = 100; 611 InventoryReply.InventoryData[0].SalePrice = 100;
612 InventoryReply.InventoryData[0].SaleType = 0; 612 InventoryReply.InventoryData[0].SaleType = 0;
613 InventoryReply.InventoryData[0].Type =(sbyte) Item.type; 613 InventoryReply.InventoryData[0].Type =(sbyte) Item.type;