OSSL_Stub.cs 67 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSimulator Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. using System;
  28. using System.Runtime.CompilerServices;
  29. using OpenSim.Region.ScriptEngine.Interfaces;
  30. using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces;
  31. using integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
  32. using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
  33. using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
  34. using key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
  35. using LSL_List = OpenSim.Region.ScriptEngine.Shared.LSL_Types.list;
  36. using LSL_String = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
  37. using LSL_Key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
  38. using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
  39. using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
  40. #pragma warning disable IDE1006
  41. namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
  42. {
  43. public partial class ScriptBaseClass
  44. {
  45. public IOSSL_Api m_OSSL_Functions;
  46. public void ApiTypeOSSL(IScriptApi api)
  47. {
  48. if (api is not IOSSL_Api p)
  49. return;
  50. m_OSSL_Functions = p;
  51. //Prim = new OSSLPrim(this);
  52. }
  53. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  54. public void osSetRegionWaterHeight(double height)
  55. {
  56. m_OSSL_Functions.osSetRegionWaterHeight(height);
  57. }
  58. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  59. public void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour)
  60. {
  61. m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour);
  62. }
  63. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  64. public void osSetEstateSunSettings(bool sunFixed, double sunHour)
  65. {
  66. m_OSSL_Functions.osSetEstateSunSettings(sunFixed, sunHour);
  67. }
  68. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  69. public LSL_Float osGetCurrentSunHour()
  70. {
  71. return m_OSSL_Functions.osGetCurrentSunHour();
  72. }
  73. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  74. public LSL_Float osGetSunParam(LSL_String param)
  75. {
  76. return m_OSSL_Functions.osGetSunParam(param);
  77. }
  78. // Deprecated
  79. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  80. public double osSunGetParam(string param)
  81. {
  82. return m_OSSL_Functions.osSunGetParam(param);
  83. }
  84. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  85. public void osSetSunParam(string param, double value)
  86. {
  87. m_OSSL_Functions.osSetSunParam(param, value);
  88. }
  89. // Deprecated
  90. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  91. public void osSunSetParam(string param, double value)
  92. {
  93. m_OSSL_Functions.osSunSetParam(param, value);
  94. }
  95. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  96. public string osWindActiveModelPluginName()
  97. {
  98. return m_OSSL_Functions.osWindActiveModelPluginName();
  99. }
  100. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  101. public void osSetWindParam(string plugin, string param, LSL_Float value)
  102. {
  103. m_OSSL_Functions.osSetWindParam(plugin, param, value);
  104. }
  105. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  106. public LSL_Float osGetWindParam(string plugin, string param)
  107. {
  108. return m_OSSL_Functions.osGetWindParam(plugin, param);
  109. }
  110. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  111. public LSL_Integer osGetParcelDwell(vector pos)
  112. {
  113. return m_OSSL_Functions.osGetParcelDwell(pos);
  114. }
  115. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  116. public void osParcelJoin(vector pos1, vector pos2)
  117. {
  118. m_OSSL_Functions.osParcelJoin(pos1,pos2);
  119. }
  120. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  121. public void osParcelSubdivide(vector pos1, vector pos2)
  122. {
  123. m_OSSL_Functions.osParcelSubdivide(pos1, pos2);
  124. }
  125. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  126. public void osSetParcelDetails(vector pos, LSL_List rules)
  127. {
  128. m_OSSL_Functions.osSetParcelDetails(pos, rules);
  129. }
  130. // Deprecated
  131. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  132. public void osParcelSetDetails(vector pos, LSL_List rules)
  133. {
  134. m_OSSL_Functions.osParcelSetDetails(pos,rules);
  135. }
  136. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  137. public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
  138. int timer)
  139. {
  140. return m_OSSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer);
  141. }
  142. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  143. public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams,
  144. int timer)
  145. {
  146. return m_OSSL_Functions.osSetDynamicTextureData(dynamicID, contentType, data, extraParams, timer);
  147. }
  148. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  149. public string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams,
  150. int timer, int face)
  151. {
  152. return m_OSSL_Functions.osSetDynamicTextureDataFace(dynamicID, contentType, data, extraParams, timer, face);
  153. }
  154. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  155. public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
  156. int timer, int alpha)
  157. {
  158. return m_OSSL_Functions.osSetDynamicTextureURLBlend(dynamicID, contentType, url, extraParams, timer, alpha);
  159. }
  160. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  161. public string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
  162. int timer, int alpha)
  163. {
  164. return m_OSSL_Functions.osSetDynamicTextureDataBlend(dynamicID, contentType, data, extraParams, timer, alpha);
  165. }
  166. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  167. public string osSetDynamicTextureURLBlendFace(string dynamicID, string contentType, string url, string extraParams,
  168. bool blend, int disp, int timer, int alpha, int face)
  169. {
  170. return m_OSSL_Functions.osSetDynamicTextureURLBlendFace(dynamicID, contentType, url, extraParams,
  171. blend, disp, timer, alpha, face);
  172. }
  173. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  174. public string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams,
  175. bool blend, int disp, int timer, int alpha, int face)
  176. {
  177. return m_OSSL_Functions.osSetDynamicTextureDataBlendFace(dynamicID, contentType, data, extraParams,
  178. blend, disp, timer, alpha, face);
  179. }
  180. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  181. public LSL_Float osGetTerrainHeight(int x, int y)
  182. {
  183. return m_OSSL_Functions.osGetTerrainHeight(x, y);
  184. }
  185. // Deprecated
  186. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  187. public LSL_Float osTerrainGetHeight(int x, int y)
  188. {
  189. return m_OSSL_Functions.osTerrainGetHeight(x, y);
  190. }
  191. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  192. public LSL_Integer osSetTerrainHeight(int x, int y, double val)
  193. {
  194. return m_OSSL_Functions.osSetTerrainHeight(x, y, val);
  195. }
  196. // Deprecated
  197. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  198. public LSL_Integer osTerrainSetHeight(int x, int y, double val)
  199. {
  200. return m_OSSL_Functions.osTerrainSetHeight(x, y, val);
  201. }
  202. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  203. public void osTerrainFlush()
  204. {
  205. m_OSSL_Functions.osTerrainFlush();
  206. }
  207. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  208. public int osRegionRestart(double seconds)
  209. {
  210. return m_OSSL_Functions.osRegionRestart(seconds);
  211. }
  212. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  213. public int osRegionRestart(double seconds, string msg)
  214. {
  215. return m_OSSL_Functions.osRegionRestart(seconds, msg);
  216. }
  217. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  218. public void osRegionNotice(string msg)
  219. {
  220. m_OSSL_Functions.osRegionNotice(msg);
  221. }
  222. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  223. public void osRegionNotice(LSL_Key agentID, string msg)
  224. {
  225. m_OSSL_Functions.osRegionNotice(agentID, msg);
  226. }
  227. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  228. public bool osConsoleCommand(string Command)
  229. {
  230. return m_OSSL_Functions.osConsoleCommand(Command);
  231. }
  232. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  233. public void osSetParcelMusicURL(LSL_String url)
  234. {
  235. m_OSSL_Functions.osSetParcelMusicURL(url);
  236. }
  237. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  238. public void osSetParcelMediaURL(LSL_String url)
  239. {
  240. m_OSSL_Functions.osSetParcelMediaURL(url);
  241. }
  242. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  243. public void osSetParcelSIPAddress(string SIPAddress)
  244. {
  245. m_OSSL_Functions.osSetParcelSIPAddress(SIPAddress);
  246. }
  247. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  248. public void osSetPrimFloatOnWater(int floatYN)
  249. {
  250. m_OSSL_Functions.osSetPrimFloatOnWater(floatYN);
  251. }
  252. // Teleport Functions
  253. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  254. public void osLocalTeleportAgent(LSL_Key agent, vector position, vector velocity, vector lookat, LSL_Integer flags)
  255. {
  256. m_OSSL_Functions.osLocalTeleportAgent(agent, position, velocity, lookat, flags);
  257. }
  258. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  259. public void osTeleportAgent(string agent, string regionName, vector position, vector lookat)
  260. {
  261. m_OSSL_Functions.osTeleportAgent(agent, regionName, position, lookat);
  262. }
  263. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  264. public void osTeleportAgent(string agent, int regionX, int regionY, vector position, vector lookat)
  265. {
  266. m_OSSL_Functions.osTeleportAgent(agent, regionX, regionY, position, lookat);
  267. }
  268. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  269. public void osTeleportAgent(string agent, vector position, vector lookat)
  270. {
  271. m_OSSL_Functions.osTeleportAgent(agent, position, lookat);
  272. }
  273. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  274. public void osTeleportOwner(string regionName, vector position, vector lookat)
  275. {
  276. m_OSSL_Functions.osTeleportOwner(regionName, position, lookat);
  277. }
  278. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  279. public void osTeleportOwner(int regionX, int regionY, vector position, vector lookat)
  280. {
  281. m_OSSL_Functions.osTeleportOwner(regionX, regionY, position, lookat);
  282. }
  283. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  284. public void osTeleportOwner(vector position, vector lookat)
  285. {
  286. m_OSSL_Functions.osTeleportOwner(position, lookat);
  287. }
  288. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  289. public LSL_List osGetAgents()
  290. {
  291. return m_OSSL_Functions.osGetAgents();
  292. }
  293. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  294. public string osGetAgentIP(string agent)
  295. {
  296. return m_OSSL_Functions.osGetAgentIP(agent);
  297. }
  298. // Animation Functions
  299. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  300. public void osAvatarPlayAnimation(LSL_Key avatar, string animation)
  301. {
  302. m_OSSL_Functions.osAvatarPlayAnimation(avatar, animation);
  303. }
  304. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  305. public void osAvatarStopAnimation(LSL_Key avatar, string animation)
  306. {
  307. m_OSSL_Functions.osAvatarStopAnimation(avatar, animation);
  308. }
  309. #region Attachment commands
  310. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  311. public void osForceAttachToAvatar(int attachmentPoint)
  312. {
  313. m_OSSL_Functions.osForceAttachToAvatar(attachmentPoint);
  314. }
  315. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  316. public void osForceAttachToAvatarFromInventory(string itemName, int attachmentPoint)
  317. {
  318. m_OSSL_Functions.osForceAttachToAvatarFromInventory(itemName, attachmentPoint);
  319. }
  320. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  321. public void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, int attachmentPoint)
  322. {
  323. m_OSSL_Functions.osForceAttachToOtherAvatarFromInventory(rawAvatarId, itemName, attachmentPoint);
  324. }
  325. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  326. public void osForceDetachFromAvatar()
  327. {
  328. m_OSSL_Functions.osForceDetachFromAvatar();
  329. }
  330. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  331. public LSL_List osGetNumberOfAttachments(LSL_Key avatar, LSL_List attachmentPoints)
  332. {
  333. return m_OSSL_Functions.osGetNumberOfAttachments(avatar, attachmentPoints);
  334. }
  335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  336. public void osMessageAttachments(LSL_Key avatar, string message, LSL_List attachmentPoints, int flags)
  337. {
  338. m_OSSL_Functions.osMessageAttachments(avatar, message, attachmentPoints, flags);
  339. }
  340. #endregion
  341. // Texture Draw functions
  342. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  343. public string osMovePen(string drawList, int x, int y)
  344. {
  345. return m_OSSL_Functions.osMovePen(drawList, x, y);
  346. }
  347. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  348. public string osDrawLine(string drawList, int startX, int startY, int endX, int endY)
  349. {
  350. return m_OSSL_Functions.osDrawLine(drawList, startX, startY, endX, endY);
  351. }
  352. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  353. public string osDrawLine(string drawList, int endX, int endY)
  354. {
  355. return m_OSSL_Functions.osDrawLine(drawList, endX, endY);
  356. }
  357. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  358. public string osDrawText(string drawList, string text)
  359. {
  360. return m_OSSL_Functions.osDrawText(drawList, text);
  361. }
  362. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  363. public string osDrawEllipse(string drawList, int width, int height)
  364. {
  365. return m_OSSL_Functions.osDrawEllipse(drawList, width, height);
  366. }
  367. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  368. public string osDrawFilledEllipse(string drawList, int width, int height)
  369. {
  370. return m_OSSL_Functions.osDrawFilledEllipse(drawList, width, height);
  371. }
  372. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  373. public string osDrawRectangle(string drawList, int width, int height)
  374. {
  375. return m_OSSL_Functions.osDrawRectangle(drawList, width, height);
  376. }
  377. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  378. public string osDrawFilledRectangle(string drawList, int width, int height)
  379. {
  380. return m_OSSL_Functions.osDrawFilledRectangle(drawList, width, height);
  381. }
  382. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  383. public string osDrawPolygon(string drawList, LSL_List x, LSL_List y)
  384. {
  385. return m_OSSL_Functions.osDrawPolygon(drawList, x, y);
  386. }
  387. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  388. public string osDrawFilledPolygon(string drawList, LSL_List x, LSL_List y)
  389. {
  390. return m_OSSL_Functions.osDrawFilledPolygon(drawList, x, y);
  391. }
  392. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  393. public string osDrawResetTransform(string drawList)
  394. {
  395. return m_OSSL_Functions.osDrawResetTransform(drawList);
  396. }
  397. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  398. public string osDrawRotationTransform(string drawList, LSL_Float x)
  399. {
  400. return m_OSSL_Functions.osDrawRotationTransform(drawList, x);
  401. }
  402. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  403. public string osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y)
  404. {
  405. return m_OSSL_Functions.osDrawScaleTransform(drawList, x, y);
  406. }
  407. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  408. public string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y)
  409. {
  410. return m_OSSL_Functions.osDrawTranslationTransform(drawList, x, y);
  411. }
  412. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  413. public string osSetFontSize(string drawList, int fontSize)
  414. {
  415. return m_OSSL_Functions.osSetFontSize(drawList, fontSize);
  416. }
  417. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  418. public string osSetFontName(string drawList, string fontName)
  419. {
  420. return m_OSSL_Functions.osSetFontName(drawList, fontName);
  421. }
  422. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  423. public string osSetPenSize(string drawList, int penSize)
  424. {
  425. return m_OSSL_Functions.osSetPenSize(drawList, penSize);
  426. }
  427. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  428. public string osSetPenCap(string drawList, string direction, string type)
  429. {
  430. return m_OSSL_Functions.osSetPenCap(drawList, direction, type);
  431. }
  432. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  433. public string osSetPenColor(string drawList, string color)
  434. {
  435. return m_OSSL_Functions.osSetPenColor(drawList, color);
  436. }
  437. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  438. public string osSetPenColor(string drawList, vector color)
  439. {
  440. return m_OSSL_Functions.osSetPenColor(drawList, color);
  441. }
  442. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  443. public string osSetPenColor(string drawList, vector color, float alpha)
  444. {
  445. return m_OSSL_Functions.osSetPenColor(drawList, color, alpha);
  446. }
  447. // Deprecated
  448. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  449. public string osSetPenColour(string drawList, string colour)
  450. {
  451. return m_OSSL_Functions.osSetPenColour(drawList, colour);
  452. }
  453. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  454. public string osDrawImage(string drawList, int width, int height, string imageUrl)
  455. {
  456. return m_OSSL_Functions.osDrawImage(drawList, width, height, imageUrl);
  457. }
  458. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  459. public vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize)
  460. {
  461. return m_OSSL_Functions.osGetDrawStringSize(contentType, text, fontName, fontSize);
  462. }
  463. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  464. public string osGetScriptEngineName()
  465. {
  466. return m_OSSL_Functions.osGetScriptEngineName();
  467. }
  468. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  469. public LSL_Integer osCheckODE()
  470. {
  471. return m_OSSL_Functions.osCheckODE();
  472. }
  473. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  474. public string osGetPhysicsEngineType()
  475. {
  476. return m_OSSL_Functions.osGetPhysicsEngineType();
  477. }
  478. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  479. public string osGetPhysicsEngineName()
  480. {
  481. return m_OSSL_Functions.osGetPhysicsEngineName();
  482. }
  483. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  484. public string osGetSimulatorVersion()
  485. {
  486. return m_OSSL_Functions.osGetSimulatorVersion();
  487. }
  488. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  489. public void osMessageObject(key objectUUID,string message)
  490. {
  491. m_OSSL_Functions.osMessageObject(objectUUID,message);
  492. }
  493. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  494. public void osMakeNotecard(string notecardName, LSL_String contents)
  495. {
  496. m_OSSL_Functions.osMakeNotecard(notecardName, contents);
  497. }
  498. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  499. public void osMakeNotecard(string notecardName, LSL_List contents)
  500. {
  501. m_OSSL_Functions.osMakeNotecard(notecardName, contents);
  502. }
  503. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  504. public string osGetNotecardLine(string name, int line)
  505. {
  506. return m_OSSL_Functions.osGetNotecardLine(name, line);
  507. }
  508. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  509. public string osGetNotecard(string name)
  510. {
  511. return m_OSSL_Functions.osGetNotecard(name);
  512. }
  513. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  514. public int osGetNumberOfNotecardLines(string name)
  515. {
  516. return m_OSSL_Functions.osGetNumberOfNotecardLines(name);
  517. }
  518. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  519. public string osAvatarName2Key(string firstname, string lastname)
  520. {
  521. return m_OSSL_Functions.osAvatarName2Key(firstname, lastname);
  522. }
  523. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  524. public string osKey2Name(string id)
  525. {
  526. return m_OSSL_Functions.osKey2Name(id);
  527. }
  528. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  529. public string osSHA256(string input)
  530. {
  531. return m_OSSL_Functions.osSHA256(input);
  532. }
  533. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  534. public string osGetGridNick()
  535. {
  536. return m_OSSL_Functions.osGetGridNick();
  537. }
  538. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  539. public string osGetGridName()
  540. {
  541. return m_OSSL_Functions.osGetGridName();
  542. }
  543. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  544. public string osGetGridLoginURI()
  545. {
  546. return m_OSSL_Functions.osGetGridLoginURI();
  547. }
  548. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  549. public string osGetGridHomeURI()
  550. {
  551. return m_OSSL_Functions.osGetGridHomeURI();
  552. }
  553. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  554. public string osGetGridGatekeeperURI()
  555. {
  556. return m_OSSL_Functions.osGetGridGatekeeperURI();
  557. }
  558. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  559. public string osGetGridCustom(string key)
  560. {
  561. return m_OSSL_Functions.osGetGridCustom(key);
  562. }
  563. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  564. public string osGetAvatarHomeURI(string uuid)
  565. {
  566. return m_OSSL_Functions.osGetAvatarHomeURI(uuid);
  567. }
  568. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  569. public LSL_String osFormatString(string str, LSL_List strings)
  570. {
  571. return m_OSSL_Functions.osFormatString(str, strings);
  572. }
  573. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  574. public LSL_List osMatchString(string src, string pattern, int start)
  575. {
  576. return m_OSSL_Functions.osMatchString(src, pattern, start);
  577. }
  578. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  579. public LSL_String osReplaceString(string src, string pattern, string replace, int count, int start)
  580. {
  581. return m_OSSL_Functions.osReplaceString(src,pattern,replace,count,start);
  582. }
  583. // Information about data loaded into the region
  584. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  585. public string osLoadedCreationDate()
  586. {
  587. return m_OSSL_Functions.osLoadedCreationDate();
  588. }
  589. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  590. public string osLoadedCreationTime()
  591. {
  592. return m_OSSL_Functions.osLoadedCreationTime();
  593. }
  594. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  595. public string osLoadedCreationID()
  596. {
  597. return m_OSSL_Functions.osLoadedCreationID();
  598. }
  599. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  600. public LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules)
  601. {
  602. return m_OSSL_Functions.osGetLinkPrimitiveParams(linknumber, rules);
  603. }
  604. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  605. public void osForceCreateLink(string target, int parent)
  606. {
  607. m_OSSL_Functions.osForceCreateLink(target, parent);
  608. }
  609. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  610. public void osForceBreakLink(int linknum)
  611. {
  612. m_OSSL_Functions.osForceBreakLink(linknum);
  613. }
  614. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  615. public void osForceBreakAllLinks()
  616. {
  617. m_OSSL_Functions.osForceBreakAllLinks();
  618. }
  619. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  620. public void osDie(LSL_Key objectUUID)
  621. {
  622. m_OSSL_Functions.osDie(objectUUID);
  623. }
  624. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  625. public LSL_Integer osIsNpc(LSL_Key npc)
  626. {
  627. return m_OSSL_Functions.osIsNpc(npc);
  628. }
  629. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  630. public key osNpcCreate(string user, string name, vector position, key cloneFrom)
  631. {
  632. return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom);
  633. }
  634. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  635. public key osNpcCreate(string user, string name, vector position, key cloneFrom, int options)
  636. {
  637. return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom, options);
  638. }
  639. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  640. public key osNpcSaveAppearance(key npc, LSL_String notecard)
  641. {
  642. return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard);
  643. }
  644. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  645. public key osNpcSaveAppearance(key npc, LSL_String notecard, LSL_Integer includeHuds)
  646. {
  647. return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard, includeHuds);
  648. }
  649. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  650. public void osNpcLoadAppearance(key npc, string notecard)
  651. {
  652. m_OSSL_Functions.osNpcLoadAppearance(npc, notecard);
  653. }
  654. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  655. public LSL_Key osNpcGetOwner(LSL_Key npc)
  656. {
  657. return m_OSSL_Functions.osNpcGetOwner(npc);
  658. }
  659. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  660. public vector osNpcGetPos(LSL_Key npc)
  661. {
  662. return m_OSSL_Functions.osNpcGetPos(npc);
  663. }
  664. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  665. public void osNpcMoveTo(key npc, vector position)
  666. {
  667. m_OSSL_Functions.osNpcMoveTo(npc, position);
  668. }
  669. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  670. public void osNpcMoveToTarget(key npc, vector target, int options)
  671. {
  672. m_OSSL_Functions.osNpcMoveToTarget(npc, target, options);
  673. }
  674. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  675. public rotation osNpcGetRot(key npc)
  676. {
  677. return m_OSSL_Functions.osNpcGetRot(npc);
  678. }
  679. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  680. public void osNpcSetRot(key npc, rotation rot)
  681. {
  682. m_OSSL_Functions.osNpcSetRot(npc, rot);
  683. }
  684. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  685. public void osNpcStopMoveToTarget(LSL_Key npc)
  686. {
  687. m_OSSL_Functions.osNpcStopMoveToTarget(npc);
  688. }
  689. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  690. public void osNpcSetProfileAbout(LSL_Key npc, string about)
  691. {
  692. m_OSSL_Functions.osNpcSetProfileAbout(npc, about);
  693. }
  694. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  695. public void osNpcSetProfileImage(LSL_Key npc, string image)
  696. {
  697. m_OSSL_Functions.osNpcSetProfileImage(npc, image);
  698. }
  699. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  700. public void osNpcSay(key npc, string message)
  701. {
  702. m_OSSL_Functions.osNpcSay(npc, message);
  703. }
  704. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  705. public void osNpcSay(key npc, int channel, string message)
  706. {
  707. m_OSSL_Functions.osNpcSay(npc, channel, message);
  708. }
  709. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  710. public void osNpcSayTo(LSL_Key npc, LSL_Key target, int channel, string msg)
  711. {
  712. m_OSSL_Functions.osNpcSayTo(npc, target, channel, msg);
  713. }
  714. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  715. public void osNpcShout(key npc, int channel, string message)
  716. {
  717. m_OSSL_Functions.osNpcShout(npc, channel, message);
  718. }
  719. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  720. public void osNpcSit(LSL_Key npc, LSL_Key target, int options)
  721. {
  722. m_OSSL_Functions.osNpcSit(npc, target, options);
  723. }
  724. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  725. public void osNpcStand(LSL_Key npc)
  726. {
  727. m_OSSL_Functions.osNpcStand(npc);
  728. }
  729. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  730. public void osNpcRemove(key npc)
  731. {
  732. m_OSSL_Functions.osNpcRemove(npc);
  733. }
  734. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  735. public void osNpcPlayAnimation(LSL_Key npc, string animation)
  736. {
  737. m_OSSL_Functions.osNpcPlayAnimation(npc, animation);
  738. }
  739. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  740. public void osNpcStopAnimation(LSL_Key npc, string animation)
  741. {
  742. m_OSSL_Functions.osNpcStopAnimation(npc, animation);
  743. }
  744. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  745. public void osNpcWhisper(key npc, int channel, string message)
  746. {
  747. m_OSSL_Functions.osNpcWhisper(npc, channel, message);
  748. }
  749. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  750. public void osNpcTouch(LSL_Key npcLSL_Key, LSL_Key object_key, LSL_Integer link_num)
  751. {
  752. m_OSSL_Functions.osNpcTouch(npcLSL_Key, object_key, link_num);
  753. }
  754. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  755. public LSL_Key osOwnerSaveAppearance(LSL_String notecard)
  756. {
  757. return m_OSSL_Functions.osOwnerSaveAppearance(notecard);
  758. }
  759. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  760. public LSL_Key osOwnerSaveAppearance(LSL_String notecard, LSL_Integer includeHuds)
  761. {
  762. return m_OSSL_Functions.osOwnerSaveAppearance(notecard, includeHuds);
  763. }
  764. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  765. public LSL_Key osAgentSaveAppearance(LSL_Key agentId, LSL_String notecard)
  766. {
  767. return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecard);
  768. }
  769. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  770. public LSL_Key osAgentSaveAppearance(LSL_Key agentId, LSL_String notecard, LSL_Integer includeHuds)
  771. {
  772. return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecard, includeHuds);
  773. }
  774. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  775. public string osGetGender(LSL_Key rawAvatarId)
  776. {
  777. return m_OSSL_Functions.osGetGender(rawAvatarId);
  778. }
  779. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  780. public key osGetMapTexture()
  781. {
  782. return m_OSSL_Functions.osGetMapTexture();
  783. }
  784. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  785. public key osGetRegionMapTexture(string regionNameOrID)
  786. {
  787. return m_OSSL_Functions.osGetRegionMapTexture(regionNameOrID);
  788. }
  789. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  790. public LSL_List osGetRegionStats()
  791. {
  792. return m_OSSL_Functions.osGetRegionStats();
  793. }
  794. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  795. public vector osGetRegionSize()
  796. {
  797. return m_OSSL_Functions.osGetRegionSize();
  798. }
  799. /// <summary>
  800. /// Returns the amount of memory in use by the Simulator Daemon.
  801. /// Amount in bytes - if >= 2GB, returns 2GB. (LSL is not 64-bit aware)
  802. /// </summary>
  803. /// <returns></returns>
  804. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  805. public LSL_Integer osGetSimulatorMemory()
  806. {
  807. return m_OSSL_Functions.osGetSimulatorMemory();
  808. }
  809. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  810. public LSL_Integer osGetSimulatorMemoryKB()
  811. {
  812. return m_OSSL_Functions.osGetSimulatorMemoryKB();
  813. }
  814. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  815. public void osKickAvatar(string FirstName, string SurName, string alert)
  816. {
  817. m_OSSL_Functions.osKickAvatar(FirstName, SurName, alert);
  818. }
  819. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  820. public void osKickAvatar(LSL_Key agentId, string alert)
  821. {
  822. m_OSSL_Functions.osKickAvatar(agentId, alert);
  823. }
  824. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  825. public void osSetSpeed(string UUID, LSL_Float SpeedModifier)
  826. {
  827. m_OSSL_Functions.osSetSpeed(UUID, SpeedModifier);
  828. }
  829. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  830. public void osSetOwnerSpeed(LSL_Float SpeedModifier)
  831. {
  832. m_OSSL_Functions.osSetOwnerSpeed(SpeedModifier);
  833. }
  834. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  835. public LSL_Float osGetHealth(key avatar)
  836. {
  837. return m_OSSL_Functions.osGetHealth(avatar);
  838. }
  839. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  840. public void osCauseDamage(key avatar, LSL_Float damage)
  841. {
  842. m_OSSL_Functions.osCauseDamage(avatar, damage);
  843. }
  844. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  845. public void osCauseHealing(key avatar, LSL_Float healing)
  846. {
  847. m_OSSL_Functions.osCauseHealing(avatar, healing);
  848. }
  849. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  850. public void osSetHealth(key avatar, LSL_Float health)
  851. {
  852. m_OSSL_Functions.osSetHealth(avatar, health);
  853. }
  854. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  855. public void osSetHealRate(key avatar, LSL_Float health)
  856. {
  857. m_OSSL_Functions.osSetHealRate(avatar, health);
  858. }
  859. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  860. public LSL_Float osGetHealRate(key avatar)
  861. {
  862. return m_OSSL_Functions.osGetHealRate(avatar);
  863. }
  864. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  865. public void osForceOtherSit(string avatar)
  866. {
  867. m_OSSL_Functions.osForceOtherSit(avatar);
  868. }
  869. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  870. public void osForceOtherSit(string avatar, string target)
  871. {
  872. m_OSSL_Functions.osForceOtherSit(avatar, target);
  873. }
  874. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  875. public LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules)
  876. {
  877. return m_OSSL_Functions.osGetPrimitiveParams(prim, rules);
  878. }
  879. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  880. public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules)
  881. {
  882. m_OSSL_Functions.osSetPrimitiveParams(prim, rules);
  883. }
  884. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  885. public void osSetProjectionParams(LSL_Integer projection, LSL_Key texture, double fov, double focus, double amb)
  886. {
  887. m_OSSL_Functions.osSetProjectionParams(projection, texture, fov, focus, amb);
  888. }
  889. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  890. public void osSetProjectionParams(LSL_Key prim, LSL_Integer projection, LSL_Key texture, double fov, double focus, double amb)
  891. {
  892. m_OSSL_Functions.osSetProjectionParams(prim, projection, texture, fov, focus, amb);
  893. }
  894. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  895. public void osSetProjectionParams(LSL_Integer linknumber, LSL_Integer projection, LSL_Key texture, LSL_Float fov, LSL_Float focus, LSL_Float amb)
  896. {
  897. m_OSSL_Functions.osSetProjectionParams(linknumber, projection, texture, fov, focus, amb);
  898. }
  899. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  900. public LSL_List osGetAvatarList()
  901. {
  902. return m_OSSL_Functions.osGetAvatarList();
  903. }
  904. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  905. public LSL_List osGetNPCList()
  906. {
  907. return m_OSSL_Functions.osGetNPCList();
  908. }
  909. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  910. public LSL_String osUnixTimeToTimestamp(LSL_Integer time)
  911. {
  912. return m_OSSL_Functions.osUnixTimeToTimestamp(time);
  913. }
  914. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  915. public LSL_Integer osInviteToGroup(LSL_Key agentId)
  916. {
  917. return m_OSSL_Functions.osInviteToGroup(agentId);
  918. }
  919. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  920. public LSL_Integer osEjectFromGroup(LSL_Key agentId)
  921. {
  922. return m_OSSL_Functions.osEjectFromGroup(agentId);
  923. }
  924. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  925. public void osSetTerrainTexture(int level, LSL_Key texture)
  926. {
  927. m_OSSL_Functions.osSetTerrainTexture(level, texture);
  928. }
  929. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  930. public void osSetTerrainTextureHeight(int corner, double low, double high)
  931. {
  932. m_OSSL_Functions.osSetTerrainTextureHeight(corner, low, high);
  933. }
  934. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  935. public LSL_Integer osIsUUID(string thing)
  936. {
  937. return m_OSSL_Functions.osIsUUID(thing);
  938. }
  939. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  940. public LSL_Float osMin(double a, double b)
  941. {
  942. return m_OSSL_Functions.osMin(a, b);
  943. }
  944. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  945. public LSL_Float osMax(double a, double b)
  946. {
  947. return m_OSSL_Functions.osMax(a, b);
  948. }
  949. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  950. public LSL_Key osGetRezzingObject()
  951. {
  952. return m_OSSL_Functions.osGetRezzingObject();
  953. }
  954. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  955. public void osSetContentType(LSL_Key id, string type)
  956. {
  957. m_OSSL_Functions.osSetContentType(id,type);
  958. }
  959. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  960. public void osDropAttachment()
  961. {
  962. m_OSSL_Functions.osDropAttachment();
  963. }
  964. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  965. public void osForceDropAttachment()
  966. {
  967. m_OSSL_Functions.osForceDropAttachment();
  968. }
  969. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  970. public void osDropAttachmentAt(vector pos, rotation rot)
  971. {
  972. m_OSSL_Functions.osDropAttachmentAt(pos, rot);
  973. }
  974. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  975. public void osForceDropAttachmentAt(vector pos, rotation rot)
  976. {
  977. m_OSSL_Functions.osForceDropAttachmentAt(pos, rot);
  978. }
  979. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  980. public LSL_Integer osListenRegex(int channelID, string name, string ID, string msg, int regexBitfield)
  981. {
  982. return m_OSSL_Functions.osListenRegex(channelID, name, ID, msg, regexBitfield);
  983. }
  984. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  985. public LSL_Integer osRegexIsMatch(string input, string pattern)
  986. {
  987. return m_OSSL_Functions.osRegexIsMatch(input, pattern);
  988. }
  989. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  990. public LSL_Key osRequestURL(LSL_List options)
  991. {
  992. return m_OSSL_Functions.osRequestURL(options);
  993. }
  994. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  995. public LSL_Key osRequestSecureURL(LSL_List options)
  996. {
  997. return m_OSSL_Functions.osRequestSecureURL(options);
  998. }
  999. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1000. public void osCollisionSound(string impact_sound, double impact_volume)
  1001. {
  1002. m_OSSL_Functions.osCollisionSound(impact_sound, impact_volume);
  1003. }
  1004. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1005. public void osVolumeDetect(int detect)
  1006. {
  1007. m_OSSL_Functions.osVolumeDetect(detect);
  1008. }
  1009. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1010. public LSL_List osGetInertiaData()
  1011. {
  1012. return m_OSSL_Functions.osGetInertiaData();
  1013. }
  1014. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1015. public void osSetInertia(LSL_Float mass, vector centerOfMass, vector principalInertiaScaled, rotation rot)
  1016. {
  1017. m_OSSL_Functions.osSetInertia(mass, centerOfMass, principalInertiaScaled, rot);
  1018. }
  1019. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1020. public void osSetInertiaAsBox(LSL_Float mass, vector boxSize, vector centerOfMass, rotation rot)
  1021. {
  1022. m_OSSL_Functions.osSetInertiaAsBox(mass, boxSize, centerOfMass, rot);
  1023. }
  1024. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1025. public void osSetInertiaAsSphere(LSL_Float mass, LSL_Float radius, vector centerOfMass)
  1026. {
  1027. m_OSSL_Functions.osSetInertiaAsSphere(mass, radius, centerOfMass);
  1028. }
  1029. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1030. public void osSetInertiaAsCylinder(LSL_Float mass, LSL_Float radius, LSL_Float length, vector centerOfMass,rotation lslrot)
  1031. {
  1032. m_OSSL_Functions.osSetInertiaAsCylinder( mass, radius, length, centerOfMass, lslrot);
  1033. }
  1034. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1035. public void osClearInertia()
  1036. {
  1037. m_OSSL_Functions.osClearInertia();
  1038. }
  1039. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1040. public LSL_Integer osTeleportObject(LSL_Key objectUUID, vector targetPos, rotation targetrotation, LSL_Integer flags)
  1041. {
  1042. return m_OSSL_Functions.osTeleportObject(objectUUID, targetPos, targetrotation, flags);
  1043. }
  1044. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1045. public LSL_Integer osGetLinkNumber(LSL_String name)
  1046. {
  1047. return m_OSSL_Functions.osGetLinkNumber(name);
  1048. }
  1049. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1050. public LSL_Float osRound(LSL_Float value, LSL_Integer digits)
  1051. {
  1052. return m_OSSL_Functions.osRound(value, digits);
  1053. }
  1054. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1055. public LSL_Float osVecMagSquare(vector a)
  1056. {
  1057. return m_OSSL_Functions.osVecMagSquare(a);
  1058. }
  1059. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1060. public LSL_Float osVecDistSquare(vector a, vector b)
  1061. {
  1062. return m_OSSL_Functions.osVecDistSquare(a, b);
  1063. }
  1064. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1065. public LSL_Float osAngleBetween(vector a, vector b)
  1066. {
  1067. return m_OSSL_Functions.osAngleBetween(a, b);
  1068. }
  1069. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1070. public void osAdjustSoundVolume(LSL_Integer linknum, LSL_Float volume)
  1071. {
  1072. m_OSSL_Functions.osAdjustSoundVolume(linknum, volume);
  1073. }
  1074. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1075. public void osSetSoundRadius(LSL_Integer linknum, LSL_Float radius)
  1076. {
  1077. m_OSSL_Functions.osSetSoundRadius(linknum, radius);
  1078. }
  1079. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1080. public void osPlaySound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1081. {
  1082. m_OSSL_Functions.osPlaySound(linknum, sound, volume);
  1083. }
  1084. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1085. public void osLoopSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1086. {
  1087. m_OSSL_Functions.osLoopSound(linknum, sound, volume);
  1088. }
  1089. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1090. public void osLoopSoundMaster(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1091. {
  1092. m_OSSL_Functions.osLoopSoundMaster(linknum, sound, volume);
  1093. }
  1094. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1095. public void osLoopSoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1096. {
  1097. m_OSSL_Functions.osLoopSoundSlave(linknum, sound, volume);
  1098. }
  1099. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1100. public void osPlaySoundSlave(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1101. {
  1102. m_OSSL_Functions.osPlaySoundSlave(linknum, sound, volume);
  1103. }
  1104. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1105. public void osTriggerSound(LSL_Integer linknum, LSL_String sound, LSL_Float volume)
  1106. {
  1107. m_OSSL_Functions.osTriggerSound(linknum, sound, volume);
  1108. }
  1109. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1110. public void osTriggerSoundLimited(LSL_Integer linknum, LSL_String sound, LSL_Float volume,
  1111. vector top_north_east, vector bottom_south_west)
  1112. {
  1113. m_OSSL_Functions.osTriggerSoundLimited(linknum, sound, volume,
  1114. top_north_east, bottom_south_west);
  1115. }
  1116. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1117. public void osStopSound(LSL_Integer linknum)
  1118. {
  1119. m_OSSL_Functions.osStopSound(linknum);
  1120. }
  1121. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1122. public void osPreloadSound(LSL_Integer linknum, LSL_String sound)
  1123. {
  1124. m_OSSL_Functions.osPreloadSound(linknum, sound);
  1125. }
  1126. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1127. public LSL_String osDetectedCountry(LSL_Integer number)
  1128. {
  1129. return m_OSSL_Functions.osDetectedCountry(number);
  1130. }
  1131. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1132. public LSL_String osGetAgentCountry(LSL_Key agentId)
  1133. {
  1134. return m_OSSL_Functions.osGetAgentCountry(agentId);
  1135. }
  1136. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1137. public LSL_String osStringSubString(LSL_String src, LSL_Integer offset)
  1138. {
  1139. return m_OSSL_Functions.osStringSubString(src, offset);
  1140. }
  1141. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1142. public LSL_String osStringSubString(LSL_String src, LSL_Integer offset, LSL_Integer length)
  1143. {
  1144. return m_OSSL_Functions.osStringSubString(src, offset, length);
  1145. }
  1146. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1147. public LSL_Integer osStringStartsWith(LSL_String src, LSL_String value, LSL_Integer ignorecase)
  1148. {
  1149. return m_OSSL_Functions.osStringStartsWith(src, value, ignorecase);
  1150. }
  1151. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1152. public LSL_Integer osStringEndsWith(LSL_String src, LSL_String value, LSL_Integer ignorecase)
  1153. {
  1154. return m_OSSL_Functions.osStringEndsWith(src, value, ignorecase);
  1155. }
  1156. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1157. public LSL_Integer osStringIndexOf(LSL_String src, LSL_String value, LSL_Integer ignorecase)
  1158. {
  1159. return m_OSSL_Functions.osStringIndexOf(src, value, ignorecase);
  1160. }
  1161. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1162. public LSL_Integer osStringIndexOf(LSL_String src, LSL_String value, LSL_Integer offset, LSL_Integer count, LSL_Integer ignorecase)
  1163. {
  1164. return m_OSSL_Functions.osStringIndexOf(src, value, offset, count, ignorecase);
  1165. }
  1166. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1167. public LSL_Integer osStringLastIndexOf(LSL_String src, LSL_String value, LSL_Integer ignorecase)
  1168. {
  1169. return m_OSSL_Functions.osStringLastIndexOf(src, value, ignorecase);
  1170. }
  1171. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1172. public LSL_Integer osStringLastIndexOf(LSL_String src, LSL_String value, LSL_Integer offset, LSL_Integer count, LSL_Integer ignorecase)
  1173. {
  1174. return m_OSSL_Functions.osStringLastIndexOf(src, value, offset, count, ignorecase);
  1175. }
  1176. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1177. public LSL_String osStringRemove(LSL_String src, LSL_Integer offset, LSL_Integer count)
  1178. {
  1179. return m_OSSL_Functions.osStringRemove(src, offset, count);
  1180. }
  1181. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1182. public LSL_String osStringReplace(LSL_String src, LSL_String oldvalue, LSL_String newvalue)
  1183. {
  1184. return m_OSSL_Functions.osStringReplace(src, oldvalue, newvalue);
  1185. }
  1186. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1187. public LSL_Integer osApproxEquals(LSL_Float a, LSL_Float b)
  1188. {
  1189. return m_OSSL_Functions.osApproxEquals(a, b);
  1190. }
  1191. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1192. public LSL_Integer osApproxEquals(LSL_Float a, LSL_Float b, LSL_Float margin)
  1193. {
  1194. return m_OSSL_Functions.osApproxEquals(a, b, margin);
  1195. }
  1196. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1197. public LSL_Integer osApproxEquals(vector va, vector vb)
  1198. {
  1199. return m_OSSL_Functions.osApproxEquals(va, vb);
  1200. }
  1201. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1202. public LSL_Integer osApproxEquals(vector va, vector vb, LSL_Float margin)
  1203. {
  1204. return m_OSSL_Functions.osApproxEquals(va, vb, margin);
  1205. }
  1206. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1207. public LSL_Integer osApproxEquals(rotation ra, rotation rb)
  1208. {
  1209. return m_OSSL_Functions.osApproxEquals(ra, rb);
  1210. }
  1211. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1212. public LSL_Integer osApproxEquals(rotation ra, rotation rb, LSL_Float margin)
  1213. {
  1214. return m_OSSL_Functions.osApproxEquals(ra, rb, margin);
  1215. }
  1216. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1217. public LSL_Key osGetInventoryLastOwner(LSL_String itemNameOrId)
  1218. {
  1219. return m_OSSL_Functions.osGetInventoryLastOwner(itemNameOrId);
  1220. }
  1221. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1222. public LSL_Key osGetInventoryItemKey(LSL_String name)
  1223. {
  1224. return m_OSSL_Functions.osGetInventoryItemKey(name);
  1225. }
  1226. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1227. public LSL_Key osGetLinkInventoryKey(LSL_Integer linkNumber, LSL_String name, LSL_Integer type)
  1228. {
  1229. return m_OSSL_Functions.osGetLinkInventoryKey(linkNumber, name, type);
  1230. }
  1231. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1232. public LSL_List osGetLinkInventoryKeys(LSL_Integer linkNumber, LSL_Integer type)
  1233. {
  1234. return m_OSSL_Functions.osGetLinkInventoryKeys(linkNumber, type);
  1235. }
  1236. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1237. public LSL_Key osGetLinkInventoryItemKey(LSL_Integer linkNumber, LSL_String name)
  1238. {
  1239. return m_OSSL_Functions.osGetLinkInventoryItemKey(linkNumber, name);
  1240. }
  1241. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1242. public LSL_List osGetInventoryItemKeys(LSL_Integer type)
  1243. {
  1244. return m_OSSL_Functions.osGetInventoryItemKeys(type);
  1245. }
  1246. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1247. public LSL_List osGetLinkInventoryItemKeys(LSL_Integer linkNumber, LSL_Integer type)
  1248. {
  1249. return m_OSSL_Functions.osGetLinkInventoryItemKeys(linkNumber, type);
  1250. }
  1251. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1252. public LSL_String osGetInventoryName(LSL_Key itemId)
  1253. {
  1254. return m_OSSL_Functions.osGetInventoryName(itemId);
  1255. }
  1256. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1257. public LSL_String osGetLinkInventoryName(LSL_Integer linkNumber, LSL_Key itemId)
  1258. {
  1259. return m_OSSL_Functions.osGetLinkInventoryName(linkNumber, itemId);
  1260. }
  1261. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1262. public LSL_List osGetInventoryNames(LSL_Integer type)
  1263. {
  1264. return m_OSSL_Functions.osGetInventoryNames(type);
  1265. }
  1266. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1267. public LSL_List osGetLinkInventoryNames(LSL_Integer linkNumber, LSL_Integer type)
  1268. {
  1269. return m_OSSL_Functions.osGetLinkInventoryNames(linkNumber, type);
  1270. }
  1271. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1272. public LSL_String osGetInventoryDesc(LSL_String itemNameOrId)
  1273. {
  1274. return m_OSSL_Functions.osGetInventoryDesc(itemNameOrId);
  1275. }
  1276. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1277. public LSL_String osGetLinkInventoryDesc(LSL_Integer linkNumber, LSL_String itemNameOrId)
  1278. {
  1279. return m_OSSL_Functions.osGetLinkInventoryDesc(linkNumber, itemNameOrId);
  1280. }
  1281. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1282. public void osRemoveLinkInventory(LSL_Integer linkNumber, LSL_String name)
  1283. {
  1284. m_OSSL_Functions.osRemoveLinkInventory(linkNumber, name);
  1285. }
  1286. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1287. public void osGiveLinkInventory(LSL_Integer linkNumber, LSL_Key destination, LSL_String inventory)
  1288. {
  1289. m_OSSL_Functions.osGiveLinkInventory(linkNumber, destination, inventory);
  1290. }
  1291. public void osGiveLinkInventoryList(LSL_Integer linkNumber, LSL_Key destination, LSL_String category, LSL_List inventory)
  1292. {
  1293. m_OSSL_Functions.osGiveLinkInventoryList(linkNumber, destination, category, inventory);
  1294. }
  1295. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1296. public LSL_Key osGetLastChangedEventKey()
  1297. {
  1298. return m_OSSL_Functions.osGetLastChangedEventKey();
  1299. }
  1300. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1301. public LSL_Float osGetPSTWallclock()
  1302. {
  1303. return m_OSSL_Functions.osGetPSTWallclock();
  1304. }
  1305. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1306. public rotation osSlerp(rotation a, rotation b, LSL_Float amount)
  1307. {
  1308. return m_OSSL_Functions.osSlerp(a, b, amount);
  1309. }
  1310. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1311. public vector osSlerp(vector a, vector b, LSL_Float amount)
  1312. {
  1313. return m_OSSL_Functions.osSlerp(a, b, amount);
  1314. }
  1315. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1316. public void osResetAllScripts(LSL_Integer allLinkSet)
  1317. {
  1318. m_OSSL_Functions.osResetAllScripts(allLinkSet);
  1319. }
  1320. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1321. public LSL_Integer osIsNotValidNumber(LSL_Float v)
  1322. {
  1323. return m_OSSL_Functions.osIsNotValidNumber(v);
  1324. }
  1325. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1326. public void osSetSitActiveRange(LSL_Float v)
  1327. {
  1328. m_OSSL_Functions.osSetSitActiveRange(v);
  1329. }
  1330. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1331. public void osSetLinkSitActiveRange(LSL_Integer linkNumber, LSL_Float v)
  1332. {
  1333. m_OSSL_Functions.osSetLinkSitActiveRange(linkNumber, v);
  1334. }
  1335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1336. public LSL_Float osGetSitActiveRange()
  1337. {
  1338. return m_OSSL_Functions.osGetSitActiveRange();
  1339. }
  1340. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1341. public LSL_Float osGetLinkSitActiveRange(LSL_Integer linkNumber)
  1342. {
  1343. return m_OSSL_Functions.osGetLinkSitActiveRange(linkNumber);
  1344. }
  1345. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1346. public void osSetStandTarget(vector v)
  1347. {
  1348. m_OSSL_Functions.osSetStandTarget(v);
  1349. }
  1350. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1351. public void osSetLinkStandTarget(LSL_Integer linkNumber, vector v)
  1352. {
  1353. m_OSSL_Functions.osSetLinkStandTarget(linkNumber, v);
  1354. }
  1355. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1356. public vector osGetSitTargetPos()
  1357. {
  1358. return m_OSSL_Functions.osGetSitTargetPos();
  1359. }
  1360. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1361. public rotation osGetSitTargetRot()
  1362. {
  1363. return m_OSSL_Functions.osGetSitTargetRot();
  1364. }
  1365. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1366. public vector osGetStandTarget()
  1367. {
  1368. return m_OSSL_Functions.osGetStandTarget();
  1369. }
  1370. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1371. public vector osGetLinkStandTarget(LSL_Integer linkNumber)
  1372. {
  1373. return m_OSSL_Functions.osGetLinkStandTarget(linkNumber);
  1374. }
  1375. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1376. public LSL_Integer osClearObjectAnimations()
  1377. {
  1378. return m_OSSL_Functions.osClearObjectAnimations();
  1379. }
  1380. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1381. public LSL_Float osGetApparentTime()
  1382. {
  1383. return m_OSSL_Functions.osGetApparentTime();
  1384. }
  1385. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1386. public LSL_String osGetApparentTimeString(LSL_Integer format24)
  1387. {
  1388. return m_OSSL_Functions.osGetApparentTimeString(format24);
  1389. }
  1390. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1391. public LSL_Float osGetApparentRegionTime()
  1392. {
  1393. return m_OSSL_Functions.osGetApparentRegionTime();
  1394. }
  1395. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1396. public LSL_String osGetApparentRegionTimeString(LSL_Integer format24)
  1397. {
  1398. return m_OSSL_Functions.osGetApparentRegionTimeString(format24);
  1399. }
  1400. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1401. public LSL_Integer osReplaceAgentEnvironment(LSL_Key agentkey, LSL_Integer transition, LSL_String daycycle)
  1402. {
  1403. return m_OSSL_Functions.osReplaceAgentEnvironment(agentkey, transition, daycycle);
  1404. }
  1405. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1406. public LSL_Integer osReplaceParcelEnvironment(LSL_Integer transition, LSL_String daycycle)
  1407. {
  1408. return m_OSSL_Functions.osReplaceParcelEnvironment(transition, daycycle);
  1409. }
  1410. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1411. public LSL_Integer osReplaceRegionEnvironment(LSL_Integer transition, LSL_String daycycle,
  1412. LSL_Float daylen, LSL_Float dayoffset, LSL_Float altitude1, LSL_Float altitude2, LSL_Float altitude3)
  1413. {
  1414. return m_OSSL_Functions.osReplaceRegionEnvironment(transition, daycycle, daylen,
  1415. dayoffset, altitude1, altitude2, altitude3);
  1416. }
  1417. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1418. public LSL_Integer osResetEnvironment(LSL_Integer parcelOrRegion, LSL_Integer transition)
  1419. {
  1420. return m_OSSL_Functions.osResetEnvironment(parcelOrRegion, transition);
  1421. }
  1422. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1423. public void osParticleSystem(LSL_List rules)
  1424. {
  1425. m_OSSL_Functions.osParticleSystem(rules);
  1426. }
  1427. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1428. public void osLinkParticleSystem(LSL_Integer linknumber, LSL_List rules)
  1429. {
  1430. m_OSSL_Functions.osLinkParticleSystem(linknumber, rules);
  1431. }
  1432. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1433. public LSL_Integer osNpcLookAt(LSL_Key npckey, LSL_Integer type, LSL_Key objkey, vector offset)
  1434. {
  1435. return m_OSSL_Functions.osNpcLookAt(npckey, type, objkey, offset);
  1436. }
  1437. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1438. public LSL_Integer osAvatarType(LSL_Key avkey)
  1439. {
  1440. return m_OSSL_Functions.osAvatarType(avkey);
  1441. }
  1442. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1443. public LSL_Integer osAvatarType(LSL_String sFirstName, LSL_String sLastName)
  1444. {
  1445. return m_OSSL_Functions.osAvatarType(sFirstName, sLastName);
  1446. }
  1447. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1448. public void osListSortInPlace(LSL_List src, LSL_Integer stride, LSL_Integer ascending)
  1449. {
  1450. m_OSSL_Functions.osListSortInPlace(src, stride, ascending);
  1451. }
  1452. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1453. public void osListSortInPlaceStrided(LSL_List src, LSL_Integer stride, LSL_Integer stride_index, LSL_Integer ascending)
  1454. {
  1455. m_OSSL_Functions.osListSortInPlaceStrided(src, stride, stride_index, ascending);
  1456. }
  1457. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1458. public LSL_List osGetParcelDetails(LSL_Key id, LSL_List param)
  1459. {
  1460. return m_OSSL_Functions.osGetParcelDetails(id, param);
  1461. }
  1462. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1463. public LSL_List osGetParcelIDs()
  1464. {
  1465. return m_OSSL_Functions.osGetParcelIDs();
  1466. }
  1467. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1468. public LSL_Key osGetParcelID()
  1469. {
  1470. return m_OSSL_Functions.osGetParcelID();
  1471. }
  1472. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1473. public LSL_List osOldList2ListStrided(LSL_List src, int start, int end, int stride)
  1474. {
  1475. return m_OSSL_Functions.osOldList2ListStrided(src, start, end, stride);
  1476. }
  1477. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1478. public LSL_Integer osGetPrimCount()
  1479. {
  1480. return m_OSSL_Functions.osGetPrimCount();
  1481. }
  1482. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1483. public LSL_Integer osGetPrimCount(LSL_Key object_id)
  1484. {
  1485. return m_OSSL_Functions.osGetPrimCount(object_id);
  1486. }
  1487. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1488. public LSL_Integer osGetSittingAvatarsCount()
  1489. {
  1490. return m_OSSL_Functions.osGetSittingAvatarsCount();
  1491. }
  1492. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1493. public LSL_Integer osGetSittingAvatarsCount(LSL_Key object_id)
  1494. {
  1495. return m_OSSL_Functions.osGetSittingAvatarsCount(object_id);
  1496. }
  1497. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1498. public LSL_String osAESEncrypt(string secret, string plainText)
  1499. {
  1500. return m_OSSL_Functions.osAESEncrypt(secret, plainText);
  1501. }
  1502. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1503. public LSL_String osAESEncryptTo(string secret, string plainText, string ivString)
  1504. {
  1505. return m_OSSL_Functions.osAESEncryptTo(secret, plainText, ivString);
  1506. }
  1507. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1508. public LSL_String osAESDecrypt(string secret, string encryptedText)
  1509. {
  1510. return m_OSSL_Functions.osAESDecrypt(secret, encryptedText);
  1511. }
  1512. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1513. public LSL_String osAESDecryptFrom(string secret, string encryptedText, string ivString)
  1514. {
  1515. return m_OSSL_Functions.osAESDecryptFrom(secret, encryptedText, ivString);
  1516. }
  1517. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1518. public vector osGetLinkColor(LSL_Integer link, LSL_Integer face)
  1519. {
  1520. return m_OSSL_Functions.osGetLinkColor(link, face);
  1521. }
  1522. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1523. public vector osTemperature2sRBG(LSL_Float dtemp)
  1524. {
  1525. return m_OSSL_Functions.osTemperature2sRGB(dtemp);
  1526. }
  1527. }
  1528. }