diff options
author | MW | 2007-08-21 21:03:18 +0000 |
---|---|---|
committer | MW | 2007-08-21 21:03:18 +0000 |
commit | 921ac14e86fab329c3135b24b2a1be83813fce1b (patch) | |
tree | 867f42c3f5b9984b2281df2e6b40f7f56349d297 /OpenSim/Framework/General | |
parent | changed the comment lines from # to ; in opensim.ini. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IClientAPI.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/General/NullClientAPI.cs | 1 |
2 files changed, 3 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 | ||
diff --git a/OpenSim/Framework/General/NullClientAPI.cs b/OpenSim/Framework/General/NullClientAPI.cs index e6749fc..55a3f0b 100644 --- a/OpenSim/Framework/General/NullClientAPI.cs +++ b/OpenSim/Framework/General/NullClientAPI.cs | |||
@@ -62,6 +62,7 @@ namespace OpenSim.Framework | |||
62 | public event UDPAssetUploadRequest OnAssetUploadRequest; | 62 | public event UDPAssetUploadRequest OnAssetUploadRequest; |
63 | public event XferReceive OnXferReceive; | 63 | public event XferReceive OnXferReceive; |
64 | public event RequestXfer OnRequestXfer; | 64 | public event RequestXfer OnRequestXfer; |
65 | public event RezScript OnRezScript; | ||
65 | 66 | ||
66 | public event UUIDNameRequest OnNameFromUUIDRequest; | 67 | public event UUIDNameRequest OnNameFromUUIDRequest; |
67 | 68 | ||