aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs9
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
3 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index e4cc3aa..7674628 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -5455,5 +5455,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5455 5455
5456 return item.Description; 5456 return item.Description;
5457 } 5457 }
5458
5459 public LSL_Key osGetLastChangedEventKey()
5460 {
5461 m_host.AddScriptLPS(1);
5462 DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, 0);
5463 if (detectedParams == null)
5464 return String.Empty;
5465 return detectedParams.Key.ToString();
5466 }
5458 } 5467 }
5459} \ No newline at end of file 5468} \ No newline at end of file
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index 711108b..8333af8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -550,5 +550,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
550 LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId); 550 LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId);
551 LSL_String osGetInventoryName(LSL_Key itemId); 551 LSL_String osGetInventoryName(LSL_Key itemId);
552 LSL_String osGetInventoryDescription(LSL_String itemNameOrId); 552 LSL_String osGetInventoryDescription(LSL_String itemNameOrId);
553 LSL_Key osGetLastChangedEventKey();
553 } 554 }
554} 555}
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 86c8ba3..f0fb745 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -1381,5 +1381,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
1381 { 1381 {
1382 return m_OSSL_Functions.osGetInventoryDescription(itemNameOrId); 1382 return m_OSSL_Functions.osGetInventoryDescription(itemNameOrId);
1383 } 1383 }
1384
1385 public LSL_Key osGetLastChangedEventKey()
1386 {
1387 return m_OSSL_Functions.osGetLastChangedEventKey();
1388 }
1384 } 1389 }
1385} 1390}