mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
This commit is contained in:
@@ -300,6 +300,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
m_OSSL_Functions.osMakeNotecard(notecardName, contents);
|
||||
}
|
||||
|
||||
public string osAvatarName2Key(string firstname, string lastname)
|
||||
{
|
||||
return m_OSSL_Functions.osAvatarName2Key(firstname, lastname);
|
||||
}
|
||||
|
||||
public string osKey2Name(string id)
|
||||
{
|
||||
return m_OSSL_Functions.osKey2Name(id);
|
||||
}
|
||||
|
||||
public string osGetGridNick()
|
||||
{
|
||||
return m_OSSL_Functions.osGetGridNick();
|
||||
|
||||
Reference in New Issue
Block a user