ILSL_Api.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSimulator Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. using System;
  28. using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
  29. using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
  30. using LSL_Key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
  31. using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list;
  32. using LSL_Rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
  33. using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
  34. using LSL_Vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
  35. namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
  36. {
  37. public interface ILSL_Api
  38. {
  39. void state(string newState);
  40. LSL_Integer llAbs(LSL_Integer val);
  41. LSL_Float llAcos(LSL_Float val);
  42. //ApiDesc Sleep 0.1
  43. void llAddToLandBanList(LSL_Key avatarId, LSL_Float hours);
  44. //ApiDesc Sleep 0.1
  45. void llAddToLandPassList(LSL_Key avatarId, LSL_Float hours);
  46. //ApiDesc Sleep 0.1
  47. void llAdjustSoundVolume(LSL_Float volume);
  48. void llAllowInventoryDrop(LSL_Integer add);
  49. LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b);
  50. void llApplyImpulse(LSL_Vector force, LSL_Integer local);
  51. void llApplyRotationalImpulse(LSL_Vector force, int local);
  52. LSL_Float llAsin(LSL_Float val);
  53. LSL_Float llAtan2(LSL_Float x, LSL_Float y);
  54. void llAttachToAvatar(LSL_Integer attachment);
  55. void llAttachToAvatarTemp(LSL_Integer attachmentPoint);
  56. LSL_Key llAvatarOnSitTarget();
  57. LSL_Key llAvatarOnLinkSitTarget(LSL_Integer linknum);
  58. LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up);
  59. LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle);
  60. LSL_Integer llBase64ToInteger(string str);
  61. LSL_String llBase64ToString(string str);
  62. void llBreakAllLinks();
  63. void llBreakLink(int linknum);
  64. LSL_List llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options);
  65. LSL_Integer llCeil(double f);
  66. void llClearCameraParams();
  67. LSL_Integer llClearLinkMedia(LSL_Integer link, LSL_Integer face);
  68. //ApiDesc Sleep 0.1
  69. LSL_Integer llClearPrimMedia(LSL_Integer face);
  70. //ApiDesc Sleep 1.0
  71. void llCloseRemoteDataChannel(string channel);
  72. LSL_Float llCloud(LSL_Vector offset);
  73. void llCollisionFilter(LSL_String name, LSL_Key id, LSL_Integer accept);
  74. void llCollisionSound(LSL_String impact_sound, LSL_Float impact_volume);
  75. //ApiDesc Not Supported - does nothing
  76. void llCollisionSprite(LSL_String impact_sprite);
  77. LSL_Float llCos(double f);
  78. //ApiDesc Sleep 1.0
  79. void llCreateLink(LSL_Key targetId, LSL_Integer parent);
  80. LSL_List llCSV2List(string src);
  81. LSL_List llDeleteSubList(LSL_List src, int start, int end);
  82. LSL_String llDeleteSubString(string src, int start, int end);
  83. void llDetachFromAvatar();
  84. LSL_Vector llDetectedGrab(int number);
  85. LSL_Integer llDetectedGroup(int number);
  86. LSL_Key llDetectedKey(int number);
  87. LSL_Integer llDetectedLinkNumber(int number);
  88. LSL_String llDetectedName(int number);
  89. LSL_Key llDetectedOwner(int number);
  90. LSL_Vector llDetectedPos(int number);
  91. LSL_Rotation llDetectedRot(int number);
  92. LSL_Integer llDetectedType(int number);
  93. LSL_Vector llDetectedTouchBinormal(int index);
  94. LSL_Integer llDetectedTouchFace(int index);
  95. LSL_Vector llDetectedTouchNormal(int index);
  96. LSL_Vector llDetectedTouchPos(int index);
  97. LSL_Vector llDetectedTouchST(int index);
  98. LSL_Vector llDetectedTouchUV(int index);
  99. LSL_Vector llDetectedVel(int number);
  100. void llDialog(LSL_Key avatarId, LSL_String message, LSL_List buttons, int chat_channel);
  101. void llDie();
  102. LSL_String llDumpList2String(LSL_List src, string seperator);
  103. LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir);
  104. //ApiDesc Sleep 1.0
  105. void llEjectFromLand(LSL_Key avatarId);
  106. void llEmail(string address, string subject, string message);
  107. LSL_String llEscapeURL(string url);
  108. LSL_Rotation llEuler2Rot(LSL_Vector v);
  109. LSL_Float llFabs(double f);
  110. LSL_Integer llFloor(double f);
  111. void llForceMouselook(int mouselook);
  112. LSL_Float llFrand(double mag);
  113. LSL_Key llGenerateKey();
  114. LSL_Vector llGetAccel();
  115. LSL_Integer llGetAgentInfo(LSL_Key id);
  116. LSL_String llGetAgentLanguage(LSL_Key id);
  117. LSL_List llGetAgentList(LSL_Integer scope, LSL_List options);
  118. LSL_Vector llGetAgentSize(LSL_Key id);
  119. LSL_Float llGetAlpha(int face);
  120. LSL_Float llGetAndResetTime();
  121. LSL_String llGetAnimation(LSL_Key id);
  122. LSL_List llGetAnimationList(LSL_Key id);
  123. LSL_Integer llGetAttached();
  124. LSL_List llGetAttachedList(LSL_Key id);
  125. LSL_List llGetBoundingBox(string obj);
  126. LSL_Vector llGetCameraPos();
  127. LSL_Rotation llGetCameraRot();
  128. LSL_Vector llGetCenterOfMass();
  129. LSL_Vector llGetColor(int face);
  130. LSL_Key llGetCreator();
  131. LSL_String llGetDate();
  132. LSL_Float llGetEnergy();
  133. LSL_String llGetEnv(LSL_String name);
  134. LSL_Vector llGetForce();
  135. LSL_Integer llGetFreeMemory();
  136. LSL_Integer llGetUsedMemory();
  137. LSL_Integer llGetFreeURLs();
  138. LSL_Vector llGetGeometricCenter();
  139. LSL_Float llGetGMTclock();
  140. LSL_String llGetHTTPHeader(LSL_Key request_id, string header);
  141. LSL_Key llGetInventoryCreator(string item);
  142. LSL_Key llGetInventoryKey(string name);
  143. LSL_String llGetInventoryName(int type, int number);
  144. LSL_Integer llGetInventoryNumber(int type);
  145. LSL_Integer llGetInventoryPermMask(string item, int mask);
  146. LSL_Integer llGetInventoryType(string name);
  147. LSL_Key llGetKey();
  148. LSL_Key llGetLandOwnerAt(LSL_Vector pos);
  149. LSL_Key llGetLinkKey(int linknum);
  150. LSL_String llGetLinkName(int linknum);
  151. LSL_Integer llGetLinkNumber();
  152. LSL_Integer llGetLinkNumberOfSides(int link);
  153. LSL_List llGetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules);
  154. LSL_List llGetLinkPrimitiveParams(int linknum, LSL_List rules);
  155. LSL_Integer llGetListEntryType(LSL_List src, int index);
  156. LSL_Integer llGetListLength(LSL_List src);
  157. LSL_Vector llGetLocalPos();
  158. LSL_Rotation llGetLocalRot();
  159. LSL_Float llGetMass();
  160. LSL_Float llGetMassMKS();
  161. LSL_Integer llGetMemoryLimit();
  162. void llGetNextEmail(string address, string subject);
  163. LSL_Key llGetNotecardLine(string name, int line);
  164. LSL_Key llGetNumberOfNotecardLines(string name);
  165. LSL_Integer llGetNumberOfPrims();
  166. LSL_Integer llGetNumberOfSides();
  167. LSL_String llGetObjectDesc();
  168. LSL_List llGetObjectDetails(LSL_Key objectId, LSL_List args);
  169. LSL_Float llGetObjectMass(LSL_Key objectId);
  170. LSL_String llGetObjectName();
  171. LSL_Integer llGetObjectPermMask(int mask);
  172. LSL_Integer llGetObjectPrimCount(LSL_Key objectId);
  173. LSL_Vector llGetOmega();
  174. LSL_Key llGetOwner();
  175. LSL_Key llGetOwnerKey(string id);
  176. LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param);
  177. LSL_Integer llGetParcelFlags(LSL_Vector pos);
  178. LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide);
  179. LSL_String llGetParcelMusicURL();
  180. LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide);
  181. LSL_List llGetParcelPrimOwners(LSL_Vector pos);
  182. LSL_Integer llGetPermissions();
  183. LSL_Key llGetPermissionsKey();
  184. LSL_List llGetPrimMediaParams(int face, LSL_List rules);
  185. LSL_Vector llGetPos();
  186. LSL_List llGetPrimitiveParams(LSL_List rules);
  187. LSL_Integer llGetRegionAgentCount();
  188. LSL_Vector llGetRegionCorner();
  189. LSL_Integer llGetRegionFlags();
  190. LSL_Float llGetRegionFPS();
  191. LSL_String llGetRegionName();
  192. LSL_Float llGetRegionTimeDilation();
  193. LSL_Vector llGetRootPosition();
  194. LSL_Rotation llGetRootRotation();
  195. LSL_Rotation llGetRot();
  196. LSL_Vector llGetScale();
  197. LSL_String llGetScriptName();
  198. LSL_Integer llGetScriptState(string name);
  199. LSL_String llGetSimulatorHostname();
  200. LSL_Integer llGetSPMaxMemory();
  201. LSL_Integer llGetStartParameter();
  202. LSL_Integer llGetStatus(int status);
  203. LSL_String llGetSubString(string src, int start, int end);
  204. LSL_String llGetTexture(int face);
  205. LSL_Vector llGetTextureOffset(int face);
  206. LSL_Float llGetTextureRot(int side);
  207. LSL_Vector llGetTextureScale(int side);
  208. LSL_Float llGetTime();
  209. LSL_Float llGetTimeOfDay();
  210. LSL_String llGetTimestamp();
  211. LSL_Vector llGetTorque();
  212. LSL_Integer llGetUnixTime();
  213. LSL_Vector llGetVel();
  214. LSL_Float llGetWallclock();
  215. void llGiveInventory(LSL_Key destination, LSL_String inventory);
  216. void llGiveInventoryList(LSL_Key destination, LSL_String folderName, LSL_List inventory);
  217. LSL_Integer llGiveMoney(LSL_Key destination, LSL_Integer amount);
  218. LSL_Key llTransferLindenDollars(LSL_Key destination, LSL_Integer amount);
  219. void llGodLikeRezObject(string inventory, LSL_Vector pos);
  220. LSL_Float llGround(LSL_Vector offset);
  221. LSL_Vector llGroundContour(LSL_Vector offset);
  222. LSL_Vector llGroundNormal(LSL_Vector offset);
  223. void llGroundRepel(double height, int water, double tau);
  224. LSL_Vector llGroundSlope(LSL_Vector offset);
  225. LSL_Key llHTTPRequest(string url, LSL_List parameters, string body);
  226. void llHTTPResponse(LSL_Key id, int status, string body);
  227. LSL_String llInsertString(string dst, int position, string src);
  228. void llInstantMessage(string user, string message);
  229. LSL_String llIntegerToBase64(int number);
  230. LSL_String llKey2Name(LSL_Key id);
  231. LSL_String llGetUsername(LSL_Key id);
  232. LSL_Key llRequestUsername(LSL_Key id);
  233. LSL_String llGetDisplayName(LSL_Key id);
  234. LSL_Key llRequestDisplayName(LSL_Key id);
  235. void llLinkParticleSystem(int linknum, LSL_List rules);
  236. void llLinkSitTarget(LSL_Integer link, LSL_Vector offset, LSL_Rotation rot);
  237. LSL_String llList2CSV(LSL_List src);
  238. LSL_Float llList2Float(LSL_List src, int index);
  239. LSL_Integer llList2Integer(LSL_List src, int index);
  240. LSL_Key llList2Key(LSL_List src, int index);
  241. LSL_List llList2List(LSL_List src, int start, int end);
  242. LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride);
  243. LSL_Rotation llList2Rot(LSL_List src, int index);
  244. LSL_String llList2String(LSL_List src, int index);
  245. LSL_Vector llList2Vector(LSL_List src, int index);
  246. LSL_Integer llListen(int channelID, string name, string ID, string msg);
  247. void llListenControl(int number, int active);
  248. void llListenRemove(int number);
  249. LSL_Integer llListFindList(LSL_List src, LSL_List test);
  250. LSL_List llListInsertList(LSL_List dest, LSL_List src, int start);
  251. LSL_List llListRandomize(LSL_List src, int stride);
  252. LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end);
  253. LSL_List llListSort(LSL_List src, int stride, int ascending);
  254. LSL_Float llListStatistics(int operation, LSL_List src);
  255. void llLoadURL(string avatar_id, string message, string url);
  256. LSL_Float llLog(double val);
  257. LSL_Float llLog10(double val);
  258. void llLookAt(LSL_Vector target, double strength, double damping);
  259. void llLoopSound(string sound, double volume);
  260. void llLoopSoundMaster(string sound, double volume);
  261. void llLoopSoundSlave(string sound, double volume);
  262. LSL_Integer llManageEstateAccess(int action, string avatar);
  263. void llMakeExplosion(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  264. void llMakeFire(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  265. void llMakeFountain(int particles, double scale, double vel, double lifetime, double arc, int bounce, string texture, LSL_Vector offset, double bounce_offset);
  266. void llMakeSmoke(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  267. void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at);
  268. LSL_String llMD5String(string src, int nonce);
  269. LSL_String llSHA1String(string src);
  270. void llMessageLinked(int linknum, int num, string str, string id);
  271. void llMinEventDelay(double delay);
  272. void llModifyLand(int action, int brush);
  273. LSL_Integer llModPow(int a, int b, int c);
  274. void llMoveToTarget(LSL_Vector target, double tau);
  275. LSL_Key llName2Key(LSL_String name);
  276. void llOffsetTexture(double u, double v, int face);
  277. void llOpenRemoteDataChannel();
  278. LSL_Integer llOverMyLand(string id);
  279. void llOwnerSay(string msg);
  280. void llParcelMediaCommandList(LSL_List commandList);
  281. LSL_List llParcelMediaQuery(LSL_List aList);
  282. LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers);
  283. LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers);
  284. void llParticleSystem(LSL_List rules);
  285. void llPassCollisions(int pass);
  286. void llPassTouches(int pass);
  287. void llPlaySound(string sound, double volume);
  288. void llPlaySoundSlave(string sound, double volume);
  289. void llPointAt(LSL_Vector pos);
  290. LSL_Float llPow(double fbase, double fexponent);
  291. void llPreloadSound(string sound);
  292. void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local);
  293. void llRefreshPrimURL();
  294. void llRegionSay(int channelID, string text);
  295. void llRegionSayTo(string target, int channelID, string text);
  296. void llReleaseCamera(string avatar);
  297. void llReleaseControls();
  298. void llReleaseURL(string url);
  299. void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
  300. void llRemoteDataSetRegion();
  301. void llRemoteLoadScript(string target, string name, int running, int start_param);
  302. void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
  303. void llRemoveFromLandBanList(string avatar);
  304. void llRemoveFromLandPassList(string avatar);
  305. void llRemoveInventory(string item);
  306. void llRemoveVehicleFlags(int flags);
  307. LSL_Key llRequestUserKey(LSL_String username);
  308. LSL_Key llRequestAgentData(string id, int data);
  309. LSL_Key llRequestInventoryData(LSL_String name);
  310. void llRequestPermissions(string agent, int perm);
  311. LSL_Key llRequestSecureURL();
  312. LSL_Key llRequestSimulatorData(string simulator, int data);
  313. LSL_Key llRequestURL();
  314. void llResetLandBanList();
  315. void llResetLandPassList();
  316. void llResetOtherScript(string name);
  317. void llResetScript();
  318. void llResetTime();
  319. void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param);
  320. void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param);
  321. LSL_Float llRot2Angle(LSL_Rotation rot);
  322. LSL_Vector llRot2Axis(LSL_Rotation rot);
  323. LSL_Vector llRot2Euler(LSL_Rotation r);
  324. LSL_Vector llRot2Fwd(LSL_Rotation r);
  325. LSL_Vector llRot2Left(LSL_Rotation r);
  326. LSL_Vector llRot2Up(LSL_Rotation r);
  327. void llRotateTexture(double rotation, int face);
  328. LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end);
  329. void llRotLookAt(LSL_Rotation target, double strength, double damping);
  330. LSL_Integer llRotTarget(LSL_Rotation rot, double error);
  331. void llRotTargetRemove(int number);
  332. LSL_Integer llRound(double f);
  333. LSL_Integer llSameGroup(string agent);
  334. void llSay(int channelID, string text);
  335. LSL_Integer llScaleByFactor(double scaling_factor);
  336. LSL_Float llGetMaxScaleFactor();
  337. LSL_Float llGetMinScaleFactor();
  338. void llScaleTexture(double u, double v, int face);
  339. LSL_Integer llScriptDanger(LSL_Vector pos);
  340. void llScriptProfiler(LSL_Integer flag);
  341. LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata);
  342. void llSensor(string name, string id, int type, double range, double arc);
  343. void llSensorRemove();
  344. void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
  345. void llSetAlpha(double alpha, int face);
  346. void llSetBuoyancy(double buoyancy);
  347. void llSetCameraAtOffset(LSL_Vector offset);
  348. void llSetCameraEyeOffset(LSL_Vector offset);
  349. void llSetLinkCamera(LSL_Integer link, LSL_Vector eye, LSL_Vector at);
  350. void llSetCameraParams(LSL_List rules);
  351. void llSetClickAction(int action);
  352. void llSetColor(LSL_Vector color, int face);
  353. void llSetContentType(LSL_Key id, LSL_Integer type);
  354. void llSetDamage(double damage);
  355. void llSetForce(LSL_Vector force, int local);
  356. void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local);
  357. void llSetVelocity(LSL_Vector vel, int local);
  358. void llSetAngularVelocity(LSL_Vector angularVelocity, int local);
  359. void llSetHoverHeight(double height, int water, double tau);
  360. void llSetInventoryPermMask(string item, int mask, int value);
  361. void llSetLinkAlpha(int linknumber, double alpha, int face);
  362. void llSetLinkColor(int linknumber, LSL_Vector color, int face);
  363. LSL_Integer llSetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules);
  364. void llSetLinkPrimitiveParams(int linknumber, LSL_List rules);
  365. void llSetLinkTexture(int linknumber, string texture, int face);
  366. void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate);
  367. void llSetLocalRot(LSL_Rotation rot);
  368. LSL_Integer llSetMemoryLimit(LSL_Integer limit);
  369. void llSetObjectDesc(string desc);
  370. void llSetObjectName(string name);
  371. void llSetObjectPermMask(int mask, int value);
  372. void llSetParcelMusicURL(string url);
  373. void llSetPayPrice(int price, LSL_List quick_pay_buttons);
  374. void llSetPos(LSL_Vector pos);
  375. LSL_Integer llSetRegionPos(LSL_Vector pos);
  376. LSL_Integer llSetPrimMediaParams(LSL_Integer face, LSL_List rules);
  377. void llSetPrimitiveParams(LSL_List rules);
  378. void llSetLinkPrimitiveParamsFast(int linknum, LSL_List rules);
  379. void llSetPrimURL(string url);
  380. void llSetRemoteScriptAccessPin(int pin);
  381. void llSetRot(LSL_Rotation rot);
  382. void llSetScale(LSL_Vector scale);
  383. void llSetScriptState(string name, int run);
  384. void llSetSitText(string text);
  385. void llSetSoundQueueing(int queue);
  386. void llSetSoundRadius(double radius);
  387. void llSetStatus(int status, int value);
  388. void llSetText(string text, LSL_Vector color, double alpha);
  389. void llSetTexture(string texture, int face);
  390. void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
  391. void llSetTimerEvent(double sec);
  392. void llSetTorque(LSL_Vector torque, int local);
  393. void llSetTouchText(string text);
  394. void llSetVehicleFlags(int flags);
  395. void llSetVehicleFloatParam(int param, LSL_Float value);
  396. void llSetVehicleRotationParam(int param, LSL_Rotation rot);
  397. void llSetVehicleType(int type);
  398. void llSetVehicleVectorParam(int param, LSL_Vector vec);
  399. void llShout(int channelID, string text);
  400. LSL_Float llSin(double f);
  401. void llSitTarget(LSL_Vector offset, LSL_Rotation rot);
  402. void llSleep(double sec);
  403. void llSound(string sound, double volume, int queue, int loop);
  404. void llSoundPreload(string sound);
  405. LSL_Float llSqrt(double f);
  406. void llStartAnimation(string anim);
  407. void llStopAnimation(string anim);
  408. void llStartObjectAnimation(string anim);
  409. void llStopObjectAnimation(string anim);
  410. LSL_List llGetObjectAnimationNames();
  411. void llStopHover();
  412. void llStopLookAt();
  413. void llStopMoveToTarget();
  414. void llStopPointAt();
  415. void llStopSound();
  416. LSL_Integer llStringLength(string str);
  417. LSL_String llStringToBase64(string str);
  418. LSL_String llStringTrim(LSL_String src, LSL_Integer type);
  419. LSL_Integer llSubStringIndex(string source, string pattern);
  420. void llTakeCamera(string avatar);
  421. void llTakeControls(int controls, int accept, int pass_on);
  422. LSL_Float llTan(double f);
  423. LSL_Integer llTarget(LSL_Vector position, double range);
  424. void llTargetOmega(LSL_Vector axis, double spinrate, double gain);
  425. void llTargetRemove(int number);
  426. void llTargetedEmail(LSL_Integer target, LSL_String subject, LSL_String message);
  427. void llTeleportAgentHome(string agent);
  428. void llTeleportAgent(string agent, string simname, LSL_Vector pos, LSL_Vector lookAt);
  429. void llTeleportAgentGlobalCoords(string agent, LSL_Vector global, LSL_Vector pos, LSL_Vector lookAt);
  430. void llTextBox(string avatar, string message, int chat_channel);
  431. LSL_String llToLower(string source);
  432. LSL_String llToUpper(string source);
  433. void llTriggerSound(string sound, double volume);
  434. void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west);
  435. LSL_String llUnescapeURL(string url);
  436. void llUnSit(string id);
  437. LSL_Float llVecDist(LSL_Vector a, LSL_Vector b);
  438. LSL_Float llVecMag(LSL_Vector v);
  439. LSL_Vector llVecNorm(LSL_Vector v);
  440. void llVolumeDetect(int detect);
  441. LSL_Float llWater(LSL_Vector offset);
  442. void llWhisper(int channelID, string text);
  443. LSL_Vector llWind(LSL_Vector offset);
  444. LSL_String llXorBase64(string str1, string str2);
  445. LSL_String llXorBase64Strings(string str1, string str2);
  446. LSL_String llXorBase64StringsCorrect(string str1, string str2);
  447. LSL_Integer llGetLinkNumberOfSides(LSL_Integer link);
  448. void llSetPhysicsMaterial(int material_bits, LSL_Float material_gravity_modifier, LSL_Float material_restitution, LSL_Float material_friction, LSL_Float material_density);
  449. void SetPrimitiveParamsEx(LSL_Key prim, LSL_List rules, string originFunc);
  450. void llSetKeyframedMotion(LSL_List frames, LSL_List options);
  451. LSL_List GetPrimitiveParamsEx(LSL_Key prim, LSL_List rules);
  452. LSL_List llGetPhysicsMaterial();
  453. void llSetAnimationOverride(LSL_String animState, LSL_String anim);
  454. void llResetAnimationOverride(LSL_String anim_state);
  455. LSL_String llGetAnimationOverride(LSL_String anim_state);
  456. LSL_String llJsonGetValue(LSL_String json, LSL_List specifiers);
  457. LSL_List llJson2List(LSL_String json);
  458. LSL_String llList2Json(LSL_String type, LSL_List values);
  459. LSL_String llJsonSetValue(LSL_String json, LSL_List specifiers, LSL_String value);
  460. LSL_String llJsonValueType(LSL_String json, LSL_List specifiers);
  461. LSL_Integer llGetDayLength();
  462. LSL_Integer llGetRegionDayLength();
  463. LSL_Integer llGetDayOffset();
  464. LSL_Integer llGetRegionDayOffset();
  465. LSL_Vector llGetSunDirection();
  466. LSL_Vector llGetRegionSunDirection();
  467. LSL_Vector llGetMoonDirection();
  468. LSL_Vector llGetRegionMoonDirection();
  469. LSL_Rotation llGetSunRotation();
  470. LSL_Rotation llGetRegionSunRotation();
  471. LSL_Rotation llGetMoonRotation();
  472. LSL_Rotation llGetRegionMoonRotation();
  473. }
  474. }