Adding new parcel return constants and functions.
This commit is contained in:
parent
0273bbb9d6
commit
c54b50b4a0
4 changed files with 78 additions and 4 deletions
|
@ -70,7 +70,7 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("2.52.0.0")]
|
||||
[assembly: AssemblyVersion("2.53.0.1")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
|
@ -100,4 +100,4 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyName("")]
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
[assembly: AssemblyFileVersionAttribute("2.52.0.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.53.0.1")]
|
||||
|
|
|
@ -2320,6 +2320,18 @@
|
|||
Sets the internal timer to zero.
|
||||
</Word>
|
||||
|
||||
<Word name="llReturnObjectsByID">
|
||||
integer llReturnObjectsByID(list ObjectIDs);
|
||||
|
||||
Return objects using their UUIDs
|
||||
</Word>
|
||||
|
||||
<Word name="llReturnObjectsByOwner">
|
||||
integer llReturnObjectsByOwner(key ID, integer Scope);
|
||||
|
||||
Return objects based upon their owner and a scope of parcel, parcel owner, or region.
|
||||
</Word>
|
||||
|
||||
<Word name="llRezAtRoot">
|
||||
llRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param);
|
||||
|
||||
|
@ -3764,6 +3776,7 @@
|
|||
call llStartAnimation for the avatar that owns this
|
||||
object.
|
||||
</Word>
|
||||
<Word name="PERMISSION_RETURN_OBJECTS" value="65536"></Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.5. Inventory Constants">
|
||||
|
@ -4690,6 +4703,7 @@
|
|||
<Word name="CHARACTER_MAX_TURN_RADIUS" type="integer" value="10" status="beta">The character's turn radius when travelling at CHARACTER_MAX_TURN_SPEED.</Word>
|
||||
<Word name="CHARACTER_ORIENTATION" type="integer" value="4" status="beta">Valid options are: VERTICAL, HORIZONTAL.</Word>
|
||||
<Word name="CHARACTER_RADIUS" type="integer" value="2" status="beta">Set collision capsule radius.</Word>
|
||||
<Word name="CHARACTER_STAY_WITHIN_PARCEL" type="integer" value="15">Takes a boolean parameter. If TRUE, the character cannot voluntarilly leave the parcel, but can return to it.</Word>
|
||||
<Word name="CHARACTER_TYPE" type="integer" value="6" status="beta">Specifies which walk-ability coefficient will be used by this character.</Word>
|
||||
<Word name="CHARACTER_TYPE_A" type="integer" value="0" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_B" type="integer" value="1" status="beta" />
|
||||
|
@ -4711,7 +4725,6 @@
|
|||
<Word name="REQUIRE_LINE_OF_SIGHT" type="integer" value="2">Define whether the character needs a line-of-sight to give chase.</Word>
|
||||
<Word name="HORIZONTAL" type="integer" value="1" />
|
||||
<Word name="VERTICAL" type="integer" value="0"></Word>
|
||||
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.26 JSON constants">
|
||||
|
@ -4725,6 +4738,17 @@
|
|||
<Word name="JSON_TRUE" type="string" value="">>U+FDD6</Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.27 Parcel Return constants">
|
||||
<Word name="ERR_GENERIC" type="integer" value="-1"></Word>
|
||||
<Word name="ERR_MALFORMED_PARAMS" type="integer" value="-3"></Word>
|
||||
<Word name="ERR_PARCEL_PERMISSIONS" type="integer" value="-2"></Word>
|
||||
<Word name="ERR_RUNTIME_PERMISSIONS" type="integer" value="-4"></Word>
|
||||
<Word name="ERR_THROTTLED" type="integer" value="-5"></Word>
|
||||
<Word name="OBJECT_RETURN_PARCEL" type="integer" value="1"></Word>
|
||||
<Word name="OBJECT_RETURN_PARCEL_OWNER" type="integer" value="2"></Word>
|
||||
<Word name="OBJECT_RETURN_REGION" type="integer" value="4"></Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.99. Miscellaneous constants.">
|
||||
Constants that do not fit into any of the previously defined categories.
|
||||
<Word name="AGENT_LIST_PARCEL" />
|
||||
|
|
|
@ -6,6 +6,30 @@
|
|||
<body style="background-color: white; font-family: Verdana, sans-serif;font-size: 13px;line-height: 1.3">
|
||||
<div>
|
||||
<div>
|
||||
<h3><span class="date">2013-07-02</span> - Release 2.53.0</h3>
|
||||
<div>
|
||||
* Constants Added:
|
||||
<ul>
|
||||
<li>CHARACTER_STAY_WITHIN_PARCEL</li>
|
||||
<li>ERR_GENERIC</li>
|
||||
<li>ERR_MALFORMED_PARAMS</li>
|
||||
<li>ERR_PARCEL_PERMISSIONS</li>
|
||||
<li>ERR_RUNTIME_PERMISSIONS</li>
|
||||
<li>ERR_THROTTLED</li>
|
||||
<li>OBJECT_RETURN_PARCEL</li>
|
||||
<li>OBJECT_RETURN_PARCEL_OWNER</li>
|
||||
<li>OBJECT_RETURN_REGION</li>
|
||||
<li>PERMISSION_RETURN_OBJECTS</li>
|
||||
</ul>
|
||||
</div>
|
||||
* Functions added:
|
||||
<div>
|
||||
<ul>
|
||||
<li>llReturnObjectsByID</li>
|
||||
<li>llReturnObjectsByOwner</li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3><span class="date">2013-06-22</span> - Release 2.52.0</h3>
|
||||
<p>Added the JSON related constants and functions.</p>
|
||||
<div>
|
||||
|
|
|
@ -322,6 +322,7 @@ namespace LSLEditor
|
|||
public static readonly integer CHARACTER_MAX_TURN_RADIUS = 10;
|
||||
public static readonly integer CHARACTER_ORIENTATION = 4;
|
||||
public static readonly integer CHARACTER_RADIUS = 2;
|
||||
public static readonly integer CHARACTER_STAY_WITHIN_PARCEL = 15;
|
||||
public static readonly integer CHARACTER_TYPE_A = 0;
|
||||
public static readonly integer CHARACTER_TYPE_B = 1;
|
||||
public static readonly integer CHARACTER_TYPE_C = 2;
|
||||
|
@ -369,6 +370,12 @@ namespace LSLEditor
|
|||
|
||||
public static readonly integer DATA_PAYINFO = 8;
|
||||
|
||||
public static readonly integer ERR_GENERIC = -1;
|
||||
public static readonly integer ERR_MALFORMED_PARAMS = -3;
|
||||
public static readonly integer ERR_PARCEL_PERMISSIONS = -2;
|
||||
public static readonly integer ERR_RUNTIME_PERMISSIONS = -4;
|
||||
public static readonly integer ERR_THROTTLED = -5;
|
||||
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_AGENT_ADD = 4;
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_AGENT_REMOVE = 8;
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_GROUP_ADD = 16;
|
||||
|
@ -492,6 +499,10 @@ namespace LSLEditor
|
|||
public static readonly integer OPT_STATIC_OBSTACLE = 4;
|
||||
public static readonly integer OPT_WALKABLE = 3;
|
||||
|
||||
public static readonly integer OBJECT_RETURN_PARCEL = 1;
|
||||
public static readonly integer OBJECT_RETURN_PARCEL_OWNER = 2;
|
||||
public static readonly integer OBJECT_RETURN_REGION = 4;
|
||||
|
||||
public static readonly integer PARCEL_COUNT_TOTAL = 0;
|
||||
public static readonly integer PARCEL_COUNT_OWNER = 1;
|
||||
public static readonly integer PARCEL_COUNT_GROUP = 2;
|
||||
|
@ -565,6 +576,7 @@ namespace LSLEditor
|
|||
public static readonly integer PERMISSION_CONTROL_CAMERA = 2048;
|
||||
public static readonly integer PERMISSION_OVERRIDE_ANIMATIONS = 0x8000;
|
||||
public static readonly integer PERMISSION_TRACK_CAMERA = 1024;
|
||||
public static readonly integer PERMISSION_RETURN_OBJECTS = 65536;
|
||||
|
||||
public static readonly integer PRIM_BUMP_BARK = 4;
|
||||
public static readonly integer PRIM_BUMP_BLOBS = 12;
|
||||
|
@ -906,7 +918,7 @@ namespace LSLEditor
|
|||
public ArrayList RandomShuffle(ArrayList collection)
|
||||
{
|
||||
// We have to copy all items anyway, and there isn't a way to produce the items
|
||||
// on the fly that is linear. So copying to an array and shuffling it is an efficient as we can get.
|
||||
// on the fly that is linear. So copying to an array and shuffling it is as efficient as we can get.
|
||||
|
||||
if (collection == null)
|
||||
throw new ArgumentNullException("collection");
|
||||
|
@ -3659,6 +3671,20 @@ namespace LSLEditor
|
|||
m_DateTimeScriptStarted = DateTime.Now.ToUniversalTime();
|
||||
}
|
||||
|
||||
public integer llReturnObjectsByID(list lObjects)
|
||||
{
|
||||
integer iReturned = ERR_GENERIC;
|
||||
Verbose("llReturnObjectsByID({0})={1}", lObjects, iReturned);
|
||||
return iReturned;
|
||||
}
|
||||
|
||||
public integer llReturnObjectsByOwner(key kID, integer iScope)
|
||||
{
|
||||
integer iReturned = ERR_GENERIC;
|
||||
Verbose("llReturnObjectsByOwner({0}, {1})={2}", kID, iScope, iReturned);
|
||||
return iReturned;
|
||||
}
|
||||
|
||||
public void llRezAtRoot(String inventory, vector pos, vector vel, rotation rot, integer param)
|
||||
{
|
||||
Verbose("RezAtRoot(" + inventory + "," + pos + "," + vel + "," + rot + "," + param + ")");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue