Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
0.6.0-stable
Melanie Thielker 2008-09-23 11:41:34 +00:00
parent 525f66b6f1
commit 44e566260c
9 changed files with 5154 additions and 5342 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,14 @@
using OpenSim.Region.Environment.Interfaces; using OpenSim.Region.Environment.Interfaces;
using LSL_Float = OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLFloat;
using LSL_Integer = OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLInteger;
using LSL_Key = OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLString;
using LSL_List = OpenSim.Region.ScriptEngine.Common.LSL_Types.list;
using LSL_Rotation = OpenSim.Region.ScriptEngine.Common.LSL_Types.Quaternion;
using LSL_String = OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLString;
using LSL_Vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3;
namespace OpenSim.Region.ScriptEngine.Common namespace OpenSim.Region.ScriptEngine.Common
{ {
public interface LSL_BuiltIn_Commands_Interface public interface LSL_BuiltIn_Commands_Interface
@ -37,618 +45,347 @@ namespace OpenSim.Region.ScriptEngine.Common
ICommander GetCommander(string name); ICommander GetCommander(string name);
double llSin(double f); LSL_Integer llAbs(int i);
double llCos(double f); LSL_Float llAcos(double val);
double llTan(double f); void llAddToLandBanList(string avatar, double hours);
double llAtan2(double x, double y); void llAddToLandPassList(string avatar, double hours);
double llSqrt(double f); void llAdjustSoundVolume(double volume);
double llPow(double fbase, double fexponent); void llAllowInventoryDrop(int add);
LSL_Types.LSLInteger llAbs(int i); LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b);
double llFabs(double f); void llApplyImpulse(LSL_Vector force, int local);
double llFrand(double mag); void llApplyRotationalImpulse(LSL_Vector force, int local);
LSL_Types.LSLInteger llFloor(double f); LSL_Float llAsin(double val);
LSL_Types.LSLInteger llCeil(double f); LSL_Float llAtan2(double x, double y);
LSL_Types.LSLInteger llRound(double f); void llAttachToAvatar(int attachment);
double llVecMag(LSL_Types.Vector3 v); LSL_Key llAvatarOnSitTarget();
LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v); LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up);
double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b); LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle);
LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r); LSL_Integer llBase64ToInteger(string str);
LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v); LSL_String llBase64ToString(string str);
LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up); void llBreakAllLinks();
LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r); void llBreakLink(int linknum);
LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r); LSL_Integer llCeil(double f);
LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r); void llClearCameraParams();
LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end); void llCloseRemoteDataChannel(string channel);
void llWhisper(int channelID, string text); LSL_Float llCloud(LSL_Vector offset);
//void llSay(int channelID, string text); void llCollisionFilter(string name, string id, int accept);
void llSay(int channelID, string text); void llCollisionSound(string impact_sound, double impact_volume);
void llShout(int channelID, string text); void llCollisionSprite(string impact_sprite);
void llRegionSay(int channelID, string text); LSL_Float llCos(double f);
LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg); void llCreateLink(string target, int parent);
void llListenControl(int number, int active); LSL_List llCSV2List(string src);
void llListenRemove(int number); LSL_List llDeleteSubList(LSL_List src, int start, int end);
void llSensor(string name, string id, int type, double range, double arc); LSL_String llDeleteSubString(string src, int start, int end);
void llSensorRepeat(string name, string id, int type, double range, double arc, double rate); void llDetachFromAvatar();
void llSensorRemove(); LSL_Vector llDetectedGrab(int number);
string llDetectedName(int number); LSL_Integer llDetectedGroup(int number);
string llDetectedKey(int number); LSL_Key llDetectedKey(int number);
string llDetectedOwner(int number); LSL_Integer llDetectedLinkNumber(int number);
LSL_Types.LSLInteger llDetectedType(int number); LSL_String llDetectedName(int number);
LSL_Types.Vector3 llDetectedPos(int number); LSL_Key llDetectedOwner(int number);
LSL_Types.Vector3 llDetectedVel(int number); LSL_Vector llDetectedPos(int number);
LSL_Types.Vector3 llDetectedGrab(int number); LSL_Rotation llDetectedRot(int number);
LSL_Types.Quaternion llDetectedRot(int number); LSL_Integer llDetectedType(int number);
LSL_Types.LSLInteger llDetectedGroup(int number); LSL_Vector llDetectedTouchBinormal(int index);
LSL_Types.LSLInteger llDetectedLinkNumber(int number); LSL_Integer llDetectedTouchFace(int index);
void llDie(); LSL_Vector llDetectedTouchNormal(int index);
double llGround(LSL_Types.Vector3 offset); LSL_Vector llDetectedTouchPos(int index);
double llCloud(LSL_Types.Vector3 offset); LSL_Vector llDetectedTouchST(int index);
LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset); LSL_Vector llDetectedTouchUV(int index);
void llSetStatus(int status, int value); LSL_Vector llDetectedVel(int number);
LSL_Types.LSLInteger llGetStatus(int status); void llDialog(string avatar, string message, LSL_List buttons, int chat_channel);
void llSetScale(LSL_Types.Vector3 scale); void llDie();
LSL_Types.Vector3 llGetScale(); LSL_String llDumpList2String(LSL_List src, string seperator);
void llSetColor(LSL_Types.Vector3 color, int face); LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir);
double llGetAlpha(int face); void llEjectFromLand(string pest);
void llSetAlpha(double alpha, int face); void llEmail(string address, string subject, string message);
LSL_Types.Vector3 llGetColor(int face); LSL_String llEscapeURL(string url);
void llSetTexture(string texture, int face); LSL_Rotation llEuler2Rot(LSL_Vector v);
void llScaleTexture(double u, double v, int face); LSL_Float llFabs(double f);
void llOffsetTexture(double u, double v, int face); LSL_Integer llFloor(double f);
void llRotateTexture(double rotation, int face); void llForceMouselook(int mouselook);
string llGetTexture(int face); LSL_Float llFrand(double mag);
void llSetPos(LSL_Types.Vector3 pos); LSL_Vector llGetAccel();
LSL_Integer llGetAgentInfo(string id);
//wiki: vector llGetPos() LSL_Vector llGetAgentSize(string id);
LSL_Types.Vector3 llGetPos(); LSL_Float llGetAlpha(int face);
//wiki: vector llGetLocalPos() LSL_Float llGetAndResetTime();
LSL_Types.Vector3 llGetLocalPos(); LSL_String llGetAnimation(string id);
//wiki: llSetRot(rotation rot) LSL_List llGetAnimationList(string id);
void llSetRot(LSL_Types.Quaternion rot); LSL_Integer llGetAttached();
//wiki: rotation llGetRot() LSL_List llGetBoundingBox(string obj);
LSL_Types.Quaternion llGetRot(); LSL_Vector llGetCameraPos();
//wiki: rotation llGetLocalRot() LSL_Rotation llGetCameraRot();
LSL_Types.Quaternion llGetLocalRot(); LSL_Vector llGetCenterOfMass();
//wiki: llSetForce(vector force, integer local) LSL_Vector llGetColor(int face);
void llSetForce(LSL_Types.Vector3 force, int local); LSL_String llGetCreator();
//wiki: vector llGetForce() LSL_String llGetDate();
LSL_Types.Vector3 llGetForce(); LSL_Float llGetEnergy();
//wiki: integer llTarget(vector position, double range) LSL_Vector llGetForce();
LSL_Types.LSLInteger llTarget(LSL_Types.Vector3 position, double range); LSL_Integer llGetFreeMemory();
//wiki: llTargetRemove(integer number) LSL_Vector llGetGeometricCenter();
void llTargetRemove(int number); LSL_Float llGetGMTclock();
//wiki: integer llRotTarget(rotation rot, double error) LSL_Key llGetInventoryCreator(string item);
LSL_Types.LSLInteger llRotTarget(LSL_Types.Quaternion rot, double error); LSL_Key llGetInventoryKey(string name);
//wiki: integer llRotTargetRemove(integer number) LSL_String llGetInventoryName(int type, int number);
void llRotTargetRemove(int number); LSL_Integer llGetInventoryNumber(int type);
//wiki: llMoveToTarget(vector target, double tau) LSL_Integer llGetInventoryPermMask(string item, int mask);
void llMoveToTarget(LSL_Types.Vector3 target, double tau); LSL_Integer llGetInventoryType(string name);
//wiki: llStopMoveToTarget() LSL_Key llGetKey();
void llStopMoveToTarget(); LSL_Key llGetLandOwnerAt(LSL_Vector pos);
//wiki: llApplyImpulse(vector force, integer local) LSL_Key llGetLinkKey(int linknum);
void llApplyImpulse(LSL_Types.Vector3 force, int local); LSL_String llGetLinkName(int linknum);
//wiki: llapplyRotationalImpulse(vector force, integer local) LSL_Integer llGetLinkNumber();
void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local); LSL_Integer llGetListEntryType(LSL_List src, int index);
//wiki: llSetTorque(vector torque, integer local) LSL_Integer llGetListLength(LSL_List src);
void llSetTorque(LSL_Types.Vector3 torque, int local); LSL_Vector llGetLocalPos();
//wiki: vector llGetTorque() LSL_Rotation llGetLocalRot();
LSL_Types.Vector3 llGetTorque(); LSL_Float llGetMass();
//wiki: llSeForceAndTorque(vector force, vector torque, integer local) void llGetNextEmail(string address, string subject);
void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local); LSL_String llGetNotecardLine(string name, int line);
//wiki: vector llGetVel() LSL_Key llGetNumberOfNotecardLines(string name);
LSL_Types.Vector3 llGetVel(); LSL_Integer llGetNumberOfPrims();
//wiki: vector llGetAccel() LSL_Integer llGetNumberOfSides();
LSL_Types.Vector3 llGetAccel(); LSL_String llGetObjectDesc();
//wiki: vector llGetOmega() LSL_List llGetObjectDetails(string id, LSL_List args);
LSL_Types.Vector3 llGetOmega(); LSL_Float llGetObjectMass(string id);
//wiki: double llGetTimeOfDay() LSL_String llGetObjectName();
double llGetTimeOfDay(); LSL_Integer llGetObjectPermMask(int mask);
//wiki: double llGetWallclock() LSL_Integer llGetObjectPrimCount(string object_id);
double llGetWallclock(); LSL_Vector llGetOmega();
//wiki: double llGetTime() LSL_Key llGetOwner();
double llGetTime(); LSL_Key llGetOwnerKey(string id);
//wiki: llResetTime() LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param);
void llResetTime(); LSL_Integer llGetParcelFlags(LSL_Vector pos);
//wiki: double llGetAndResetTime() LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide);
double llGetAndResetTime(); LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide);
//wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop) LSL_List llGetParcelPrimOwners(LSL_Vector pos);
void llSound(); LSL_Integer llGetPermissions();
//wiki: llPlaySound(string sound, double volume) LSL_Key llGetPermissionsKey();
void llPlaySound(string sound, double volume); LSL_Vector llGetPos();
//wiki: llLoopSound(string sound, double volume) LSL_List llGetPrimitiveParams(LSL_List rules);
void llLoopSound(string sound, double volume); LSL_Integer llGetRegionAgentCount();
//wiki: llLoopSoundMaster(string sound, double volume) LSL_Vector llGetRegionCorner();
void llLoopSoundMaster(string sound, double volume); LSL_Integer llGetRegionFlags();
//wiki: llLoopSoundSlave(string sound, double volume) LSL_Float llGetRegionFPS();
void llLoopSoundSlave(string sound, double volume); LSL_String llGetRegionName();
//wiki llPlaySoundSlave(string sound, double volume) LSL_Float llGetRegionTimeDilation();
void llPlaySoundSlave(string sound, double volume); LSL_Vector llGetRootPosition();
//wiki: llTriggerSound(string sound, double volume) LSL_Rotation llGetRootRotation();
void llTriggerSound(string sound, double volume); LSL_Rotation llGetRot();
//wiki: llStopSound() LSL_Vector llGetScale();
void llStopSound(); LSL_String llGetScriptName();
//wiki: llPreloadSound(string sound) LSL_Integer llGetScriptState(string name);
void llPreloadSound(string sound); LSL_String llGetSimulatorHostname();
//wiki: string llGetSubString(string src, integer start, integer end) LSL_Integer llGetStartParameter();
string llGetSubString(string src, int start, int end); LSL_Integer llGetStatus(int status);
//wiki: string llDeleteSubString(string src, integer start, integer end) LSL_String llGetSubString(string src, int start, int end);
string llDeleteSubString(string src, int start, int end); LSL_Vector llGetSunDirection();
//wiki string llInsertString(string dst, integer position, string src) LSL_String llGetTexture(int face);
string llInsertString(string dst, int position, string src); LSL_Vector llGetTextureOffset(int face);
//wiki: string llToUpper(string source) LSL_Float llGetTextureRot(int side);
string llToUpper(string source); LSL_Vector llGetTextureScale(int side);
//wiki: string llToLower(string source) LSL_Float llGetTime();
string llToLower(string source); LSL_Float llGetTimeOfDay();
//wiki: integer llGiveMoney(key destination, integer amount) LSL_String llGetTimestamp();
LSL_Types.LSLInteger llGiveMoney(string destination, int amount); LSL_Vector llGetTorque();
//wiki: (deprecated) LSL_Integer llGetUnixTime();
void llMakeExplosion(); LSL_Vector llGetVel();
//wiki: (deprecated) LSL_Float llGetWallclock();
void llMakeFountain(); void llGiveInventory(string destination, string inventory);
//wiki: (deprecated) void llGiveInventoryList(string destination, string category, LSL_List inventory);
void llMakeSmoke(); LSL_Integer llGiveMoney(string destination, int amount);
//wiki: (deprecated) void llGodLikeRezObject(string inventory, LSL_Vector pos);
void llMakeFire(); LSL_Float llGround(LSL_Vector offset);
//wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) LSL_Vector llGroundContour(LSL_Vector offset);
void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param); LSL_Vector llGroundNormal(LSL_Vector offset);
//wiki: llLookAt(vector target, double strength, double damping) void llGroundRepel(double height, int water, double tau);
void llLookAt(LSL_Types.Vector3 target, double strength, double damping); LSL_Vector llGroundSlope(LSL_Vector offset);
//wiki: llStopLookAt() LSL_String llHTTPRequest(string url, LSL_List parameters, string body);
void llStopLookAt(); LSL_String llInsertString(string dst, int position, string src);
//wiki: llSetTimerEvent(double sec) void llInstantMessage(string user, string message);
void llSetTimerEvent(double sec); LSL_String llIntegerToBase64(int number);
//wiki: llSleep(double sec) LSL_String llKey2Name(string id);
void llSleep(double sec); LSL_String llList2CSV(LSL_List src);
//wiki: double llGetMass() LSL_Float llList2Float(LSL_List src, int index);
double llGetMass(); LSL_Integer llList2Integer(LSL_List src, int index);
//wiki: llCollisionFilter(string name, key id, integer accept) LSL_Key llList2Key(LSL_List src, int index);
void llCollisionFilter(string name, string id, int accept); LSL_List llList2List(LSL_List src, int start, int end);
//wiki: llTakeControls(integer controls, integer accept, integer pass_on) LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride);
void llTakeControls(int controls, int accept, int pass_on); LSL_Rotation llList2Rot(LSL_List src, int index);
//wiki: llReleaseControls() LSL_String llList2String(LSL_List src, int index);
void llReleaseControls(); LSL_Vector llList2Vector(LSL_List src, int index);
//wiki: llAttachToAvatar(integer attachment) LSL_Integer llListen(int channelID, string name, string ID, string msg);
void llAttachToAvatar(int attachment); void llListenControl(int number, int active);
//wiki: llDetachFromAvatar() void llListenRemove(int number);
void llDetachFromAvatar(); LSL_Integer llListFindList(LSL_List src, LSL_List test);
//wiki: (deprecated) llTakeCamera(key avatar) LSL_List llListInsertList(LSL_List dest, LSL_List src, int start);
void llTakeCamera(string avatar); LSL_List llListRandomize(LSL_List src, int stride);
//wiki: (deprecated) llReleaseCamera(key avatar) LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end);
void llReleaseCamera(string avatar); LSL_List llListSort(LSL_List src, int stride, int ascending);
//wiki: key llGetOwner() LSL_Float llListStatistics(int operation, LSL_List src);
string llGetOwner(); void llLoadURL(string avatar_id, string message, string url);
//wiki: llInstantMessage(key user, string message) LSL_Float llLog(double val);
void llInstantMessage(string user, string message); LSL_Float llLog10(double val);
//wiki: llEmail(string address, string subject, string message) void llLookAt(LSL_Vector target, double strength, double damping);
void llEmail(string address, string subject, string message); void llLoopSound(string sound, double volume);
//wiki: llGetNextEmail(string address, string subject) void llLoopSoundMaster(string sound, double volume);
void llGetNextEmail(string address, string subject); void llLoopSoundSlave(string sound, double volume);
//wiki: key llGetKey() void llMakeExplosion();
string llGetKey(); void llMakeFire();
//wiki: llSetBuoyancy(double buoyancy) void llMakeFountain();
void llSetBuoyancy(double buoyancy); void llMakeSmoke();
//wiki: llSetHoverHeight(double height, integer water, double tau) void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at);
void llSetHoverHeight(double height, int water, double tau); LSL_String llMD5String(string src, int nonce);
//wiki: llStopHover void llMessageLinked(int linknum, int num, string str, string id);
void llStopHover(); void llMinEventDelay(double delay);
//wiki: llMinEventDelay(double delay) void llModifyLand(int action, int brush);
void llMinEventDelay(double delay); LSL_Integer llModPow(int a, int b, int c);
//wiki: (deprecated) llSoundPreload() void llMoveToTarget(LSL_Vector target, double tau);
void llSoundPreload(); void llOffsetTexture(double u, double v, int face);
//wiki: llRotLookAt(rotation target, double strength, double damping) void llOpenRemoteDataChannel();
void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping); LSL_Integer llOverMyLand(string id);
//wiki: integer llStringLength(string str) void llOwnerSay(string msg);
LSL_Types.LSLInteger llStringLength(string str); void llParcelMediaCommandList(LSL_List commandList);
//wiki: llStartAnimation(string anim) LSL_List llParcelMediaQuery(LSL_List aList);
void llStartAnimation(string anim); LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers);
//wiki: llStopAnimation(string anim) LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers);
void llStopAnimation(string anim); void llParticleSystem(LSL_List rules);
//wiki: (deprecated) llPointAt void llPassCollisions(int pass);
void llPointAt(); void llPassTouches(int pass);
//wiki: (deprecated) llStopPointAt void llPlaySound(string sound, double volume);
void llStopPointAt(); void llPlaySoundSlave(string sound, double volume);
//wiki: llTargetOmega(vector axis, double spinrate, double gain) void llPointAt();
void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain); LSL_Float llPow(double fbase, double fexponent);
//wiki: integer llGetStartParameter() void llPreloadSound(string sound);
LSL_Types.LSLInteger llGetStartParameter(); void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local);
//wiki: llGodLikeRezObject(key inventory, vector pos) void llRefreshPrimURL();
void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos); void llRegionSay(int channelID, string text);
//wiki: llRequestPermissions(key agent, integer perm) void llReleaseCamera(string avatar);
void llRequestPermissions(string agent, int perm); void llReleaseControls();
//wiki: key llGetPermissionsKey() void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
string llGetPermissionsKey(); void llRemoteDataSetRegion();
//wiki: integer llGetPermissions() void llRemoteLoadScript();
LSL_Types.LSLInteger llGetPermissions(); void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
//wiki integer llGetLinkNumber() void llRemoveFromLandBanList(string avatar);
LSL_Types.LSLInteger llGetLinkNumber(); void llRemoveFromLandPassList(string avatar);
//wiki: llSetLinkColor(integer linknumber, vector color, integer face) void llRemoveInventory(string item);
void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face); void llRemoveVehicleFlags(int flags);
//wiki: llCreateLink(key target, integer parent) LSL_Key llRequestAgentData(string id, int data);
void llCreateLink(string target, int parent); LSL_Key llRequestInventoryData(string name);
//wiki: llBreakLink(integer linknum) void llRequestPermissions(string agent, int perm);
void llBreakLink(int linknum); LSL_Key llRequestSimulatorData(string simulator, int data);
//wiki: llBreakAllLinks() void llResetLandBanList();
void llBreakAllLinks(); void llResetLandPassList();
//wiki: key llGetLinkKey(integer linknum) void llResetOtherScript(string name);
string llGetLinkKey(int linknum); void llResetScript();
//wiki: llGetLinkName(integer linknum) void llResetTime();
string llGetLinkName(int linknum); void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param);
//wiki: integer llGetInventoryNumber(integer type) void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param);
LSL_Types.LSLInteger llGetInventoryNumber(int type); LSL_Float llRot2Angle(LSL_Rotation rot);
//wiki: string llGetInventoryName(integer type, integer number) LSL_Vector llRot2Axis(LSL_Rotation rot);
string llGetInventoryName(int type, int number); LSL_Vector llRot2Euler(LSL_Rotation r);
//wiki: llSetScriptState(string name, integer run) LSL_Vector llRot2Fwd(LSL_Rotation r);
void llSetScriptState(string name, int run); LSL_Vector llRot2Left(LSL_Rotation r);
//wiki: double llGetEnergy() LSL_Vector llRot2Up(LSL_Rotation r);
double llGetEnergy(); void llRotateTexture(double rotation, int face);
//wiki: llGiveInventory(key destination, string inventory) LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end);
void llGiveInventory(string destination, string inventory); void llRotLookAt(LSL_Rotation target, double strength, double damping);
//wiki: llRemoveInventory(string item) LSL_Integer llRotTarget(LSL_Rotation rot, double error);
void llRemoveInventory(string item); void llRotTargetRemove(int number);
//wiki: llSetText(string text, vector color, double alpha) LSL_Integer llRound(double f);
void llSetText(string text, LSL_Types.Vector3 color, double alpha); LSL_Integer llSameGroup(string agent);
//wiki: double llWater(vector offset) void llSay(int channelID, string text);
double llWater(LSL_Types.Vector3 offset); void llScaleTexture(double u, double v, int face);
//wiki: llPassTouches(integer pass) LSL_Integer llScriptDanger(LSL_Vector pos);
void llPassTouches(int pass); LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata);
//wiki: key llRequestAgentData(key id, integer data) void llSensor(string name, string id, int type, double range, double arc);
string llRequestAgentData(string id, int data); void llSensorRemove();
//wiki: key llRequestInventoryData(string name) void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
string llRequestInventoryData(string name); void llSetAlpha(double alpha, int face);
//wiki: llSetDamage(double damage) void llSetBuoyancy(double buoyancy);
void llSetDamage(double damage); void llSetCameraAtOffset(LSL_Vector offset);
//wiki: llTeleportAgentHome(key agent) void llSetCameraEyeOffset(LSL_Vector offset);
void llTeleportAgentHome(string agent); void llSetCameraParams(LSL_List rules);
//wiki: llModifyLand(integer action, integer brush) void llSetClickAction(int action);
void llModifyLand(int action, int brush); void llSetColor(LSL_Vector color, int face);
//wiki: llCollisionSound(string impact_sound, double impact_volume) void llSetDamage(double damage);
void llCollisionSound(string impact_sound, double impact_volume); void llSetForce(LSL_Vector force, int local);
//wiki: llCollisionSprite(string impact_sprite) void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local);
void llCollisionSprite(string impact_sprite); void llSetHoverHeight(double height, int water, double tau);
//wiki: string llGetAnimation(key id) void llSetInventoryPermMask(string item, int mask, int value);
string llGetAnimation(string id); void llSetLinkAlpha(int linknumber, double alpha, int face);
//wiki: llResetScript() void llSetLinkColor(int linknumber, LSL_Vector color, int face);
void llResetScript(); void llSetLinkPrimitiveParams(int linknumber, LSL_List rules);
//wiki: llMessageLinked(integer linknum, integer num, string str, key id) void llSetLinkTexture(int linknumber, string texture, int face);
void llMessageLinked(int linknum, int num, string str, string id); void llSetLocalRot(LSL_Rotation rot);
//wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) void llSetObjectDesc(string desc);
void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local); void llSetObjectName(string name);
//wiki: llPassCollisions(integer pass) void llSetObjectPermMask(int mask, int value);
void llPassCollisions(int pass); void llSetParcelMusicURL(string url);
//wiki: string llGetScriptName() void llSetPayPrice(int price, LSL_List quick_pay_buttons);
string llGetScriptName(); void llSetPos(LSL_Vector pos);
//wiki: integer llGetNumberOfSides() void llSetPrimitiveParams(LSL_List rules);
LSL_Types.LSLInteger llGetNumberOfSides(); void llSetPrimURL();
//wiki: rotation llAxisAngle2Rot(vector axis, double angle) void llSetRemoteScriptAccessPin(int pin);
LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle); void llSetRot(LSL_Rotation rot);
//wiki: vector llRot2Axis(rotation rot) void llSetScale(LSL_Vector scale);
LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot); void llSetScriptState(string name, int run);
//wiki: double llRot2Angle(rotation rot); void llSetSitText(string text);
double llRot2Angle(LSL_Types.Quaternion rot); void llSetSoundQueueing(int queue);
//wiki: double llAcos(double val) void llSetSoundRadius(double radius);
double llAcos(double val); void llSetStatus(int status, int value);
//wiki: double llAsin(double val) void llSetText(string text, LSL_Vector color, double alpha);
double llAsin(double val); void llSetTexture(string texture, int face);
//wiki: double llAngleBetween(rotation a, rotation b) void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b); void llSetTimerEvent(double sec);
//wiki: string llGetInventoryKey(string name) void llSetTorque(LSL_Vector torque, int local);
string llGetInventoryKey(string name); void llSetTouchText(string text);
//wiki: llAllowInventoryDrop(integer add) void llSetVehicleFlags(int flags);
void llAllowInventoryDrop(int add); void llSetVehicleFloatParam(int param, float value);
//wiki: vector llGetSunDirection() void llSetVehicleRotationParam(int param, LSL_Rotation rot);
LSL_Types.Vector3 llGetSunDirection(); void llSetVehicleType(int type);
//wiki: vector llGetTextureOffset(integer face) void llSetVehicleVectorParam(int param, LSL_Vector vec);
LSL_Types.Vector3 llGetTextureOffset(int face); void llShout(int channelID, string text);
//wiki: vector llGetTextureScale(integer side) LSL_Float llSin(double f);
LSL_Types.Vector3 llGetTextureScale(int side); void llSitTarget(LSL_Vector offset, LSL_Rotation rot);
//wiki: double llGetTextureRot(integer side) void llSleep(double sec);
double llGetTextureRot(int side); void llSound();
//wiki: integer llSubStringIndex(string source, string pattern) void llSoundPreload();
LSL_Types.LSLInteger llSubStringIndex(string source, string pattern); LSL_Float llSqrt(double f);
//wiki: key llGetOwnerKey(key id) void llStartAnimation(string anim);
string llGetOwnerKey(string id); void llStopAnimation(string anim);
//wiki: vector llGetCenterOfMass() void llStopHover();
LSL_Types.Vector3 llGetCenterOfMass(); void llStopLookAt();
//wiki: list llListSort(list src, integer stride, integer ascending) void llStopMoveToTarget();
LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending); void llStopPointAt();
//integer llGetListLength(list src) void llStopSound();
LSL_Types.LSLInteger llGetListLength(LSL_Types.list src); LSL_Integer llStringLength(string str);
//wiki: integer llList2Integer(list src, integer index) LSL_String llStringToBase64(string str);
LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index); LSL_String llStringTrim(string src, int type);
//wiki: double llList2double(list src, integer index) LSL_Integer llSubStringIndex(string source, string pattern);
double llList2Float(LSL_Types.list src, int index); void llTakeCamera(string avatar);
double osList2Double(LSL_Types.list src, int index); void llTakeControls(int controls, int accept, int pass_on);
//wiki: string llList2String(list src, integer index) LSL_Float llTan(double f);
string llList2String(LSL_Types.list src, int index); LSL_Integer llTarget(LSL_Vector position, double range);
//wiki: key llList2Key(list src, integer index) void llTargetOmega(LSL_Vector axis, double spinrate, double gain);
string llList2Key(LSL_Types.list src, int index); void llTargetRemove(int number);
//wiki: vector llList2Vector(list src, integer index) void llTeleportAgentHome(string agent);
LSL_Types.Vector3 llList2Vector(LSL_Types.list src, int index); void llTextBox(string avatar, string message, int chat_channel);
//wiki rotation llList2Rot(list src, integer index) LSL_String llToLower(string source);
LSL_Types.Quaternion llList2Rot(LSL_Types.list src, int index); LSL_String llToUpper(string source);
//wiki: list llList2List(list src, integer start, integer end) void llTriggerSound(string sound, double volume);
LSL_Types.list llList2List(LSL_Types.list src, int start, int end); void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west);
//wiki: llDeleteSubList(list src, integer start, integer end) LSL_String llUnescapeURL(string url);
LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end); void llUnSit(string id);
//wiki: integer llGetListEntryType(list src, integer index) LSL_Float llVecDist(LSL_Vector a, LSL_Vector b);
LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index); LSL_Float llVecMag(LSL_Vector v);
//wiki: string llList2CSV(list src) LSL_Vector llVecNorm(LSL_Vector v);
string llList2CSV(LSL_Types.list src); void llVolumeDetect(int detect);
//wiki: list llCSV2List(string src) LSL_Float llWater(LSL_Vector offset);
LSL_Types.list llCSV2List(string src); void llWhisper(int channelID, string text);
//wiki: list llListRandomize(list src, integer stride) LSL_Vector llWind(LSL_Vector offset);
LSL_Types.list llListRandomize(LSL_Types.list src, int stride); void llXorBase64Strings();
//wiki: list llList2ListStrided(list src, integer start, integer end, integer stride) LSL_String llXorBase64StringsCorrect(string str1, string str2);
LSL_Types.list llList2ListStrided(LSL_Types.list src, int start, int end, int stride);
//wiki: vector llGetRegionCorner()
LSL_Types.Vector3 llGetRegionCorner();
//wiki: list llListInsertList(list dest, list src, integer start)
LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start);
//wiki: integer llListFindList(list src, list test)
LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test);
//wiki: string llGetObjectName()
string llGetObjectName();
//wiki: llSetObjectName(string name)
void llSetObjectName(string name);
//wiki: string llGetDate()
string llGetDate();
//wiki: integer llEdgeOfWorld(vector pos, vector dir)
LSL_Types.LSLInteger llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir);
//wiki: integer llGetAgentInfo(key id)
LSL_Types.LSLInteger llGetAgentInfo(string id);
//wiki: llAdjustSoundVolume(double volume)
void llAdjustSoundVolume(double volume);
//wiki: llSetSoundQueueing(integer queue)
void llSetSoundQueueing(int queue);
//wiki: llSetSoundRadius(double radius)
void llSetSoundRadius(double radius);
//wiki: string llKey2Name(key id)
string llKey2Name(string id);
//wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate)
void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
//wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west)
void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east,
LSL_Types.Vector3 bottom_south_west);
//wiki: llEjectFromLand(key pest)
void llEjectFromLand(string pest);
LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers);
//wiki: integer llOverMyLand(key id)
LSL_Types.LSLInteger llOverMyLand(string id);
//wiki: key llGetLandOwnerAt(vector pos)
string llGetLandOwnerAt(LSL_Types.Vector3 pos);
//wiki: key llGetNotecardLine(string name, integer line)
string llGetNotecardLine(string name, int line);
//wiki: vector llGetAgentSize(key id)
LSL_Types.Vector3 llGetAgentSize(string id);
//wiki: integer llSameGroup(key agent)
LSL_Types.LSLInteger llSameGroup(string agent);
//wiki: llUnSit(key id)
void llUnSit(string id);
//wiki: vector llGroundSlope(vector offset)
LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset);
//wiki: vector llGroundNormal(vector offset)
LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset);
//wiki: vector llGroundContour(vector offset)
LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset);
//wiki: integer llGetAttached()
LSL_Types.LSLInteger llGetAttached();
//wiki: integer llGetFreeMemory()
LSL_Types.LSLInteger llGetFreeMemory();
//wiki: string llGetRegionName()
string llGetRegionName();
//wiki: double llGetRegionTimeDilation()
double llGetRegionTimeDilation();
//wiki: double llGetRegionFPS()
double llGetRegionFPS();
//wiki: llParticleSystem(List<Object> rules
void llParticleSystem(LSL_Types.list rules);
//wiki: llGroundRepel(double height, integer water, double tau)
void llGroundRepel(double height, int water, double tau);
//wiki: llGiveInventoryList(string destination, string category, LSL_Types.list inventory)
void llGiveInventoryList(string destination, string category, LSL_Types.list inventory);
//wiki: llSetVehicleType(integer type)
void llSetVehicleType(int type);
//wiki: llSetVehicledoubleParam(integer param, double value)
void llSetVehicledoubleParam(int param, double value);
// wiki: llSetVehicleFloatParam(integer param, float value)
void llSetVehicleFloatParam(int param, float value);
//wiki: llSetVehicleVectorParam(integer param, vector vec)
void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec);
//wiki: llSetVehicleRotationParam(integer param, rotation rot)
void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot);
//wiki: llSetVehicleFlags(integer flags)
void llSetVehicleFlags(int flags);
//wiki: llRemoveVehicleFlags(integer flags)
void llRemoveVehicleFlags(int flags);
//wiki: llSitTarget(vector offset, rotation rot)
void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot);
//wiki key llAvatarOnSitTarget()
string llAvatarOnSitTarget();
//wiki: llAddToLandPassList(key avatar, double hours)
void llAddToLandPassList(string avatar, double hours);
//wiki: llSetTouchText(string text)
void llSetTouchText(string text);
//wiki: llSetSitText(string text)
void llSetSitText(string text);
//wiki: llSetCameraEyeOffset(vector offset)
void llSetCameraEyeOffset(LSL_Types.Vector3 offset);
//wiki: llSeteCameraAtOffset(vector offset)
void llSetCameraAtOffset(LSL_Types.Vector3 offset);
//
string llDumpList2String(LSL_Types.list src, string seperator);
//wiki: integer llScriptDanger(vector pos)
LSL_Types.LSLInteger llScriptDanger(LSL_Types.Vector3 pos);
//wiki: llDialog(key avatar, string message, list buttons, integer chat_channel)
void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel);
//wiki: llVolumeDetect(integer detect)
void llVolumeDetect(int detect);
//wiki: llResetOtherScript(string name)
void llResetOtherScript(string name);
//wiki: integer llGetScriptState(string name)
LSL_Types.LSLInteger llGetScriptState(string name);
//wiki: (deprecated)
void llRemoteLoadScript();
//wiki: llSetRemoteScriptAccessPin(integer pin)
void llSetRemoteScriptAccessPin(int pin);
//wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)
void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
//wiki: llOpenRemoteDataChannel()
void llOpenRemoteDataChannel();
//wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata)
string llSendRemoteData(string channel, string dest, int idata, string sdata);
//wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata)
void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
//wiki: llCloseRemoteDataChannel(key channel)
void llCloseRemoteDataChannel(string channel);
//wiki: string llMD5String(string src, integer nonce)
string llMD5String(string src, int nonce);
//wiki: llSetPrimitiveParams(list rules)
void llSetPrimitiveParams(LSL_Types.list rules);
//wiki: llSetLinkPrimitiveParams(integer linknumber, list rules)
void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules);
//wiki: string llStringToBase64(string str)
string llStringToBase64(string str);
//wiki: string llBase64ToString(string str)
string llBase64ToString(string str);
//wiki: (deprecated)
void llXorBase64Strings();
//wiki: llRemoteDataSetRegion()
void llRemoteDataSetRegion();
//wiki: double llLog10(double val)
double llLog10(double val);
//wiki: double llLog(double val)
double llLog(double val);
//wiki: list llGetAnimationList(key id)
LSL_Types.list llGetAnimationList(string id);
//wiki: llSetParcelMusicURL(string url)
void llSetParcelMusicURL(string url);
//wiki: vector llGetRootPosition()
LSL_Types.Vector3 llGetRootPosition();
//wiki: rotation llGetRootRotation()
LSL_Types.Quaternion llGetRootRotation();
//wiki: string llGetObjectDesc()
string llGetObjectDesc();
//wiki: llSetObjectDesc(string desc)
void llSetObjectDesc(string desc);
//wiki: key llGetCreator()
string llGetCreator();
//wiki: string llGetTimestamp()
string llGetTimestamp();
//wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face)
void llSetLinkAlpha(int linknumber, double alpha, int face);
//wiki: integer llGetNumberOfPrims()
LSL_Types.LSLInteger llGetNumberOfPrims();
//wiki: key llGetNumberOfNotecardLines(string name)
string llGetNumberOfNotecardLines(string name);
//wiki: list llGetBoundingBox(key object)
LSL_Types.list llGetBoundingBox(string obj);
//wiki: vector llGetGeometricCenter()
LSL_Types.Vector3 llGetGeometricCenter();
//wiki: list llGetPrimitiveParams(list rules)
LSL_Types.list llGetPrimitiveParams(LSL_Types.list rules);
//wiki: string llIntegerToBase64(integer number)
string llIntegerToBase64(int number);
//wiki integer llBase64ToInteger(string str)
LSL_Types.LSLInteger llBase64ToInteger(string str);
//wiki: double llGetGMTclock()
double llGetGMTclock();
//wiki: string llGetSimulatorHostname()
string llGetSimulatorHostname();
//llSetLocalRot(rotation rot)
void llSetLocalRot(LSL_Types.Quaternion rot);
//wiki: list llParseStringKeepNulls(string src, list separators, list spacers)
LSL_Types.list llParseStringKeepNulls(string src, LSL_Types.list seperators, LSL_Types.list spacers);
//wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param)
void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity,
LSL_Types.Quaternion rot, int param);
//wiki: integer llGetObjectPermMask(integer mask)
LSL_Types.LSLInteger llGetObjectPermMask(int mask);
//wiki: llSetObjectPermMask(integer mask, integer value)
void llSetObjectPermMask(int mask, int value);
//wiki integer llGetInventoryPermMask(string item, integer mask)
LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask);
//wiki: llSetInventoryPermMask(string item, integer mask, integer value)
void llSetInventoryPermMask(string item, int mask, int value);
//wiki: key llGetInventoryCreator(string item)
string llGetInventoryCreator(string item);
//wiki: llOwnerSay(string msg)
void llOwnerSay(string msg);
//wiki: key llRequestSimulatorData(string simulator, integer data)
string llRequestSimulatorData(string simulator, int data);
//wiki: llForceMouselook(integer mouselook)
void llForceMouselook(int mouselook);
//wiki: double llGetObjectMass(key id)
double llGetObjectMass(string id);
LSL_Types.list llListReplaceList(LSL_Types.list dest, LSL_Types.list src, int start, int end);
//wiki: llLoadURL(key avatar_id, string message, string url)
void llLoadURL(string avatar_id, string message, string url);
//wiki: llParcelMediaCommandList(list commandList)
void llParcelMediaCommandList(LSL_Types.list commandList);
LSL_Types.list llParcelMediaQuery(LSL_Types.list aList);
//wiki integer llModPow(integer a, integer b, integer c)
LSL_Types.LSLInteger llModPow(int a, int b, int c);
//wiki: integer llGetInventoryType(string name)
LSL_Types.LSLInteger llGetInventoryType(string name);
//wiki: llSetPayPrice(integer price, list quick_pay_buttons)
void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons);
//wiki: vector llGetCameraPos()
LSL_Types.Vector3 llGetCameraPos();
//wiki rotation llGetCameraRot()
LSL_Types.Quaternion llGetCameraRot();
//wiki: (deprecated)
void llSetPrimURL();
//wiki: (deprecated)
void llRefreshPrimURL();
//wiki: string llEscapeURL(string url)
string llEscapeURL(string url);
//wiki: string llUnescapeURL(string url)
string llUnescapeURL(string url);
//wiki: llMapDestination(string simname, vector pos, vector look_at)
void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at);
//wiki: llAddToLandBanList(key avatar, double hours)
void llAddToLandBanList(string avatar, double hours);
//wiki: llRemoveFromLandPassList(key avatar)
void llRemoveFromLandPassList(string avatar);
//wiki: llRemoveFromLandBanList(key avatar)
void llRemoveFromLandBanList(string avatar);
//wiki: llSetCameraParams(list rules)
void llSetCameraParams(LSL_Types.list rules);
//wiki: llClearCameraParams()
void llClearCameraParams();
//wiki: double llListStatistics(integer operation, list src)
double llListStatistics(int operation, LSL_Types.list src);
//wiki: integer llGetUnixTime()
LSL_Types.LSLInteger llGetUnixTime();
//wiki: integer llGetParcelFlags(vector pos)
LSL_Types.LSLInteger llGetParcelFlags(LSL_Types.Vector3 pos);
//wiki: integer llGetRegionFlags()
LSL_Types.LSLInteger llGetRegionFlags();
//wiki: string llXorBase64StringsCorrect(string str1, string str2)
string llXorBase64StringsCorrect(string str1, string str2);
string llHTTPRequest(string url, LSL_Types.list parameters, string body);
//wiki: llResetLandBanList()
void llResetLandBanList();
//wiki: llResetLandPassList()
void llResetLandPassList();
//wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide);
//wiki: list llGetParcelPrimOwners(vector pos)
LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos);
//wiki: integer llGetObjectPrimCount(key object_id)
LSL_Types.LSLInteger llGetObjectPrimCount(string object_id);
//wiki: integer llGetParcelMaxPrims(vector pos, integer sim_wide)
LSL_Types.LSLInteger llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide);
//wiki: llGetParcelDetails(vector pos, list params)
LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param);
//wiki: llSetLinkTexture(integer linknumber, string texture, integer face)
void llSetLinkTexture(int linknumber, string texture, int face);
//wiki: string llStringTrim(string src, int type)
string llStringTrim(string src, int type);
//wiki: LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args)
LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args);
void osSetRegionWaterHeight(double height);
} }
} }

View File

@ -123,7 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Common
Vector3 vector = (Vector3)o; Vector3 vector = (Vector3)o;
return (x == vector.x && y == vector.y && z == vector.y); return (x == vector.x && y == vector.y && z == vector.z);
} }
public static Vector3 operator -(Vector3 vector) public static Vector3 operator -(Vector3 vector)
@ -419,6 +419,80 @@ namespace OpenSim.Region.ScriptEngine.Common
m_data=new Object[0]; m_data=new Object[0];
return m_data; return m_data;
} }
set {m_data = value; }
}
// Member functions to obtain item as specific types.
// For cases where implicit conversions would apply if items
// were not in a list (e.g. integer to float, but not float
// to integer) functions check for alternate types so as to
// down-cast from Object to the correct type.
// Note: no checks for item index being valid are performed
public LSL_Types.LSLFloat GetLSLFloatItem( int itemIndex )
{
if (m_data[itemIndex] is LSL_Types.LSLInteger)
{
return (LSL_Types.LSLInteger)m_data[itemIndex];
}
else if (m_data[itemIndex] is Int32)
{
return new LSL_Types.LSLFloat((int)m_data[itemIndex]);
}
else if (m_data[itemIndex] is float)
{
return new LSL_Types.LSLFloat((float)m_data[itemIndex]);
}
else if (m_data[itemIndex] is Double)
{
return new LSL_Types.LSLFloat((Double)m_data[itemIndex]);
}
else
{
return (LSL_Types.LSLFloat)m_data[itemIndex];
}
}
public LSL_Types.LSLString GetLSLStringItem(int itemIndex)
{
if (m_data[itemIndex] is LSL_Types.key)
{
return (LSL_Types.key)m_data[itemIndex];
}
else if (m_data[itemIndex] is String)
{
return new LSL_Types.LSLString((string)m_data[itemIndex]);
}
else
{
return (LSL_Types.LSLString)m_data[itemIndex];
}
}
public LSL_Types.LSLInteger GetLSLIntegerItem(int itemIndex)
{
if (m_data[itemIndex] is LSL_Types.LSLInteger)
return (LSL_Types.LSLInteger)m_data[itemIndex];
else if (m_data[itemIndex] is Int32)
return new LSLInteger((int)m_data[itemIndex]);
else
throw new InvalidCastException();
}
public LSL_Types.Vector3 GetVector3Item(int itemIndex)
{
return (LSL_Types.Vector3)m_data[itemIndex];
}
public LSL_Types.Quaternion GetQuaternionItem(int itemIndex)
{
return (LSL_Types.Quaternion)m_data[itemIndex];
}
public LSL_Types.key GetKeyItem(int itemIndex)
{
return (LSL_Types.key)m_data[itemIndex];
} }
public static list operator +(list a, list b) public static list operator +(list a, list b)
@ -436,19 +510,19 @@ namespace OpenSim.Region.ScriptEngine.Common
m_data.SetValue(o, Length - 1); m_data.SetValue(o, Length - 1);
} }
public static list operator +(list a, string s) public static list operator +(list a, LSLString s)
{ {
a.ExtendAndAdd(s); a.ExtendAndAdd(s);
return a; return a;
} }
public static list operator +(list a, int i) public static list operator +(list a, LSLInteger i)
{ {
a.ExtendAndAdd(i); a.ExtendAndAdd(i);
return a; return a;
} }
public static list operator +(list a, double d) public static list operator +(list a, LSLFloat d)
{ {
a.ExtendAndAdd(d); a.ExtendAndAdd(d);
return a; return a;
@ -1167,6 +1241,11 @@ namespace OpenSim.Region.ScriptEngine.Common
return k.value; return k.value;
} }
static public implicit operator LSLString(key k)
{
return k.value;
}
public static bool operator ==(key k1, key k2) public static bool operator ==(key k1, key k2)
{ {
return k1.value == k2.value; return k1.value == k2.value;
@ -1190,6 +1269,11 @@ namespace OpenSim.Region.ScriptEngine.Common
return value.GetHashCode(); return value.GetHashCode();
} }
public override string ToString()
{
return value;
}
#endregion #endregion
} }
@ -1476,25 +1560,25 @@ namespace OpenSim.Region.ScriptEngine.Common
return new LSLInteger(i1.value / i2); return new LSLInteger(i1.value / i2);
} }
static public LSLFloat operator +(LSLInteger i1, double f) // static public LSLFloat operator +(LSLInteger i1, double f)
{ // {
return new LSLFloat((double)i1.value + f); // return new LSLFloat((double)i1.value + f);
} // }
//
static public LSLFloat operator -(LSLInteger i1, double f) // static public LSLFloat operator -(LSLInteger i1, double f)
{ // {
return new LSLFloat((double)i1.value - f); // return new LSLFloat((double)i1.value - f);
} // }
//
static public LSLFloat operator *(LSLInteger i1, double f) // static public LSLFloat operator *(LSLInteger i1, double f)
{ // {
return new LSLFloat((double)i1.value * f); // return new LSLFloat((double)i1.value * f);
} // }
//
static public LSLFloat operator /(LSLInteger i1, double f) // static public LSLFloat operator /(LSLInteger i1, double f)
{ // {
return new LSLFloat((double)i1.value / f); // return new LSLFloat((double)i1.value / f);
} // }
static public LSLInteger operator -(LSLInteger i) static public LSLInteger operator -(LSLInteger i)
{ {
@ -1585,6 +1669,11 @@ namespace OpenSim.Region.ScriptEngine.Common
#region Operators #region Operators
static public explicit operator float(LSLFloat f)
{
return (float)f.value;
}
static public explicit operator int(LSLFloat f) static public explicit operator int(LSLFloat f)
{ {
return (int)f.value; return (int)f.value;
@ -1619,7 +1708,17 @@ namespace OpenSim.Region.ScriptEngine.Common
static public explicit operator LSLFloat(string s) static public explicit operator LSLFloat(string s)
{ {
return new LSLFloat(double.Parse(s)); Regex r = new Regex("^[ ]*-?[0-9]*\\.?[0-9]*[eE]?-?[0-9]*");
Match m = r.Match(s);
string v = m.Groups[0].Value;
while (v.Length > 0 && v.Substring(0, 1) == " ")
v = v.Substring(1);
if (v == String.Empty)
v = "0";
return new LSLFloat(double.Parse(v));
} }
static public implicit operator LSLFloat(double d) static public implicit operator LSLFloat(double d)

View File

@ -580,6 +580,24 @@ namespace OpenSim.Region.ScriptEngine.Common
} }
} }
public void osSetParcelMediaURL(string url)
{
m_host.AddScriptLPS(1);
UUID landowner = World.GetLandOwner(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y);
if (landowner == UUID.Zero)
{
return;
}
if (landowner != m_host.ObjectOwner)
{
return;
}
World.SetLandMediaURL(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, url);
}
public string osGetScriptEngineName() public string osGetScriptEngineName()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);

View File

@ -26,624 +26,362 @@
*/ */
using System; using System;
using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
using LSL_Key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list;
using LSL_Rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
using LSL_Vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
{ {
public interface ILSL_Api public interface ILSL_Api
{ {
void state(string newState); void state(string newState);
void llSay(int channelID, string text);
LSL_Types.LSLFloat llSin(double f);
LSL_Types.LSLFloat llCos(double f);
LSL_Types.LSLFloat llTan(double f);
LSL_Types.LSLFloat llAtan2(double x, double y);
LSL_Types.LSLFloat llSqrt(double f);
LSL_Types.LSLFloat llPow(double fbase, double fexponent);
LSL_Types.LSLInteger llAbs(int i);
LSL_Types.LSLFloat llFabs(double f);
LSL_Types.LSLFloat llFrand(double mag);
LSL_Types.LSLInteger llFloor(double f);
LSL_Types.LSLInteger llCeil(double f);
LSL_Types.LSLInteger llRound(double f);
LSL_Types.LSLFloat llVecMag(LSL_Types.Vector3 v);
LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v);
LSL_Types.LSLFloat llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b);
LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r);
LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v);
LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up);
LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r);
LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r);
LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r);
LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end);
void llWhisper(int channelID, string text);
//void llSay(int channelID, string text);
void llShout(int channelID, string text);
void llRegionSay(int channelID, string text);
LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg);
void llListenControl(int number, int active);
void llListenRemove(int number);
void llSensor(string name, string id, int type, double range, double arc);
void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
void llSensorRemove();
LSL_Types.LSLString llDetectedName(int number);
LSL_Types.LSLString llDetectedKey(int number);
LSL_Types.LSLString llDetectedOwner(int number);
LSL_Types.LSLInteger llDetectedType(int number);
LSL_Types.Vector3 llDetectedPos(int number);
LSL_Types.Vector3 llDetectedVel(int number);
LSL_Types.Vector3 llDetectedGrab(int number);
LSL_Types.Quaternion llDetectedRot(int number);
LSL_Types.LSLInteger llDetectedGroup(int number);
LSL_Types.LSLInteger llDetectedLinkNumber(int number);
void llDie();
LSL_Types.LSLFloat llGround(LSL_Types.Vector3 offset);
LSL_Types.LSLFloat llCloud(LSL_Types.Vector3 offset);
LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset);
void llSetStatus(int status, int value);
LSL_Types.LSLInteger llGetStatus(int status);
void llSetScale(LSL_Types.Vector3 scale);
LSL_Types.Vector3 llGetScale();
void llSetColor(LSL_Types.Vector3 color, int face);
LSL_Types.LSLFloat llGetAlpha(int face);
void llSetAlpha(double alpha, int face);
LSL_Types.Vector3 llGetColor(int face);
void llSetTexture(string texture, int face);
void llScaleTexture(double u, double v, int face);
void llOffsetTexture(double u, double v, int face);
void llRotateTexture(double rotation, int face);
LSL_Types.LSLString llGetTexture(int face);
void llSetPos(LSL_Types.Vector3 pos);
//wiki: vector llGetPos() LSL_Integer llAbs(int i);
LSL_Types.Vector3 llGetPos(); LSL_Float llAcos(double val);
//wiki: vector llGetLocalPos() void llAddToLandBanList(string avatar, double hours);
LSL_Types.Vector3 llGetLocalPos(); void llAddToLandPassList(string avatar, double hours);
//wiki: llSetRot(rotation rot) void llAdjustSoundVolume(double volume);
void llSetRot(LSL_Types.Quaternion rot); void llAllowInventoryDrop(int add);
//wiki: rotation llGetRot() LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b);
LSL_Types.Quaternion llGetRot(); void llApplyImpulse(LSL_Vector force, int local);
//wiki: rotation llGetLocalRot() void llApplyRotationalImpulse(LSL_Vector force, int local);
LSL_Types.Quaternion llGetLocalRot(); LSL_Float llAsin(double val);
//wiki: llSetForce(vector force, integer local) LSL_Float llAtan2(double x, double y);
void llSetForce(LSL_Types.Vector3 force, int local); void llAttachToAvatar(int attachment);
//wiki: vector llGetForce() LSL_Key llAvatarOnSitTarget();
LSL_Types.Vector3 llGetForce(); LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up);
//wiki: integer llTarget(vector position, double range) LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle);
LSL_Types.LSLInteger llTarget(LSL_Types.Vector3 position, double range); LSL_Integer llBase64ToInteger(string str);
//wiki: llTargetRemove(integer number) LSL_String llBase64ToString(string str);
void llTargetRemove(int number); void llBreakAllLinks();
//wiki: integer llRotTarget(rotation rot, double error) void llBreakLink(int linknum);
LSL_Types.LSLInteger llRotTarget(LSL_Types.Quaternion rot, double error); LSL_Integer llCeil(double f);
//wiki: integer llRotTargetRemove(integer number) void llClearCameraParams();
void llRotTargetRemove(int number); void llCloseRemoteDataChannel(string channel);
//wiki: llMoveToTarget(vector target, double tau) LSL_Float llCloud(LSL_Vector offset);
void llMoveToTarget(LSL_Types.Vector3 target, double tau); void llCollisionFilter(string name, string id, int accept);
//wiki: llStopMoveToTarget() void llCollisionSound(string impact_sound, double impact_volume);
void llStopMoveToTarget(); void llCollisionSprite(string impact_sprite);
//wiki: llApplyImpulse(vector force, integer local) LSL_Float llCos(double f);
void llApplyImpulse(LSL_Types.Vector3 force, int local); void llCreateLink(string target, int parent);
//wiki: llapplyRotationalImpulse(vector force, integer local) LSL_List llCSV2List(string src);
void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local); LSL_List llDeleteSubList(LSL_List src, int start, int end);
//wiki: llSetTorque(vector torque, integer local) LSL_String llDeleteSubString(string src, int start, int end);
void llSetTorque(LSL_Types.Vector3 torque, int local); void llDetachFromAvatar();
//wiki: vector llGetTorque() LSL_Vector llDetectedGrab(int number);
LSL_Types.Vector3 llGetTorque(); LSL_Integer llDetectedGroup(int number);
//wiki: llSeForceAndTorque(vector force, vector torque, integer local) LSL_Key llDetectedKey(int number);
void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local); LSL_Integer llDetectedLinkNumber(int number);
//wiki: vector llGetVel() LSL_String llDetectedName(int number);
LSL_Types.Vector3 llGetVel(); LSL_Key llDetectedOwner(int number);
//wiki: vector llGetAccel() LSL_Vector llDetectedPos(int number);
LSL_Types.Vector3 llGetAccel(); LSL_Rotation llDetectedRot(int number);
//wiki: vector llGetOmega() LSL_Integer llDetectedType(int number);
LSL_Types.Vector3 llGetOmega(); LSL_Vector llDetectedTouchBinormal(int index);
//wiki: LSL_Types.LSLFloat llGetTimeOfDay() LSL_Integer llDetectedTouchFace(int index);
LSL_Types.LSLFloat llGetTimeOfDay(); LSL_Vector llDetectedTouchNormal(int index);
//wiki: LSL_Types.LSLFloat llGetWallclock() LSL_Vector llDetectedTouchPos(int index);
LSL_Types.LSLFloat llGetWallclock(); LSL_Vector llDetectedTouchST(int index);
//wiki: LSL_Types.LSLFloat llGetTime() LSL_Vector llDetectedTouchUV(int index);
LSL_Types.LSLFloat llGetTime(); LSL_Vector llDetectedVel(int number);
//wiki: llResetTime() void llDialog(string avatar, string message, LSL_List buttons, int chat_channel);
void llResetTime(); void llDie();
//wiki: LSL_Types.LSLFloat llGetAndResetTime() LSL_String llDumpList2String(LSL_List src, string seperator);
LSL_Types.LSLFloat llGetAndResetTime(); LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir);
//wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop) void llEjectFromLand(string pest);
void llSound(); void llEmail(string address, string subject, string message);
//wiki: llPlaySound(string sound, double volume) LSL_String llEscapeURL(string url);
void llPlaySound(string sound, double volume); LSL_Rotation llEuler2Rot(LSL_Vector v);
//wiki: llLoopSound(string sound, double volume) LSL_Float llFabs(double f);
void llLoopSound(string sound, double volume); LSL_Integer llFloor(double f);
//wiki: llLoopSoundMaster(string sound, double volume) void llForceMouselook(int mouselook);
void llLoopSoundMaster(string sound, double volume); LSL_Float llFrand(double mag);
//wiki: llLoopSoundSlave(string sound, double volume) LSL_Vector llGetAccel();
void llLoopSoundSlave(string sound, double volume); LSL_Integer llGetAgentInfo(string id);
//wiki llPlaySoundSlave(string sound, double volume) LSL_Vector llGetAgentSize(string id);
void llPlaySoundSlave(string sound, double volume); LSL_Float llGetAlpha(int face);
//wiki: llTriggerSound(string sound, double volume) LSL_Float llGetAndResetTime();
void llTriggerSound(string sound, double volume); LSL_String llGetAnimation(string id);
//wiki: llStopSound() LSL_List llGetAnimationList(string id);
void llStopSound(); LSL_Integer llGetAttached();
//wiki: llPreloadSound(string sound) LSL_List llGetBoundingBox(string obj);
void llPreloadSound(string sound); LSL_Vector llGetCameraPos();
//wiki: LSL_Types.LSLString llGetSubString(string src, integer start, integer end) LSL_Rotation llGetCameraRot();
LSL_Types.LSLString llGetSubString(string src, int start, int end); LSL_Vector llGetCenterOfMass();
//wiki: LSL_Types.LSLString llDeleteSubString(string src, integer start, integer end) LSL_Vector llGetColor(int face);
LSL_Types.LSLString llDeleteSubString(string src, int start, int end); LSL_String llGetCreator();
//wiki LSL_Types.LSLString llInsertString(string dst, integer position, string src) LSL_String llGetDate();
LSL_Types.LSLString llInsertString(string dst, int position, string src); LSL_Float llGetEnergy();
//wiki: LSL_Types.LSLString llToUpper(string source) LSL_Vector llGetForce();
LSL_Types.LSLString llToUpper(string source); LSL_Integer llGetFreeMemory();
//wiki: LSL_Types.LSLString llToLower(string source) LSL_Vector llGetGeometricCenter();
LSL_Types.LSLString llToLower(string source); LSL_Float llGetGMTclock();
//wiki: integer llGiveMoney(key destination, integer amount) LSL_Key llGetInventoryCreator(string item);
LSL_Types.LSLInteger llGiveMoney(string destination, int amount); LSL_Key llGetInventoryKey(string name);
//wiki: (deprecated) LSL_String llGetInventoryName(int type, int number);
void llMakeExplosion(); LSL_Integer llGetInventoryNumber(int type);
//wiki: (deprecated) LSL_Integer llGetInventoryPermMask(string item, int mask);
void llMakeFountain(); LSL_Integer llGetInventoryType(string name);
//wiki: (deprecated) LSL_Key llGetKey();
void llMakeSmoke(); LSL_Key llGetLandOwnerAt(LSL_Vector pos);
//wiki: (deprecated) LSL_Key llGetLinkKey(int linknum);
void llMakeFire(); LSL_String llGetLinkName(int linknum);
//wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) LSL_Integer llGetLinkNumber();
void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param); LSL_Integer llGetListEntryType(LSL_List src, int index);
//wiki: llLookAt(vector target, double strength, double damping) LSL_Integer llGetListLength(LSL_List src);
void llLookAt(LSL_Types.Vector3 target, double strength, double damping); LSL_Vector llGetLocalPos();
//wiki: llStopLookAt() LSL_Rotation llGetLocalRot();
void llStopLookAt(); LSL_Float llGetMass();
//wiki: llSetTimerEvent(double sec) void llGetNextEmail(string address, string subject);
void llSetTimerEvent(double sec); LSL_String llGetNotecardLine(string name, int line);
//wiki: llSleep(double sec) LSL_Key llGetNumberOfNotecardLines(string name);
void llSleep(double sec); LSL_Integer llGetNumberOfPrims();
//wiki: LSL_Types.LSLFloat llGetMass() LSL_Integer llGetNumberOfSides();
LSL_Types.LSLFloat llGetMass(); LSL_String llGetObjectDesc();
//wiki: llCollisionFilter(string name, key id, integer accept) LSL_List llGetObjectDetails(string id, LSL_List args);
void llCollisionFilter(string name, string id, int accept); LSL_Float llGetObjectMass(string id);
//wiki: llTakeControls(integer controls, integer accept, integer pass_on) LSL_String llGetObjectName();
void llTakeControls(int controls, int accept, int pass_on); LSL_Integer llGetObjectPermMask(int mask);
//wiki: llReleaseControls() LSL_Integer llGetObjectPrimCount(string object_id);
void llReleaseControls(); LSL_Vector llGetOmega();
//wiki: llAttachToAvatar(integer attachment) LSL_Key llGetOwner();
void llAttachToAvatar(int attachment); LSL_Key llGetOwnerKey(string id);
//wiki: llDetachFromAvatar() LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param);
void llDetachFromAvatar(); LSL_Integer llGetParcelFlags(LSL_Vector pos);
//wiki: (deprecated) llTakeCamera(key avatar) LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide);
void llTakeCamera(string avatar); LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide);
//wiki: (deprecated) llReleaseCamera(key avatar) LSL_List llGetParcelPrimOwners(LSL_Vector pos);
void llReleaseCamera(string avatar); LSL_Integer llGetPermissions();
//wiki: key llGetOwner() LSL_Key llGetPermissionsKey();
LSL_Types.LSLString llGetOwner(); LSL_Vector llGetPos();
//wiki: llInstantMessage(key user, string message) LSL_List llGetPrimitiveParams(LSL_List rules);
void llInstantMessage(string user, string message); LSL_Integer llGetRegionAgentCount();
//wiki: llEmail(string address, string subject, string message) LSL_Vector llGetRegionCorner();
void llEmail(string address, string subject, string message); LSL_Integer llGetRegionFlags();
//wiki: llGetNextEmail(string address, string subject) LSL_Float llGetRegionFPS();
void llGetNextEmail(string address, string subject); LSL_String llGetRegionName();
//wiki: key llGetKey() LSL_Float llGetRegionTimeDilation();
LSL_Types.LSLString llGetKey(); LSL_Vector llGetRootPosition();
//wiki: llSetBuoyancy(double buoyancy) LSL_Rotation llGetRootRotation();
void llSetBuoyancy(double buoyancy); LSL_Rotation llGetRot();
//wiki: llSetHoverHeight(double height, integer water, double tau) LSL_Vector llGetScale();
void llSetHoverHeight(double height, int water, double tau); LSL_String llGetScriptName();
//wiki: llStopHover LSL_Integer llGetScriptState(string name);
void llStopHover(); LSL_String llGetSimulatorHostname();
//wiki: llMinEventDelay(double delay) LSL_Integer llGetStartParameter();
void llMinEventDelay(double delay); LSL_Integer llGetStatus(int status);
//wiki: (deprecated) llSoundPreload() LSL_String llGetSubString(string src, int start, int end);
void llSoundPreload(); LSL_Vector llGetSunDirection();
//wiki: llRotLookAt(rotation target, double strength, double damping) LSL_String llGetTexture(int face);
void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping); LSL_Vector llGetTextureOffset(int face);
//wiki: integer llStringLength(string str) LSL_Float llGetTextureRot(int side);
LSL_Types.LSLInteger llStringLength(string str); LSL_Vector llGetTextureScale(int side);
//wiki: llStartAnimation(string anim) LSL_Float llGetTime();
void llStartAnimation(string anim); LSL_Float llGetTimeOfDay();
//wiki: llStopAnimation(string anim) LSL_String llGetTimestamp();
void llStopAnimation(string anim); LSL_Vector llGetTorque();
//wiki: (deprecated) llPointAt LSL_Integer llGetUnixTime();
void llPointAt(); LSL_Vector llGetVel();
//wiki: (deprecated) llStopPointAt LSL_Float llGetWallclock();
void llStopPointAt(); void llGiveInventory(string destination, string inventory);
//wiki: llTargetOmega(vector axis, double spinrate, double gain) void llGiveInventoryList(string destination, string category, LSL_List inventory);
void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain); LSL_Integer llGiveMoney(string destination, int amount);
//wiki: integer llGetStartParameter() void llGodLikeRezObject(string inventory, LSL_Vector pos);
LSL_Types.LSLInteger llGetStartParameter(); LSL_Float llGround(LSL_Vector offset);
//wiki: llGodLikeRezObject(key inventory, vector pos) LSL_Vector llGroundContour(LSL_Vector offset);
void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos); LSL_Vector llGroundNormal(LSL_Vector offset);
//wiki: llRequestPermissions(key agent, integer perm) void llGroundRepel(double height, int water, double tau);
void llRequestPermissions(string agent, int perm); LSL_Vector llGroundSlope(LSL_Vector offset);
//wiki: key llGetPermissionsKey() LSL_String llHTTPRequest(string url, LSL_List parameters, string body);
LSL_Types.LSLString llGetPermissionsKey(); LSL_String llInsertString(string dst, int position, string src);
//wiki: integer llGetPermissions() void llInstantMessage(string user, string message);
LSL_Types.LSLInteger llGetPermissions(); LSL_String llIntegerToBase64(int number);
//wiki integer llGetLinkNumber() LSL_String llKey2Name(string id);
LSL_Types.LSLInteger llGetLinkNumber(); LSL_String llList2CSV(LSL_List src);
//wiki: llSetLinkColor(integer linknumber, vector color, integer face) LSL_Float llList2Float(LSL_List src, int index);
void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face); LSL_Integer llList2Integer(LSL_List src, int index);
//wiki: llCreateLink(key target, integer parent) LSL_Key llList2Key(LSL_List src, int index);
void llCreateLink(string target, int parent); LSL_List llList2List(LSL_List src, int start, int end);
//wiki: llBreakLink(integer linknum) LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride);
void llBreakLink(int linknum); LSL_Rotation llList2Rot(LSL_List src, int index);
//wiki: llBreakAllLinks() LSL_String llList2String(LSL_List src, int index);
void llBreakAllLinks(); LSL_Vector llList2Vector(LSL_List src, int index);
//wiki: key llGetLinkKey(integer linknum) LSL_Integer llListen(int channelID, string name, string ID, string msg);
LSL_Types.LSLString llGetLinkKey(int linknum); void llListenControl(int number, int active);
//wiki: llGetLinkName(integer linknum) void llListenRemove(int number);
LSL_Types.LSLString llGetLinkName(int linknum); LSL_Integer llListFindList(LSL_List src, LSL_List test);
//wiki: integer llGetInventoryNumber(integer type) LSL_List llListInsertList(LSL_List dest, LSL_List src, int start);
LSL_Types.LSLInteger llGetInventoryNumber(int type); LSL_List llListRandomize(LSL_List src, int stride);
//wiki: LSL_Types.LSLString llGetInventoryName(integer type, integer number) LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end);
LSL_Types.LSLString llGetInventoryName(int type, int number); LSL_List llListSort(LSL_List src, int stride, int ascending);
//wiki: llSetScriptState(string name, integer run) LSL_Float llListStatistics(int operation, LSL_List src);
void llSetScriptState(string name, int run); void llLoadURL(string avatar_id, string message, string url);
//wiki: LSL_Types.LSLFloat llGetEnergy() LSL_Float llLog(double val);
LSL_Types.LSLFloat llGetEnergy(); LSL_Float llLog10(double val);
//wiki: llGiveInventory(key destination, string inventory) void llLookAt(LSL_Vector target, double strength, double damping);
void llGiveInventory(string destination, string inventory); void llLoopSound(string sound, double volume);
//wiki: llRemoveInventory(string item) void llLoopSoundMaster(string sound, double volume);
void llRemoveInventory(string item); void llLoopSoundSlave(string sound, double volume);
//wiki: llSetText(string text, vector color, double alpha) void llMakeExplosion();
void llSetText(string text, LSL_Types.Vector3 color, double alpha); void llMakeFire();
//wiki: LSL_Types.LSLFloat llWater(vector offset) void llMakeFountain();
LSL_Types.LSLFloat llWater(LSL_Types.Vector3 offset); void llMakeSmoke();
//wiki: llPassTouches(integer pass) void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at);
void llPassTouches(int pass); LSL_String llMD5String(string src, int nonce);
//wiki: key llRequestAgentData(key id, integer data) void llMessageLinked(int linknum, int num, string str, string id);
LSL_Types.LSLString llRequestAgentData(string id, int data); void llMinEventDelay(double delay);
//wiki: key llRequestInventoryData(string name) void llModifyLand(int action, int brush);
LSL_Types.LSLString llRequestInventoryData(string name); LSL_Integer llModPow(int a, int b, int c);
//wiki: llSetDamage(double damage) void llMoveToTarget(LSL_Vector target, double tau);
void llSetDamage(double damage); void llOffsetTexture(double u, double v, int face);
//wiki: llTeleportAgentHome(key agent) void llOpenRemoteDataChannel();
void llTeleportAgentHome(string agent); LSL_Integer llOverMyLand(string id);
//wiki: llModifyLand(integer action, integer brush) void llOwnerSay(string msg);
void llModifyLand(int action, int brush); void llParcelMediaCommandList(LSL_List commandList);
//wiki: llCollisionSound(string impact_sound, double impact_volume) LSL_List llParcelMediaQuery(LSL_List aList);
void llCollisionSound(string impact_sound, double impact_volume); LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers);
//wiki: llCollisionSprite(string impact_sprite) LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers);
void llCollisionSprite(string impact_sprite); void llParticleSystem(LSL_List rules);
//wiki: LSL_Types.LSLString llGetAnimation(key id) void llPassCollisions(int pass);
LSL_Types.LSLString llGetAnimation(string id); void llPassTouches(int pass);
//wiki: llResetScript() void llPlaySound(string sound, double volume);
void llResetScript(); void llPlaySoundSlave(string sound, double volume);
//wiki: llMessageLinked(integer linknum, integer num, string str, key id) void llPointAt();
void llMessageLinked(int linknum, int num, string str, string id); LSL_Float llPow(double fbase, double fexponent);
//wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) void llPreloadSound(string sound);
void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local); void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local);
//wiki: llPassCollisions(integer pass) void llRefreshPrimURL();
void llPassCollisions(int pass); void llRegionSay(int channelID, string text);
//wiki: LSL_Types.LSLString llGetScriptName() void llReleaseCamera(string avatar);
LSL_Types.LSLString llGetScriptName(); void llReleaseControls();
//wiki: integer llGetNumberOfSides() void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
LSL_Types.LSLInteger llGetNumberOfSides(); void llRemoteDataSetRegion();
//wiki: rotation llAxisAngle2Rot(vector axis, double angle) void llRemoteLoadScript();
LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle); void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
//wiki: vector llRot2Axis(rotation rot) void llRemoveFromLandBanList(string avatar);
LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot); void llRemoveFromLandPassList(string avatar);
//wiki: LSL_Types.LSLFloat llRot2Angle(rotation rot); void llRemoveInventory(string item);
LSL_Types.LSLFloat llRot2Angle(LSL_Types.Quaternion rot); void llRemoveVehicleFlags(int flags);
//wiki: LSL_Types.LSLFloat llAcos(double val) LSL_Key llRequestAgentData(string id, int data);
LSL_Types.LSLFloat llAcos(double val); LSL_Key llRequestInventoryData(string name);
//wiki: LSL_Types.LSLFloat llAsin(double val) void llRequestPermissions(string agent, int perm);
LSL_Types.LSLFloat llAsin(double val); LSL_Key llRequestSimulatorData(string simulator, int data);
//wiki: LSL_Types.LSLFloat llAngleBetween(rotation a, rotation b) void llResetLandBanList();
LSL_Types.LSLFloat llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b); void llResetLandPassList();
//wiki: LSL_Types.LSLString llGetInventoryKey(string name) void llResetOtherScript(string name);
LSL_Types.LSLString llGetInventoryKey(string name); void llResetScript();
//wiki: llAllowInventoryDrop(integer add) void llResetTime();
void llAllowInventoryDrop(int add); void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param);
//wiki: vector llGetSunDirection() void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param);
LSL_Types.Vector3 llGetSunDirection(); LSL_Float llRot2Angle(LSL_Rotation rot);
//wiki: vector llGetTextureOffset(integer face) LSL_Vector llRot2Axis(LSL_Rotation rot);
LSL_Types.Vector3 llGetTextureOffset(int face); LSL_Vector llRot2Euler(LSL_Rotation r);
//wiki: vector llGetTextureScale(integer side) LSL_Vector llRot2Fwd(LSL_Rotation r);
LSL_Types.Vector3 llGetTextureScale(int side); LSL_Vector llRot2Left(LSL_Rotation r);
//wiki: LSL_Types.LSLFloat llGetTextureRot(integer side) LSL_Vector llRot2Up(LSL_Rotation r);
LSL_Types.LSLFloat llGetTextureRot(int side); void llRotateTexture(double rotation, int face);
//wiki: integer llSubStringIndex(string source, string pattern) LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end);
LSL_Types.LSLInteger llSubStringIndex(string source, string pattern); void llRotLookAt(LSL_Rotation target, double strength, double damping);
//wiki: key llGetOwnerKey(key id) LSL_Integer llRotTarget(LSL_Rotation rot, double error);
LSL_Types.LSLString llGetOwnerKey(string id); void llRotTargetRemove(int number);
//wiki: vector llGetCenterOfMass() LSL_Integer llRound(double f);
LSL_Types.Vector3 llGetCenterOfMass(); LSL_Integer llSameGroup(string agent);
//wiki: list llListSort(list src, integer stride, integer ascending) void llSay(int channelID, string text);
LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending); void llScaleTexture(double u, double v, int face);
//integer llGetListLength(list src) LSL_Integer llScriptDanger(LSL_Vector pos);
LSL_Types.LSLInteger llGetListLength(LSL_Types.list src); LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata);
//wiki: integer llList2Integer(list src, integer index) void llSensor(string name, string id, int type, double range, double arc);
LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index); void llSensorRemove();
//wiki: LSL_Types.LSLFloat llList2double(list src, integer index) void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
LSL_Types.LSLFloat llList2Float(LSL_Types.list src, int index); void llSetAlpha(double alpha, int face);
//wiki: LSL_Types.LSLString llList2String(list src, integer index) void llSetBuoyancy(double buoyancy);
LSL_Types.LSLString llList2String(LSL_Types.list src, int index); void llSetCameraAtOffset(LSL_Vector offset);
//wiki: key llList2Key(list src, integer index) void llSetCameraEyeOffset(LSL_Vector offset);
LSL_Types.LSLString llList2Key(LSL_Types.list src, int index); void llSetCameraParams(LSL_List rules);
//wiki: vector llList2Vector(list src, integer index) void llSetClickAction(int action);
LSL_Types.Vector3 llList2Vector(LSL_Types.list src, int index); void llSetColor(LSL_Vector color, int face);
//wiki rotation llList2Rot(list src, integer index) void llSetDamage(double damage);
LSL_Types.Quaternion llList2Rot(LSL_Types.list src, int index); void llSetForce(LSL_Vector force, int local);
//wiki: list llList2List(list src, integer start, integer end) void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local);
LSL_Types.list llList2List(LSL_Types.list src, int start, int end); void llSetHoverHeight(double height, int water, double tau);
//wiki: llDeleteSubList(list src, integer start, integer end) void llSetInventoryPermMask(string item, int mask, int value);
LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end); void llSetLinkAlpha(int linknumber, double alpha, int face);
//wiki: integer llGetListEntryType(list src, integer index) void llSetLinkColor(int linknumber, LSL_Vector color, int face);
LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index); void llSetLinkPrimitiveParams(int linknumber, LSL_List rules);
//wiki: LSL_Types.LSLString llList2CSV(list src) void llSetLinkTexture(int linknumber, string texture, int face);
LSL_Types.LSLString llList2CSV(LSL_Types.list src); void llSetLocalRot(LSL_Rotation rot);
//wiki: list llCSV2List(string src) void llSetObjectDesc(string desc);
LSL_Types.list llCSV2List(string src); void llSetObjectName(string name);
//wiki: list llListRandomize(list src, integer stride) void llSetObjectPermMask(int mask, int value);
LSL_Types.list llListRandomize(LSL_Types.list src, int stride); void llSetParcelMusicURL(string url);
//wiki: list llList2ListStrided(list src, integer start, integer end, integer stride) void llSetPayPrice(int price, LSL_List quick_pay_buttons);
LSL_Types.list llList2ListStrided(LSL_Types.list src, int start, int end, int stride); void llSetPos(LSL_Vector pos);
//wiki: vector llGetRegionCorner() void llSetPrimitiveParams(LSL_List rules);
LSL_Types.Vector3 llGetRegionCorner(); void llSetPrimURL();
//wiki: list llListInsertList(list dest, list src, integer start) void llSetRemoteScriptAccessPin(int pin);
LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start); void llSetRot(LSL_Rotation rot);
//wiki: integer llListFindList(list src, list test) void llSetScale(LSL_Vector scale);
LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test); void llSetScriptState(string name, int run);
//wiki: LSL_Types.LSLString llGetObjectName() void llSetSitText(string text);
LSL_Types.LSLString llGetObjectName(); void llSetSoundQueueing(int queue);
//wiki: llSetObjectName(string name) void llSetSoundRadius(double radius);
void llSetObjectName(string name); void llSetStatus(int status, int value);
//wiki: LSL_Types.LSLString llGetDate() void llSetText(string text, LSL_Vector color, double alpha);
LSL_Types.LSLString llGetDate(); void llSetTexture(string texture, int face);
//wiki: integer llEdgeOfWorld(vector pos, vector dir) void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
LSL_Types.LSLInteger llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir); void llSetTimerEvent(double sec);
//wiki: integer llGetAgentInfo(key id) void llSetTorque(LSL_Vector torque, int local);
LSL_Types.LSLInteger llGetAgentInfo(string id); void llSetTouchText(string text);
//wiki: llAdjustSoundVolume(double volume) void llSetVehicleFlags(int flags);
void llAdjustSoundVolume(double volume); void llSetVehicleFloatParam(int param, float value);
//wiki: llSetSoundQueueing(integer queue) void llSetVehicleRotationParam(int param, LSL_Rotation rot);
void llSetSoundQueueing(int queue); void llSetVehicleType(int type);
//wiki: llSetSoundRadius(double radius) void llSetVehicleVectorParam(int param, LSL_Vector vec);
void llSetSoundRadius(double radius); void llShout(int channelID, string text);
//wiki: LSL_Types.LSLString llKey2Name(key id) LSL_Float llSin(double f);
LSL_Types.LSLString llKey2Name(string id); void llSitTarget(LSL_Vector offset, LSL_Rotation rot);
//wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate) void llSleep(double sec);
void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate); void llSound();
//wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) void llSoundPreload();
void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Float llSqrt(double f);
LSL_Types.Vector3 bottom_south_west); void llStartAnimation(string anim);
void llStopAnimation(string anim);
//wiki: llEjectFromLand(key pest) void llStopHover();
void llEjectFromLand(string pest); void llStopLookAt();
LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers); void llStopMoveToTarget();
//wiki: integer llOverMyLand(key id) void llStopPointAt();
LSL_Types.LSLInteger llOverMyLand(string id); void llStopSound();
//wiki: key llGetLandOwnerAt(vector pos) LSL_Integer llStringLength(string str);
LSL_Types.LSLString llGetLandOwnerAt(LSL_Types.Vector3 pos); LSL_String llStringToBase64(string str);
//wiki: key llGetNotecardLine(string name, integer line) LSL_String llStringTrim(string src, int type);
LSL_Types.LSLString llGetNotecardLine(string name, int line); LSL_Integer llSubStringIndex(string source, string pattern);
//wiki: vector llGetAgentSize(key id) void llTakeCamera(string avatar);
LSL_Types.Vector3 llGetAgentSize(string id); void llTakeControls(int controls, int accept, int pass_on);
//wiki: integer llSameGroup(key agent) LSL_Float llTan(double f);
LSL_Types.LSLInteger llSameGroup(string agent); LSL_Integer llTarget(LSL_Vector position, double range);
//wiki: llUnSit(key id) void llTargetOmega(LSL_Vector axis, double spinrate, double gain);
void llUnSit(string id); void llTargetRemove(int number);
//wiki: vector llGroundSlope(vector offset) void llTeleportAgentHome(string agent);
LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset); void llTextBox(string avatar, string message, int chat_channel);
//wiki: vector llGroundNormal(vector offset) LSL_String llToLower(string source);
LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset); LSL_String llToUpper(string source);
//wiki: vector llGroundContour(vector offset) void llTriggerSound(string sound, double volume);
LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset); void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west);
//wiki: integer llGetAttached() LSL_String llUnescapeURL(string url);
LSL_Types.LSLInteger llGetAttached(); void llUnSit(string id);
//wiki: integer llGetFreeMemory() LSL_Float llVecDist(LSL_Vector a, LSL_Vector b);
LSL_Types.LSLInteger llGetFreeMemory(); LSL_Float llVecMag(LSL_Vector v);
//wiki: LSL_Types.LSLString llGetRegionName() LSL_Vector llVecNorm(LSL_Vector v);
LSL_Types.LSLString llGetRegionName(); void llVolumeDetect(int detect);
//wiki: LSL_Types.LSLFloat llGetRegionTimeDilation() LSL_Float llWater(LSL_Vector offset);
LSL_Types.LSLFloat llGetRegionTimeDilation(); void llWhisper(int channelID, string text);
//wiki: LSL_Types.LSLFloat llGetRegionFPS() LSL_Vector llWind(LSL_Vector offset);
LSL_Types.LSLFloat llGetRegionFPS(); void llXorBase64Strings();
//wiki: llParticleSystem(List<Object> rules LSL_String llXorBase64StringsCorrect(string str1, string str2);
void llParticleSystem(LSL_Types.list rules);
//wiki: llGroundRepel(double height, integer water, double tau)
void llGroundRepel(double height, int water, double tau);
//wiki: llGiveInventoryList(string destination, string category, LSL_Types.list inventory)
void llGiveInventoryList(string destination, string category, LSL_Types.list inventory);
//wiki: llSetVehicleType(integer type)
void llSetVehicleType(int type);
//wiki: llSetVehicledoubleParam(integer param, double value)
void llSetVehicledoubleParam(int param, double value);
// wiki: llSetVehicleFloatParam(integer param, float value)
void llSetVehicleFloatParam(int param, float value);
//wiki: llSetVehicleVectorParam(integer param, vector vec)
void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec);
//wiki: llSetVehicleRotationParam(integer param, rotation rot)
void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot);
//wiki: llSetVehicleFlags(integer flags)
void llSetVehicleFlags(int flags);
//wiki: llRemoveVehicleFlags(integer flags)
void llRemoveVehicleFlags(int flags);
//wiki: llSitTarget(vector offset, rotation rot)
void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot);
//wiki key llAvatarOnSitTarget()
LSL_Types.LSLString llAvatarOnSitTarget();
//wiki: llAddToLandPassList(key avatar, double hours)
void llAddToLandPassList(string avatar, double hours);
//wiki: llSetTouchText(string text)
void llSetTouchText(string text);
//wiki: llSetSitText(string text)
void llSetSitText(string text);
//wiki: llSetCameraEyeOffset(vector offset)
void llSetCameraEyeOffset(LSL_Types.Vector3 offset);
//wiki: llSeteCameraAtOffset(vector offset)
void llSetCameraAtOffset(LSL_Types.Vector3 offset);
//
LSL_Types.LSLString llDumpList2String(LSL_Types.list src, string seperator);
//wiki: integer llScriptDanger(vector pos)
LSL_Types.LSLInteger llScriptDanger(LSL_Types.Vector3 pos);
//wiki: llDialog(key avatar, string message, list buttons, integer chat_channel)
void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel);
//wiki: llVolumeDetect(integer detect)
void llVolumeDetect(int detect);
//wiki: llResetOtherScript(string name)
void llResetOtherScript(string name);
//wiki: integer llGetScriptState(string name)
LSL_Types.LSLInteger llGetScriptState(string name);
//wiki: (deprecated)
void llRemoteLoadScript();
//wiki: llSetRemoteScriptAccessPin(integer pin)
void llSetRemoteScriptAccessPin(int pin);
//wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)
void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
//wiki: llOpenRemoteDataChannel()
void llOpenRemoteDataChannel();
//wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata)
LSL_Types.LSLString llSendRemoteData(string channel, string dest, int idata, string sdata);
//wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata)
void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
//wiki: llCloseRemoteDataChannel(key channel)
void llCloseRemoteDataChannel(string channel);
//wiki: LSL_Types.LSLString llMD5String(string src, integer nonce)
LSL_Types.LSLString llMD5String(string src, int nonce);
//wiki: llSetPrimitiveParams(list rules)
void llSetPrimitiveParams(LSL_Types.list rules);
//wiki: llSetLinkPrimitiveParams(integer linknumber, list rules)
void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules);
//wiki: LSL_Types.LSLString llStringToBase64(string str)
LSL_Types.LSLString llStringToBase64(string str);
//wiki: LSL_Types.LSLString llBase64ToString(string str)
LSL_Types.LSLString llBase64ToString(string str);
//wiki: (deprecated)
void llXorBase64Strings();
//wiki: llRemoteDataSetRegion()
void llRemoteDataSetRegion();
//wiki: LSL_Types.LSLFloat llLog10(double val)
LSL_Types.LSLFloat llLog10(double val);
//wiki: LSL_Types.LSLFloat llLog(double val)
LSL_Types.LSLFloat llLog(double val);
//wiki: list llGetAnimationList(key id)
LSL_Types.list llGetAnimationList(string id);
//wiki: llSetParcelMusicURL(string url)
void llSetParcelMusicURL(string url);
//wiki: vector llGetRootPosition()
LSL_Types.Vector3 llGetRootPosition();
//wiki: rotation llGetRootRotation()
LSL_Types.Quaternion llGetRootRotation();
//wiki: LSL_Types.LSLString llGetObjectDesc()
LSL_Types.LSLString llGetObjectDesc();
//wiki: llSetObjectDesc(string desc)
void llSetObjectDesc(string desc);
//wiki: key llGetCreator()
LSL_Types.LSLString llGetCreator();
//wiki: LSL_Types.LSLString llGetTimestamp()
LSL_Types.LSLString llGetTimestamp();
//wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face)
void llSetLinkAlpha(int linknumber, double alpha, int face);
//wiki: integer llGetNumberOfPrims()
LSL_Types.LSLInteger llGetNumberOfPrims();
//wiki: key llGetNumberOfNotecardLines(string name)
LSL_Types.LSLString llGetNumberOfNotecardLines(string name);
//wiki: list llGetBoundingBox(key object)
LSL_Types.list llGetBoundingBox(string obj);
//wiki: vector llGetGeometricCenter()
LSL_Types.Vector3 llGetGeometricCenter();
//wiki: list llGetPrimitiveParams(list rules)
LSL_Types.list llGetPrimitiveParams(LSL_Types.list rules);
//wiki: LSL_Types.LSLString llIntegerToBase64(integer number)
LSL_Types.LSLString llIntegerToBase64(int number);
//wiki integer llBase64ToInteger(string str)
LSL_Types.LSLInteger llBase64ToInteger(string str);
//wiki: LSL_Types.LSLFloat llGetGMTclock()
LSL_Types.LSLFloat llGetGMTclock();
//wiki: LSL_Types.LSLString llGetSimulatorHostname()
LSL_Types.LSLString llGetSimulatorHostname();
//llSetLocalRot(rotation rot)
void llSetLocalRot(LSL_Types.Quaternion rot);
//wiki: list llParseStringKeepNulls(string src, list separators, list spacers)
LSL_Types.list llParseStringKeepNulls(string src, LSL_Types.list seperators, LSL_Types.list spacers);
//wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param)
void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity,
LSL_Types.Quaternion rot, int param);
//wiki: integer llGetObjectPermMask(integer mask)
LSL_Types.LSLInteger llGetObjectPermMask(int mask);
//wiki: llSetObjectPermMask(integer mask, integer value)
void llSetObjectPermMask(int mask, int value);
//wiki integer llGetInventoryPermMask(string item, integer mask)
LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask);
//wiki: llSetInventoryPermMask(string item, integer mask, integer value)
void llSetInventoryPermMask(string item, int mask, int value);
//wiki: key llGetInventoryCreator(string item)
LSL_Types.LSLString llGetInventoryCreator(string item);
//wiki: llOwnerSay(string msg)
void llOwnerSay(string msg);
//wiki: key llRequestSimulatorData(string simulator, integer data)
LSL_Types.LSLString llRequestSimulatorData(string simulator, int data);
//wiki: llForceMouselook(integer mouselook)
void llForceMouselook(int mouselook);
//wiki: LSL_Types.LSLFloat llGetObjectMass(key id)
LSL_Types.LSLFloat llGetObjectMass(string id);
LSL_Types.list llListReplaceList(LSL_Types.list dest, LSL_Types.list src, int start, int end);
//wiki: llLoadURL(key avatar_id, string message, string url)
void llLoadURL(string avatar_id, string message, string url);
//wiki: llParcelMediaCommandList(list commandList)
void llParcelMediaCommandList(LSL_Types.list commandList);
LSL_Types.list llParcelMediaQuery(LSL_Types.list aList);
//wiki integer llModPow(integer a, integer b, integer c)
LSL_Types.LSLInteger llModPow(int a, int b, int c);
//wiki: integer llGetInventoryType(string name)
LSL_Types.LSLInteger llGetInventoryType(string name);
//wiki: llSetPayPrice(integer price, list quick_pay_buttons)
void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons);
//wiki: vector llGetCameraPos()
LSL_Types.Vector3 llGetCameraPos();
//wiki rotation llGetCameraRot()
LSL_Types.Quaternion llGetCameraRot();
//wiki: (deprecated)
void llSetPrimURL();
//wiki: (deprecated)
void llRefreshPrimURL();
//wiki: LSL_Types.LSLString llEscapeURL(string url)
LSL_Types.LSLString llEscapeURL(string url);
//wiki: LSL_Types.LSLString llUnescapeURL(string url)
LSL_Types.LSLString llUnescapeURL(string url);
//wiki: llMapDestination(string simname, vector pos, vector look_at)
void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at);
//wiki: llAddToLandBanList(key avatar, double hours)
void llAddToLandBanList(string avatar, double hours);
//wiki: llRemoveFromLandPassList(key avatar)
void llRemoveFromLandPassList(string avatar);
//wiki: llRemoveFromLandBanList(key avatar)
void llRemoveFromLandBanList(string avatar);
//wiki: llSetCameraParams(list rules)
void llSetCameraParams(LSL_Types.list rules);
//wiki: llClearCameraParams()
void llClearCameraParams();
//wiki: LSL_Types.LSLFloat llListStatistics(integer operation, list src)
LSL_Types.LSLFloat llListStatistics(int operation, LSL_Types.list src);
//wiki: integer llGetUnixTime()
LSL_Types.LSLInteger llGetUnixTime();
//wiki: integer llGetParcelFlags(vector pos)
LSL_Types.LSLInteger llGetParcelFlags(LSL_Types.Vector3 pos);
//wiki: integer llGetRegionFlags()
LSL_Types.LSLInteger llGetRegionFlags();
//wiki: LSL_Types.LSLString llXorBase64StringsCorrect(string str1, string str2)
LSL_Types.LSLString llXorBase64StringsCorrect(string str1, string str2);
LSL_Types.LSLString llHTTPRequest(string url, LSL_Types.list parameters, string body);
//wiki: llResetLandBanList()
void llResetLandBanList();
//wiki: llResetLandPassList()
void llResetLandPassList();
//wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide);
//wiki: list llGetParcelPrimOwners(vector pos)
LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos);
//wiki: integer llGetObjectPrimCount(key object_id)
LSL_Types.LSLInteger llGetObjectPrimCount(string object_id);
//wiki: integer llGetParcelMaxPrims(vector pos, integer sim_wide)
LSL_Types.LSLInteger llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide);
//wiki: llGetParcelDetails(vector pos, list params)
LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param);
//wiki: llSetLinkTexture(integer linknumber, string texture, integer face)
void llSetLinkTexture(int linknumber, string texture, int face);
//wiki: LSL_Types.LSLString llStringTrim(string src, int type)
LSL_Types.LSLString llStringTrim(string src, int type);
//wiki: LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args)
LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args);
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1238,12 +1238,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
static public implicit operator String(key k) static public implicit operator String(key k)
{ {
return k.value; return k.value;
} }
static public implicit operator LSLString(key k) static public implicit operator LSLString(key k)
{ {
return k.value; return k.value;
} }
public static bool operator ==(key k1, key k2) public static bool operator ==(key k1, key k2)
@ -1449,11 +1449,13 @@ namespace OpenSim.Region.ScriptEngine.Shared
try try
{ {
if (v.Contains("x") || v.Contains("X")) if (v.Contains("x") || v.Contains("X"))
value = int.Parse(v.Substring(2), {
System.Globalization.NumberStyles.HexNumber); value = int.Parse(v.Substring(2), System.Globalization.NumberStyles.HexNumber);
}
else else
value = int.Parse(v, {
System.Globalization.NumberStyles.Integer); value = int.Parse(v, System.Globalization.NumberStyles.Integer);
}
} }
catch (OverflowException) catch (OverflowException)
{ {
@ -1669,12 +1671,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
static public explicit operator float(LSLFloat f) static public explicit operator float(LSLFloat f)
{ {
return (float)f.value; return (float)f.value;
} }
static public explicit operator int(LSLFloat f) static public explicit operator int(LSLFloat f)
{ {
return (int)f.value; return (int)f.value;
} }
static public explicit operator uint(LSLFloat f) static public explicit operator uint(LSLFloat f)