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