diff options
author | Teravus Ovares | 2008-04-23 22:44:59 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-23 22:44:59 +0000 |
commit | 1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90 (patch) | |
tree | e2f37410f60a2b038c7ced800008491c7d0f1d88 /OpenSim/Region/Examples/SimpleModule | |
parent | * Add NUnit to CONTRIBUTORS file (diff) | |
download | opensim-SC_OLD-1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90.zip opensim-SC_OLD-1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90.tar.gz opensim-SC_OLD-1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90.tar.bz2 opensim-SC_OLD-1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
167 | public event UUIDNameRequest OnTeleportHomeRequest; | 167 | public event UUIDNameRequest OnTeleportHomeRequest; |
168 | 168 | ||
169 | public event ScriptAnswer OnScriptAnswer; | 169 | public event ScriptAnswer OnScriptAnswer; |
170 | public event RequestPayPrice OnRequestPayPrice; | ||
170 | 171 | ||
171 | 172 | ||
172 | #pragma warning restore 67 | 173 | #pragma warning restore 67 |
@@ -342,6 +343,10 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
342 | { | 343 | { |
343 | } | 344 | } |
344 | 345 | ||
346 | public virtual void SendPayPrice(LLUUID objectID, int[] payPrice) | ||
347 | { | ||
348 | } | ||
349 | |||
345 | public virtual void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, | 350 | public virtual void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, |
346 | uint avatarLocalID, LLVector3 Pos, byte[] textureEntry, uint parentID) | 351 | uint avatarLocalID, LLVector3 Pos, byte[] textureEntry, uint parentID) |
347 | { | 352 | { |