mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
add LSL_Key osGetLastChangedEventKey() ( it is a alias for lldetectedkey(0) but don't tell anyone
This commit is contained in:
@@ -5455,5 +5455,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
return item.Description;
|
||||
}
|
||||
|
||||
public LSL_Key osGetLastChangedEventKey()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
DetectParams detectedParams = m_ScriptEngine.GetDetectParams(m_item.ItemID, 0);
|
||||
if (detectedParams == null)
|
||||
return String.Empty;
|
||||
return detectedParams.Key.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user