LSL_BuiltIn_Commands_Interface.cs 32 KB

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