update script syntax
parent
c4f05016d7
commit
5b596bb29e
|
@ -424,8 +424,6 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
|||
|
||||
private void sendDetailedEstateData(IClientAPI remote_client, UUID invoice)
|
||||
{
|
||||
//uint sun = 0;
|
||||
|
||||
UUID estateOwner;
|
||||
estateOwner = Scene.RegionInfo.EstateSettings.EstateOwner;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
public partial class ScriptBaseClass
|
||||
{
|
||||
// SCRIPTS CONSTANTS
|
||||
public static readonly LSLInteger OS_APIVERSION = 12;
|
||||
public static readonly LSLInteger OS_APIVERSION = 13;
|
||||
|
||||
public static readonly LSLInteger TRUE = 1;
|
||||
public static readonly LSLInteger FALSE = 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
a0afab69-80c3-a8d5-d897-0c2c655790b4
|
||||
31131f85-748a-9940-d0d5-4a1622bb4875
|
||||
<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>
|
||||
<key>controls</key>
|
||||
<map>
|
||||
|
@ -1577,7 +1577,7 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
</map>
|
||||
<key>OS_APIVERSION</key><map>
|
||||
<key>type</key><string>integer</string>
|
||||
<key>value</key><string>12</string>
|
||||
<key>value</key><string>13</string>
|
||||
</map>
|
||||
<key>OS_ATTACH_MSG_ALL</key><map>
|
||||
<key>type</key><string>integer</string>
|
||||
|
@ -3925,6 +3925,16 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>string</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetDayLength</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetDayOffset</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetDisplayName</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
|
@ -4133,6 +4143,16 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>float</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetMoonDirection</key>
|
||||
<map>
|
||||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetMoonRotation</key>
|
||||
<map>
|
||||
<key>return</key><string>rotation</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetNextEmail</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
|
@ -4318,6 +4338,16 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionDayLength</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionDayOffset</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionFlags</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
|
@ -4328,11 +4358,31 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>float</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionMoonDirection</key>
|
||||
<map>
|
||||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionMoonRotation</key>
|
||||
<map>
|
||||
<key>return</key><string>rotation</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionName</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionSunDirection</key>
|
||||
<map>
|
||||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionSunRotation</key>
|
||||
<map>
|
||||
<key>return</key><string>rotation</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetRegionTimeDilation</key>
|
||||
<map>
|
||||
<key>return</key><string>float</string>
|
||||
|
@ -4406,6 +4456,11 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>vector</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetSunRotation</key>
|
||||
<map>
|
||||
<key>return</key><string>rotation</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>llGetTexture</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
|
@ -6197,6 +6252,15 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
</array>
|
||||
</map>
|
||||
<key>osAgentSaveAppearance</key>
|
||||
<map>
|
||||
<key>return</key><string>key</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agentId</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>notecard</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>includeHuds</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osAgentSaveAppearance</key>
|
||||
<map>
|
||||
<key>return</key><string>key</string>
|
||||
<key>arguments</key><array>
|
||||
|
@ -6216,25 +6280,8 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>a</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>b</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>margin</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osApproxEquals</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>a</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>b</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osApproxEquals</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>va</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>vb</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>ra</key><map><key>type</key><string>rotation</string></map></map>
|
||||
<map><key>rb</key><map><key>type</key><string>rotation</string></map></map>
|
||||
<map><key>margin</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
|
@ -6250,8 +6297,8 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>ra</key><map><key>type</key><string>rotation</string></map></map>
|
||||
<map><key>rb</key><map><key>type</key><string>rotation</string></map></map>
|
||||
<map><key>va</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>vb</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>margin</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
|
@ -6263,6 +6310,23 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>vb</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osApproxEquals</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>a</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>b</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>margin</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osApproxEquals</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>a</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>b</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osAvatarName2Key</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
|
@ -6576,6 +6640,30 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>return</key><string>list</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetApparentRegionTime</key>
|
||||
<map>
|
||||
<key>return</key><string>float</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetApparentRegionTimeString</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>format24</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osGetApparentTime</key>
|
||||
<map>
|
||||
<key>return</key><string>float</string>
|
||||
<key>arguments</key><undef/>
|
||||
</map>
|
||||
<key>osGetApparentTimeString</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>format24</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osGetAvatarHomeURI</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
|
@ -6906,15 +6994,15 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>osKickAvatar</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agentId</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>FirstName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>SurName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>alert</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osKickAvatar</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>FirstName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>SurName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>agentId</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>alert</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
|
@ -7107,13 +7195,15 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>arguments</key><array>
|
||||
<map><key>npc</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>notecard</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>includeHuds</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osNpcSay</key>
|
||||
<key>osNpcSaveAppearance</key>
|
||||
<map>
|
||||
<key>return</key><string>key</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>npc</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>message</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>notecard</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osNpcSay</key>
|
||||
|
@ -7124,6 +7214,13 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>message</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osNpcSay</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>npc</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>message</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osNpcSayTo</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
|
@ -7206,6 +7303,14 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
</array>
|
||||
</map>
|
||||
<key>osOwnerSaveAppearance</key>
|
||||
<map>
|
||||
<key>return</key><string>key</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>notecard</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>includeHuds</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osOwnerSaveAppearance</key>
|
||||
<map>
|
||||
<key>return</key><string>key</string>
|
||||
<key>arguments</key><array>
|
||||
|
@ -7267,13 +7372,21 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>osRegionNotice</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agentID</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>msg</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osRegionNotice</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agentID</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>msg</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osRegionRestart</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>seconds</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>msg</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
|
@ -7284,12 +7397,21 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>seconds</key><map><key>type</key><string>float</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osRegionRestart</key>
|
||||
<key>osReplaceAgentEnvironment</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>seconds</key><map><key>type</key><string>float</string></map></map>
|
||||
<map><key>msg</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>agentkey</key><map><key>type</key><string>key</string></map></map>
|
||||
<map><key>transition</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>daycycle</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osReplaceParcelEnvironment</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>transition</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>daycycle</key><map><key>type</key><string>string</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osReplaceString</key>
|
||||
|
@ -7323,6 +7445,14 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>AllLinkset</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osResetEnvironment</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>parcelOrRegion</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>transition</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osRound</key>
|
||||
<map>
|
||||
<key>return</key><string>float</string>
|
||||
|
@ -7677,21 +7807,12 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>arguments</key><array>
|
||||
<map><key>src</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>value</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>start</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>count</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osStringIndexOf</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>src</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>value</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>start</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>count</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osStringLastIndexOf</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
|
@ -7711,6 +7832,15 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osStringLastIndexOf</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
<key>arguments</key><array>
|
||||
<map><key>src</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>value</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>ignorecase</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osStringRemove</key>
|
||||
<map>
|
||||
<key>return</key><string>string</string>
|
||||
|
@ -7744,6 +7874,7 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>arguments</key><array>
|
||||
<map><key>src</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>start</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>length</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osStringSubString</key>
|
||||
|
@ -7752,7 +7883,6 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>arguments</key><array>
|
||||
<map><key>src</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>start</key><map><key>type</key><string>integer</string></map></map>
|
||||
<map><key>length</key><map><key>type</key><string>integer</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osSunGetParam</key>
|
||||
|
@ -7770,6 +7900,15 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
</array>
|
||||
</map>
|
||||
<key>osTeleportAgent</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agent</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>regionName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>position</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osTeleportAgent</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agent</key><map><key>type</key><string>string</string></map></map>
|
||||
|
@ -7787,15 +7926,6 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osTeleportAgent</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>agent</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>regionName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>position</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
</map>
|
||||
<key>osTeleportObject</key>
|
||||
<map>
|
||||
<key>return</key><string>integer</string>
|
||||
|
@ -7809,6 +7939,7 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>osTeleportOwner</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>regionName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>position</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
|
@ -7825,7 +7956,6 @@ a0afab69-80c3-a8d5-d897-0c2c655790b4
|
|||
<key>osTeleportOwner</key>
|
||||
<map>
|
||||
<key>arguments</key><array>
|
||||
<map><key>regionName</key><map><key>type</key><string>string</string></map></map>
|
||||
<map><key>position</key><map><key>type</key><string>vector</string></map></map>
|
||||
<map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
|
||||
</array>
|
||||
|
|
Loading…
Reference in New Issue