From 1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 23 Apr 2008 22:44:59 +0000 Subject: * Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie! * Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene. --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 4f9024c..c4409bc 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -167,6 +167,7 @@ namespace OpenSim.Region.Examples.SimpleModule public event UUIDNameRequest OnTeleportHomeRequest; public event ScriptAnswer OnScriptAnswer; + public event RequestPayPrice OnRequestPayPrice; #pragma warning restore 67 @@ -342,6 +343,10 @@ namespace OpenSim.Region.Examples.SimpleModule { } + public virtual void SendPayPrice(LLUUID objectID, int[] payPrice) + { + } + public virtual void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, LLVector3 Pos, byte[] textureEntry, uint parentID) { -- cgit v1.1