aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-23 22:44:59 +0000
committerTeravus Ovares2008-04-23 22:44:59 +0000
commit1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90 (patch)
treee2f37410f60a2b038c7ced800008491c7d0f1d88 /OpenSim/Framework
parent* Add NUnit to CONTRIBUTORS file (diff)
downloadopensim-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/Framework')
-rw-r--r--OpenSim/Framework/IClientAPI.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index fce18c7..4faaad6 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -441,6 +441,7 @@ namespace OpenSim.Framework
441 public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID); 441 public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID);
442 442
443 public delegate void ScriptAnswer(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, int answer); 443 public delegate void ScriptAnswer(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, int answer);
444 public delegate void RequestPayPrice(IClientAPI remoteClient, LLUUID objectID);
444 445
445 public interface IClientAPI 446 public interface IClientAPI
446 { 447 {
@@ -557,6 +558,7 @@ namespace OpenSim.Framework
557 event MoneyBalanceRequest OnMoneyBalanceRequest; 558 event MoneyBalanceRequest OnMoneyBalanceRequest;
558 event UpdateAvatarProperties OnUpdateAvatarProperties; 559 event UpdateAvatarProperties OnUpdateAvatarProperties;
559 event ParcelBuy OnParcelBuy; 560 event ParcelBuy OnParcelBuy;
561 event RequestPayPrice OnRequestPayPrice ;
560 562
561 event ObjectIncludeInSearch OnObjectIncludeInSearch; 563 event ObjectIncludeInSearch OnObjectIncludeInSearch;
562 564
@@ -621,6 +623,7 @@ namespace OpenSim.Framework
621 void SendTeleportFailed(string reason); 623 void SendTeleportFailed(string reason);
622 void SendTeleportLocationStart(); 624 void SendTeleportLocationStart();
623 void SendMoneyBalance(LLUUID transaction, bool success, byte[] description, int balance); 625 void SendMoneyBalance(LLUUID transaction, bool success, byte[] description, int balance);
626 void SendPayPrice(LLUUID objectID, int[] payPrice);
624 627
625 void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, 628 void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID,
626 LLVector3 Pos, byte[] textureEntry, uint parentID); 629 LLVector3 Pos, byte[] textureEntry, uint parentID);