mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
expose the option to save HUDs into notecard on the API
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user