Implement osAgentSaveAppearance() to save the appearance of an avatar in the region to a notecard

This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-11 22:26:47 +01:00
parent 50945dd560
commit b1ae930c6b
4 changed files with 78 additions and 5 deletions

View File

@@ -168,7 +168,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules);
key osNpcCreate(string user, string name, vector position, key cloneFrom);
LSL_Key osNpcSaveAppearance(key npc, string notecardName);
void osNpcLoadAppearance(key npc, string notecardNameOrUuid);
@@ -179,6 +178,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
void osNpcRemove(key npc);
LSL_Key osOwnerSaveAppearance(string notecardName);
LSL_Key osAgentSaveAppearance(key agentId, string notecardName);
key osGetMapTexture();
key osGetRegionMapTexture(string regionName);