From 63b6ab467a2d617b180284861baba544cac602d2 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 24 Aug 2008 00:51:21 +0000 Subject: 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. --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index e2e7081..655dfe4 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -176,6 +176,9 @@ namespace OpenSim.Region.Examples.SimpleModule public event ScriptAnswer OnScriptAnswer; public event RequestPayPrice OnRequestPayPrice; + public event ObjectSaleInfo OnObjectSaleInfo; + public event ObjectBuy OnObjectBuy; + public event BuyObjectInventory OnBuyObjectInventory; public event AgentSit OnUndo; public event ForceReleaseControls OnForceReleaseControls; @@ -615,7 +618,7 @@ namespace OpenSim.Region.Examples.SimpleModule LLUUID GroupUUID, short InventorySerial, LLUUID LastOwnerUUID, LLUUID ObjectUUID, LLUUID OwnerUUID, string TouchTitle, byte[] TextureID, string SitTitle, string ItemName, string ItemDescription, uint OwnerMask, uint NextOwnerMask, uint GroupMask, uint EveryoneMask, - uint BaseMask) + uint BaseMask, byte saleType, int salePrice) { } -- cgit v1.1