LSL_BuiltIn_Commands_Interface.cs 33 KB

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