expose the option to save HUDs into notecard on the API

This commit is contained in:
UbitUmarov
2020-06-01 21:05:57 +01:00
parent 873b3b0af6
commit 9bd5310fe8
3 changed files with 95 additions and 51 deletions

View File

@@ -628,11 +628,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom, options);
}
public key osNpcSaveAppearance(key npc, string notecard)
public key osNpcSaveAppearance(key npc, LSL_String notecard)
{
return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard);
}
public key osNpcSaveAppearance(key npc, LSL_String notecard, LSL_Integer includeHuds)
{
return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard, includeHuds);
}
public void osNpcLoadAppearance(key npc, string notecard)
{
m_OSSL_Functions.osNpcLoadAppearance(npc, notecard);
@@ -738,16 +743,26 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osNpcTouch(npcLSL_Key, object_key, link_num);
}
public LSL_Key osOwnerSaveAppearance(string notecard)
public LSL_Key osOwnerSaveAppearance(LSL_String notecard)
{
return m_OSSL_Functions.osOwnerSaveAppearance(notecard);
}
public LSL_Key osAgentSaveAppearance(LSL_Key agentId, string notecard)
public LSL_Key osOwnerSaveAppearance(LSL_String notecard, LSL_Integer includeHuds)
{
return m_OSSL_Functions.osOwnerSaveAppearance(notecard, includeHuds);
}
public LSL_Key osAgentSaveAppearance(LSL_Key agentId, LSL_String notecard)
{
return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecard);
}
public LSL_Key osAgentSaveAppearance(LSL_Key agentId, LSL_String notecard, LSL_Integer includeHuds)
{
return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecard, includeHuds);
}
public OSSLPrim Prim;
[Serializable]