aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-24 00:51:21 +0000
committerMelanie Thielker2008-08-24 00:51:21 +0000
commit63b6ab467a2d617b180284861baba544cac602d2 (patch)
tree87f6589c04dd0340abffe61c5483c899ecc3cf0f /OpenSim/Framework/IClientAPI.cs
parentMantis#2036. Thank you kindly, HomerHorwitz for a patch that: (diff)
downloadopensim-SC_OLD-63b6ab467a2d617b180284861baba544cac602d2.zip
opensim-SC_OLD-63b6ab467a2d617b180284861baba544cac602d2.tar.gz
opensim-SC_OLD-63b6ab467a2d617b180284861baba544cac602d2.tar.bz2
opensim-SC_OLD-63b6ab467a2d617b180284861baba544cac602d2.tar.xz
Implements 80% of object buy (prim vendor). You can't buy the object yet,
and the for sale setting doesn't survive a sim restart, but this is most of the plumbing.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IClientAPI.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 8aac9ce..b2d13c7 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -271,6 +271,9 @@ namespace OpenSim.Framework
271 public delegate void ScriptAnswer(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, int answer); 271 public delegate void ScriptAnswer(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, int answer);
272 272
273 public delegate void RequestPayPrice(IClientAPI remoteClient, LLUUID objectID); 273 public delegate void RequestPayPrice(IClientAPI remoteClient, LLUUID objectID);
274 public delegate void ObjectSaleInfo(IClientAPI remoteClient, LLUUID agentID, LLUUID sessionID, uint localID, byte saleType, int salePrice);
275 public delegate void ObjectBuy(IClientAPI remoteClient, LLUUID agentID, LLUUID sessionID, LLUUID groupID, LLUUID categoryID, uint localID, byte saleType, int salePrice);
276 public delegate void BuyObjectInventory(IClientAPI remoteClient, LLUUID agentID, LLUUID sessionID, LLUUID objectID, LLUUID itemID, LLUUID folderID);
274 277
275 public delegate void ForceReleaseControls(IClientAPI remoteClient, LLUUID agentID); 278 public delegate void ForceReleaseControls(IClientAPI remoteClient, LLUUID agentID);
276 279
@@ -475,6 +478,9 @@ namespace OpenSim.Framework
475 event UpdateAvatarProperties OnUpdateAvatarProperties; 478 event UpdateAvatarProperties OnUpdateAvatarProperties;
476 event ParcelBuy OnParcelBuy; 479 event ParcelBuy OnParcelBuy;
477 event RequestPayPrice OnRequestPayPrice; 480 event RequestPayPrice OnRequestPayPrice;
481 event ObjectSaleInfo OnObjectSaleInfo;
482 event ObjectBuy OnObjectBuy;
483 event BuyObjectInventory OnBuyObjectInventory;
478 484
479 event ObjectIncludeInSearch OnObjectIncludeInSearch; 485 event ObjectIncludeInSearch OnObjectIncludeInSearch;
480 486
@@ -688,7 +694,7 @@ namespace OpenSim.Framework
688 LLUUID GroupUUID, short InventorySerial, LLUUID LastOwnerUUID, LLUUID ObjectUUID, 694 LLUUID GroupUUID, short InventorySerial, LLUUID LastOwnerUUID, LLUUID ObjectUUID,
689 LLUUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle, string ItemName, 695 LLUUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle, string ItemName,
690 string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask, uint EveryoneMask, 696 string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask, uint EveryoneMask,
691 uint BaseMask); 697 uint BaseMask, byte saleType, int salePrice);
692 void SendAgentOffline(LLUUID[] agentIDs); 698 void SendAgentOffline(LLUUID[] agentIDs);
693 699
694 void SendAgentOnline(LLUUID[] agentIDs); 700 void SendAgentOnline(LLUUID[] agentIDs);