aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Interfaces/IClientAPI.cs
diff options
context:
space:
mode:
authorMW2007-08-21 21:03:18 +0000
committerMW2007-08-21 21:03:18 +0000
commit921ac14e86fab329c3135b24b2a1be83813fce1b (patch)
tree867f42c3f5b9984b2281df2e6b40f7f56349d297 /OpenSim/Framework/General/Interfaces/IClientAPI.cs
parentchanged the comment lines from # to ; in opensim.ini. (diff)
downloadopensim-SC_OLD-921ac14e86fab329c3135b24b2a1be83813fce1b.zip
opensim-SC_OLD-921ac14e86fab329c3135b24b2a1be83813fce1b.tar.gz
opensim-SC_OLD-921ac14e86fab329c3135b24b2a1be83813fce1b.tar.bz2
opensim-SC_OLD-921ac14e86fab329c3135b24b2a1be83813fce1b.tar.xz
Added OnRezScript event to Scene.EventManager.Which the script engine should subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
Diffstat (limited to 'OpenSim/Framework/General/Interfaces/IClientAPI.cs')
-rw-r--r--OpenSim/Framework/General/Interfaces/IClientAPI.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs
index 8337a81..e30a49c 100644
--- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs
+++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs
@@ -88,6 +88,7 @@ namespace OpenSim.Framework.Interfaces
88 public delegate void FetchInventory(IClientAPI remoteClient, LLUUID itemID, LLUUID ownerID); 88 public delegate void FetchInventory(IClientAPI remoteClient, LLUUID itemID, LLUUID ownerID);
89 public delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID); 89 public delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID);
90 public delegate void UpdateInventoryItemTransaction(IClientAPI remoteClient, LLUUID transactionID, LLUUID assetID, LLUUID itemID); 90 public delegate void UpdateInventoryItemTransaction(IClientAPI remoteClient, LLUUID transactionID, LLUUID assetID, LLUUID itemID);
91 public delegate void RezScript(IClientAPI remoteClient, LLUUID itemID, uint localID);
91 92
92 public delegate void UDPAssetUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, byte[] data); 93 public delegate void UDPAssetUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, byte[] data);
93 public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data); 94 public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data);
@@ -146,6 +147,7 @@ namespace OpenSim.Framework.Interfaces
146 event UDPAssetUploadRequest OnAssetUploadRequest; 147 event UDPAssetUploadRequest OnAssetUploadRequest;
147 event XferReceive OnXferReceive; 148 event XferReceive OnXferReceive;
148 event RequestXfer OnRequestXfer; 149 event RequestXfer OnRequestXfer;
150 event RezScript OnRezScript;
149 151
150 event UUIDNameRequest OnNameFromUUIDRequest; 152 event UUIDNameRequest OnNameFromUUIDRequest;
151 153