ILSL_Api.cs 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  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 OpenSim 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 vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
  29. using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
  30. namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
  31. {
  32. public interface ILSL_Api
  33. {
  34. void state(string newState);
  35. void llSay(int channelID, string text);
  36. double llSin(double f);
  37. double llCos(double f);
  38. double llTan(double f);
  39. double llAtan2(double x, double y);
  40. double llSqrt(double f);
  41. double llPow(double fbase, double fexponent);
  42. LSL_Types.LSLInteger llAbs(int i);
  43. double llFabs(double f);
  44. double llFrand(double mag);
  45. LSL_Types.LSLInteger llFloor(double f);
  46. LSL_Types.LSLInteger llCeil(double f);
  47. LSL_Types.LSLInteger llRound(double f);
  48. double llVecMag(LSL_Types.Vector3 v);
  49. LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v);
  50. double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b);
  51. LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r);
  52. LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v);
  53. LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up);
  54. LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r);
  55. LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r);
  56. LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r);
  57. LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end);
  58. void llWhisper(int channelID, string text);
  59. //void llSay(int channelID, string text);
  60. void llShout(int channelID, string text);
  61. void llRegionSay(int channelID, string text);
  62. LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg);
  63. void llListenControl(int number, int active);
  64. void llListenRemove(int number);
  65. void llSensor(string name, string id, int type, double range, double arc);
  66. void llSensorRepeat(string name, string id, int type, double range, double arc, double rate);
  67. void llSensorRemove();
  68. string llDetectedName(int number);
  69. string llDetectedKey(int number);
  70. string llDetectedOwner(int number);
  71. LSL_Types.LSLInteger llDetectedType(int number);
  72. LSL_Types.Vector3 llDetectedPos(int number);
  73. LSL_Types.Vector3 llDetectedVel(int number);
  74. LSL_Types.Vector3 llDetectedGrab(int number);
  75. LSL_Types.Quaternion llDetectedRot(int number);
  76. LSL_Types.LSLInteger llDetectedGroup(int number);
  77. LSL_Types.LSLInteger llDetectedLinkNumber(int number);
  78. void llDie();
  79. double llGround(LSL_Types.Vector3 offset);
  80. double llCloud(LSL_Types.Vector3 offset);
  81. LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset);
  82. void llSetStatus(int status, int value);
  83. LSL_Types.LSLInteger llGetStatus(int status);
  84. void llSetScale(LSL_Types.Vector3 scale);
  85. LSL_Types.Vector3 llGetScale();
  86. void llSetColor(LSL_Types.Vector3 color, int face);
  87. double llGetAlpha(int face);
  88. void llSetAlpha(double alpha, int face);
  89. LSL_Types.Vector3 llGetColor(int face);
  90. void llSetTexture(string texture, int face);
  91. void llScaleTexture(double u, double v, int face);
  92. void llOffsetTexture(double u, double v, int face);
  93. void llRotateTexture(double rotation, int face);
  94. string llGetTexture(int face);
  95. void llSetPos(LSL_Types.Vector3 pos);
  96. //wiki: vector llGetPos()
  97. LSL_Types.Vector3 llGetPos();
  98. //wiki: vector llGetLocalPos()
  99. LSL_Types.Vector3 llGetLocalPos();
  100. //wiki: llSetRot(rotation rot)
  101. void llSetRot(LSL_Types.Quaternion rot);
  102. //wiki: rotation llGetRot()
  103. LSL_Types.Quaternion llGetRot();
  104. //wiki: rotation llGetLocalRot()
  105. LSL_Types.Quaternion llGetLocalRot();
  106. //wiki: llSetForce(vector force, integer local)
  107. void llSetForce(LSL_Types.Vector3 force, int local);
  108. //wiki: vector llGetForce()
  109. LSL_Types.Vector3 llGetForce();
  110. //wiki: integer llTarget(vector position, double range)
  111. LSL_Types.LSLInteger llTarget(LSL_Types.Vector3 position, double range);
  112. //wiki: llTargetRemove(integer number)
  113. void llTargetRemove(int number);
  114. //wiki: integer llRotTarget(rotation rot, double error)
  115. LSL_Types.LSLInteger llRotTarget(LSL_Types.Quaternion rot, double error);
  116. //wiki: integer llRotTargetRemove(integer number)
  117. void llRotTargetRemove(int number);
  118. //wiki: llMoveToTarget(vector target, double tau)
  119. void llMoveToTarget(LSL_Types.Vector3 target, double tau);
  120. //wiki: llStopMoveToTarget()
  121. void llStopMoveToTarget();
  122. //wiki: llApplyImpulse(vector force, integer local)
  123. void llApplyImpulse(LSL_Types.Vector3 force, int local);
  124. //wiki: llapplyRotationalImpulse(vector force, integer local)
  125. void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local);
  126. //wiki: llSetTorque(vector torque, integer local)
  127. void llSetTorque(LSL_Types.Vector3 torque, int local);
  128. //wiki: vector llGetTorque()
  129. LSL_Types.Vector3 llGetTorque();
  130. //wiki: llSeForceAndTorque(vector force, vector torque, integer local)
  131. void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local);
  132. //wiki: vector llGetVel()
  133. LSL_Types.Vector3 llGetVel();
  134. //wiki: vector llGetAccel()
  135. LSL_Types.Vector3 llGetAccel();
  136. //wiki: vector llGetOmega()
  137. LSL_Types.Vector3 llGetOmega();
  138. //wiki: double llGetTimeOfDay()
  139. double llGetTimeOfDay();
  140. //wiki: double llGetWallclock()
  141. double llGetWallclock();
  142. //wiki: double llGetTime()
  143. double llGetTime();
  144. //wiki: llResetTime()
  145. void llResetTime();
  146. //wiki: double llGetAndResetTime()
  147. double llGetAndResetTime();
  148. //wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop)
  149. void llSound();
  150. //wiki: llPlaySound(string sound, double volume)
  151. void llPlaySound(string sound, double volume);
  152. //wiki: llLoopSound(string sound, double volume)
  153. void llLoopSound(string sound, double volume);
  154. //wiki: llLoopSoundMaster(string sound, double volume)
  155. void llLoopSoundMaster(string sound, double volume);
  156. //wiki: llLoopSoundSlave(string sound, double volume)
  157. void llLoopSoundSlave(string sound, double volume);
  158. //wiki llPlaySoundSlave(string sound, double volume)
  159. void llPlaySoundSlave(string sound, double volume);
  160. //wiki: llTriggerSound(string sound, double volume)
  161. void llTriggerSound(string sound, double volume);
  162. //wiki: llStopSound()
  163. void llStopSound();
  164. //wiki: llPreloadSound(string sound)
  165. void llPreloadSound(string sound);
  166. //wiki: string llGetSubString(string src, integer start, integer end)
  167. string llGetSubString(string src, int start, int end);
  168. //wiki: string llDeleteSubString(string src, integer start, integer end)
  169. string llDeleteSubString(string src, int start, int end);
  170. //wiki string llInsertString(string dst, integer position, string src)
  171. string llInsertString(string dst, int position, string src);
  172. //wiki: string llToUpper(string source)
  173. string llToUpper(string source);
  174. //wiki: string llToLower(string source)
  175. string llToLower(string source);
  176. //wiki: integer llGiveMoney(key destination, integer amount)
  177. LSL_Types.LSLInteger llGiveMoney(string destination, int amount);
  178. //wiki: (deprecated)
  179. void llMakeExplosion();
  180. //wiki: (deprecated)
  181. void llMakeFountain();
  182. //wiki: (deprecated)
  183. void llMakeSmoke();
  184. //wiki: (deprecated)
  185. void llMakeFire();
  186. //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param)
  187. void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param);
  188. //wiki: llLookAt(vector target, double strength, double damping)
  189. void llLookAt(LSL_Types.Vector3 target, double strength, double damping);
  190. //wiki: llStopLookAt()
  191. void llStopLookAt();
  192. //wiki: llSetTimerEvent(double sec)
  193. void llSetTimerEvent(double sec);
  194. //wiki: llSleep(double sec)
  195. void llSleep(double sec);
  196. //wiki: double llGetMass()
  197. double llGetMass();
  198. //wiki: llCollisionFilter(string name, key id, integer accept)
  199. void llCollisionFilter(string name, string id, int accept);
  200. //wiki: llTakeControls(integer controls, integer accept, integer pass_on)
  201. void llTakeControls(int controls, int accept, int pass_on);
  202. //wiki: llReleaseControls()
  203. void llReleaseControls();
  204. //wiki: llAttachToAvatar(integer attachment)
  205. void llAttachToAvatar(int attachment);
  206. //wiki: llDetachFromAvatar()
  207. void llDetachFromAvatar();
  208. //wiki: (deprecated) llTakeCamera(key avatar)
  209. void llTakeCamera(string avatar);
  210. //wiki: (deprecated) llReleaseCamera(key avatar)
  211. void llReleaseCamera(string avatar);
  212. //wiki: key llGetOwner()
  213. string llGetOwner();
  214. //wiki: llInstantMessage(key user, string message)
  215. void llInstantMessage(string user, string message);
  216. //wiki: llEmail(string address, string subject, string message)
  217. void llEmail(string address, string subject, string message);
  218. //wiki: llGetNextEmail(string address, string subject)
  219. void llGetNextEmail(string address, string subject);
  220. //wiki: key llGetKey()
  221. string llGetKey();
  222. //wiki: llSetBuoyancy(double buoyancy)
  223. void llSetBuoyancy(double buoyancy);
  224. //wiki: llSetHoverHeight(double height, integer water, double tau)
  225. void llSetHoverHeight(double height, int water, double tau);
  226. //wiki: llStopHover
  227. void llStopHover();
  228. //wiki: llMinEventDelay(double delay)
  229. void llMinEventDelay(double delay);
  230. //wiki: (deprecated) llSoundPreload()
  231. void llSoundPreload();
  232. //wiki: llRotLookAt(rotation target, double strength, double damping)
  233. void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping);
  234. //wiki: integer llStringLength(string str)
  235. LSL_Types.LSLInteger llStringLength(string str);
  236. //wiki: llStartAnimation(string anim)
  237. void llStartAnimation(string anim);
  238. //wiki: llStopAnimation(string anim)
  239. void llStopAnimation(string anim);
  240. //wiki: (deprecated) llPointAt
  241. void llPointAt();
  242. //wiki: (deprecated) llStopPointAt
  243. void llStopPointAt();
  244. //wiki: llTargetOmega(vector axis, double spinrate, double gain)
  245. void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain);
  246. //wiki: integer llGetStartParameter()
  247. LSL_Types.LSLInteger llGetStartParameter();
  248. //wiki: llGodLikeRezObject(key inventory, vector pos)
  249. void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos);
  250. //wiki: llRequestPermissions(key agent, integer perm)
  251. void llRequestPermissions(string agent, int perm);
  252. //wiki: key llGetPermissionsKey()
  253. string llGetPermissionsKey();
  254. //wiki: integer llGetPermissions()
  255. LSL_Types.LSLInteger llGetPermissions();
  256. //wiki integer llGetLinkNumber()
  257. LSL_Types.LSLInteger llGetLinkNumber();
  258. //wiki: llSetLinkColor(integer linknumber, vector color, integer face)
  259. void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face);
  260. //wiki: llCreateLink(key target, integer parent)
  261. void llCreateLink(string target, int parent);
  262. //wiki: llBreakLink(integer linknum)
  263. void llBreakLink(int linknum);
  264. //wiki: llBreakAllLinks()
  265. void llBreakAllLinks();
  266. //wiki: key llGetLinkKey(integer linknum)
  267. string llGetLinkKey(int linknum);
  268. //wiki: llGetLinkName(integer linknum)
  269. string llGetLinkName(int linknum);
  270. //wiki: integer llGetInventoryNumber(integer type)
  271. LSL_Types.LSLInteger llGetInventoryNumber(int type);
  272. //wiki: string llGetInventoryName(integer type, integer number)
  273. string llGetInventoryName(int type, int number);
  274. //wiki: llSetScriptState(string name, integer run)
  275. void llSetScriptState(string name, int run);
  276. //wiki: double llGetEnergy()
  277. double llGetEnergy();
  278. //wiki: llGiveInventory(key destination, string inventory)
  279. void llGiveInventory(string destination, string inventory);
  280. //wiki: llRemoveInventory(string item)
  281. void llRemoveInventory(string item);
  282. //wiki: llSetText(string text, vector color, double alpha)
  283. void llSetText(string text, LSL_Types.Vector3 color, double alpha);
  284. //wiki: double llWater(vector offset)
  285. double llWater(LSL_Types.Vector3 offset);
  286. //wiki: llPassTouches(integer pass)
  287. void llPassTouches(int pass);
  288. //wiki: key llRequestAgentData(key id, integer data)
  289. string llRequestAgentData(string id, int data);
  290. //wiki: key llRequestInventoryData(string name)
  291. string llRequestInventoryData(string name);
  292. //wiki: llSetDamage(double damage)
  293. void llSetDamage(double damage);
  294. //wiki: llTeleportAgentHome(key agent)
  295. void llTeleportAgentHome(string agent);
  296. //wiki: llModifyLand(integer action, integer brush)
  297. void llModifyLand(int action, int brush);
  298. //wiki: llCollisionSound(string impact_sound, double impact_volume)
  299. void llCollisionSound(string impact_sound, double impact_volume);
  300. //wiki: llCollisionSprite(string impact_sprite)
  301. void llCollisionSprite(string impact_sprite);
  302. //wiki: string llGetAnimation(key id)
  303. string llGetAnimation(string id);
  304. //wiki: llResetScript()
  305. void llResetScript();
  306. //wiki: llMessageLinked(integer linknum, integer num, string str, key id)
  307. void llMessageLinked(int linknum, int num, string str, string id);
  308. //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local)
  309. void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local);
  310. //wiki: llPassCollisions(integer pass)
  311. void llPassCollisions(int pass);
  312. //wiki: string llGetScriptName()
  313. string llGetScriptName();
  314. //wiki: integer llGetNumberOfSides()
  315. LSL_Types.LSLInteger llGetNumberOfSides();
  316. //wiki: rotation llAxisAngle2Rot(vector axis, double angle)
  317. LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle);
  318. //wiki: vector llRot2Axis(rotation rot)
  319. LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot);
  320. //wiki: double llRot2Angle(rotation rot);
  321. double llRot2Angle(LSL_Types.Quaternion rot);
  322. //wiki: double llAcos(double val)
  323. double llAcos(double val);
  324. //wiki: double llAsin(double val)
  325. double llAsin(double val);
  326. //wiki: double llAngleBetween(rotation a, rotation b)
  327. double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b);
  328. //wiki: string llGetInventoryKey(string name)
  329. string llGetInventoryKey(string name);
  330. //wiki: llAllowInventoryDrop(integer add)
  331. void llAllowInventoryDrop(int add);
  332. //wiki: vector llGetSunDirection()
  333. LSL_Types.Vector3 llGetSunDirection();
  334. //wiki: vector llGetTextureOffset(integer face)
  335. LSL_Types.Vector3 llGetTextureOffset(int face);
  336. //wiki: vector llGetTextureScale(integer side)
  337. LSL_Types.Vector3 llGetTextureScale(int side);
  338. //wiki: double llGetTextureRot(integer side)
  339. double llGetTextureRot(int side);
  340. //wiki: integer llSubStringIndex(string source, string pattern)
  341. LSL_Types.LSLInteger llSubStringIndex(string source, string pattern);
  342. //wiki: key llGetOwnerKey(key id)
  343. string llGetOwnerKey(string id);
  344. //wiki: vector llGetCenterOfMass()
  345. LSL_Types.Vector3 llGetCenterOfMass();
  346. //wiki: list llListSort(list src, integer stride, integer ascending)
  347. LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending);
  348. //integer llGetListLength(list src)
  349. LSL_Types.LSLInteger llGetListLength(LSL_Types.list src);
  350. //wiki: integer llList2Integer(list src, integer index)
  351. LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index);
  352. //wiki: double llList2double(list src, integer index)
  353. double llList2Float(LSL_Types.list src, int index);
  354. //wiki: string llList2String(list src, integer index)
  355. string llList2String(LSL_Types.list src, int index);
  356. //wiki: key llList2Key(list src, integer index)
  357. string llList2Key(LSL_Types.list src, int index);
  358. //wiki: vector llList2Vector(list src, integer index)
  359. LSL_Types.Vector3 llList2Vector(LSL_Types.list src, int index);
  360. //wiki rotation llList2Rot(list src, integer index)
  361. LSL_Types.Quaternion llList2Rot(LSL_Types.list src, int index);
  362. //wiki: list llList2List(list src, integer start, integer end)
  363. LSL_Types.list llList2List(LSL_Types.list src, int start, int end);
  364. //wiki: llDeleteSubList(list src, integer start, integer end)
  365. LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end);
  366. //wiki: integer llGetListEntryType(list src, integer index)
  367. LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index);
  368. //wiki: string llList2CSV(list src)
  369. string llList2CSV(LSL_Types.list src);
  370. //wiki: list llCSV2List(string src)
  371. LSL_Types.list llCSV2List(string src);
  372. //wiki: list llListRandomize(list src, integer stride)
  373. LSL_Types.list llListRandomize(LSL_Types.list src, int stride);
  374. //wiki: list llList2ListStrided(list src, integer start, integer end, integer stride)
  375. LSL_Types.list llList2ListStrided(LSL_Types.list src, int start, int end, int stride);
  376. //wiki: vector llGetRegionCorner()
  377. LSL_Types.Vector3 llGetRegionCorner();
  378. //wiki: list llListInsertList(list dest, list src, integer start)
  379. LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start);
  380. //wiki: integer llListFindList(list src, list test)
  381. LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test);
  382. //wiki: string llGetObjectName()
  383. string llGetObjectName();
  384. //wiki: llSetObjectName(string name)
  385. void llSetObjectName(string name);
  386. //wiki: string llGetDate()
  387. string llGetDate();
  388. //wiki: integer llEdgeOfWorld(vector pos, vector dir)
  389. LSL_Types.LSLInteger llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir);
  390. //wiki: integer llGetAgentInfo(key id)
  391. LSL_Types.LSLInteger llGetAgentInfo(string id);
  392. //wiki: llAdjustSoundVolume(double volume)
  393. void llAdjustSoundVolume(double volume);
  394. //wiki: llSetSoundQueueing(integer queue)
  395. void llSetSoundQueueing(int queue);
  396. //wiki: llSetSoundRadius(double radius)
  397. void llSetSoundRadius(double radius);
  398. //wiki: string llKey2Name(key id)
  399. string llKey2Name(string id);
  400. //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate)
  401. void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
  402. //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west)
  403. void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east,
  404. LSL_Types.Vector3 bottom_south_west);
  405. //wiki: llEjectFromLand(key pest)
  406. void llEjectFromLand(string pest);
  407. LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers);
  408. //wiki: integer llOverMyLand(key id)
  409. LSL_Types.LSLInteger llOverMyLand(string id);
  410. //wiki: key llGetLandOwnerAt(vector pos)
  411. string llGetLandOwnerAt(LSL_Types.Vector3 pos);
  412. //wiki: key llGetNotecardLine(string name, integer line)
  413. string llGetNotecardLine(string name, int line);
  414. //wiki: vector llGetAgentSize(key id)
  415. LSL_Types.Vector3 llGetAgentSize(string id);
  416. //wiki: integer llSameGroup(key agent)
  417. LSL_Types.LSLInteger llSameGroup(string agent);
  418. //wiki: llUnSit(key id)
  419. void llUnSit(string id);
  420. //wiki: vector llGroundSlope(vector offset)
  421. LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset);
  422. //wiki: vector llGroundNormal(vector offset)
  423. LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset);
  424. //wiki: vector llGroundContour(vector offset)
  425. LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset);
  426. //wiki: integer llGetAttached()
  427. LSL_Types.LSLInteger llGetAttached();
  428. //wiki: integer llGetFreeMemory()
  429. LSL_Types.LSLInteger llGetFreeMemory();
  430. //wiki: string llGetRegionName()
  431. string llGetRegionName();
  432. //wiki: double llGetRegionTimeDilation()
  433. double llGetRegionTimeDilation();
  434. //wiki: double llGetRegionFPS()
  435. double llGetRegionFPS();
  436. //wiki: llParticleSystem(List<Object> rules
  437. void llParticleSystem(LSL_Types.list rules);
  438. //wiki: llGroundRepel(double height, integer water, double tau)
  439. void llGroundRepel(double height, int water, double tau);
  440. //wiki: llGiveInventoryList(string destination, string category, LSL_Types.list inventory)
  441. void llGiveInventoryList(string destination, string category, LSL_Types.list inventory);
  442. //wiki: llSetVehicleType(integer type)
  443. void llSetVehicleType(int type);
  444. //wiki: llSetVehicledoubleParam(integer param, double value)
  445. void llSetVehicledoubleParam(int param, double value);
  446. // wiki: llSetVehicleFloatParam(integer param, float value)
  447. void llSetVehicleFloatParam(int param, float value);
  448. //wiki: llSetVehicleVectorParam(integer param, vector vec)
  449. void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec);
  450. //wiki: llSetVehicleRotationParam(integer param, rotation rot)
  451. void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot);
  452. //wiki: llSetVehicleFlags(integer flags)
  453. void llSetVehicleFlags(int flags);
  454. //wiki: llRemoveVehicleFlags(integer flags)
  455. void llRemoveVehicleFlags(int flags);
  456. //wiki: llSitTarget(vector offset, rotation rot)
  457. void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot);
  458. //wiki key llAvatarOnSitTarget()
  459. string llAvatarOnSitTarget();
  460. //wiki: llAddToLandPassList(key avatar, double hours)
  461. void llAddToLandPassList(string avatar, double hours);
  462. //wiki: llSetTouchText(string text)
  463. void llSetTouchText(string text);
  464. //wiki: llSetSitText(string text)
  465. void llSetSitText(string text);
  466. //wiki: llSetCameraEyeOffset(vector offset)
  467. void llSetCameraEyeOffset(LSL_Types.Vector3 offset);
  468. //wiki: llSeteCameraAtOffset(vector offset)
  469. void llSetCameraAtOffset(LSL_Types.Vector3 offset);
  470. //
  471. string llDumpList2String(LSL_Types.list src, string seperator);
  472. //wiki: integer llScriptDanger(vector pos)
  473. LSL_Types.LSLInteger llScriptDanger(LSL_Types.Vector3 pos);
  474. //wiki: llDialog(key avatar, string message, list buttons, integer chat_channel)
  475. void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel);
  476. //wiki: llVolumeDetect(integer detect)
  477. void llVolumeDetect(int detect);
  478. //wiki: llResetOtherScript(string name)
  479. void llResetOtherScript(string name);
  480. //wiki: integer llGetScriptState(string name)
  481. LSL_Types.LSLInteger llGetScriptState(string name);
  482. //wiki: (deprecated)
  483. void llRemoteLoadScript();
  484. //wiki: llSetRemoteScriptAccessPin(integer pin)
  485. void llSetRemoteScriptAccessPin(int pin);
  486. //wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)
  487. void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param);
  488. //wiki: llOpenRemoteDataChannel()
  489. void llOpenRemoteDataChannel();
  490. //wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata)
  491. string llSendRemoteData(string channel, string dest, int idata, string sdata);
  492. //wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata)
  493. void llRemoteDataReply(string channel, string message_id, string sdata, int idata);
  494. //wiki: llCloseRemoteDataChannel(key channel)
  495. void llCloseRemoteDataChannel(string channel);
  496. //wiki: string llMD5String(string src, integer nonce)
  497. string llMD5String(string src, int nonce);
  498. //wiki: llSetPrimitiveParams(list rules)
  499. void llSetPrimitiveParams(LSL_Types.list rules);
  500. //wiki: llSetLinkPrimitiveParams(integer linknumber, list rules)
  501. void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules);
  502. //wiki: string llStringToBase64(string str)
  503. string llStringToBase64(string str);
  504. //wiki: string llBase64ToString(string str)
  505. string llBase64ToString(string str);
  506. //wiki: (deprecated)
  507. void llXorBase64Strings();
  508. //wiki: llRemoteDataSetRegion()
  509. void llRemoteDataSetRegion();
  510. //wiki: double llLog10(double val)
  511. double llLog10(double val);
  512. //wiki: double llLog(double val)
  513. double llLog(double val);
  514. //wiki: list llGetAnimationList(key id)
  515. LSL_Types.list llGetAnimationList(string id);
  516. //wiki: llSetParcelMusicURL(string url)
  517. void llSetParcelMusicURL(string url);
  518. //wiki: vector llGetRootPosition()
  519. LSL_Types.Vector3 llGetRootPosition();
  520. //wiki: rotation llGetRootRotation()
  521. LSL_Types.Quaternion llGetRootRotation();
  522. //wiki: string llGetObjectDesc()
  523. string llGetObjectDesc();
  524. //wiki: llSetObjectDesc(string desc)
  525. void llSetObjectDesc(string desc);
  526. //wiki: key llGetCreator()
  527. string llGetCreator();
  528. //wiki: string llGetTimestamp()
  529. string llGetTimestamp();
  530. //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face)
  531. void llSetLinkAlpha(int linknumber, double alpha, int face);
  532. //wiki: integer llGetNumberOfPrims()
  533. LSL_Types.LSLInteger llGetNumberOfPrims();
  534. //wiki: key llGetNumberOfNotecardLines(string name)
  535. string llGetNumberOfNotecardLines(string name);
  536. //wiki: list llGetBoundingBox(key object)
  537. LSL_Types.list llGetBoundingBox(string obj);
  538. //wiki: vector llGetGeometricCenter()
  539. LSL_Types.Vector3 llGetGeometricCenter();
  540. //wiki: list llGetPrimitiveParams(list rules)
  541. LSL_Types.list llGetPrimitiveParams(LSL_Types.list rules);
  542. //wiki: string llIntegerToBase64(integer number)
  543. string llIntegerToBase64(int number);
  544. //wiki integer llBase64ToInteger(string str)
  545. LSL_Types.LSLInteger llBase64ToInteger(string str);
  546. //wiki: double llGetGMTclock()
  547. double llGetGMTclock();
  548. //wiki: string llGetSimulatorHostname()
  549. string llGetSimulatorHostname();
  550. //llSetLocalRot(rotation rot)
  551. void llSetLocalRot(LSL_Types.Quaternion rot);
  552. //wiki: list llParseStringKeepNulls(string src, list separators, list spacers)
  553. LSL_Types.list llParseStringKeepNulls(string src, LSL_Types.list seperators, LSL_Types.list spacers);
  554. //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param)
  555. void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity,
  556. LSL_Types.Quaternion rot, int param);
  557. //wiki: integer llGetObjectPermMask(integer mask)
  558. LSL_Types.LSLInteger llGetObjectPermMask(int mask);
  559. //wiki: llSetObjectPermMask(integer mask, integer value)
  560. void llSetObjectPermMask(int mask, int value);
  561. //wiki integer llGetInventoryPermMask(string item, integer mask)
  562. LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask);
  563. //wiki: llSetInventoryPermMask(string item, integer mask, integer value)
  564. void llSetInventoryPermMask(string item, int mask, int value);
  565. //wiki: key llGetInventoryCreator(string item)
  566. string llGetInventoryCreator(string item);
  567. //wiki: llOwnerSay(string msg)
  568. void llOwnerSay(string msg);
  569. //wiki: key llRequestSimulatorData(string simulator, integer data)
  570. string llRequestSimulatorData(string simulator, int data);
  571. //wiki: llForceMouselook(integer mouselook)
  572. void llForceMouselook(int mouselook);
  573. //wiki: double llGetObjectMass(key id)
  574. double llGetObjectMass(string id);
  575. LSL_Types.list llListReplaceList(LSL_Types.list dest, LSL_Types.list src, int start, int end);
  576. //wiki: llLoadURL(key avatar_id, string message, string url)
  577. void llLoadURL(string avatar_id, string message, string url);
  578. //wiki: llParcelMediaCommandList(list commandList)
  579. void llParcelMediaCommandList(LSL_Types.list commandList);
  580. void llParcelMediaQuery();
  581. //wiki integer llModPow(integer a, integer b, integer c)
  582. LSL_Types.LSLInteger llModPow(int a, int b, int c);
  583. //wiki: integer llGetInventoryType(string name)
  584. LSL_Types.LSLInteger llGetInventoryType(string name);
  585. //wiki: llSetPayPrice(integer price, list quick_pay_buttons)
  586. void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons);
  587. //wiki: vector llGetCameraPos()
  588. LSL_Types.Vector3 llGetCameraPos();
  589. //wiki rotation llGetCameraRot()
  590. LSL_Types.Quaternion llGetCameraRot();
  591. //wiki: (deprecated)
  592. void llSetPrimURL();
  593. //wiki: (deprecated)
  594. void llRefreshPrimURL();
  595. //wiki: string llEscapeURL(string url)
  596. string llEscapeURL(string url);
  597. //wiki: string llUnescapeURL(string url)
  598. string llUnescapeURL(string url);
  599. //wiki: llMapDestination(string simname, vector pos, vector look_at)
  600. void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at);
  601. //wiki: llAddToLandBanList(key avatar, double hours)
  602. void llAddToLandBanList(string avatar, double hours);
  603. //wiki: llRemoveFromLandPassList(key avatar)
  604. void llRemoveFromLandPassList(string avatar);
  605. //wiki: llRemoveFromLandBanList(key avatar)
  606. void llRemoveFromLandBanList(string avatar);
  607. //wiki: llSetCameraParams(list rules)
  608. void llSetCameraParams(LSL_Types.list rules);
  609. //wiki: llClearCameraParams()
  610. void llClearCameraParams();
  611. //wiki: double llListStatistics(integer operation, list src)
  612. double llListStatistics(int operation, LSL_Types.list src);
  613. //wiki: integer llGetUnixTime()
  614. LSL_Types.LSLInteger llGetUnixTime();
  615. //wiki: integer llGetParcelFlags(vector pos)
  616. LSL_Types.LSLInteger llGetParcelFlags(LSL_Types.Vector3 pos);
  617. //wiki: integer llGetRegionFlags()
  618. LSL_Types.LSLInteger llGetRegionFlags();
  619. //wiki: string llXorBase64StringsCorrect(string str1, string str2)
  620. string llXorBase64StringsCorrect(string str1, string str2);
  621. string llHTTPRequest(string url, LSL_Types.list parameters, string body);
  622. //wiki: llResetLandBanList()
  623. void llResetLandBanList();
  624. //wiki: llResetLandPassList()
  625. void llResetLandPassList();
  626. //wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
  627. LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide);
  628. //wiki: list llGetParcelPrimOwners(vector pos)
  629. LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos);
  630. //wiki: integer llGetObjectPrimCount(key object_id)
  631. LSL_Types.LSLInteger llGetObjectPrimCount(string object_id);
  632. //wiki: integer llGetParcelMaxPrims(vector pos, integer sim_wide)
  633. LSL_Types.LSLInteger llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide);
  634. //wiki: llGetParcelDetails(vector pos, list params)
  635. LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param);
  636. //wiki: llSetLinkTexture(integer linknumber, string texture, integer face)
  637. void llSetLinkTexture(int linknumber, string texture, int face);
  638. //wiki: string llStringTrim(string src, int type)
  639. string llStringTrim(string src, int type);
  640. //wiki: LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args)
  641. LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args);
  642. }
  643. }