ILSL_Api.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  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. #pragma warning disable IDE1006
  36. namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
  37. {
  38. public interface ILSL_Api
  39. {
  40. void state(string newState);
  41. //ApiDesc Returns absolute version as val (ie as postive value)
  42. LSL_Integer llAbs(LSL_Integer val);
  43. //ApiDesc Returns cosine of val (val in radians)
  44. LSL_Float llAcos(LSL_Float val);
  45. //ApiDesc Sleep 0.1
  46. void llAddToLandBanList(LSL_Key avatarId, LSL_Float hours);
  47. //ApiDesc Sleep 0.1
  48. void llAddToLandPassList(LSL_Key avatarId, LSL_Float hours);
  49. //ApiDesc Sleep 0.1
  50. void llAdjustSoundVolume(LSL_Float volume);
  51. void llAllowInventoryDrop(LSL_Integer add);
  52. LSL_Float llAngleBetween(LSL_Rotation a, LSL_Rotation b);
  53. void llApplyImpulse(LSL_Vector force, LSL_Integer local);
  54. void llApplyRotationalImpulse(LSL_Vector force, int local);
  55. //ApiDesc Returns sine of val (val in radians)
  56. LSL_Float llAsin(LSL_Float val);
  57. //ApiDesc Returns the angle whose tangent is the y/x
  58. LSL_Float llAtan2(LSL_Float y, LSL_Float x);
  59. void llAttachToAvatar(LSL_Integer attachment);
  60. void llAttachToAvatarTemp(LSL_Integer attachmentPoint);
  61. LSL_Key llAvatarOnSitTarget();
  62. LSL_Key llAvatarOnLinkSitTarget(LSL_Integer linknum);
  63. LSL_Rotation llAxes2Rot(LSL_Vector fwd, LSL_Vector left, LSL_Vector up);
  64. LSL_Rotation llAxisAngle2Rot(LSL_Vector axis, double angle);
  65. LSL_Integer llBase64ToInteger(string str);
  66. LSL_String llBase64ToString(string str);
  67. void llBreakAllLinks();
  68. void llBreakLink(int linknum);
  69. LSL_List llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options);
  70. LSL_Integer llCeil(double f);
  71. void llClearCameraParams();
  72. LSL_Integer llClearLinkMedia(LSL_Integer link, LSL_Integer face);
  73. //ApiDesc Sleep 0.1
  74. LSL_Integer llClearPrimMedia(LSL_Integer face);
  75. //ApiDesc Sleep 1.0
  76. void llCloseRemoteDataChannel(string channel);
  77. LSL_Float llCloud(LSL_Vector offset);
  78. void llCollisionFilter(LSL_String name, LSL_Key id, LSL_Integer accept);
  79. void llCollisionSound(LSL_String impact_sound, LSL_Float impact_volume);
  80. //ApiDesc Not Supported - does nothing
  81. void llCollisionSprite(LSL_String impact_sprite);
  82. LSL_Float llCos(double f);
  83. //ApiDesc Sleep 1.0
  84. void llCreateLink(LSL_Key targetId, LSL_Integer parent);
  85. LSL_List llCSV2List(string src);
  86. LSL_List llDeleteSubList(LSL_List src, int start, int end);
  87. LSL_String llDeleteSubString(string src, int start, int end);
  88. void llDetachFromAvatar();
  89. LSL_Vector llDetectedGrab(int number);
  90. LSL_Integer llDetectedGroup(int number);
  91. LSL_Key llDetectedKey(int number);
  92. LSL_Integer llDetectedLinkNumber(int number);
  93. LSL_String llDetectedName(int number);
  94. LSL_Key llDetectedOwner(int number);
  95. LSL_Vector llDetectedPos(int number);
  96. LSL_Rotation llDetectedRot(int number);
  97. LSL_Integer llDetectedType(int number);
  98. LSL_Vector llDetectedTouchBinormal(int index);
  99. LSL_Integer llDetectedTouchFace(int index);
  100. LSL_Vector llDetectedTouchNormal(int index);
  101. LSL_Vector llDetectedTouchPos(int index);
  102. LSL_Vector llDetectedTouchST(int index);
  103. LSL_Vector llDetectedTouchUV(int index);
  104. LSL_Vector llDetectedVel(int number);
  105. void llDialog(LSL_Key avatarId, LSL_String message, LSL_List buttons, int chat_channel);
  106. void llDie();
  107. LSL_String llDumpList2String(LSL_List src, string seperator);
  108. LSL_Integer llEdgeOfWorld(LSL_Vector pos, LSL_Vector dir);
  109. //ApiDesc Sleep 1.0
  110. void llEjectFromLand(LSL_Key avatarId);
  111. void llEmail(string address, string subject, string message);
  112. LSL_String llEscapeURL(string url);
  113. LSL_Rotation llEuler2Rot(LSL_Vector v);
  114. LSL_Float llFabs(double f);
  115. LSL_Integer llFloor(double f);
  116. void llForceMouselook(int mouselook);
  117. LSL_Float llFrand(double mag);
  118. LSL_Key llGenerateKey();
  119. LSL_Vector llGetAccel();
  120. LSL_Integer llGetAgentInfo(LSL_Key id);
  121. LSL_String llGetAgentLanguage(LSL_Key id);
  122. LSL_List llGetAgentList(LSL_Integer scope, LSL_List options);
  123. LSL_Vector llGetAgentSize(LSL_Key id);
  124. LSL_Float llGetAlpha(int face);
  125. LSL_Float llGetAndResetTime();
  126. LSL_String llGetAnimation(LSL_Key id);
  127. LSL_List llGetAnimationList(LSL_Key id);
  128. LSL_Integer llGetAttached();
  129. LSL_List llGetAttachedList(LSL_Key id);
  130. LSL_List llGetBoundingBox(string obj);
  131. LSL_Float llGetCameraAspect();
  132. LSL_Float llGetCameraFOV();
  133. LSL_Vector llGetCameraPos();
  134. LSL_Rotation llGetCameraRot();
  135. LSL_Vector llGetCenterOfMass();
  136. LSL_Vector llGetColor(int face);
  137. LSL_Key llGetCreator();
  138. LSL_String llGetDate();
  139. LSL_Float llGetEnergy();
  140. LSL_String llGetEnv(LSL_String name);
  141. LSL_Vector llGetForce();
  142. LSL_Integer llGetFreeMemory();
  143. LSL_Integer llGetUsedMemory();
  144. LSL_Integer llGetFreeURLs();
  145. LSL_Vector llGetGeometricCenter();
  146. LSL_Float llGetGMTclock();
  147. LSL_String llGetHTTPHeader(LSL_Key request_id, string header);
  148. LSL_String llGetInventoryAcquireTime(string item);
  149. LSL_Key llGetInventoryCreator(string item);
  150. LSL_Key llGetInventoryKey(string name);
  151. LSL_String llGetInventoryName(int type, int number);
  152. LSL_Integer llGetInventoryNumber(int type);
  153. LSL_Integer llGetInventoryPermMask(string item, int mask);
  154. LSL_Integer llGetInventoryType(string name);
  155. LSL_Key llGetKey();
  156. LSL_Key llGetLandOwnerAt(LSL_Vector pos);
  157. LSL_Key llGetLinkKey(int linknum);
  158. LSL_Key llGetObjectLinkKey(LSL_Key objectid, int linknum);
  159. LSL_String llGetLinkName(int linknum);
  160. LSL_Integer llGetLinkNumber();
  161. LSL_Integer llGetLinkNumberOfSides(int link);
  162. LSL_List llGetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules);
  163. LSL_List llGetLinkPrimitiveParams(int linknum, LSL_List rules);
  164. LSL_Integer llGetListEntryType(LSL_List src, int index);
  165. LSL_Integer llGetListLength(LSL_List src);
  166. LSL_Vector llGetLocalPos();
  167. LSL_Rotation llGetLocalRot();
  168. LSL_Float llGetMass();
  169. LSL_Float llGetMassMKS();
  170. LSL_Integer llGetMemoryLimit();
  171. void llGetNextEmail(string address, string subject);
  172. LSL_Key llGetNotecardLine(string name, int line);
  173. LSL_Key llGetNumberOfNotecardLines(string name);
  174. LSL_String llGetNotecardLineSync(string name, int line);
  175. LSL_Integer llGetNumberOfPrims();
  176. LSL_Integer llGetNumberOfSides();
  177. LSL_String llGetObjectDesc();
  178. LSL_List llGetObjectDetails(LSL_Key objectId, LSL_List args);
  179. LSL_Float llGetObjectMass(LSL_Key objectId);
  180. LSL_String llGetObjectName();
  181. LSL_Integer llGetObjectPermMask(int mask);
  182. LSL_Integer llGetObjectPrimCount(LSL_Key objectId);
  183. LSL_Vector llGetOmega();
  184. LSL_Key llGetOwner();
  185. LSL_Key llGetOwnerKey(string id);
  186. LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param);
  187. LSL_Integer llGetParcelFlags(LSL_Vector pos);
  188. LSL_Integer llGetParcelMaxPrims(LSL_Vector pos, int sim_wide);
  189. LSL_String llGetParcelMusicURL();
  190. LSL_Integer llGetParcelPrimCount(LSL_Vector pos, int category, int sim_wide);
  191. LSL_List llGetParcelPrimOwners(LSL_Vector pos);
  192. LSL_Integer llGetPermissions();
  193. LSL_Key llGetPermissionsKey();
  194. LSL_List llGetPrimMediaParams(int face, LSL_List rules);
  195. LSL_Vector llGetPos();
  196. LSL_List llGetPrimitiveParams(LSL_List rules);
  197. LSL_Integer llGetRegionAgentCount();
  198. LSL_Vector llGetRegionCorner();
  199. LSL_Integer llGetRegionFlags();
  200. LSL_Float llGetRegionFPS();
  201. LSL_String llGetRegionName();
  202. LSL_Float llGetRegionTimeDilation();
  203. LSL_Vector llGetRootPosition();
  204. LSL_Rotation llGetRootRotation();
  205. LSL_Rotation llGetRot();
  206. LSL_Vector llGetScale();
  207. LSL_String llGetScriptName();
  208. LSL_Integer llGetScriptState(string name);
  209. LSL_String llGetSimulatorHostname();
  210. LSL_Integer llGetSPMaxMemory();
  211. LSL_Integer llGetStartParameter();
  212. LSL_Integer llGetStatus(int status);
  213. LSL_String llGetSubString(string src, int start, int end);
  214. LSL_String llGetTexture(int face);
  215. LSL_Vector llGetTextureOffset(int face);
  216. LSL_Float llGetTextureRot(int side);
  217. LSL_Vector llGetTextureScale(int side);
  218. LSL_Float llGetTime();
  219. LSL_Float llGetTimeOfDay();
  220. LSL_String llGetTimestamp();
  221. LSL_Vector llGetTorque();
  222. LSL_Integer llGetUnixTime();
  223. LSL_Vector llGetVel();
  224. LSL_Float llGetWallclock();
  225. void llGiveInventory(LSL_Key destination, LSL_String inventory);
  226. void llGiveInventoryList(LSL_Key destination, LSL_String folderName, LSL_List inventory);
  227. LSL_Integer llGiveMoney(LSL_Key destination, LSL_Integer amount);
  228. LSL_Key llTransferLindenDollars(LSL_Key destination, LSL_Integer amount);
  229. void llGodLikeRezObject(string inventory, LSL_Vector pos);
  230. LSL_Float llGround(LSL_Vector offset);
  231. LSL_Vector llGroundContour(LSL_Vector offset);
  232. LSL_Vector llGroundNormal(LSL_Vector offset);
  233. void llGroundRepel(double height, int water, double tau);
  234. LSL_Vector llGroundSlope(LSL_Vector offset);
  235. LSL_Key llHTTPRequest(string url, LSL_List parameters, string body);
  236. void llHTTPResponse(LSL_Key id, int status, string body);
  237. LSL_String llInsertString(string dst, int position, string src);
  238. void llInstantMessage(string user, string message);
  239. LSL_String llIntegerToBase64(int number);
  240. LSL_String llKey2Name(LSL_Key id);
  241. LSL_String llGetUsername(LSL_Key id);
  242. LSL_Key llRequestUsername(LSL_Key id);
  243. LSL_String llGetDisplayName(LSL_Key id);
  244. LSL_Key llRequestDisplayName(LSL_Key id);
  245. void llLinkParticleSystem(int linknum, LSL_List rules);
  246. void llLinkSitTarget(LSL_Integer link, LSL_Vector offset, LSL_Rotation rot);
  247. LSL_String llList2CSV(LSL_List src);
  248. LSL_Float llList2Float(LSL_List src, int index);
  249. LSL_Integer llList2Integer(LSL_List src, int index);
  250. LSL_Key llList2Key(LSL_List src, int index);
  251. LSL_List llList2List(LSL_List src, int start, int end);
  252. LSL_List llList2ListStrided(LSL_List src, int start, int end, int stride);
  253. LSL_List llList2ListSlice(LSL_List src, int start, int end, int stride, int stride_index);
  254. LSL_Rotation llList2Rot(LSL_List src, int index);
  255. LSL_String llList2String(LSL_List src, int index);
  256. LSL_Vector llList2Vector(LSL_List src, int index);
  257. LSL_Integer llListen(int channelID, string name, string ID, string msg);
  258. void llListenControl(int number, int active);
  259. void llListenRemove(int number);
  260. LSL_Integer llListFindList(LSL_List src, LSL_List test);
  261. LSL_Integer llListFindStrided(LSL_List src, LSL_List test, LSL_Integer lstart, LSL_Integer lend, LSL_Integer lstride);
  262. LSL_List llListInsertList(LSL_List dest, LSL_List src, int start);
  263. LSL_List llListRandomize(LSL_List src, int stride);
  264. LSL_List llListReplaceList(LSL_List dest, LSL_List src, int start, int end);
  265. LSL_List llListSort(LSL_List src, int stride, int ascending);
  266. LSL_List llListSortStrided(LSL_List src, int stride, int stride_index, int ascending);
  267. LSL_Float llListStatistics(int operation, LSL_List src);
  268. void llLoadURL(string avatar_id, string message, string url);
  269. LSL_Float llLog(double val);
  270. LSL_Float llLog10(double val);
  271. void llLookAt(LSL_Vector target, double strength, double damping);
  272. void llLoopSound(string sound, double volume);
  273. void llLoopSoundMaster(string sound, double volume);
  274. void llLoopSoundSlave(string sound, double volume);
  275. LSL_Integer llManageEstateAccess(int action, string avatar);
  276. void llMakeExplosion(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  277. void llMakeFire(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  278. void llMakeFountain(int particles, double scale, double vel, double lifetime, double arc, int bounce, string texture, LSL_Vector offset, double bounce_offset);
  279. void llMakeSmoke(int particles, double scale, double vel, double lifetime, double arc, string texture, LSL_Vector offset);
  280. void llMapDestination(string simname, LSL_Vector pos, LSL_Vector look_at);
  281. LSL_String llMD5String(string src, int nonce);
  282. LSL_String llSHA1String(string src);
  283. LSL_String llSHA256String(LSL_String src);
  284. void llMessageLinked(int linknum, int num, string str, string id);
  285. void llMinEventDelay(double delay);
  286. void llModifyLand(int action, int brush);
  287. LSL_Integer llModPow(int a, int b, int c);
  288. void llMoveToTarget(LSL_Vector target, double tau);
  289. LSL_Key llName2Key(LSL_String name);
  290. void llOffsetTexture(double u, double v, int face);
  291. void llOpenRemoteDataChannel();
  292. LSL_Integer llOverMyLand(string id);
  293. void llOwnerSay(string msg);
  294. void llParcelMediaCommandList(LSL_List commandList);
  295. LSL_List llParcelMediaQuery(LSL_List aList);
  296. LSL_List llParseString2List(string str, LSL_List separators, LSL_List spacers);
  297. LSL_List llParseStringKeepNulls(string src, LSL_List seperators, LSL_List spacers);
  298. void llParticleSystem(LSL_List rules);
  299. void llPassCollisions(int pass);
  300. void llPassTouches(int pass);
  301. void llPlaySound(string sound, double volume);
  302. void llPlaySoundSlave(string sound, double volume);
  303. void llPointAt(LSL_Vector pos);
  304. LSL_Float llPow(double fbase, double fexponent);
  305. void llPreloadSound(string sound);
  306. void llPushObject(string target, LSL_Vector impulse, LSL_Vector ang_impulse, int local);
  307. void llRefreshPrimURL();
  308. void llRegionSay(int channelID, string text);
  309. void llRegionSayTo(string target, int channelID, string text);
  310. void llReleaseCamera(string avatar);
  311. void llReleaseControls();
  312. void llReleaseURL(string url);
  313. void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
  314. void llRemoteDataSetRegion();
  315. void llRemoteLoadScript(string target, string name, int running, int start_param);
  316. void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
  317. void llRemoveFromLandBanList(string avatar);
  318. void llRemoveFromLandPassList(string avatar);
  319. void llRemoveInventory(string item);
  320. void llRemoveVehicleFlags(int flags);
  321. LSL_Key llRequestUserKey(LSL_String username);
  322. LSL_Key llRequestAgentData(string id, int data);
  323. LSL_Key llRequestInventoryData(LSL_String name);
  324. void llRequestPermissions(string agent, int perm);
  325. LSL_Key llRequestSecureURL();
  326. LSL_Key llRequestSimulatorData(string simulator, int data);
  327. LSL_Key llRequestURL();
  328. void llResetLandBanList();
  329. void llResetLandPassList();
  330. void llResetOtherScript(string name);
  331. void llResetScript();
  332. void llResetTime();
  333. void llRezAtRoot(string inventory, LSL_Vector position, LSL_Vector velocity, LSL_Rotation rot, int param);
  334. void llRezObject(string inventory, LSL_Vector pos, LSL_Vector vel, LSL_Rotation rot, int param);
  335. LSL_Float llRot2Angle(LSL_Rotation rot);
  336. LSL_Vector llRot2Axis(LSL_Rotation rot);
  337. LSL_Vector llRot2Euler(LSL_Rotation r);
  338. LSL_Vector llRot2Fwd(LSL_Rotation r);
  339. LSL_Vector llRot2Left(LSL_Rotation r);
  340. LSL_Vector llRot2Up(LSL_Rotation r);
  341. void llRotateTexture(double rotation, int face);
  342. LSL_Rotation llRotBetween(LSL_Vector start, LSL_Vector end);
  343. void llRotLookAt(LSL_Rotation target, double strength, double damping);
  344. LSL_Integer llRotTarget(LSL_Rotation rot, double error);
  345. void llRotTargetRemove(int number);
  346. LSL_Integer llRound(double f);
  347. LSL_Integer llSameGroup(string agent);
  348. void llSay(int channelID, string text);
  349. LSL_Integer llScaleByFactor(double scaling_factor);
  350. LSL_Float llGetMaxScaleFactor();
  351. LSL_Float llGetMinScaleFactor();
  352. void llScaleTexture(double u, double v, int face);
  353. LSL_Integer llScriptDanger(LSL_Vector pos);
  354. void llScriptProfiler(LSL_Integer flag);
  355. LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata);
  356. void llSensor(string name, string id, int type, double range, double arc);
  357. void llSensorRemove();
  358. void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
  359. void llSetAlpha(double alpha, int face);
  360. void llSetBuoyancy(double buoyancy);
  361. void llSetCameraAtOffset(LSL_Vector offset);
  362. void llSetCameraEyeOffset(LSL_Vector offset);
  363. void llSetLinkCamera(LSL_Integer link, LSL_Vector eye, LSL_Vector at);
  364. void llSetCameraParams(LSL_List rules);
  365. void llSetClickAction(int action);
  366. void llSetColor(LSL_Vector color, int face);
  367. void llSetContentType(LSL_Key id, LSL_Integer type);
  368. void llSetDamage(double damage);
  369. void llSetForce(LSL_Vector force, int local);
  370. void llSetForceAndTorque(LSL_Vector force, LSL_Vector torque, int local);
  371. void llSetVelocity(LSL_Vector vel, int local);
  372. void llSetAngularVelocity(LSL_Vector angularVelocity, int local);
  373. void llSetHoverHeight(double height, int water, double tau);
  374. void llSetInventoryPermMask(string item, int mask, int value);
  375. void llSetLinkAlpha(int linknumber, double alpha, int face);
  376. void llSetLinkColor(int linknumber, LSL_Vector color, int face);
  377. LSL_Integer llSetLinkMedia(LSL_Integer link, LSL_Integer face, LSL_List rules);
  378. void llSetLinkPrimitiveParams(int linknumber, LSL_List rules);
  379. void llSetLinkTexture(int linknumber, string texture, int face);
  380. void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate);
  381. void llSetLocalRot(LSL_Rotation rot);
  382. LSL_Integer llSetMemoryLimit(LSL_Integer limit);
  383. void llSetObjectDesc(string desc);
  384. void llSetObjectName(string name);
  385. void llSetObjectPermMask(int mask, int value);
  386. void llSetParcelMusicURL(string url);
  387. void llSetPayPrice(int price, LSL_List quick_pay_buttons);
  388. void llSetPos(LSL_Vector pos);
  389. LSL_Integer llSetRegionPos(LSL_Vector pos);
  390. LSL_Integer llSetPrimMediaParams(LSL_Integer face, LSL_List rules);
  391. void llSetPrimitiveParams(LSL_List rules);
  392. void llSetLinkPrimitiveParamsFast(int linknum, LSL_List rules);
  393. void llSetPrimURL(string url);
  394. void llSetRemoteScriptAccessPin(int pin);
  395. void llSetRot(LSL_Rotation rot);
  396. void llSetScale(LSL_Vector scale);
  397. void llSetScriptState(string name, int run);
  398. void llSetSitText(string text);
  399. void llSetSoundQueueing(int queue);
  400. void llSetSoundRadius(double radius);
  401. void llSetStatus(int status, int value);
  402. void llSetText(string text, LSL_Vector color, double alpha);
  403. void llSetTexture(string texture, int face);
  404. void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
  405. void llSetTimerEvent(double sec);
  406. void llSetTorque(LSL_Vector torque, int local);
  407. void llSetTouchText(string text);
  408. void llSetVehicleFlags(int flags);
  409. void llSetVehicleFloatParam(int param, LSL_Float value);
  410. void llSetVehicleRotationParam(int param, LSL_Rotation rot);
  411. void llSetVehicleType(int type);
  412. void llSetVehicleVectorParam(int param, LSL_Vector vec);
  413. void llShout(int channelID, string text);
  414. LSL_Float llSin(double f);
  415. void llSitTarget(LSL_Vector offset, LSL_Rotation rot);
  416. void llSleep(double sec);
  417. void llSound(string sound, double volume, int queue, int loop);
  418. void llSoundPreload(string sound);
  419. LSL_Float llSqrt(double f);
  420. void llStartAnimation(string anim);
  421. void llStopAnimation(string anim);
  422. void llStartObjectAnimation(string anim);
  423. void llStopObjectAnimation(string anim);
  424. LSL_List llGetObjectAnimationNames();
  425. void llStopHover();
  426. void llStopLookAt();
  427. void llStopMoveToTarget();
  428. void llStopPointAt();
  429. void llStopSound();
  430. LSL_Integer llStringLength(string str);
  431. LSL_String llStringToBase64(string str);
  432. LSL_String llStringTrim(LSL_String src, LSL_Integer type);
  433. LSL_Integer llSubStringIndex(string source, string pattern);
  434. void llTakeCamera(string avatar);
  435. void llTakeControls(int controls, int accept, int pass_on);
  436. LSL_Float llTan(double f);
  437. LSL_Integer llTarget(LSL_Vector position, double range);
  438. void llTargetOmega(LSL_Vector axis, double spinrate, double gain);
  439. void llTargetRemove(int number);
  440. void llTargetedEmail(LSL_Integer target, LSL_String subject, LSL_String message);
  441. void llTeleportAgentHome(string agent);
  442. void llTeleportAgent(string agent, string simname, LSL_Vector pos, LSL_Vector lookAt);
  443. void llTeleportAgentGlobalCoords(string agent, LSL_Vector global, LSL_Vector pos, LSL_Vector lookAt);
  444. void llTextBox(string avatar, string message, int chat_channel);
  445. LSL_String llToLower(string source);
  446. LSL_String llToUpper(string source);
  447. void llTriggerSound(string sound, double volume);
  448. void llTriggerSoundLimited(string sound, double volume, LSL_Vector top_north_east, LSL_Vector bottom_south_west);
  449. LSL_String llUnescapeURL(string url);
  450. void llUnSit(string id);
  451. LSL_Float llVecDist(LSL_Vector a, LSL_Vector b);
  452. LSL_Float llVecMag(LSL_Vector v);
  453. LSL_Vector llVecNorm(LSL_Vector v);
  454. void llVolumeDetect(int detect);
  455. LSL_Float llWater(LSL_Vector offset);
  456. void llWhisper(int channelID, string text);
  457. LSL_Vector llWind(LSL_Vector offset);
  458. LSL_String llXorBase64(string str1, string str2);
  459. LSL_String llXorBase64Strings(string str1, string str2);
  460. LSL_String llXorBase64StringsCorrect(string str1, string str2);
  461. LSL_Integer llGetLinkNumberOfSides(LSL_Integer link);
  462. void llSetPhysicsMaterial(int material_bits, LSL_Float material_gravity_modifier, LSL_Float material_restitution, LSL_Float material_friction, LSL_Float material_density);
  463. void SetPrimitiveParamsEx(LSL_Key prim, LSL_List rules, string originFunc);
  464. void llSetKeyframedMotion(LSL_List frames, LSL_List options);
  465. LSL_List GetPrimitiveParamsEx(LSL_Key prim, LSL_List rules);
  466. LSL_List llGetPhysicsMaterial();
  467. void llSetAnimationOverride(LSL_String animState, LSL_String anim);
  468. void llResetAnimationOverride(LSL_String anim_state);
  469. LSL_String llGetAnimationOverride(LSL_String anim_state);
  470. LSL_String llJsonGetValue(LSL_String json, LSL_List specifiers);
  471. LSL_List llJson2List(LSL_String json);
  472. LSL_String llList2Json(LSL_String type, LSL_List values);
  473. LSL_String llJsonSetValue(LSL_String json, LSL_List specifiers, LSL_String value);
  474. LSL_String llJsonValueType(LSL_String json, LSL_List specifiers);
  475. LSL_Integer llGetDayLength();
  476. LSL_Integer llGetRegionDayLength();
  477. LSL_Integer llGetDayOffset();
  478. LSL_Integer llGetRegionDayOffset();
  479. LSL_Vector llGetSunDirection();
  480. LSL_Vector llGetRegionSunDirection();
  481. LSL_Vector llGetMoonDirection();
  482. LSL_Vector llGetRegionMoonDirection();
  483. LSL_Rotation llGetSunRotation();
  484. LSL_Rotation llGetRegionSunRotation();
  485. LSL_Rotation llGetMoonRotation();
  486. LSL_Rotation llGetRegionMoonRotation();
  487. LSL_String llChar(LSL_Integer unicode);
  488. LSL_Integer llOrd(LSL_String s, LSL_Integer index);
  489. LSL_Integer llHash(LSL_String s);
  490. LSL_String llReplaceSubString(LSL_String src, LSL_String pattern, LSL_String replacement, int count);
  491. void llLinkAdjustSoundVolume(LSL_Integer linknumber, LSL_Float volume);
  492. void llLinkStopSound(LSL_Integer linknumber);
  493. void llLinkSetSoundQueueing(int linknumber, int queue);
  494. void llLinkPlaySound(LSL_Integer linknumber, string sound, double volume);
  495. void llLinkPlaySound(LSL_Integer linknumber, string sound, double volume, LSL_Integer flags);
  496. void llLinkSetSoundRadius(int linknumber, double radius);
  497. LSL_Vector llLinear2sRGB(LSL_Vector src);
  498. LSL_Vector llsRGB2Linear(LSL_Vector src);
  499. LSL_Integer llLinksetDataAvailable();
  500. LSL_Integer llLinksetDataCountFound(LSL_String pattern);
  501. LSL_Integer llLinksetDataCountKeys();
  502. LSL_Integer llLinksetDataDelete(LSL_String name);
  503. LSL_List llLinksetDataDeleteFound(LSL_String pattern, LSL_String pass);
  504. LSL_Integer llLinksetDataDeleteProtected(LSL_String name, LSL_String pass);
  505. LSL_List llLinksetDataFindKeys(LSL_String pattern, LSL_Integer start, LSL_Integer count);
  506. LSL_List llLinksetDataListKeys(LSL_Integer start, LSL_Integer count);
  507. LSL_String llLinksetDataRead(LSL_String name);
  508. LSL_String llLinksetDataReadProtected(LSL_String name, LSL_String pass);
  509. void llLinksetDataReset();
  510. LSL_Integer llLinksetDataWrite(LSL_String name, LSL_String value);
  511. LSL_Integer llLinksetDataWriteProtected(LSL_String name, LSL_String value, LSL_String pass);
  512. LSL_Integer llIsFriend(LSL_Key agent_id);
  513. LSL_Integer llDerezObject(LSL_Key objectUUID, LSL_Integer flag);
  514. LSL_Key llRezObjectWithParams(string inventory, LSL_List lparam);
  515. LSL_String llGetStartString();
  516. }
  517. }