29 using System.Diagnostics;
30 using System.Runtime.Remoting.Lifetime;
31 using System.Threading;
32 using System.Reflection;
33 using System.Collections;
34 using System.Collections.Generic;
35 using OpenSim.Region.ScriptEngine.Interfaces;
36 using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces;
46 namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
48 public partial class ScriptBaseClass : MarshalByRefObject
57 m_LSL_Functions = (ILSL_Api)api;
60 public void state(
string newState)
62 m_LSL_Functions.state(newState);
70 return m_LSL_Functions.llAbs(i);
75 return m_LSL_Functions.llAcos(val);
80 m_LSL_Functions.llAddToLandBanList(avatar, hours);
85 m_LSL_Functions.llAddToLandPassList(avatar, hours);
90 m_LSL_Functions.llAdjustSoundVolume(volume);
95 m_LSL_Functions.llAllowInventoryDrop(add);
100 return m_LSL_Functions.llAngleBetween(a, b);
105 m_LSL_Functions.llApplyImpulse(force, local);
110 m_LSL_Functions.llApplyRotationalImpulse(force, local);
115 return m_LSL_Functions.llAsin(val);
120 return m_LSL_Functions.llAtan2(x, y);
125 m_LSL_Functions.llAttachToAvatar(attachment);
130 return m_LSL_Functions.llAvatarOnSitTarget();
135 return m_LSL_Functions.llAvatarOnLinkSitTarget(linknum);
140 return m_LSL_Functions.llAxes2Rot(fwd, left, up);
145 return m_LSL_Functions.llAxisAngle2Rot(axis, angle);
150 return m_LSL_Functions.llBase64ToInteger(str);
155 return m_LSL_Functions.llBase64ToString(str);
160 m_LSL_Functions.llBreakAllLinks();
165 m_LSL_Functions.llBreakLink(linknum);
170 return m_LSL_Functions.llCeil(f);
175 m_LSL_Functions.llClearCameraParams();
180 m_LSL_Functions.llCloseRemoteDataChannel(channel);
185 return m_LSL_Functions.llCloud(offset);
190 m_LSL_Functions.llCollisionFilter(name, id, accept);
195 m_LSL_Functions.llCollisionSound(impact_sound, impact_volume);
200 m_LSL_Functions.llCollisionSprite(impact_sprite);
205 return m_LSL_Functions.llCos(f);
210 m_LSL_Functions.llCreateLink(target, parent);
215 return m_LSL_Functions.llCSV2List(src);
220 return m_LSL_Functions.llDeleteSubList(src, start, end);
225 return m_LSL_Functions.llDeleteSubString(src, start, end);
230 m_LSL_Functions.llDetachFromAvatar();
235 return m_LSL_Functions.llDetectedGrab(number);
240 return m_LSL_Functions.llDetectedGroup(number);
245 return m_LSL_Functions.llDetectedKey(number);
250 return m_LSL_Functions.llDetectedLinkNumber(number);
255 return m_LSL_Functions.llDetectedName(number);
260 return m_LSL_Functions.llDetectedOwner(number);
265 return m_LSL_Functions.llDetectedPos(number);
270 return m_LSL_Functions.llDetectedRot(number);
275 return m_LSL_Functions.llDetectedType(number);
280 return m_LSL_Functions.llDetectedTouchBinormal(index);
285 return m_LSL_Functions.llDetectedTouchFace(index);
290 return m_LSL_Functions.llDetectedTouchNormal(index);
295 return m_LSL_Functions.llDetectedTouchPos(index);
300 return m_LSL_Functions.llDetectedTouchST(index);
305 return m_LSL_Functions.llDetectedTouchUV(index);
310 return m_LSL_Functions.llDetectedVel(number);
315 m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel);
318 [DebuggerNonUserCode]
321 m_LSL_Functions.llDie();
326 return m_LSL_Functions.llDumpList2String(src, seperator);
331 return m_LSL_Functions.llEdgeOfWorld(pos, dir);
336 m_LSL_Functions.llEjectFromLand(pest);
339 public void llEmail(
string address,
string subject,
string message)
341 m_LSL_Functions.llEmail(address, subject, message);
346 return m_LSL_Functions.llEscapeURL(url);
351 return m_LSL_Functions.llEuler2Rot(v);
356 return m_LSL_Functions.llFabs(f);
361 return m_LSL_Functions.llFloor(f);
366 m_LSL_Functions.llForceMouselook(mouselook);
371 return m_LSL_Functions.llFrand(mag);
376 return m_LSL_Functions.llGenerateKey();
381 return m_LSL_Functions.llGetAccel();
386 return m_LSL_Functions.llGetAgentInfo(id);
391 return m_LSL_Functions.llGetAgentLanguage(id);
396 return m_LSL_Functions.llGetAgentList(scope,
options);
401 return m_LSL_Functions.llGetAgentSize(id);
406 return m_LSL_Functions.llGetAlpha(face);
411 return m_LSL_Functions.llGetAndResetTime();
416 return m_LSL_Functions.llGetAnimation(id);
421 return m_LSL_Functions.llGetAnimationList(id);
426 return m_LSL_Functions.llGetAttached();
431 return m_LSL_Functions.llGetBoundingBox(obj);
436 return m_LSL_Functions.llGetCameraPos();
441 return m_LSL_Functions.llGetCameraRot();
446 return m_LSL_Functions.llGetCenterOfMass();
451 return m_LSL_Functions.llGetColor(face);
456 return m_LSL_Functions.llGetCreator();
461 return m_LSL_Functions.llGetDate();
466 return m_LSL_Functions.llGetEnergy();
471 return m_LSL_Functions.llGetEnv(name);
476 return m_LSL_Functions.llGetForce();
481 return m_LSL_Functions.llGetFreeMemory();
486 return m_LSL_Functions.llGetUsedMemory();
491 return m_LSL_Functions.llGetFreeURLs();
496 return m_LSL_Functions.llGetGeometricCenter();
501 return m_LSL_Functions.llGetGMTclock();
506 return m_LSL_Functions.llGetHTTPHeader(request_id, header);
511 return m_LSL_Functions.llGetInventoryCreator(item);
516 return m_LSL_Functions.llGetInventoryKey(name);
521 return m_LSL_Functions.llGetInventoryName(type, number);
526 return m_LSL_Functions.llGetInventoryNumber(type);
531 return m_LSL_Functions.llGetInventoryPermMask(item, mask);
536 return m_LSL_Functions.llGetInventoryType(name);
541 return m_LSL_Functions.llGetKey();
546 return m_LSL_Functions.llGetLandOwnerAt(pos);
551 return m_LSL_Functions.llGetLinkKey(linknum);
556 return m_LSL_Functions.llGetLinkName(linknum);
561 return m_LSL_Functions.llGetLinkNumber();
566 return m_LSL_Functions.llGetLinkNumberOfSides(link);
571 return m_LSL_Functions.llGetListEntryType(src, index);
576 return m_LSL_Functions.llGetListLength(src);
581 return m_LSL_Functions.llGetLocalPos();
586 return m_LSL_Functions.llGetLocalRot();
591 return m_LSL_Functions.llGetMass();
596 return m_LSL_Functions.llGetMassMKS();
601 return m_LSL_Functions.llGetMemoryLimit();
606 m_LSL_Functions.llGetNextEmail(address, subject);
611 return m_LSL_Functions.llGetNotecardLine(name, line);
616 return m_LSL_Functions.llGetNumberOfNotecardLines(name);
621 return m_LSL_Functions.llGetNumberOfPrims();
626 return m_LSL_Functions.llGetNumberOfSides();
631 return m_LSL_Functions.llGetObjectDesc();
636 return m_LSL_Functions.llGetObjectDetails(id, args);
641 return m_LSL_Functions.llGetObjectMass(id);
646 return m_LSL_Functions.llGetObjectName();
651 return m_LSL_Functions.llGetObjectPermMask(mask);
656 return m_LSL_Functions.llGetObjectPrimCount(object_id);
661 return m_LSL_Functions.llGetOmega();
666 return m_LSL_Functions.llGetOwner();
671 return m_LSL_Functions.llGetOwnerKey(id);
676 return m_LSL_Functions.llGetParcelDetails(pos, param);
681 return m_LSL_Functions.llGetParcelFlags(pos);
686 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide);
691 return m_LSL_Functions.llGetParcelMusicURL();
696 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide);
701 return m_LSL_Functions.llGetParcelPrimOwners(pos);
706 return m_LSL_Functions.llGetPermissions();
711 return m_LSL_Functions.llGetPermissionsKey();
716 return m_LSL_Functions.llGetPos();
721 return m_LSL_Functions.llGetPrimitiveParams(rules);
726 return m_LSL_Functions.llGetLinkPrimitiveParams(linknum, rules);
731 return m_LSL_Functions.llGetRegionAgentCount();
736 return m_LSL_Functions.llGetRegionCorner();
741 return m_LSL_Functions.llGetRegionFlags();
746 return m_LSL_Functions.llGetRegionFPS();
751 return m_LSL_Functions.llGetRegionName();
756 return m_LSL_Functions.llGetRegionTimeDilation();
761 return m_LSL_Functions.llGetRootPosition();
766 return m_LSL_Functions.llGetRootRotation();
771 return m_LSL_Functions.llGetRot();
776 return m_LSL_Functions.llGetScale();
781 return m_LSL_Functions.llGetScriptName();
786 return m_LSL_Functions.llGetScriptState(name);
791 return m_LSL_Functions.llGetSimulatorHostname();
796 return m_LSL_Functions.llGetSPMaxMemory();
801 return m_LSL_Functions.llGetStartParameter();
806 return m_LSL_Functions.llGetStatus(status);
811 return m_LSL_Functions.llGetSubString(src, start, end);
816 return m_LSL_Functions.llGetSunDirection();
821 return m_LSL_Functions.llGetTexture(face);
826 return m_LSL_Functions.llGetTextureOffset(face);
831 return m_LSL_Functions.llGetTextureRot(side);
836 return m_LSL_Functions.llGetTextureScale(side);
841 return m_LSL_Functions.llGetTime();
846 return m_LSL_Functions.llGetTimeOfDay();
851 return m_LSL_Functions.llGetTimestamp();
856 return m_LSL_Functions.llGetTorque();
861 return m_LSL_Functions.llGetUnixTime();
866 return m_LSL_Functions.llGetVel();
871 return m_LSL_Functions.llGetWallclock();
876 m_LSL_Functions.llGiveInventory(destination, inventory);
881 m_LSL_Functions.llGiveInventoryList(destination, category, inventory);
886 return m_LSL_Functions.llGiveMoney(destination, amount);
891 return m_LSL_Functions.llTransferLindenDollars(destination, amount);
896 m_LSL_Functions.llGodLikeRezObject(inventory, pos);
901 return m_LSL_Functions.llGround(offset);
906 return m_LSL_Functions.llGroundContour(offset);
911 return m_LSL_Functions.llGroundNormal(offset);
916 m_LSL_Functions.llGroundRepel(height, water, tau);
921 return m_LSL_Functions.llGroundSlope(offset);
926 return m_LSL_Functions.llHTTPRequest(url, parameters, body);
931 m_LSL_Functions.llHTTPResponse(id, status, body);
936 return m_LSL_Functions.llInsertString(dst, position, src);
941 m_LSL_Functions.llInstantMessage(user, message);
946 return m_LSL_Functions.llIntegerToBase64(number);
951 return m_LSL_Functions.llKey2Name(id);
956 return m_LSL_Functions.llGetUsername(id);
961 return m_LSL_Functions.llRequestUsername(id);
966 return m_LSL_Functions.llGetDisplayName(id);
971 return m_LSL_Functions.llRequestDisplayName(id);
976 return m_LSL_Functions.llCastRay(start, end,
options);
981 m_LSL_Functions.llLinkParticleSystem(linknum, rules);
986 return m_LSL_Functions.llList2CSV(src);
991 return m_LSL_Functions.llList2Float(src, index);
996 return m_LSL_Functions.llList2Integer(src, index);
1001 return m_LSL_Functions.llList2Key(src, index);
1006 return m_LSL_Functions.llList2List(src, start, end);
1011 return m_LSL_Functions.llList2ListStrided(src, start, end, stride);
1016 return m_LSL_Functions.llList2Rot(src, index);
1021 return m_LSL_Functions.llList2String(src, index);
1026 return m_LSL_Functions.llList2Vector(src, index);
1031 return m_LSL_Functions.llListen(channelID, name, ID, msg);
1036 m_LSL_Functions.llListenControl(number, active);
1041 m_LSL_Functions.llListenRemove(number);
1046 return m_LSL_Functions.llListFindList(src, test);
1051 return m_LSL_Functions.llListInsertList(dest, src, start);
1056 return m_LSL_Functions.llListRandomize(src, stride);
1061 return m_LSL_Functions.llListReplaceList(dest, src, start, end);
1066 return m_LSL_Functions.llListSort(src, stride, ascending);
1071 return m_LSL_Functions.llListStatistics(operation, src);
1074 public void llLoadURL(
string avatar_id,
string message,
string url)
1076 m_LSL_Functions.llLoadURL(avatar_id, message, url);
1081 return m_LSL_Functions.llLog(val);
1086 return m_LSL_Functions.llLog10(val);
1091 m_LSL_Functions.llLookAt(target, strength, damping);
1096 m_LSL_Functions.llLoopSound(sound, volume);
1101 m_LSL_Functions.llLoopSoundMaster(sound, volume);
1106 m_LSL_Functions.llLoopSoundSlave(sound, volume);
1111 return m_LSL_Functions.llManageEstateAccess(action, avatar);
1116 m_LSL_Functions.llMakeExplosion(particles, scale, vel, lifetime, arc, texture, offset);
1119 public void llMakeFire(
int particles,
double scale,
double vel,
double lifetime,
double arc,
string texture,
LSL_Vector offset)
1121 m_LSL_Functions.llMakeFire(particles, scale, vel, lifetime, arc, texture, offset);
1124 public void llMakeFountain(
int particles,
double scale,
double vel,
double lifetime,
double arc,
int bounce,
string texture,
LSL_Vector offset,
double bounce_offset)
1126 m_LSL_Functions.llMakeFountain(particles, scale, vel, lifetime, arc, bounce, texture, offset, bounce_offset);
1129 public void llMakeSmoke(
int particles,
double scale,
double vel,
double lifetime,
double arc,
string texture,
LSL_Vector offset)
1131 m_LSL_Functions.llMakeSmoke(particles, scale, vel, lifetime, arc, texture, offset);
1136 m_LSL_Functions.llMapDestination(simname, pos, look_at);
1141 return m_LSL_Functions.llMD5String(src, nonce);
1146 return m_LSL_Functions.llSHA1String(src);
1151 m_LSL_Functions.llMessageLinked(linknum, num, str, id);
1156 m_LSL_Functions.llMinEventDelay(delay);
1161 m_LSL_Functions.llModifyLand(action, brush);
1166 return m_LSL_Functions.llModPow(a, b, c);
1171 m_LSL_Functions.llMoveToTarget(target, tau);
1176 m_LSL_Functions.llOffsetTexture(u, v, face);
1181 m_LSL_Functions.llOpenRemoteDataChannel();
1186 return m_LSL_Functions.llOverMyLand(id);
1191 m_LSL_Functions.llOwnerSay(msg);
1196 m_LSL_Functions.llParcelMediaCommandList(commandList);
1201 return m_LSL_Functions.llParcelMediaQuery(aList);
1206 return m_LSL_Functions.llParseString2List(str, separators, spacers);
1211 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers);
1216 m_LSL_Functions.llParticleSystem(rules);
1221 m_LSL_Functions.llPassCollisions(pass);
1226 m_LSL_Functions.llPassTouches(pass);
1231 m_LSL_Functions.llPlaySound(sound, volume);
1236 m_LSL_Functions.llPlaySoundSlave(sound, volume);
1241 m_LSL_Functions.llPointAt(pos);
1246 return m_LSL_Functions.llPow(fbase, fexponent);
1251 m_LSL_Functions.llPreloadSound(sound);
1256 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local);
1261 m_LSL_Functions.llRefreshPrimURL();
1266 m_LSL_Functions.llRegionSay(channelID, text);
1271 m_LSL_Functions.llRegionSayTo(
key, channelID, text);
1276 m_LSL_Functions.llReleaseCamera(avatar);
1281 m_LSL_Functions.llReleaseURL(url);
1286 m_LSL_Functions.llReleaseControls();
1291 m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata);
1296 m_LSL_Functions.llRemoteDataSetRegion();
1301 m_LSL_Functions.llRemoteLoadScript(target, name, running, start_param);
1306 m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param);
1311 m_LSL_Functions.llRemoveFromLandBanList(avatar);
1316 m_LSL_Functions.llRemoveFromLandPassList(avatar);
1321 m_LSL_Functions.llRemoveInventory(item);
1326 m_LSL_Functions.llRemoveVehicleFlags(flags);
1331 return m_LSL_Functions.llRequestAgentData(id, data);
1336 return m_LSL_Functions.llRequestInventoryData(name);
1341 m_LSL_Functions.llRequestPermissions(agent, perm);
1346 return m_LSL_Functions.llRequestSecureURL();
1351 return m_LSL_Functions.llRequestSimulatorData(simulator, data);
1355 return m_LSL_Functions.llRequestURL();
1360 m_LSL_Functions.llResetLandBanList();
1365 m_LSL_Functions.llResetLandPassList();
1370 m_LSL_Functions.llResetOtherScript(name);
1375 m_LSL_Functions.llResetScript();
1380 m_LSL_Functions.llResetTime();
1385 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param);
1390 m_LSL_Functions.llRezObject(inventory, pos, vel, rot, param);
1395 return m_LSL_Functions.llRot2Angle(rot);
1400 return m_LSL_Functions.llRot2Axis(rot);
1405 return m_LSL_Functions.llRot2Euler(r);
1410 return m_LSL_Functions.llRot2Fwd(r);
1415 return m_LSL_Functions.llRot2Left(r);
1420 return m_LSL_Functions.llRot2Up(r);
1425 m_LSL_Functions.llRotateTexture(
rotation, face);
1430 return m_LSL_Functions.llRotBetween(start, end);
1435 m_LSL_Functions.llRotLookAt(target, strength, damping);
1440 return m_LSL_Functions.llRotTarget(rot, error);
1445 m_LSL_Functions.llRotTargetRemove(number);
1450 return m_LSL_Functions.llRound(f);
1455 return m_LSL_Functions.llSameGroup(agent);
1458 public void llSay(
int channelID,
string text)
1460 m_LSL_Functions.llSay(channelID, text);
1465 m_LSL_Functions.llScaleTexture(u, v, face);
1470 return m_LSL_Functions.llScriptDanger(pos);
1475 m_LSL_Functions.llScriptProfiler(flags);
1480 return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata);
1483 public void llSensor(
string name,
string id,
int type,
double range,
double arc)
1485 m_LSL_Functions.llSensor(name, id, type, range, arc);
1490 m_LSL_Functions.llSensorRemove();
1493 public void llSensorRepeat(
string name,
string id,
int type,
double range,
double arc,
double rate)
1495 m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate);
1500 m_LSL_Functions.llSetAlpha(alpha, face);
1505 m_LSL_Functions.llSetBuoyancy(buoyancy);
1510 m_LSL_Functions.llSetCameraAtOffset(offset);
1515 m_LSL_Functions.llSetCameraEyeOffset(offset);
1520 m_LSL_Functions.llSetLinkCamera(link, eye, at);
1525 m_LSL_Functions.llSetCameraParams(rules);
1530 m_LSL_Functions.llSetClickAction(action);
1535 m_LSL_Functions.llSetColor(color, face);
1540 m_LSL_Functions.llSetContentType(id, type);
1545 m_LSL_Functions.llSetDamage(damage);
1550 m_LSL_Functions.llSetForce(force, local);
1555 m_LSL_Functions.llSetForceAndTorque(force, torque, local);
1560 m_LSL_Functions.llSetVelocity(force, local);
1566 m_LSL_Functions.llSetAngularVelocity(force, local);
1571 m_LSL_Functions.llSetHoverHeight(height, water, tau);
1576 m_LSL_Functions.llSetInventoryPermMask(item, mask, value);
1581 m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face);
1586 m_LSL_Functions.llSetLinkColor(linknumber, color, face);
1591 m_LSL_Functions.llSetLinkPrimitiveParams(linknumber, rules);
1596 m_LSL_Functions.llSetLinkTexture(linknumber, texture, face);
1599 public void llSetLinkTextureAnim(
int linknum,
int mode,
int face,
int sizex,
int sizey,
double start,
double length,
double rate)
1601 m_LSL_Functions.llSetLinkTextureAnim(linknum, mode, face, sizex, sizey, start, length, rate);
1606 m_LSL_Functions.llSetLocalRot(rot);
1611 return m_LSL_Functions.llSetMemoryLimit(limit);
1616 m_LSL_Functions.llSetObjectDesc(desc);
1621 m_LSL_Functions.llSetObjectName(name);
1626 m_LSL_Functions.llSetObjectPermMask(mask, value);
1631 m_LSL_Functions.llSetParcelMusicURL(url);
1636 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons);
1641 m_LSL_Functions.llSetPos(pos);
1646 return m_LSL_Functions.llSetRegionPos(pos);
1651 m_LSL_Functions.llSetPrimitiveParams(rules);
1656 m_LSL_Functions.llSetLinkPrimitiveParamsFast(linknum, rules);
1661 m_LSL_Functions.llSetPrimURL(url);
1666 m_LSL_Functions.llSetRemoteScriptAccessPin(pin);
1671 m_LSL_Functions.llSetRot(rot);
1676 m_LSL_Functions.llSetScale(scale);
1681 m_LSL_Functions.llSetScriptState(name, run);
1686 m_LSL_Functions.llSetSitText(text);
1691 m_LSL_Functions.llSetSoundQueueing(queue);
1696 m_LSL_Functions.llSetSoundRadius(radius);
1701 m_LSL_Functions.llSetStatus(status, value);
1706 m_LSL_Functions.llSetText(text, color, alpha);
1711 m_LSL_Functions.llSetTexture(texture, face);
1714 public void llSetTextureAnim(
int mode,
int face,
int sizex,
int sizey,
double start,
double length,
double rate)
1716 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate);
1721 m_LSL_Functions.llSetTimerEvent(sec);
1726 m_LSL_Functions.llSetTorque(torque, local);
1731 m_LSL_Functions.llSetTouchText(text);
1736 m_LSL_Functions.llSetVehicleFlags(flags);
1741 m_LSL_Functions.llSetVehicleFloatParam(param, value);
1746 m_LSL_Functions.llSetVehicleRotationParam(param, rot);
1751 m_LSL_Functions.llSetVehicleType(type);
1756 m_LSL_Functions.llSetVehicleVectorParam(param, vec);
1761 m_LSL_Functions.llShout(channelID, text);
1766 return m_LSL_Functions.llSin(f);
1771 m_LSL_Functions.llSitTarget(offset, rot);
1776 m_LSL_Functions.llLinkSitTarget(link, offset, rot);
1781 m_LSL_Functions.llSleep(sec);
1784 public void llSound(
string sound,
double volume,
int queue,
int loop)
1786 m_LSL_Functions.llSound(sound, volume, queue, loop);
1791 m_LSL_Functions.llSoundPreload(sound);
1796 return m_LSL_Functions.llSqrt(f);
1801 m_LSL_Functions.llStartAnimation(anim);
1806 m_LSL_Functions.llStopAnimation(anim);
1811 m_LSL_Functions.llStopHover();
1816 m_LSL_Functions.llStopLookAt();
1821 m_LSL_Functions.llStopMoveToTarget();
1826 m_LSL_Functions.llStopPointAt();
1831 m_LSL_Functions.llStopSound();
1836 return m_LSL_Functions.llStringLength(str);
1841 return m_LSL_Functions.llStringToBase64(str);
1846 return m_LSL_Functions.llStringTrim(src, type);
1851 return m_LSL_Functions.llSubStringIndex(source, pattern);
1856 m_LSL_Functions.llTakeCamera(avatar);
1861 m_LSL_Functions.llTakeControls(controls, accept, pass_on);
1866 return m_LSL_Functions.llTan(f);
1871 return m_LSL_Functions.llTarget(position, range);
1876 m_LSL_Functions.llTargetOmega(axis, spinrate, gain);
1881 m_LSL_Functions.llTargetRemove(number);
1886 m_LSL_Functions.llTeleportAgent(agent, simname, pos, lookAt);
1891 m_LSL_Functions.llTeleportAgentGlobalCoords(agent, global, pos, lookAt);
1896 m_LSL_Functions.llTeleportAgentHome(agent);
1899 public void llTextBox(
string avatar,
string message,
int chat_channel)
1901 m_LSL_Functions.llTextBox(avatar, message, chat_channel);
1906 return m_LSL_Functions.llToLower(source);
1911 return m_LSL_Functions.llToUpper(source);
1916 m_LSL_Functions.llTriggerSound(sound, volume);
1921 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west);
1926 return m_LSL_Functions.llUnescapeURL(url);
1931 m_LSL_Functions.llUnSit(id);
1936 return m_LSL_Functions.llVecDist(a, b);
1941 return m_LSL_Functions.llVecMag(v);
1946 return m_LSL_Functions.llVecNorm(v);
1951 m_LSL_Functions.llVolumeDetect(detect);
1956 return m_LSL_Functions.llWater(offset);
1961 m_LSL_Functions.llWhisper(channelID, text);
1966 return m_LSL_Functions.llWind(offset);
1971 return m_LSL_Functions.llXorBase64Strings(str1, str2);
1976 return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2);
1981 return m_LSL_Functions.llGetPrimMediaParams(face, rules);
1986 return m_LSL_Functions.llGetLinkMedia(link, face, rules);
1991 return m_LSL_Functions.llSetPrimMediaParams(face, rules);
1996 return m_LSL_Functions.llSetLinkMedia(link, face, rules);
2001 return m_LSL_Functions.llClearPrimMedia(face);
2006 return m_LSL_Functions.llClearLinkMedia(link, face);
2011 return m_LSL_Functions.llGetLinkNumberOfSides(link);
2016 m_LSL_Functions.llSetKeyframedMotion(frames,
options);
2019 public void llSetPhysicsMaterial(
int material_bits,
float material_gravity_modifier,
float material_restitution,
float material_friction,
float material_density)
2021 m_LSL_Functions.llSetPhysicsMaterial(material_bits, material_gravity_modifier, material_restitution, material_friction, material_density);
2026 return m_LSL_Functions.llGetPhysicsMaterial();
2031 m_LSL_Functions.llSetAnimationOverride(animState, anim);
2036 m_LSL_Functions.llResetAnimationOverride(anim_state);
2041 return m_LSL_Functions.llGetAnimationOverride(anim_state);
2046 return m_LSL_Functions.llJsonGetValue(json, specifiers);
2051 return m_LSL_Functions.llJson2List(json);
2056 return m_LSL_Functions.llList2Json(type, values);
2061 return m_LSL_Functions.llJsonSetValue(json, specifiers, value);
2066 return m_LSL_Functions.llJsonValueType(json, specifiers);
LSL_Integer llGetParcelFlags(LSL_Vector pos)
LSL_String llGetCreator()
void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate)
void llPassTouches(int pass)
LSL_Key llGetLandOwnerAt(LSL_Vector pos)
LSL_Rotation llDetectedRot(int number)
void llListenRemove(int number)
LSL_String llGetAnimation(string id)
LSL_Float llGetAlpha(int face)
LSL_Rotation llEuler2Rot(LSL_Vector v)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat LSL_Float
void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate)
void llRegionSayTo(string key, int channelID, string text)
void llCloseRemoteDataChannel(string channel)
LSL_Integer llGetAgentInfo(string id)
LSL_Integer llDetectedType(int number)
void llSetColor(LSL_Vector color, int face)
LSL_Key llDetectedKey(int number)
void llSoundPreload(string sound)
void llRequestPermissions(string agent, int perm)
LSL_String llRequestDisplayName(string id)
LSL_Integer llGetStartParameter()
void llInstantMessage(string user, string message)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.list LSL_List
void ApiTypeLSL(IScriptApi api)
LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers)
LSL_Integer llGetListEntryType(LSL_List src, int index)
LSL_Integer llGetMemoryLimit()
LSL_Integer llGetLinkNumber()
void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param)
LSL_Float llCos(double f)
LSL_Integer llGetNumberOfPrims()
LSL_String llJsonValueType(LSL_String json, LSL_List specifiers)
void llTargetRemove(int number)
void llCollisionFilter(string name, string id, int accept)
LSL_Integer llRotTarget(LSL_Rotation rot, double error)
LSL_List llGetPrimMediaParams(int face, LSL_List rules)
LSL_Float llFabs(double f)
LSL_Vector llGetLocalPos()
LSL_Vector llGroundContour(LSL_Vector offset)
LSL_Vector llDetectedTouchUV(int index)
void llTeleportAgent(string agent, string simname, LSL_Vector pos, LSL_Vector lookAt)
LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b)
void llPlaySoundSlave(string sound, double volume)
void llSetVelocity(LSL_Vector force, int local)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString LSL_Key
LSL_Float llVecMag(LSL_Vector v)
LSL_Vector llGetTextureOffset(int face)
void llClearCameraParams()
void llMakeSmoke(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset)
LSL_Integer llGetNumberOfSides()
LSL_Key llGetLinkKey(int linknum)
LSL_Integer llSubStringIndex(string source, string pattern)
LSL_Vector llRot2Fwd(LSL_Rotation r)
void llSetVehicleType(int type)
LSL_String llList2Json(LSL_String type, LSL_List values)
void llPointAt(LSL_Vector pos)
void llSetCameraEyeOffset(LSL_Vector offset)
void llScriptProfiler(LSL_Integer flags)
void llGiveInventoryList(string destination, string category, LSL_List inventory)
void llRemoteDataReply(string channel, string message_id, string sdata, int idata)
void llRemoveFromLandPassList(string avatar)
LSL_String llGetParcelMusicURL()
void llSetVehicleFloatParam(int param, LSL_Float value)
LSL_Float llSin(double f)
LSL_Vector llGetRootPosition()
LSL_Vector llGetTextureScale(int side)
LSL_Float llWater(LSL_Vector offset)
LSL_Float llGetWallclock()
LSL_Vector llWind(LSL_Vector offset)
LSL_Integer llGetObjectPermMask(int mask)
void llTriggerSound(string sound, double volume)
void llSetCameraAtOffset(LSL_Vector offset)
void llSetRot(LSL_Rotation rot)
LSL_String llStringToBase64(string str)
LSL_Vector llDetectedTouchBinormal(int index)
void llSetHoverHeight(double height, int water, double tau)
LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide)
void llSetText(string text, LSL_Vector color, double alpha)
LSL_Vector llList2Vector(LSL_List src, int index)
void llGiveInventory(string destination, string inventory)
void llSetTexture(string texture, int face)
LSL_String llGetEnv(LSL_String name)
void llApplyRotationalImpulse(LSL_Vector force, int local)
LSL_Integer llGetRegionFlags()
LSL_List llGetLinkPrimitiveParams(int linknum, LSL_List rules)
LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up)
LSL_Float llAsin(double val)
LSL_Vector llGetCameraPos()
void llRemoteLoadScript(string target, string name, int running, int start_param)
LSL_List llParcelMediaQuery(LSL_List aList)
void llSetScale(LSL_Vector scale)
void llSensorRepeat(string name, string id, int type, double range, double arc, double rate)
void llApplyImpulse(LSL_Vector force, int local)
LSL_Integer llListen(int channelID, string name, string ID, string msg)
LSL_Integer llSetMemoryLimit(LSL_Integer limit)
void llMessageLinked(int linknum, int num, string str, string id)
void llSetSoundQueueing(int queue)
LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers)
void llMakeFountain(int particles, double scale, double vel, double lifetime, double arc, int bounce, string texture, LSL_Vector offset, double bounce_offset)
void llMinEventDelay(double delay)
void llSetScriptState(string name, int run)
void llLoadURL(string avatar_id, string message, string url)
void llSetLinkTexture(int linknumber, string texture, int face)
LSL_String llDumpList2String(LSL_List src, string seperator)
void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param)
void llSetPhysicsMaterial(int material_bits, float material_gravity_modifier, float material_restitution, float material_friction, float material_density)
LSL_String llHTTPRequest(string url, LSL_List parameters, string body)
LSL_Integer llRound(double f)
void llSetContentType(LSL_Key id, LSL_Integer type)
LSL_List llJson2List(LSL_String json)
LSL_Float llGetGMTclock()
LSL_Integer llGetInventoryType(string name)
void llSetVehicleVectorParam(int param, LSL_Vector vec)
void llSetSitText(string text)
LSL_Integer llGetObjectPrimCount(string object_id)
LSL_String llXorBase64StringsCorrect(string str1, string str2)
LSL_String llList2String(LSL_List src, int index)
void llSetAnimationOverride(LSL_String animState, LSL_String anim)
void llSitTarget(LSL_Vector offset, LSL_Rotation rot)
LSL_String llDeleteSubString(string src, int start, int end)
LSL_List llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options)
LSL_Integer llManageEstateAccess(int action, string avatar)
LSL_String llGetSubString(string src, int start, int end)
void llAddToLandPassList(string avatar, double hours)
LSL_Float llSqrt(double f)
void llAddToLandBanList(string avatar, double hours)
LSL_Vector llDetectedTouchNormal(int index)
void llPlaySound(string sound, double volume)
LSL_Integer llGetLinkNumberOfSides(int link)
LSL_Vector llGroundSlope(LSL_Vector offset)
LSL_List llListRandomize(LSL_List src, int stride)
void llDetachFromAvatar()
LSL_String llGetTimestamp()
void llResetOtherScript(string name)
LSL_String llGetInventoryName(int type, int number)
void llSetLinkPrimitiveParams(int linknumber, LSL_List rules)
LSL_Vector llRot2Up(LSL_Rotation r)
LSL_Vector llGetSunDirection()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString key
LSL_String llToLower(string source)
void llMakeExplosion(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset)
LSL_String llJsonSetValue(LSL_String json, LSL_List specifiers, LSL_String value)
void llRemoveVehicleFlags(int flags)
LSL_Vector llDetectedGrab(int number)
LSL_Float llGround(LSL_Vector offset)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3 LSL_Vector
void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param)
LSL_Vector llGetColor(int face)
void llSetPrimURL(string url)
LSL_List llGetObjectDetails(string id, LSL_List args)
LSL_Integer llGetFreeMemory()
void llMoveToTarget(LSL_Vector target, double tau)
LSL_Integer llTarget(LSL_Vector position, double range)
LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir)
void llSetAlpha(double alpha, int face)
LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride)
void llForceMouselook(int mouselook)
void llRegionSay(int channelID, string text)
LSL_Integer llScriptDanger(LSL_Vector pos)
LSL_Vector llRot2Left(LSL_Rotation r)
void llScaleTexture(double u, double v, int face)
LSL_String llRequestSecureURL()
LSL_String llGetObjectName()
LSL_Integer llSetRegionPos(LSL_Vector pos)
LSL_Float llLog10(double val)
LSL_Key llGetNumberOfNotecardLines(string name)
void llSetLinkPrimitiveParamsFast(int linknum, LSL_List rules)
void llModifyLand(int action, int brush)
LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle)
LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata)
void llOffsetTexture(double u, double v, int face)
LSL_Integer llCeil(double f)
void llSetPrimitiveParams(LSL_List rules)
void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local)
LSL_String llGetAgentLanguage(string id)
LSL_Integer llSameGroup(string agent)
void llSetPayPrice(int price, LSL_List quick_pay_buttons)
void llPreloadSound(string sound)
void llSetRemoteScriptAccessPin(int pin)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion rotation
LSL_Vector llGetCenterOfMass()
LSL_Float llAtan2(double x, double y)
LSL_List llGetBoundingBox(string obj)
LSL_Float llTan(double f)
void llReleaseCamera(string avatar)
LSL_String llGetRegionName()
LSL_Float llGetRegionFPS()
LSL_String llKey2Name(string id)
void llSetForce(LSL_Vector force, int local)
void llStopMoveToTarget()
void llListenControl(int number, int active)
void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at)
LSL_String llDetectedName(int number)
void llSetSoundRadius(double radius)
LSL_Float llFrand(double mag)
void llSound(string sound, double volume, int queue, int loop)
LSL_Integer llGetFreeURLs()
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSL_Integer
void llLinkSitTarget(LSL_Integer link, LSL_Vector offset, LSL_Rotation rot)
LSL_Integer llFloor(double f)
void llStartAnimation(string anim)
void llLinkParticleSystem(int linknum, LSL_List rules)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion LSL_Rotation
LSL_Vector llDetectedTouchST(int index)
LSL_Integer llGiveMoney(string destination, int amount)
void llLookAt(LSL_Vector target, double strength, double damping)
void llSetObjectPermMask(int mask, int value)
void llCollisionSound(string impact_sound, double impact_volume)
void llSetTimerEvent(double sec)
LSL_String llSHA1String(string src)
LSL_Float llGetObjectMass(string id)
void llMakeFire(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset)
void llSetLinkColor(int linknumber, LSL_Vector color, int face)
LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end)
LSL_Key llGetPermissionsKey()
LSL_Float llListStatistics(int operation, LSL_List src)
LSL_Vector llRot2Euler(LSL_Rotation r)
void llOwnerSay(string msg)
void llReleaseURL(string url)
LSL_Vector llGetRegionCorner()
LSL_Integer llGetStatus(int status)
void llBreakLink(int linknum)
void llSetLocalRot(LSL_Rotation rot)
LSL_String llGetObjectDesc()
void llRotTargetRemove(int number)
void llSetAngularVelocity(LSL_Vector force, int local)
void llPassCollisions(int pass)
LSL_String llXorBase64Strings(string str1, string str2)
LSL_Float llPow(double fbase, double fexponent)
void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local)
LSL_String llStringTrim(string src, int type)
LSL_List llDeleteSubList(LSL_List src, int start, int end)
void llTeleportAgentGlobalCoords(string agent, LSL_Vector global, LSL_Vector pos, LSL_Vector lookAt)
void llSetKeyframedMotion(LSL_List frames, LSL_List options)
LSL_Integer llSetPrimMediaParams(int face, LSL_List rules)
void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west)
LSL_String llIntegerToBase64(int number)
void llHTTPResponse(LSL_Key id, int status, string body)
void llTakeCamera(string avatar)
void llSetTorque(LSL_Vector torque, int local)
void llSetLinkCamera(LSL_Integer link, LSL_Vector eye, LSL_Vector at)
LSL_String llUnescapeURL(string url)
LSL_List llGetPhysicsMaterial()
void llTakeControls(int controls, int accept, int pass_on)
LSL_Rotation llGetLocalRot()
LSL_Float llGetTimeOfDay()
LSL_Rotation llGetCameraRot()
void llSetVehicleRotationParam(int param, LSL_Rotation rot)
LSL_Integer llGetUsedMemory()
void llRotLookAt(LSL_Rotation target, double strength, double damping)
LSL_Float llLog(double val)
LSL_String llTransferLindenDollars(string destination, int amount)
LSL_List llList2List(LSL_List src, int start, int end)
void llVolumeDetect(int detect)
void llLoopSoundMaster(string sound, double volume)
LSL_Key llRequestInventoryData(string name)
LSL_Key llDetectedOwner(int number)
LSL_Integer llGetSPMaxMemory()
LSL_String llGetSimulatorHostname()
LSL_Integer llClearLinkMedia(LSL_Integer link, LSL_Integer face)
LSL_Vector llRot2Axis(LSL_Rotation rot)
void llGroundRepel(double height, int water, double tau)
LSL_Key llGetInventoryKey(string name)
LSL_Integer llGetInventoryPermMask(string item, int mask)
void llEmail(string address, string subject, string message)
void llLoopSound(string sound, double volume)
void llResetAnimationOverride(LSL_String anim_state)
LSL_List llGetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules)
LSL_Key llGetOwnerKey(string id)
LSL_String llRequestUsername(string id)
LSL_Integer llGetRegionAgentCount()
void llParticleSystem(LSL_List rules)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSLInteger
LSL_Vector llGetAgentSize(string id)
LSL_List llGetPrimitiveParams(LSL_List rules)
LSL_Vector llVecNorm(LSL_Vector v)
void llSetStatus(int status, int value)
LSL_List llListSort(LSL_List src, int stride, int ascending)
LSL_String llGetTexture(int face)
LSL_Integer llClearPrimMedia(LSL_Integer face)
LSL_Key llAvatarOnSitTarget()
LSL_String llGetUsername(string id)
LSL_List llListInsertList(LSL_List dest, LSL_List src, int start)
LSL_Rotation llGetRootRotation()
LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end)
LSL_Vector llDetectedVel(int number)
LSL_Integer llDetectedLinkNumber(int number)
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString LSL_String
void llResetLandBanList()
LSL_Vector llDetectedPos(int number)
LSL_Integer llOverMyLand(string id)
LSL_Integer llGetInventoryNumber(int type)
LSL_List llCSV2List(string src)
LSL_String llJsonGetValue(LSL_String json, LSL_List specifiers)
void llTextBox(string avatar, string message, int chat_channel)
void llAllowInventoryDrop(int add)
LSL_Float llVecDist(LSL_Vector a, LSL_Vector b)
LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param)
void llSetObjectName(string name)
LSL_String llBase64ToString(string str)
LSL_String llGetAnimationOverride(LSL_String anim_state)
LSL_String llList2CSV(LSL_List src)
void llEjectFromLand(string pest)
LSL_Vector llGetGeometricCenter()
void llRemoteDataSetRegion()
void llSetObjectDesc(string desc)
LSL_Key llList2Key(LSL_List src, int index)
LSL_Float llAcos(double val)
LSL_String llEscapeURL(string url)
void llLoopSoundSlave(string sound, double volume)
LSL_Integer llModPow(int a, int b, int c)
void llSetVehicleFlags(int flags)
LSL_Float llGetRegionTimeDilation()
LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
void llAdjustSoundVolume(double volume)
LSL_String llToUpper(string source)
LSL_Float llList2Float(LSL_List src, int index)
void llCreateLink(string target, int parent)
void llRemoveInventory(string item)
LSL_String llGetNotecardLine(string name, int line)
void llCollisionSprite(string impact_sprite)
LSL_Integer llDetectedGroup(int number)
LSL_Integer llGetAttached()
void state(string newState)
void llShout(int channelID, string text)
void llSetTouchText(string text)
LSL_Integer llGetListLength(LSL_List src)
LSL_Key llRequestSimulatorData(string simulator, int data)
LSL_String llInsertString(string dst, int position, string src)
LSL_Key llRequestAgentData(string id, int data)
LSL_Rotation llList2Rot(LSL_List src, int index)
LSL_Float llGetAndResetTime()
void llTargetOmega(LSL_Vector axis, double spinrate, double gain)
void llSetBuoyancy(double buoyancy)
void llSetClickAction(int action)
LSL_String llMD5String(string src, int nonce)
LSL_Integer llStringLength(string str)
LSL_String llGetLinkName(int linknum)
void llSetCameraParams(LSL_List rules)
void llSensor(string name, string id, int type, double range, double arc)
void llGodLikeRezObject(string inventory, LSL_Vector pos)
LSL_Vector llGroundNormal(LSL_Vector offset)
LSL_Integer llSetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules)
LSL_String llGetScriptName()
LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide)
void llResetLandPassList()
void llStopAnimation(string anim)
void llOpenRemoteDataChannel()
LSL_List llGetAgentList(LSL_Integer scope, LSL_List options)
LSL_Integer llGetUnixTime()
void llSetInventoryPermMask(string item, int mask, int value)
void llDialog(string avatar, string message, LSL_List buttons, int chat_channel)
LSL_Float llCloud(LSL_Vector offset)
void llTeleportAgentHome(string agent)
LSL_Key llAvatarOnLinkSitTarget(int linknum)
LSL_Integer llList2Integer(LSL_List src, int index)
LSL_List llGetParcelPrimOwners(LSL_Vector pos)
LSL_Integer llGetScriptState(string name)
LSL_Integer llGetPermissions()
LSL_Integer llDetectedTouchFace(int index)
LSL_Integer llListFindList(LSL_List src, LSL_List test)
void llParcelMediaCommandList(LSL_List commandList)
void llSetLinkAlpha(int linknumber, double alpha, int face)
void llSetPos(LSL_Vector pos)
LSL_List llGetAnimationList(string id)
void llSetDamage(double damage)
LSL_Float llRot2Angle(LSL_Rotation rot)
LSL_Vector llDetectedTouchPos(int index)
void llRemoveFromLandBanList(string avatar)
void llRotateTexture(double rotation, int face)
void llWhisper(int channelID, string text)
void llSay(int channelID, string text)
LSL_Key llGetInventoryCreator(string item)
LSL_Integer llGetLinkNumberOfSides(LSL_Integer link)
LSL_Integer llBase64ToInteger(string str)
void llSetParcelMusicURL(string url)
LSL_Float llGetTextureRot(int side)
void llAttachToAvatar(int attachment)
LSL_String llGetDisplayName(string id)
void llGetNextEmail(string address, string subject)