add LSL_Key osGetLastChangedEventKey() ( it is a alias for lldetectedkey(0) but don't tell anyone
parent
5d78f52f7b
commit
6e05695244
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -550,5 +550,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
|||
LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId);
|
||||
LSL_String osGetInventoryName(LSL_Key itemId);
|
||||
LSL_String osGetInventoryDescription(LSL_String itemNameOrId);
|
||||
LSL_Key osGetLastChangedEventKey();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1381,5 +1381,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
{
|
||||
return m_OSSL_Functions.osGetInventoryDescription(itemNameOrId);
|
||||
}
|
||||
|
||||
public LSL_Key osGetLastChangedEventKey()
|
||||
{
|
||||
return m_OSSL_Functions.osGetLastChangedEventKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue