lycheedev 2.0.5 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1260) hide show
  1. package/THIRD_PARTY_NOTICES +23 -12
  2. package/native/windows-amd64/lycheedev.exe +0 -0
  3. package/package.json +1 -1
  4. package/payload/addon/Bridge/ActivityView.lua +70 -0
  5. package/payload/addon/Bridge/CaptureWriter.lua +11 -1
  6. package/payload/addon/Bridge/FaultRunner.lua +4 -1
  7. package/payload/addon/Bridge/InputProtocol.lua +76 -0
  8. package/payload/addon/Bridge/Investigation.lua +159 -0
  9. package/payload/addon/Bridge/ProbeQueue.lua +26 -4
  10. package/payload/addon/Bridge/ProbeRunner.lua +159 -17
  11. package/payload/addon/Bridge/ReceiptView.lua +95 -11
  12. package/payload/addon/Bridge/Receiver.lua +326 -0
  13. package/payload/addon/Bridge/ReceiverBindings.lua +241 -0
  14. package/payload/addon/Bridge/Reentry.lua +11 -10
  15. package/payload/addon/Bridge/ReportStore.lua +62 -8
  16. package/payload/addon/Bridge/Session.lua +13 -3
  17. package/payload/addon/Bridge/StartupBeacon.lua +66 -0
  18. package/payload/addon/Core/Compat.lua +19 -0
  19. package/payload/addon/Core/Controls.lua +43 -2
  20. package/payload/addon/Core/Locale.lua +53 -2
  21. package/payload/addon/Core/Locale_enUS.lua +53 -2
  22. package/payload/addon/Core/Persistence.lua +25 -1
  23. package/payload/addon/Core/Runtime.lua +4 -1
  24. package/payload/addon/Lychee Dev.toc +10 -1
  25. package/payload/addon/Media/RoundedPanel.png +0 -0
  26. package/payload/addon/Modules/AutomationView.lua +14 -4
  27. package/payload/addon/UI/Export.lua +14 -16
  28. package/payload/addon/UI/Pages/About.lua +37 -56
  29. package/payload/addon/UI/Pages/Automation.lua +82 -51
  30. package/payload/addon/UI/Pages/Diagnostics.lua +34 -44
  31. package/payload/addon/UI/Pages/Events.lua +64 -108
  32. package/payload/addon/UI/Pages/ExportRecords.lua +53 -30
  33. package/payload/addon/UI/Pages/Object.lua +59 -63
  34. package/payload/addon/UI/Pages/Run.lua +33 -23
  35. package/payload/addon/UI/Pages/Settings.lua +82 -0
  36. package/payload/addon/UI/Pages/Trace.lua +20 -30
  37. package/payload/addon/UI/Theme.lua +152 -0
  38. package/payload/addon/UI/TreeView.lua +8 -4
  39. package/payload/addon/UI/Widgets.lua +279 -152
  40. package/payload/addon/UI/Window.lua +255 -53
  41. package/payload/skill/SKILL.md +56 -17
  42. package/payload/skill/references/addon-validation.md +16 -3
  43. package/payload/skill/references/asset-export.md +8 -2
  44. package/payload/skill/references/commands.md +56 -44
  45. package/payload/skill/references/data-investigation.md +47 -5
  46. package/payload/skill/references/data-query-recipes.md +73 -0
  47. package/payload/skill/references/error-diagnosis.md +10 -2
  48. package/payload/skill/references/installation.md +19 -0
  49. package/payload/skill/references/live-investigation.md +221 -40
  50. package/payload/skill/references/live-startup.md +79 -28
  51. package/payload/skill/references/runtime-investigations.md +88 -0
  52. package/payload/skill/references/source-research.md +96 -24
  53. package/payload/tool/luals/LICENSE +21 -0
  54. package/payload/tool/luals/bin/concrt140.dll +0 -0
  55. package/payload/tool/luals/bin/lua-language-server.exe +0 -0
  56. package/payload/tool/luals/bin/main.lua +85 -0
  57. package/payload/tool/luals/bin/msvcp140.dll +0 -0
  58. package/payload/tool/luals/bin/msvcp140_1.dll +0 -0
  59. package/payload/tool/luals/bin/msvcp140_2.dll +0 -0
  60. package/payload/tool/luals/bin/msvcp140_atomic_wait.dll +0 -0
  61. package/payload/tool/luals/bin/msvcp140_codecvt_ids.dll +0 -0
  62. package/payload/tool/luals/bin/vcruntime140.dll +0 -0
  63. package/payload/tool/luals/bin/vcruntime140_1.dll +0 -0
  64. package/payload/tool/luals/bin/vcruntime140_threads.dll +0 -0
  65. package/payload/tool/luals/changelog.md +2413 -0
  66. package/payload/tool/luals/debugger.lua +66 -0
  67. package/payload/tool/luals/locale/en-us/meta.lua +885 -0
  68. package/payload/tool/luals/locale/en-us/script.lua +1346 -0
  69. package/payload/tool/luals/locale/en-us/setting.lua +621 -0
  70. package/payload/tool/luals/locale/es-419/meta.lua +884 -0
  71. package/payload/tool/luals/locale/es-419/script.lua +1349 -0
  72. package/payload/tool/luals/locale/es-419/setting.lua +625 -0
  73. package/payload/tool/luals/locale/ja-jp/meta.lua +880 -0
  74. package/payload/tool/luals/locale/ja-jp/script.lua +1341 -0
  75. package/payload/tool/luals/locale/ja-jp/setting.lua +620 -0
  76. package/payload/tool/luals/locale/pt-br/meta.lua +885 -0
  77. package/payload/tool/luals/locale/pt-br/script.lua +1343 -0
  78. package/payload/tool/luals/locale/pt-br/setting.lua +620 -0
  79. package/payload/tool/luals/locale/zh-cn/meta.lua +864 -0
  80. package/payload/tool/luals/locale/zh-cn/script.lua +1337 -0
  81. package/payload/tool/luals/locale/zh-cn/setting.lua +619 -0
  82. package/payload/tool/luals/locale/zh-tw/meta.lua +868 -0
  83. package/payload/tool/luals/locale/zh-tw/script.lua +1333 -0
  84. package/payload/tool/luals/locale/zh-tw/setting.lua +619 -0
  85. package/payload/tool/luals/main.lua +85 -0
  86. package/payload/tool/luals/meta/3rd/Cocos4.0/config.json +7 -0
  87. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Action.lua +81 -0
  88. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionCamera.lua +44 -0
  89. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionEase.lua +26 -0
  90. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionFloat.lua +43 -0
  91. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionInstant.lua +27 -0
  92. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionInterval.lua +40 -0
  93. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionManager.lua +121 -0
  94. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionTween.lua +44 -0
  95. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AmbientLight.lua +18 -0
  96. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animate.lua +49 -0
  97. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animate3D.lua +106 -0
  98. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animation.lua +107 -0
  99. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animation3D.lua +26 -0
  100. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AnimationCache.lua +58 -0
  101. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AnimationFrame.lua +55 -0
  102. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Application.lua +35 -0
  103. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AssetsManager.lua +66 -0
  104. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AssetsManagerEx.lua +60 -0
  105. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AsyncTaskPool.lua +28 -0
  106. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AtlasNode.lua +95 -0
  107. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AttachNode.lua +29 -0
  108. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AudioEngine.lua +148 -0
  109. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AudioProfile.lua +10 -0
  110. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AutoPolygon.lua +13 -0
  111. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BaseLight.lua +31 -0
  112. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BezierBy.lua +29 -0
  113. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BezierTo.lua +24 -0
  114. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BillBoard.lua +38 -0
  115. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Blink.lua +40 -0
  116. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Bundle3D.lua +56 -0
  117. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CSLoader.lua +65 -0
  118. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CallFunc.lua +22 -0
  119. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Camera.lua +163 -0
  120. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundBrush.lua +64 -0
  121. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundColorBrush.lua +33 -0
  122. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundDepthBrush.lua +31 -0
  123. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundSkyBoxBrush.lua +49 -0
  124. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CardinalSplineBy.lua +23 -0
  125. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CardinalSplineTo.lua +42 -0
  126. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CatmullRomBy.lua +19 -0
  127. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CatmullRomTo.lua +19 -0
  128. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ClippingNode.lua +74 -0
  129. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ClippingRectangleNode.lua +35 -0
  130. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Component.lua +43 -0
  131. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ComponentLua.lua +21 -0
  132. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Console.lua +37 -0
  133. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Control.lua +91 -0
  134. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlButton.lua +260 -0
  135. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlColourPicker.lua +55 -0
  136. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlHuePicker.lua +64 -0
  137. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlPotentiometer.lua +119 -0
  138. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSaturationBrightnessPicker.lua +44 -0
  139. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua +106 -0
  140. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlStepper.lua +108 -0
  141. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSwitch.lua +70 -0
  142. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Controller.lua +53 -0
  143. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DelayTime.lua +25 -0
  144. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Device.lua +31 -0
  145. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DirectionLight.lua +31 -0
  146. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Director.lua +306 -0
  147. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DrawNode.lua +182 -0
  148. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackIn.lua +23 -0
  149. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackInOut.lua +23 -0
  150. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackOut.lua +23 -0
  151. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBezierAction.lua +32 -0
  152. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounce.lua +5 -0
  153. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceIn.lua +23 -0
  154. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceInOut.lua +23 -0
  155. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceOut.lua +23 -0
  156. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionIn.lua +23 -0
  157. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionInOut.lua +23 -0
  158. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionOut.lua +23 -0
  159. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionIn.lua +23 -0
  160. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionInOut.lua +23 -0
  161. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionOut.lua +23 -0
  162. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElastic.lua +23 -0
  163. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticIn.lua +24 -0
  164. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticInOut.lua +24 -0
  165. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticOut.lua +24 -0
  166. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialIn.lua +23 -0
  167. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialInOut.lua +23 -0
  168. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialOut.lua +23 -0
  169. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseIn.lua +24 -0
  170. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseInOut.lua +24 -0
  171. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseOut.lua +24 -0
  172. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionIn.lua +23 -0
  173. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionInOut.lua +23 -0
  174. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionOut.lua +23 -0
  175. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionIn.lua +23 -0
  176. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionInOut.lua +23 -0
  177. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionOut.lua +23 -0
  178. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionIn.lua +23 -0
  179. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionInOut.lua +23 -0
  180. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionOut.lua +23 -0
  181. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseRateAction.lua +28 -0
  182. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineIn.lua +23 -0
  183. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineInOut.lua +23 -0
  184. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineOut.lua +23 -0
  185. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Event.lua +27 -0
  186. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventAcceleration.lua +5 -0
  187. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventAssetsManagerEx.lua +53 -0
  188. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventController.lua +37 -0
  189. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventCustom.lua +16 -0
  190. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventDispatcher.lua +111 -0
  191. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventFocus.lua +14 -0
  192. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventKeyboard.lua +14 -0
  193. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListener.lua +26 -0
  194. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerAcceleration.lua +19 -0
  195. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerAssetsManagerEx.lua +20 -0
  196. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerController.lua +16 -0
  197. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerCustom.lua +15 -0
  198. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerFocus.lua +18 -0
  199. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerKeyboard.lua +18 -0
  200. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerMouse.lua +18 -0
  201. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContact.lua +16 -0
  202. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithBodies.lua +19 -0
  203. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithGroup.lua +18 -0
  204. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithShapes.lua +19 -0
  205. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerTouchAllAtOnce.lua +18 -0
  206. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerTouchOneByOne.lua +27 -0
  207. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventMouse.lua +88 -0
  208. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventTouch.lua +19 -0
  209. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeIn.lua +29 -0
  210. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOut.lua +28 -0
  211. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutBLTiles.lua +25 -0
  212. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutDownTiles.lua +25 -0
  213. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutTRTiles.lua +49 -0
  214. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutUpTiles.lua +30 -0
  215. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeTo.lua +37 -0
  216. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FastTMXLayer.lua +132 -0
  217. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FastTMXTiledMap.lua +87 -0
  218. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FileUtils.lua +340 -0
  219. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FiniteTimeAction.lua +21 -0
  220. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipX.lua +29 -0
  221. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipX3D.lua +36 -0
  222. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipY.lua +29 -0
  223. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipY3D.lua +22 -0
  224. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Follow.lua +85 -0
  225. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GLView.lua +184 -0
  226. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GLViewImpl.lua +30 -0
  227. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Grid3D.lua +43 -0
  228. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Grid3DAction.lua +16 -0
  229. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GridAction.lua +28 -0
  230. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GridBase.lua +86 -0
  231. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Hide.lua +23 -0
  232. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Image.lua +70 -0
  233. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpBy.lua +43 -0
  234. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpTiles3D.lua +58 -0
  235. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpTo.lua +39 -0
  236. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Label.lua +397 -0
  237. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LabelAtlas.lua +42 -0
  238. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Layer.lua +19 -0
  239. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerColor.lua +67 -0
  240. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerGradient.lua +86 -0
  241. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerMultiplex.lua +37 -0
  242. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua +100 -0
  243. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Lens3D.lua +63 -0
  244. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Liquid.lua +58 -0
  245. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Manifest.lua +27 -0
  246. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Material.lua +88 -0
  247. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Menu.lua +68 -0
  248. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItem.lua +34 -0
  249. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemAtlasFont.lua +18 -0
  250. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemFont.lua +54 -0
  251. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemImage.lua +31 -0
  252. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemLabel.lua +48 -0
  253. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemSprite.lua +48 -0
  254. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemToggle.lua +47 -0
  255. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Mesh.lua +82 -0
  256. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MotionStreak.lua +121 -0
  257. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MotionStreak3D.lua +143 -0
  258. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MoveBy.lua +35 -0
  259. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MoveTo.lua +31 -0
  260. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMesh.lua +47 -0
  261. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMeshAgent.lua +122 -0
  262. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMeshObstacle.lua +49 -0
  263. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Node.lua +802 -0
  264. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NodeGrid.lua +43 -0
  265. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/OrbitCamera.lua +48 -0
  266. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PUParticleSystem3D.lua +192 -0
  267. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PageTurn3D.lua +24 -0
  268. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParallaxNode.lua +49 -0
  269. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleBatchNode.lua +116 -0
  270. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleData.lua +24 -0
  271. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleExplosion.lua +27 -0
  272. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFire.lua +27 -0
  273. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFireworks.lua +27 -0
  274. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFlower.lua +27 -0
  275. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleGalaxy.lua +27 -0
  276. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleMeteor.lua +27 -0
  277. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleRain.lua +27 -0
  278. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSmoke.lua +27 -0
  279. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSnow.lua +27 -0
  280. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSpiral.lua +27 -0
  281. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSun.lua +27 -0
  282. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystem.lua +526 -0
  283. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystem3D.lua +87 -0
  284. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystemQuad.lua +52 -0
  285. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Pass.lua +148 -0
  286. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3D6DofConstraint.lua +58 -0
  287. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua +46 -0
  288. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DConeTwistConstraint.lua +97 -0
  289. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DConstraint.lua +46 -0
  290. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DHingeConstraint.lua +100 -0
  291. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DObject.lua +39 -0
  292. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DPointToPointConstraint.lua +39 -0
  293. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DRigidBody.lua +201 -0
  294. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua +64 -0
  295. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DSliderConstraint.lua +245 -0
  296. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DWorld.lua +63 -0
  297. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsBody.lua +335 -0
  298. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua +21 -0
  299. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContactPostSolve.lua +15 -0
  300. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContactPreSolve.lua +30 -0
  301. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua +48 -0
  302. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointDistance.lua +28 -0
  303. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointFixed.lua +19 -0
  304. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointGear.lua +35 -0
  305. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointGroove.lua +44 -0
  306. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointLimit.lua +47 -0
  307. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointMotor.lua +26 -0
  308. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointPin.lua +17 -0
  309. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRatchet.lua +42 -0
  310. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotaryLimit.lua +31 -0
  311. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua +42 -0
  312. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointSpring.lua +60 -0
  313. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShape.lua +155 -0
  314. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeBox.lua +25 -0
  315. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua +44 -0
  316. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeBox.lua +22 -0
  317. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeChain.lua +14 -0
  318. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgePolygon.lua +14 -0
  319. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeSegment.lua +30 -0
  320. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapePolygon.lua +24 -0
  321. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsSprite3D.lua +22 -0
  322. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsWorld.lua +147 -0
  323. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Place.lua +29 -0
  324. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PointLight.lua +29 -0
  325. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PolygonInfo.lua +60 -0
  326. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressFromTo.lua +43 -0
  327. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressTimer.lua +107 -0
  328. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressTo.lua +39 -0
  329. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Properties.lua +226 -0
  330. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProtectedNode.lua +96 -0
  331. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Ref.lua +25 -0
  332. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RemoveSelf.lua +28 -0
  333. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RenderState.lua +15 -0
  334. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RenderTexture.lua +166 -0
  335. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Renderer.lua +251 -0
  336. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Repeat.lua +51 -0
  337. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RepeatForever.lua +45 -0
  338. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ReuseGrid.lua +31 -0
  339. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Ripple3D.lua +75 -0
  340. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RotateBy.lua +39 -0
  341. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RotateTo.lua +38 -0
  342. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ScaleBy.lua +28 -0
  343. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ScaleTo.lua +41 -0
  344. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Scene.lua +72 -0
  345. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Scheduler.lua +30 -0
  346. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sequence.lua +38 -0
  347. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShaderCache.lua +27 -0
  348. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Shaky3D.lua +40 -0
  349. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShakyTiles3D.lua +40 -0
  350. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.lua +40 -0
  351. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Show.lua +23 -0
  352. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShuffleTiles.lua +44 -0
  353. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Skeleton3D.lua +41 -0
  354. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SkewBy.lua +35 -0
  355. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SkewTo.lua +39 -0
  356. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Skybox.lua +44 -0
  357. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Spawn.lua +35 -0
  358. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Speed.lua +60 -0
  359. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SplitCols.lua +36 -0
  360. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SplitRows.lua +36 -0
  361. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpotLight.lua +70 -0
  362. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite.lua +337 -0
  363. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3D.lua +118 -0
  364. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3DCache.lua +22 -0
  365. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3DMaterial.lua +35 -0
  366. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteBatchNode.lua +188 -0
  367. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteFrame.lua +153 -0
  368. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteFrameCache.lua +106 -0
  369. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/StopGrid.lua +23 -0
  370. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXLayer.lua +141 -0
  371. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXLayerInfo.lua +16 -0
  372. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXMapInfo.lua +161 -0
  373. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXObjectGroup.lua +58 -0
  374. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXTiledMap.lua +106 -0
  375. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXTilesetInfo.lua +13 -0
  376. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TableView.lua +81 -0
  377. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TableViewCell.lua +22 -0
  378. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TargetedAction.lua +48 -0
  379. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Technique.lua +41 -0
  380. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Terrain.lua +108 -0
  381. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Texture2D.lua +161 -0
  382. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TextureCache.lua +98 -0
  383. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TextureCube.lua +36 -0
  384. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TileMapAtlas.lua +39 -0
  385. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TiledGrid3D.lua +25 -0
  386. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TiledGrid3DAction.lua +12 -0
  387. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Timer.lua +32 -0
  388. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TintBy.lua +42 -0
  389. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TintTo.lua +38 -0
  390. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ToggleVisibility.lua +23 -0
  391. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Touch.lua +61 -0
  392. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionCrossFade.lua +23 -0
  393. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionEaseScene.lua +13 -0
  394. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFade.lua +23 -0
  395. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeBL.lua +21 -0
  396. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeDown.lua +21 -0
  397. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeTR.lua +33 -0
  398. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeUp.lua +21 -0
  399. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipAngular.lua +16 -0
  400. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipX.lua +16 -0
  401. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipY.lua +16 -0
  402. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionJumpZoom.lua +17 -0
  403. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInB.lua +17 -0
  404. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInL.lua +25 -0
  405. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInR.lua +17 -0
  406. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInT.lua +17 -0
  407. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionPageTurn.lua +45 -0
  408. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgress.lua +17 -0
  409. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressHorizontal.lua +17 -0
  410. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressInOut.lua +17 -0
  411. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressOutIn.lua +17 -0
  412. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressRadialCCW.lua +17 -0
  413. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressRadialCW.lua +17 -0
  414. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressVertical.lua +17 -0
  415. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionRotoZoom.lua +17 -0
  416. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionScene.lua +43 -0
  417. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua +25 -0
  418. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionShrinkGrow.lua +21 -0
  419. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInB.lua +20 -0
  420. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInL.lua +25 -0
  421. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInR.lua +20 -0
  422. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInT.lua +20 -0
  423. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSplitCols.lua +31 -0
  424. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSplitRows.lua +20 -0
  425. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionTurnOffTiles.lua +27 -0
  426. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipAngular.lua +16 -0
  427. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipX.lua +16 -0
  428. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipY.lua +16 -0
  429. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TurnOffTiles.lua +47 -0
  430. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Twirl.lua +71 -0
  431. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/UserDefault.lua +98 -0
  432. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Waves.lua +66 -0
  433. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Waves3D.lua +58 -0
  434. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/WavesTiles3D.lua +58 -0
  435. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/Program.lua +51 -0
  436. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/ProgramState.lua +40 -0
  437. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/Texture2DBackend.lua +70 -0
  438. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/TextureBackend.lua +48 -0
  439. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/TextureCubemapBackend.lua +13 -0
  440. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/VertexLayout.lua +39 -0
  441. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionFadeFrame.lua +24 -0
  442. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionFrame.lua +56 -0
  443. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionManagerEx.lua +45 -0
  444. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionMoveFrame.lua +24 -0
  445. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionObject.lua +82 -0
  446. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionRotationFrame.lua +24 -0
  447. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionScaleFrame.lua +33 -0
  448. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimeline.lua +162 -0
  449. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineCache.lua +53 -0
  450. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineData.lua +24 -0
  451. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineNode.lua +36 -0
  452. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTintFrame.lua +24 -0
  453. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AlphaFrame.lua +22 -0
  454. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AnchorPointFrame.lua +22 -0
  455. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AnimationData.lua +23 -0
  456. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Armature.lua +136 -0
  457. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureAnimation.lua +100 -0
  458. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureData.lua +23 -0
  459. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua +101 -0
  460. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureDisplayData.lua +12 -0
  461. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BaseData.lua +19 -0
  462. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BatchNode.lua +30 -0
  463. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BlendFuncFrame.lua +22 -0
  464. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Bone.lua +164 -0
  465. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BoneData.lua +23 -0
  466. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BoneNode.lua +129 -0
  467. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ColorFrame.lua +22 -0
  468. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComAttribute.lua +63 -0
  469. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua +131 -0
  470. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComController.lua +30 -0
  471. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComExtensionData.lua +40 -0
  472. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComRender.lua +34 -0
  473. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ContourData.lua +19 -0
  474. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/DisplayData.lua +20 -0
  475. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/DisplayManager.lua +89 -0
  476. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/EventFrame.lua +29 -0
  477. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Frame.lua +58 -0
  478. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/FrameData.lua +16 -0
  479. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/GUIReader.lua +31 -0
  480. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/InnerActionFrame.lua +51 -0
  481. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/MovementBoneData.lua +23 -0
  482. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/MovementData.lua +20 -0
  483. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ParticleDisplayData.lua +12 -0
  484. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/PlayableFrame.lua +22 -0
  485. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua +36 -0
  486. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/RotationFrame.lua +22 -0
  487. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/RotationSkewFrame.lua +15 -0
  488. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ScaleFrame.lua +33 -0
  489. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SceneReader.lua +32 -0
  490. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SkeletonNode.lua +37 -0
  491. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SkewFrame.lua +29 -0
  492. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Skin.lua +54 -0
  493. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SpriteDisplayData.lua +16 -0
  494. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/TextureData.lua +23 -0
  495. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/TextureFrame.lua +26 -0
  496. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Timeline.lua +60 -0
  497. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Tween.lua +55 -0
  498. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/VisibleFrame.lua +22 -0
  499. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ZOrderFrame.lua +22 -0
  500. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/AbstractCheckButton.lua +146 -0
  501. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Button.lua +223 -0
  502. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/CheckBox.lua +32 -0
  503. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/EditBox.lua +320 -0
  504. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/HBox.lua +23 -0
  505. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Helper.lua +70 -0
  506. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ImageView.lua +89 -0
  507. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Layout.lua +217 -0
  508. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LayoutComponent.lua +248 -0
  509. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LayoutParameter.lua +32 -0
  510. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LinearLayoutParameter.lua +32 -0
  511. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ListView.lua +302 -0
  512. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LoadingBar.lua +84 -0
  513. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/PageView.lua +177 -0
  514. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RadioButton.lua +32 -0
  515. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RadioButtonGroup.lua +70 -0
  516. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RelativeBox.lua +23 -0
  517. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RelativeLayoutParameter.lua +50 -0
  518. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElement.lua +29 -0
  519. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementCustomNode.lua +35 -0
  520. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementImage.lua +55 -0
  521. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementNewLine.lua +21 -0
  522. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementText.lua +107 -0
  523. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichText.lua +208 -0
  524. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Scale9Sprite.lua +222 -0
  525. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ScrollView.lua +375 -0
  526. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Slider.lua +188 -0
  527. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TabControl.lua +101 -0
  528. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TabHeader.lua +71 -0
  529. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Text.lua +203 -0
  530. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextAtlas.lua +65 -0
  531. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextBMFont.lua +52 -0
  532. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextField.lua +245 -0
  533. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/VBox.lua +23 -0
  534. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/VideoPlayer.lua +111 -0
  535. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/WebView.lua +90 -0
  536. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Widget.lua +396 -0
  537. package/payload/tool/luals/meta/3rd/Cocos4.0/library/global.lua +215 -0
  538. package/payload/tool/luals/meta/3rd/Cocos4.0/library/sp/SkeletonAnimation.lua +111 -0
  539. package/payload/tool/luals/meta/3rd/Cocos4.0/library/sp/SkeletonRenderer.lua +126 -0
  540. package/payload/tool/luals/meta/3rd/Defold/config.json +22 -0
  541. package/payload/tool/luals/meta/3rd/Defold/library/base.lua +83 -0
  542. package/payload/tool/luals/meta/3rd/Defold/library/buffer.lua +68 -0
  543. package/payload/tool/luals/meta/3rd/Defold/library/built-ins.lua +24 -0
  544. package/payload/tool/luals/meta/3rd/Defold/library/collection_factory.lua +54 -0
  545. package/payload/tool/luals/meta/3rd/Defold/library/collection_proxy.lua +9 -0
  546. package/payload/tool/luals/meta/3rd/Defold/library/collision_object.lua +149 -0
  547. package/payload/tool/luals/meta/3rd/Defold/library/factory.lua +47 -0
  548. package/payload/tool/luals/meta/3rd/Defold/library/game_object.lua +340 -0
  549. package/payload/tool/luals/meta/3rd/Defold/library/gui.lua +929 -0
  550. package/payload/tool/luals/meta/3rd/Defold/library/html5.lua +23 -0
  551. package/payload/tool/luals/meta/3rd/Defold/library/http.lua +18 -0
  552. package/payload/tool/luals/meta/3rd/Defold/library/image.lua +20 -0
  553. package/payload/tool/luals/meta/3rd/Defold/library/json.lua +20 -0
  554. package/payload/tool/luals/meta/3rd/Defold/library/label.lua +20 -0
  555. package/payload/tool/luals/meta/3rd/Defold/library/luasocket.lua +484 -0
  556. package/payload/tool/luals/meta/3rd/Defold/library/message.lua +56 -0
  557. package/payload/tool/luals/meta/3rd/Defold/library/model.lua +43 -0
  558. package/payload/tool/luals/meta/3rd/Defold/library/particle_effects.lua +52 -0
  559. package/payload/tool/luals/meta/3rd/Defold/library/profiler.lua +89 -0
  560. package/payload/tool/luals/meta/3rd/Defold/library/render.lua +439 -0
  561. package/payload/tool/luals/meta/3rd/Defold/library/resource.lua +181 -0
  562. package/payload/tool/luals/meta/3rd/Defold/library/sound.lua +126 -0
  563. package/payload/tool/luals/meta/3rd/Defold/library/sprite.lua +32 -0
  564. package/payload/tool/luals/meta/3rd/Defold/library/system.lua +161 -0
  565. package/payload/tool/luals/meta/3rd/Defold/library/tilemap.lua +78 -0
  566. package/payload/tool/luals/meta/3rd/Defold/library/timer.lua +36 -0
  567. package/payload/tool/luals/meta/3rd/Defold/library/vector_math.lua +406 -0
  568. package/payload/tool/luals/meta/3rd/Defold/library/window.lua +56 -0
  569. package/payload/tool/luals/meta/3rd/Defold/library/zlib.lua +18 -0
  570. package/payload/tool/luals/meta/3rd/Jass/config.json +6 -0
  571. package/payload/tool/luals/meta/3rd/Jass/library/jass/common.lua +12329 -0
  572. package/payload/tool/luals/meta/3rd/OpenResty/config.json +19 -0
  573. package/payload/tool/luals/meta/3rd/OpenResty/library/cjson/safe.lua +42 -0
  574. package/payload/tool/luals/meta/3rd/OpenResty/library/cjson.lua +470 -0
  575. package/payload/tool/luals/meta/3rd/OpenResty/library/jit.lua +31 -0
  576. package/payload/tool/luals/meta/3rd/OpenResty/library/ndk.lua +4 -0
  577. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/balancer.lua +117 -0
  578. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/base64.lua +21 -0
  579. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/errlog.lua +119 -0
  580. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ocsp.lua +60 -0
  581. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/pipe.lua +307 -0
  582. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/process.lua +48 -0
  583. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/re.lua +102 -0
  584. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/req.lua +16 -0
  585. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/resp.lua +23 -0
  586. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/semaphore.lua +62 -0
  587. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl/clienthello.lua +99 -0
  588. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl/session.lua +51 -0
  589. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl.lua +276 -0
  590. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/upstream.lua +9 -0
  591. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx.lua +4351 -0
  592. package/payload/tool/luals/meta/3rd/OpenResty/library/prometheus.lua +247 -0
  593. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/aes.lua +74 -0
  594. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/base.lua +51 -0
  595. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/base64.lua +4 -0
  596. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/ctx.lua +9 -0
  597. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/exit.lua +4 -0
  598. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/hash.lua +4 -0
  599. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/misc.lua +6 -0
  600. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/ndk.lua +4 -0
  601. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/phase.lua +4 -0
  602. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/regex.lua +55 -0
  603. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/request.lua +5 -0
  604. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/response.lua +5 -0
  605. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/shdict.lua +4 -0
  606. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/time.lua +4 -0
  607. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/uri.lua +4 -0
  608. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/utils.lua +10 -0
  609. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/var.lua +4 -0
  610. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/worker.lua +4 -0
  611. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core.lua +4 -0
  612. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/dns/resolver.lua +395 -0
  613. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/conn.lua +11 -0
  614. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/count.lua +7 -0
  615. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/req.lua +9 -0
  616. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/traffic.lua +5 -0
  617. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lock.lua +125 -0
  618. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lrucache/pureffi.lua +18 -0
  619. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lrucache.lua +107 -0
  620. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/md5.lua +16 -0
  621. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/memcached.lua +27 -0
  622. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/mysql.lua +15 -0
  623. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/random.lua +10 -0
  624. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/redis.lua +57 -0
  625. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha.lua +4 -0
  626. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha1.lua +10 -0
  627. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha224.lua +10 -0
  628. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha256.lua +10 -0
  629. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha384.lua +10 -0
  630. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha512.lua +10 -0
  631. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/shell.lua +60 -0
  632. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/signal.lua +69 -0
  633. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/string.lua +72 -0
  634. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/upload.lua +7 -0
  635. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/upstream/healthcheck.lua +6 -0
  636. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/client.lua +62 -0
  637. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/protocol.lua +172 -0
  638. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/server.lua +16 -0
  639. package/payload/tool/luals/meta/3rd/OpenResty/library/table/clone.lua +25 -0
  640. package/payload/tool/luals/meta/3rd/OpenResty/library/table/isarray.lua +23 -0
  641. package/payload/tool/luals/meta/3rd/OpenResty/library/table/isempty.lua +22 -0
  642. package/payload/tool/luals/meta/3rd/OpenResty/library/table/nkeys.lua +23 -0
  643. package/payload/tool/luals/meta/3rd/OpenResty/library/tablepool.lua +29 -0
  644. package/payload/tool/luals/meta/3rd/OpenResty/library/thread/exdata.lua +43 -0
  645. package/payload/tool/luals/meta/3rd/OpenResty/library/thread/exdata2.lua +8 -0
  646. package/payload/tool/luals/meta/3rd/bee/LICENSE +21 -0
  647. package/payload/tool/luals/meta/3rd/bee/config.json +5 -0
  648. package/payload/tool/luals/meta/3rd/bee/library/bee/channel.lua +24 -0
  649. package/payload/tool/luals/meta/3rd/bee/library/bee/epoll.lua +58 -0
  650. package/payload/tool/luals/meta/3rd/bee/library/bee/filesystem.lua +189 -0
  651. package/payload/tool/luals/meta/3rd/bee/library/bee/platform.lua +62 -0
  652. package/payload/tool/luals/meta/3rd/bee/library/bee/select.lua +34 -0
  653. package/payload/tool/luals/meta/3rd/bee/library/bee/serialization.lua +14 -0
  654. package/payload/tool/luals/meta/3rd/bee/library/bee/socket.lua +102 -0
  655. package/payload/tool/luals/meta/3rd/bee/library/bee/subprocess.lua +82 -0
  656. package/payload/tool/luals/meta/3rd/bee/library/bee/sys.lua +12 -0
  657. package/payload/tool/luals/meta/3rd/bee/library/bee/thread.lua +48 -0
  658. package/payload/tool/luals/meta/3rd/bee/library/bee/time.lua +10 -0
  659. package/payload/tool/luals/meta/3rd/busted/config.json +7 -0
  660. package/payload/tool/luals/meta/3rd/busted/library/busted.lua +298 -0
  661. package/payload/tool/luals/meta/3rd/example/config.json +22 -0
  662. package/payload/tool/luals/meta/3rd/example/library/love.lua +8 -0
  663. package/payload/tool/luals/meta/3rd/example/plugin.lua +16 -0
  664. package/payload/tool/luals/meta/3rd/ffi-reflect/config.json +3 -0
  665. package/payload/tool/luals/meta/3rd/ffi-reflect/library/reflect.lua +128 -0
  666. package/payload/tool/luals/meta/3rd/lfs/config.json +9 -0
  667. package/payload/tool/luals/meta/3rd/lfs/library/lfs.lua +145 -0
  668. package/payload/tool/luals/meta/3rd/love2d/config.json +10 -0
  669. package/payload/tool/luals/meta/3rd/love2d/library/love/audio.lua +980 -0
  670. package/payload/tool/luals/meta/3rd/love2d/library/love/data.lua +264 -0
  671. package/payload/tool/luals/meta/3rd/love2d/library/love/event.lua +244 -0
  672. package/payload/tool/luals/meta/3rd/love2d/library/love/filesystem.lua +653 -0
  673. package/payload/tool/luals/meta/3rd/love2d/library/love/font.lua +281 -0
  674. package/payload/tool/luals/meta/3rd/love2d/library/love/graphics.lua +3977 -0
  675. package/payload/tool/luals/meta/3rd/love2d/library/love/image.lua +695 -0
  676. package/payload/tool/luals/meta/3rd/love2d/library/love/joystick.lua +464 -0
  677. package/payload/tool/luals/meta/3rd/love2d/library/love/keyboard.lua +1484 -0
  678. package/payload/tool/luals/meta/3rd/love2d/library/love/math.lua +704 -0
  679. package/payload/tool/luals/meta/3rd/love2d/library/love/mouse.lua +283 -0
  680. package/payload/tool/luals/meta/3rd/love2d/library/love/physics.lua +3281 -0
  681. package/payload/tool/luals/meta/3rd/love2d/library/love/sound.lua +189 -0
  682. package/payload/tool/luals/meta/3rd/love2d/library/love/system.lua +115 -0
  683. package/payload/tool/luals/meta/3rd/love2d/library/love/thread.lua +210 -0
  684. package/payload/tool/luals/meta/3rd/love2d/library/love/timer.lua +68 -0
  685. package/payload/tool/luals/meta/3rd/love2d/library/love/touch.lua +40 -0
  686. package/payload/tool/luals/meta/3rd/love2d/library/love/video.lua +92 -0
  687. package/payload/tool/luals/meta/3rd/love2d/library/love/window.lua +473 -0
  688. package/payload/tool/luals/meta/3rd/love2d/library/love.lua +334 -0
  689. package/payload/tool/luals/meta/3rd/lovr/config.json +7 -0
  690. package/payload/tool/luals/meta/3rd/lovr/library/callback.lua +230 -0
  691. package/payload/tool/luals/meta/3rd/lovr/library/lovr/audio.lua +844 -0
  692. package/payload/tool/luals/meta/3rd/lovr/library/lovr/data.lua +1557 -0
  693. package/payload/tool/luals/meta/3rd/lovr/library/lovr/event.lua +430 -0
  694. package/payload/tool/luals/meta/3rd/lovr/library/lovr/filesystem.lua +317 -0
  695. package/payload/tool/luals/meta/3rd/lovr/library/lovr/graphics.lua +3541 -0
  696. package/payload/tool/luals/meta/3rd/lovr/library/lovr/headset.lua +791 -0
  697. package/payload/tool/luals/meta/3rd/lovr/library/lovr/math.lua +1233 -0
  698. package/payload/tool/luals/meta/3rd/lovr/library/lovr/physics.lua +1779 -0
  699. package/payload/tool/luals/meta/3rd/lovr/library/lovr/system.lua +110 -0
  700. package/payload/tool/luals/meta/3rd/lovr/library/lovr/thread.lua +170 -0
  701. package/payload/tool/luals/meta/3rd/lovr/library/lovr/timer.lua +59 -0
  702. package/payload/tool/luals/meta/3rd/lovr/library/lovr.lua +42 -0
  703. package/payload/tool/luals/meta/3rd/luaecs/config.json +4 -0
  704. package/payload/tool/luals/meta/3rd/luaecs/library/ecs.lua +355 -0
  705. package/payload/tool/luals/meta/3rd/luassert/config.json +3 -0
  706. package/payload/tool/luals/meta/3rd/luassert/library/luassert/array.lua +15 -0
  707. package/payload/tool/luals/meta/3rd/luassert/library/luassert/match.lua +413 -0
  708. package/payload/tool/luals/meta/3rd/luassert/library/luassert/mock.lua +28 -0
  709. package/payload/tool/luals/meta/3rd/luassert/library/luassert/spy.d.lua +100 -0
  710. package/payload/tool/luals/meta/3rd/luassert/library/luassert/spy.lua +81 -0
  711. package/payload/tool/luals/meta/3rd/luassert/library/luassert/stub.lua +50 -0
  712. package/payload/tool/luals/meta/3rd/luassert/library/luassert.lua +441 -0
  713. package/payload/tool/luals/meta/3rd/luv/config.json +8 -0
  714. package/payload/tool/luals/meta/3rd/luv/library/errors.lua +261 -0
  715. package/payload/tool/luals/meta/3rd/luv/library/luv_dir_t.lua +34 -0
  716. package/payload/tool/luals/meta/3rd/luv/library/luv_thread_t.lua +20 -0
  717. package/payload/tool/luals/meta/3rd/luv/library/luv_work_ctx_t.lua +17 -0
  718. package/payload/tool/luals/meta/3rd/luv/library/types.lua +526 -0
  719. package/payload/tool/luals/meta/3rd/luv/library/uv.lua +3075 -0
  720. package/payload/tool/luals/meta/3rd/luv/library/uv_async_t.lua +35 -0
  721. package/payload/tool/luals/meta/3rd/luv/library/uv_check_t.lua +29 -0
  722. package/payload/tool/luals/meta/3rd/luv/library/uv_fs_event_t.lua +33 -0
  723. package/payload/tool/luals/meta/3rd/luv/library/uv_fs_poll_t.lua +35 -0
  724. package/payload/tool/luals/meta/3rd/luv/library/uv_handle_t.lua +132 -0
  725. package/payload/tool/luals/meta/3rd/luv/library/uv_idle_t.lua +38 -0
  726. package/payload/tool/luals/meta/3rd/luv/library/uv_pipe_t.lua +103 -0
  727. package/payload/tool/luals/meta/3rd/luv/library/uv_poll_t.lua +57 -0
  728. package/payload/tool/luals/meta/3rd/luv/library/uv_prepare_t.lua +30 -0
  729. package/payload/tool/luals/meta/3rd/luv/library/uv_process_t.lua +22 -0
  730. package/payload/tool/luals/meta/3rd/luv/library/uv_req_t.lua +25 -0
  731. package/payload/tool/luals/meta/3rd/luv/library/uv_signal_t.lua +69 -0
  732. package/payload/tool/luals/meta/3rd/luv/library/uv_stream_t.lua +173 -0
  733. package/payload/tool/luals/meta/3rd/luv/library/uv_tcp_t.lua +112 -0
  734. package/payload/tool/luals/meta/3rd/luv/library/uv_timer_t.lua +55 -0
  735. package/payload/tool/luals/meta/3rd/luv/library/uv_tty_t.lua +44 -0
  736. package/payload/tool/luals/meta/3rd/luv/library/uv_udp_t.lua +175 -0
  737. package/payload/tool/luals/meta/3rd/skynet/config.json +4 -0
  738. package/payload/tool/luals/meta/3rd/skynet/library/skynet/cluster.lua +44 -0
  739. package/payload/tool/luals/meta/3rd/skynet/library/skynet/crypt.lua +74 -0
  740. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/mongo.lua +176 -0
  741. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/mysql.lua +43 -0
  742. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/redis.lua +70 -0
  743. package/payload/tool/luals/meta/3rd/skynet/library/skynet/debug.lua +13 -0
  744. package/payload/tool/luals/meta/3rd/skynet/library/skynet/habor.lua +22 -0
  745. package/payload/tool/luals/meta/3rd/skynet/library/skynet/muliticast.lua +23 -0
  746. package/payload/tool/luals/meta/3rd/skynet/library/skynet/netpack.lua +38 -0
  747. package/payload/tool/luals/meta/3rd/skynet/library/skynet/profile.lua +19 -0
  748. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharedata.lua +33 -0
  749. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharemap.lua +46 -0
  750. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharetable.lua +32 -0
  751. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socket.lua +117 -0
  752. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socketchannel.lua +58 -0
  753. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socketdriver.lua +132 -0
  754. package/payload/tool/luals/meta/3rd/skynet/library/skynet/stm.lua +32 -0
  755. package/payload/tool/luals/meta/3rd/skynet/library/skynet.lua +479 -0
  756. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/basic.lua +467 -0
  757. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/bit.lua +76 -0
  758. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/bit32.lua +156 -0
  759. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/builtin.lua +16 -0
  760. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/coroutine.lua +96 -0
  761. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/debug.lua +268 -0
  762. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/ffi.lua +121 -0
  763. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/io.lua +265 -0
  764. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit/profile.lua +19 -0
  765. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit/util.lua +119 -0
  766. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit.lua +42 -0
  767. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/math.lua +381 -0
  768. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/os.lua +244 -0
  769. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/package.lua +107 -0
  770. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/string/buffer.lua +353 -0
  771. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/string.lua +219 -0
  772. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table/clear.lua +17 -0
  773. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table/new.lua +19 -0
  774. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table.lua +177 -0
  775. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/utf8.lua +87 -0
  776. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/basic.lua +453 -0
  777. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/bit.lua +76 -0
  778. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/bit32.lua +156 -0
  779. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/builtin.lua +16 -0
  780. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/coroutine.lua +96 -0
  781. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/debug.lua +262 -0
  782. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/ffi.lua +121 -0
  783. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/io.lua +265 -0
  784. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit/profile.lua +19 -0
  785. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit/util.lua +119 -0
  786. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit.lua +42 -0
  787. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/math.lua +364 -0
  788. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/os.lua +244 -0
  789. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/package.lua +106 -0
  790. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/string/buffer.lua +353 -0
  791. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/string.lua +219 -0
  792. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table/clear.lua +17 -0
  793. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table/new.lua +19 -0
  794. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table.lua +177 -0
  795. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/utf8.lua +84 -0
  796. package/payload/tool/luals/meta/default utf8/CS.lua +14408 -0
  797. package/payload/tool/luals/meta/default utf8/System.CodeDom.Compiler.lua +822 -0
  798. package/payload/tool/luals/meta/default utf8/System.CodeDom.lua +1452 -0
  799. package/payload/tool/luals/meta/default utf8/System.Collections.Concurrent.lua +541 -0
  800. package/payload/tool/luals/meta/default utf8/System.Collections.Generic.lua +1397 -0
  801. package/payload/tool/luals/meta/default utf8/System.Collections.ObjectModel.lua +189 -0
  802. package/payload/tool/luals/meta/default utf8/System.Collections.Specialized.lua +607 -0
  803. package/payload/tool/luals/meta/default utf8/System.Collections.lua +915 -0
  804. package/payload/tool/luals/meta/default utf8/System.ComponentModel.Design.Serialization.lua +427 -0
  805. package/payload/tool/luals/meta/default utf8/System.ComponentModel.Design.lua +1582 -0
  806. package/payload/tool/luals/meta/default utf8/System.ComponentModel.lua +4997 -0
  807. package/payload/tool/luals/meta/default utf8/System.Configuration.Assemblies.lua +61 -0
  808. package/payload/tool/luals/meta/default utf8/System.Configuration.lua +926 -0
  809. package/payload/tool/luals/meta/default utf8/System.Data.Common.lua +1823 -0
  810. package/payload/tool/luals/meta/default utf8/System.Data.Odbc.lua +931 -0
  811. package/payload/tool/luals/meta/default utf8/System.Data.OleDb.lua +1156 -0
  812. package/payload/tool/luals/meta/default utf8/System.Data.Sql.lua +24 -0
  813. package/payload/tool/luals/meta/default utf8/System.Data.SqlClient.lua +1959 -0
  814. package/payload/tool/luals/meta/default utf8/System.Data.SqlTypes.lua +4007 -0
  815. package/payload/tool/luals/meta/default utf8/System.Data.lua +3614 -0
  816. package/payload/tool/luals/meta/default utf8/System.Deployment.Internal.lua +49 -0
  817. package/payload/tool/luals/meta/default utf8/System.Diagnostics.CodeAnalysis.lua +24 -0
  818. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Contracts.Internal.lua +22 -0
  819. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Contracts.lua +251 -0
  820. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Eventing.Reader.lua +744 -0
  821. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Eventing.lua +179 -0
  822. package/payload/tool/luals/meta/default utf8/System.Diagnostics.PerformanceData.lua +155 -0
  823. package/payload/tool/luals/meta/default utf8/System.Diagnostics.SymbolStore.lua +485 -0
  824. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Tracing.lua +591 -0
  825. package/payload/tool/luals/meta/default utf8/System.Diagnostics.lua +3178 -0
  826. package/payload/tool/luals/meta/default utf8/System.Dynamic.lua +672 -0
  827. package/payload/tool/luals/meta/default utf8/System.Globalization.lua +3076 -0
  828. package/payload/tool/luals/meta/default utf8/System.IO.Compression.lua +249 -0
  829. package/payload/tool/luals/meta/default utf8/System.IO.IsolatedStorage.lua +400 -0
  830. package/payload/tool/luals/meta/default utf8/System.IO.MemoryMappedFiles.lua +302 -0
  831. package/payload/tool/luals/meta/default utf8/System.IO.Pipes.lua +412 -0
  832. package/payload/tool/luals/meta/default utf8/System.IO.Ports.lua +367 -0
  833. package/payload/tool/luals/meta/default utf8/System.IO.lua +2977 -0
  834. package/payload/tool/luals/meta/default utf8/System.Linq.Expressions.lua +3141 -0
  835. package/payload/tool/luals/meta/default utf8/System.Linq.lua +2737 -0
  836. package/payload/tool/luals/meta/default utf8/System.Management.Instrumentation.lua +180 -0
  837. package/payload/tool/luals/meta/default utf8/System.Media.lua +89 -0
  838. package/payload/tool/luals/meta/default utf8/System.Net.Cache.lua +109 -0
  839. package/payload/tool/luals/meta/default utf8/System.Net.Configuration.lua +564 -0
  840. package/payload/tool/luals/meta/default utf8/System.Net.Http.Headers.lua +950 -0
  841. package/payload/tool/luals/meta/default utf8/System.Net.Http.lua +529 -0
  842. package/payload/tool/luals/meta/default utf8/System.Net.Mail.lua +566 -0
  843. package/payload/tool/luals/meta/default utf8/System.Net.Mime.lua +143 -0
  844. package/payload/tool/luals/meta/default utf8/System.Net.NetworkInformation.lua +1500 -0
  845. package/payload/tool/luals/meta/default utf8/System.Net.Security.lua +677 -0
  846. package/payload/tool/luals/meta/default utf8/System.Net.Sockets.lua +2133 -0
  847. package/payload/tool/luals/meta/default utf8/System.Net.WebSockets.lua +368 -0
  848. package/payload/tool/luals/meta/default utf8/System.Net.lua +3584 -0
  849. package/payload/tool/luals/meta/default utf8/System.Numerics.lua +2511 -0
  850. package/payload/tool/luals/meta/default utf8/System.Reflection.Emit.lua +3816 -0
  851. package/payload/tool/luals/meta/default utf8/System.Reflection.lua +2924 -0
  852. package/payload/tool/luals/meta/default utf8/System.Resources.lua +270 -0
  853. package/payload/tool/luals/meta/default utf8/System.Runtime.CompilerServices.lua +1317 -0
  854. package/payload/tool/luals/meta/default utf8/System.Runtime.ConstrainedExecution.lua +58 -0
  855. package/payload/tool/luals/meta/default utf8/System.Runtime.DesignerServices.lua +26 -0
  856. package/payload/tool/luals/meta/default utf8/System.Runtime.ExceptionServices.lua +30 -0
  857. package/payload/tool/luals/meta/default utf8/System.Runtime.Hosting.lua +33 -0
  858. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.ComTypes.lua +1839 -0
  859. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.Expando.lua +26 -0
  860. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.WindowsRuntime.lua +208 -0
  861. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.lua +6387 -0
  862. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Activation.lua +85 -0
  863. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Channels.lua +552 -0
  864. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Contexts.lua +321 -0
  865. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Lifetime.lua +109 -0
  866. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Messaging.lua +680 -0
  867. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Metadata.W3cXsd2001.lua +723 -0
  868. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Metadata.lua +110 -0
  869. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Proxies.lua +87 -0
  870. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Services.lua +58 -0
  871. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.lua +612 -0
  872. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Configuration.lua +169 -0
  873. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Formatters.Binary.lua +60 -0
  874. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Formatters.lua +172 -0
  875. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Json.lua +239 -0
  876. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.lua +1581 -0
  877. package/payload/tool/luals/meta/default utf8/System.Runtime.Versioning.lua +145 -0
  878. package/payload/tool/luals/meta/default utf8/System.Runtime.lua +87 -0
  879. package/payload/tool/luals/meta/default utf8/System.Security.AccessControl.lua +2112 -0
  880. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.ExtendedProtection.Configuration.lua +58 -0
  881. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.ExtendedProtection.lua +144 -0
  882. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.lua +87 -0
  883. package/payload/tool/luals/meta/default utf8/System.Security.Claims.lua +378 -0
  884. package/payload/tool/luals/meta/default utf8/System.Security.Cryptography.X509Certificates.lua +1235 -0
  885. package/payload/tool/luals/meta/default utf8/System.Security.Cryptography.lua +3923 -0
  886. package/payload/tool/luals/meta/default utf8/System.Security.Permissions.lua +1720 -0
  887. package/payload/tool/luals/meta/default utf8/System.Security.Policy.lua +1384 -0
  888. package/payload/tool/luals/meta/default utf8/System.Security.Principal.lua +589 -0
  889. package/payload/tool/luals/meta/default utf8/System.Security.lua +939 -0
  890. package/payload/tool/luals/meta/default utf8/System.Text.RegularExpressions.lua +520 -0
  891. package/payload/tool/luals/meta/default utf8/System.Text.lua +1712 -0
  892. package/payload/tool/luals/meta/default utf8/System.Threading.Tasks.lua +1899 -0
  893. package/payload/tool/luals/meta/default utf8/System.Threading.lua +2558 -0
  894. package/payload/tool/luals/meta/default utf8/System.Timers.lua +80 -0
  895. package/payload/tool/luals/meta/default utf8/System.Web.lua +74 -0
  896. package/payload/tool/luals/meta/default utf8/System.Windows.Input.lua +25 -0
  897. package/payload/tool/luals/meta/default utf8/System.Windows.Markup.lua +10 -0
  898. package/payload/tool/luals/meta/default utf8/System.Xml.Linq.lua +1307 -0
  899. package/payload/tool/luals/meta/default utf8/System.Xml.Resolvers.lua +81 -0
  900. package/payload/tool/luals/meta/default utf8/System.Xml.Schema.lua +1738 -0
  901. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.Advanced.lua +99 -0
  902. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.Configuration.lua +116 -0
  903. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.lua +1756 -0
  904. package/payload/tool/luals/meta/default utf8/System.Xml.XPath.lua +791 -0
  905. package/payload/tool/luals/meta/default utf8/System.Xml.XmlConfiguration.lua +18 -0
  906. package/payload/tool/luals/meta/default utf8/System.Xml.Xsl.lua +522 -0
  907. package/payload/tool/luals/meta/default utf8/System.Xml.lua +5751 -0
  908. package/payload/tool/luals/meta/default utf8/System.lua +16165 -0
  909. package/payload/tool/luals/meta/default utf8/UnityEngine.AI.lua +1625 -0
  910. package/payload/tool/luals/meta/default utf8/UnityEngine.Accessibility.lua +26 -0
  911. package/payload/tool/luals/meta/default utf8/UnityEngine.Analytics.lua +2323 -0
  912. package/payload/tool/luals/meta/default utf8/UnityEngine.Android.lua +596 -0
  913. package/payload/tool/luals/meta/default utf8/UnityEngine.Animations.lua +3555 -0
  914. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.ReplayKit.lua +201 -0
  915. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.TV.lua +14 -0
  916. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.lua +74 -0
  917. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.Comparers.lua +64 -0
  918. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.Must.lua +131 -0
  919. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.lua +937 -0
  920. package/payload/tool/luals/meta/default utf8/UnityEngine.Audio.lua +371 -0
  921. package/payload/tool/luals/meta/default utf8/UnityEngine.Build.Pipeline.lua +84 -0
  922. package/payload/tool/luals/meta/default utf8/UnityEngine.CrashReportHandler.lua +35 -0
  923. package/payload/tool/luals/meta/default utf8/UnityEngine.Diagnostics.lua +91 -0
  924. package/payload/tool/luals/meta/default utf8/UnityEngine.EventSystems.lua +959 -0
  925. package/payload/tool/luals/meta/default utf8/UnityEngine.Events.lua +425 -0
  926. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.AI.lua +426 -0
  927. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Animations.lua +74 -0
  928. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.AssetBundlePatching.lua +11 -0
  929. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Audio.lua +231 -0
  930. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.GlobalIllumination.lua +957 -0
  931. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Playables.lua +210 -0
  932. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Rendering.lua +2058 -0
  933. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.TerrainAPI.lua +905 -0
  934. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Video.lua +107 -0
  935. package/payload/tool/luals/meta/default utf8/UnityEngine.Internal.lua +23 -0
  936. package/payload/tool/luals/meta/default utf8/UnityEngine.Jobs.lua +169 -0
  937. package/payload/tool/luals/meta/default utf8/UnityEngine.LowLevel.lua +87 -0
  938. package/payload/tool/luals/meta/default utf8/UnityEngine.Lumin.lua +11 -0
  939. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.Match.lua +272 -0
  940. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.PlayerConnection.lua +110 -0
  941. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.Types.lua +157 -0
  942. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.lua +2772 -0
  943. package/payload/tool/luals/meta/default utf8/UnityEngine.ParticleSystemJobs.lua +222 -0
  944. package/payload/tool/luals/meta/default utf8/UnityEngine.Playables.lua +1646 -0
  945. package/payload/tool/luals/meta/default utf8/UnityEngine.PlayerLoop.lua +1161 -0
  946. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.Experimental.lua +29 -0
  947. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.Memory.Experimental.lua +95 -0
  948. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.lua +564 -0
  949. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.PostProcessing.lua +2145 -0
  950. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.VirtualTexturing.lua +673 -0
  951. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.lua +11996 -0
  952. package/payload/tool/luals/meta/default utf8/UnityEngine.SceneManagement.lua +715 -0
  953. package/payload/tool/luals/meta/default utf8/UnityEngine.Scripting.APIUpdating.lua +8 -0
  954. package/payload/tool/luals/meta/default utf8/UnityEngine.Scripting.lua +139 -0
  955. package/payload/tool/luals/meta/default utf8/UnityEngine.SearchService.lua +33 -0
  956. package/payload/tool/luals/meta/default utf8/UnityEngine.Serialization.lua +35 -0
  957. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.GameCenter.lua +84 -0
  958. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.Impl.lua +252 -0
  959. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.lua +487 -0
  960. package/payload/tool/luals/meta/default utf8/UnityEngine.Sprites.lua +41 -0
  961. package/payload/tool/luals/meta/default utf8/UnityEngine.Subsystems.lua +27 -0
  962. package/payload/tool/luals/meta/default utf8/UnityEngine.SubsystemsImplementation.Extensions.lua +20 -0
  963. package/payload/tool/luals/meta/default utf8/UnityEngine.SubsystemsImplementation.lua +125 -0
  964. package/payload/tool/luals/meta/default utf8/UnityEngine.TestTools.lua +163 -0
  965. package/payload/tool/luals/meta/default utf8/UnityEngine.TextCore.LowLevel.lua +680 -0
  966. package/payload/tool/luals/meta/default utf8/UnityEngine.TextCore.lua +284 -0
  967. package/payload/tool/luals/meta/default utf8/UnityEngine.Tilemaps.lua +1278 -0
  968. package/payload/tool/luals/meta/default utf8/UnityEngine.Timeline.lua +1386 -0
  969. package/payload/tool/luals/meta/default utf8/UnityEngine.U2D.lua +582 -0
  970. package/payload/tool/luals/meta/default utf8/UnityEngine.UI.lua +2813 -0
  971. package/payload/tool/luals/meta/default utf8/UnityEngine.UIElements.Experimental.lua +575 -0
  972. package/payload/tool/luals/meta/default utf8/UnityEngine.UIElements.lua +8986 -0
  973. package/payload/tool/luals/meta/default utf8/UnityEngine.VFX.lua +2888 -0
  974. package/payload/tool/luals/meta/default utf8/UnityEngine.Video.lua +927 -0
  975. package/payload/tool/luals/meta/default utf8/UnityEngine.WSA.lua +1018 -0
  976. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.Speech.lua +667 -0
  977. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.WebCam.lua +756 -0
  978. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.lua +189 -0
  979. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.Provider.lua +16 -0
  980. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.WSA.lua +15 -0
  981. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.lua +2757 -0
  982. package/payload/tool/luals/meta/default utf8/UnityEngine.iOS.lua +1359 -0
  983. package/payload/tool/luals/meta/default utf8/UnityEngine.lua +78477 -0
  984. package/payload/tool/luals/meta/default utf8/UnityEngine.tvOS.lua +119 -0
  985. package/payload/tool/luals/meta/default utf8/UnityEngineInternal.XR.WSA.lua +13 -0
  986. package/payload/tool/luals/meta/default utf8/UnityEngineInternal.lua +158 -0
  987. package/payload/tool/luals/meta/spell/dictionary.txt +82834 -0
  988. package/payload/tool/luals/meta/spell/lua_dict.txt +230 -0
  989. package/payload/tool/luals/meta/template/basic.lua +404 -0
  990. package/payload/tool/luals/meta/template/bit.lua +77 -0
  991. package/payload/tool/luals/meta/template/bit32.lua +86 -0
  992. package/payload/tool/luals/meta/template/builtin.lua +16 -0
  993. package/payload/tool/luals/meta/template/coroutine.lua +68 -0
  994. package/payload/tool/luals/meta/template/debug.lua +221 -0
  995. package/payload/tool/luals/meta/template/ffi.lua +122 -0
  996. package/payload/tool/luals/meta/template/io.lua +170 -0
  997. package/payload/tool/luals/meta/template/jit.lua +43 -0
  998. package/payload/tool/luals/meta/template/jit.profile.lua +20 -0
  999. package/payload/tool/luals/meta/template/jit.util.lua +120 -0
  1000. package/payload/tool/luals/meta/template/math.lua +255 -0
  1001. package/payload/tool/luals/meta/template/os.lua +136 -0
  1002. package/payload/tool/luals/meta/template/package.lua +66 -0
  1003. package/payload/tool/luals/meta/template/string.buffer.lua +354 -0
  1004. package/payload/tool/luals/meta/template/string.lua +161 -0
  1005. package/payload/tool/luals/meta/template/table.clear.lua +9 -0
  1006. package/payload/tool/luals/meta/template/table.lua +114 -0
  1007. package/payload/tool/luals/meta/template/table.new.lua +11 -0
  1008. package/payload/tool/luals/meta/template/utf8.lua +91 -0
  1009. package/payload/tool/luals/meta/whimsical/basic.lua +50 -0
  1010. package/payload/tool/luals/meta/whimsical/builtin.lua +18 -0
  1011. package/payload/tool/luals/meta/whimsical/rule.lua +128 -0
  1012. package/payload/tool/luals/runtime.json +1 -0
  1013. package/payload/tool/luals/script/SDBMHash.lua +60 -0
  1014. package/payload/tool/luals/script/await.lua +267 -0
  1015. package/payload/tool/luals/script/brave/brave.lua +84 -0
  1016. package/payload/tool/luals/script/brave/init.lua +4 -0
  1017. package/payload/tool/luals/script/brave/log.lua +55 -0
  1018. package/payload/tool/luals/script/brave/work.lua +125 -0
  1019. package/payload/tool/luals/script/cli/check.lua +120 -0
  1020. package/payload/tool/luals/script/cli/check_worker.lua +295 -0
  1021. package/payload/tool/luals/script/cli/doc/export.lua +362 -0
  1022. package/payload/tool/luals/script/cli/doc/init.lua +258 -0
  1023. package/payload/tool/luals/script/cli/help.lua +170 -0
  1024. package/payload/tool/luals/script/cli/init.lua +34 -0
  1025. package/payload/tool/luals/script/cli/version.lua +2 -0
  1026. package/payload/tool/luals/script/cli/visualize.lua +106 -0
  1027. package/payload/tool/luals/script/client.lua +668 -0
  1028. package/payload/tool/luals/script/config/config.lua +277 -0
  1029. package/payload/tool/luals/script/config/env.lua +67 -0
  1030. package/payload/tool/luals/script/config/init.lua +3 -0
  1031. package/payload/tool/luals/script/config/loader.lua +131 -0
  1032. package/payload/tool/luals/script/config/template.lua +462 -0
  1033. package/payload/tool/luals/script/core/code-action.lua +749 -0
  1034. package/payload/tool/luals/script/core/code-lens.lua +166 -0
  1035. package/payload/tool/luals/script/core/color.lua +97 -0
  1036. package/payload/tool/luals/script/core/command/autoRequire.lua +164 -0
  1037. package/payload/tool/luals/script/core/command/exportDocument.lua +15 -0
  1038. package/payload/tool/luals/script/core/command/getConfig.lua +13 -0
  1039. package/payload/tool/luals/script/core/command/jsonToLua.lua +54 -0
  1040. package/payload/tool/luals/script/core/command/reloadFFIMeta.lua +56 -0
  1041. package/payload/tool/luals/script/core/command/removeSpace.lua +60 -0
  1042. package/payload/tool/luals/script/core/command/setConfig.lua +11 -0
  1043. package/payload/tool/luals/script/core/command/solve.lua +99 -0
  1044. package/payload/tool/luals/script/core/completion/auto-require.lua +168 -0
  1045. package/payload/tool/luals/script/core/completion/completion.lua +2408 -0
  1046. package/payload/tool/luals/script/core/completion/init.lua +1 -0
  1047. package/payload/tool/luals/script/core/completion/keyword.lua +409 -0
  1048. package/payload/tool/luals/script/core/completion/postfix.lua +413 -0
  1049. package/payload/tool/luals/script/core/definition.lua +238 -0
  1050. package/payload/tool/luals/script/core/diagnostics/ambiguity-1.lua +79 -0
  1051. package/payload/tool/luals/script/core/diagnostics/assign-type-mismatch.lua +121 -0
  1052. package/payload/tool/luals/script/core/diagnostics/await-in-sync.lua +30 -0
  1053. package/payload/tool/luals/script/core/diagnostics/cast-local-type.lua +54 -0
  1054. package/payload/tool/luals/script/core/diagnostics/cast-type-mismatch.lua +46 -0
  1055. package/payload/tool/luals/script/core/diagnostics/circle-doc-class.lua +58 -0
  1056. package/payload/tool/luals/script/core/diagnostics/close-non-object.lua +40 -0
  1057. package/payload/tool/luals/script/core/diagnostics/code-after-break.lua +38 -0
  1058. package/payload/tool/luals/script/core/diagnostics/codestyle-check.lua +41 -0
  1059. package/payload/tool/luals/script/core/diagnostics/count-down-loop.lua +51 -0
  1060. package/payload/tool/luals/script/core/diagnostics/deprecated.lua +82 -0
  1061. package/payload/tool/luals/script/core/diagnostics/different-requires.lua +54 -0
  1062. package/payload/tool/luals/script/core/diagnostics/discard-returns.lua +30 -0
  1063. package/payload/tool/luals/script/core/diagnostics/doc-field-no-class.lua +41 -0
  1064. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-alias.lua +54 -0
  1065. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-field.lua +94 -0
  1066. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-param.lua +37 -0
  1067. package/payload/tool/luals/script/core/diagnostics/duplicate-index.lua +65 -0
  1068. package/payload/tool/luals/script/core/diagnostics/duplicate-set-field.lua +101 -0
  1069. package/payload/tool/luals/script/core/diagnostics/empty-block.lua +54 -0
  1070. package/payload/tool/luals/script/core/diagnostics/global-element.lua +76 -0
  1071. package/payload/tool/luals/script/core/diagnostics/global-in-nil-env.lua +42 -0
  1072. package/payload/tool/luals/script/core/diagnostics/helper/missing-doc-helper.lua +83 -0
  1073. package/payload/tool/luals/script/core/diagnostics/incomplete-signature-doc.lua +109 -0
  1074. package/payload/tool/luals/script/core/diagnostics/init.lua +191 -0
  1075. package/payload/tool/luals/script/core/diagnostics/inject-field.lua +150 -0
  1076. package/payload/tool/luals/script/core/diagnostics/invisible.lua +67 -0
  1077. package/payload/tool/luals/script/core/diagnostics/lowercase-global.lua +85 -0
  1078. package/payload/tool/luals/script/core/diagnostics/missing-fields.lua +118 -0
  1079. package/payload/tool/luals/script/core/diagnostics/missing-global-doc.lua +27 -0
  1080. package/payload/tool/luals/script/core/diagnostics/missing-local-export-doc.lua +52 -0
  1081. package/payload/tool/luals/script/core/diagnostics/missing-parameter.lua +32 -0
  1082. package/payload/tool/luals/script/core/diagnostics/missing-return-value.lua +51 -0
  1083. package/payload/tool/luals/script/core/diagnostics/missing-return.lua +76 -0
  1084. package/payload/tool/luals/script/core/diagnostics/name-style-check.lua +35 -0
  1085. package/payload/tool/luals/script/core/diagnostics/need-check-nil.lua +48 -0
  1086. package/payload/tool/luals/script/core/diagnostics/newfield-call.lua +49 -0
  1087. package/payload/tool/luals/script/core/diagnostics/newline-call.lua +54 -0
  1088. package/payload/tool/luals/script/core/diagnostics/no-unknown.lua +36 -0
  1089. package/payload/tool/luals/script/core/diagnostics/not-yieldable.lua +63 -0
  1090. package/payload/tool/luals/script/core/diagnostics/param-type-mismatch.lua +176 -0
  1091. package/payload/tool/luals/script/core/diagnostics/redefined-local.lua +37 -0
  1092. package/payload/tool/luals/script/core/diagnostics/redundant-parameter.lua +73 -0
  1093. package/payload/tool/luals/script/core/diagnostics/redundant-return-value.lua +58 -0
  1094. package/payload/tool/luals/script/core/diagnostics/redundant-return.lua +27 -0
  1095. package/payload/tool/luals/script/core/diagnostics/redundant-value.lua +26 -0
  1096. package/payload/tool/luals/script/core/diagnostics/return-type-mismatch.lua +94 -0
  1097. package/payload/tool/luals/script/core/diagnostics/spell-check.lua +35 -0
  1098. package/payload/tool/luals/script/core/diagnostics/trailing-space.lua +53 -0
  1099. package/payload/tool/luals/script/core/diagnostics/unbalanced-assignments.lua +49 -0
  1100. package/payload/tool/luals/script/core/diagnostics/undefined-doc-class.lua +48 -0
  1101. package/payload/tool/luals/script/core/diagnostics/undefined-doc-name.lua +134 -0
  1102. package/payload/tool/luals/script/core/diagnostics/undefined-doc-param.lua +24 -0
  1103. package/payload/tool/luals/script/core/diagnostics/undefined-env-child.lua +50 -0
  1104. package/payload/tool/luals/script/core/diagnostics/undefined-field.lua +90 -0
  1105. package/payload/tool/luals/script/core/diagnostics/undefined-global.lua +37 -0
  1106. package/payload/tool/luals/script/core/diagnostics/unknown-cast-variable.lua +31 -0
  1107. package/payload/tool/luals/script/core/diagnostics/unknown-diag-code.lua +31 -0
  1108. package/payload/tool/luals/script/core/diagnostics/unknown-operator.lua +33 -0
  1109. package/payload/tool/luals/script/core/diagnostics/unnecessary-assert.lua +29 -0
  1110. package/payload/tool/luals/script/core/diagnostics/unreachable-code.lua +84 -0
  1111. package/payload/tool/luals/script/core/diagnostics/unused-function.lua +129 -0
  1112. package/payload/tool/luals/script/core/diagnostics/unused-label.lua +22 -0
  1113. package/payload/tool/luals/script/core/diagnostics/unused-local.lua +130 -0
  1114. package/payload/tool/luals/script/core/diagnostics/unused-vararg.lua +39 -0
  1115. package/payload/tool/luals/script/core/document-symbol.lua +411 -0
  1116. package/payload/tool/luals/script/core/find-source.lua +33 -0
  1117. package/payload/tool/luals/script/core/fix-indent.lua +188 -0
  1118. package/payload/tool/luals/script/core/folding.lua +184 -0
  1119. package/payload/tool/luals/script/core/formatting.lua +35 -0
  1120. package/payload/tool/luals/script/core/highlight.lua +368 -0
  1121. package/payload/tool/luals/script/core/hint.lua +340 -0
  1122. package/payload/tool/luals/script/core/hover/args.lua +85 -0
  1123. package/payload/tool/luals/script/core/hover/description.lua +545 -0
  1124. package/payload/tool/luals/script/core/hover/init.lua +165 -0
  1125. package/payload/tool/luals/script/core/hover/label.lua +234 -0
  1126. package/payload/tool/luals/script/core/hover/name.lua +104 -0
  1127. package/payload/tool/luals/script/core/hover/return.lua +84 -0
  1128. package/payload/tool/luals/script/core/hover/table.lua +232 -0
  1129. package/payload/tool/luals/script/core/implementation.lua +170 -0
  1130. package/payload/tool/luals/script/core/jump-source.lua +62 -0
  1131. package/payload/tool/luals/script/core/look-backward.lua +102 -0
  1132. package/payload/tool/luals/script/core/matchkey.lua +85 -0
  1133. package/payload/tool/luals/script/core/modifyRequirePath.lua +74 -0
  1134. package/payload/tool/luals/script/core/rangeformatting.lua +33 -0
  1135. package/payload/tool/luals/script/core/reference.lua +160 -0
  1136. package/payload/tool/luals/script/core/rename.lua +466 -0
  1137. package/payload/tool/luals/script/core/semantic-tokens.lua +951 -0
  1138. package/payload/tool/luals/script/core/signature.lua +227 -0
  1139. package/payload/tool/luals/script/core/substring.lua +13 -0
  1140. package/payload/tool/luals/script/core/type-definition.lua +176 -0
  1141. package/payload/tool/luals/script/core/type-formatting.lua +49 -0
  1142. package/payload/tool/luals/script/core/view/psi-select.lua +13 -0
  1143. package/payload/tool/luals/script/core/view/psi-view.lua +96 -0
  1144. package/payload/tool/luals/script/core/workspace-symbol.lua +161 -0
  1145. package/payload/tool/luals/script/doctor.lua +625 -0
  1146. package/payload/tool/luals/script/encoder/ansi.lua +24 -0
  1147. package/payload/tool/luals/script/encoder/init.lua +123 -0
  1148. package/payload/tool/luals/script/encoder/utf16.lua +157 -0
  1149. package/payload/tool/luals/script/file-uri.lua +118 -0
  1150. package/payload/tool/luals/script/files.lua +999 -0
  1151. package/payload/tool/luals/script/filewatch.lua +129 -0
  1152. package/payload/tool/luals/script/fs-utility.lua +667 -0
  1153. package/payload/tool/luals/script/gc.lua +121 -0
  1154. package/payload/tool/luals/script/glob/gitignore.lua +251 -0
  1155. package/payload/tool/luals/script/glob/glob.lua +125 -0
  1156. package/payload/tool/luals/script/glob/init.lua +4 -0
  1157. package/payload/tool/luals/script/glob/matcher.lua +159 -0
  1158. package/payload/tool/luals/script/global.d.lua +113 -0
  1159. package/payload/tool/luals/script/inspect.lua +337 -0
  1160. package/payload/tool/luals/script/json-beautify.lua +176 -0
  1161. package/payload/tool/luals/script/json-edit.lua +725 -0
  1162. package/payload/tool/luals/script/json.lua +555 -0
  1163. package/payload/tool/luals/script/jsonc.lua +374 -0
  1164. package/payload/tool/luals/script/jsonrpc.lua +73 -0
  1165. package/payload/tool/luals/script/language.lua +144 -0
  1166. package/payload/tool/luals/script/lazy-cacher.lua +171 -0
  1167. package/payload/tool/luals/script/lazytable.lua +351 -0
  1168. package/payload/tool/luals/script/lclient.lua +268 -0
  1169. package/payload/tool/luals/script/library.lua +672 -0
  1170. package/payload/tool/luals/script/linked-table.lua +227 -0
  1171. package/payload/tool/luals/script/locale-loader.lua +28 -0
  1172. package/payload/tool/luals/script/log.lua +165 -0
  1173. package/payload/tool/luals/script/meta/bee/channel.lua +36 -0
  1174. package/payload/tool/luals/script/meta/bee/filesystem.lua +117 -0
  1175. package/payload/tool/luals/script/meta/bee/filewatch.lua +32 -0
  1176. package/payload/tool/luals/script/meta/bee/select.lua +46 -0
  1177. package/payload/tool/luals/script/meta/bee/socket.lua +73 -0
  1178. package/payload/tool/luals/script/meta/bee/sys.lua +19 -0
  1179. package/payload/tool/luals/script/meta/bee/thread.lua +52 -0
  1180. package/payload/tool/luals/script/parser/compile.lua +5164 -0
  1181. package/payload/tool/luals/script/parser/guide.lua +1364 -0
  1182. package/payload/tool/luals/script/parser/init.lua +8 -0
  1183. package/payload/tool/luals/script/parser/lines.lua +25 -0
  1184. package/payload/tool/luals/script/parser/luadoc.lua +2424 -0
  1185. package/payload/tool/luals/script/parser/relabel.lua +360 -0
  1186. package/payload/tool/luals/script/parser/tokens.lua +56 -0
  1187. package/payload/tool/luals/script/plugin.lua +176 -0
  1188. package/payload/tool/luals/script/plugins/astHelper.lua +96 -0
  1189. package/payload/tool/luals/script/plugins/ffi/c-parser/c99.lua +731 -0
  1190. package/payload/tool/luals/script/plugins/ffi/c-parser/cdefines.lua +152 -0
  1191. package/payload/tool/luals/script/plugins/ffi/c-parser/cdriver.lua +54 -0
  1192. package/payload/tool/luals/script/plugins/ffi/c-parser/cpp.lua +870 -0
  1193. package/payload/tool/luals/script/plugins/ffi/c-parser/ctypes.lua +604 -0
  1194. package/payload/tool/luals/script/plugins/ffi/c-parser/typed.lua +172 -0
  1195. package/payload/tool/luals/script/plugins/ffi/c-parser/util.lua +28 -0
  1196. package/payload/tool/luals/script/plugins/ffi/cdefRerence.lua +37 -0
  1197. package/payload/tool/luals/script/plugins/ffi/init.lua +373 -0
  1198. package/payload/tool/luals/script/plugins/ffi/searchCode.lua +69 -0
  1199. package/payload/tool/luals/script/plugins/init.lua +1 -0
  1200. package/payload/tool/luals/script/plugins/nodeHelper.lua +72 -0
  1201. package/payload/tool/luals/script/progress.lua +182 -0
  1202. package/payload/tool/luals/script/proto/converter.lua +235 -0
  1203. package/payload/tool/luals/script/proto/define.lua +197 -0
  1204. package/payload/tool/luals/script/proto/diagnostic.lua +306 -0
  1205. package/payload/tool/luals/script/proto/init.lua +3 -0
  1206. package/payload/tool/luals/script/proto/proto.lua +308 -0
  1207. package/payload/tool/luals/script/provider/build-meta.lua +153 -0
  1208. package/payload/tool/luals/script/provider/capability.lua +84 -0
  1209. package/payload/tool/luals/script/provider/code-lens.lua +29 -0
  1210. package/payload/tool/luals/script/provider/completion.lua +104 -0
  1211. package/payload/tool/luals/script/provider/diagnostic.lua +727 -0
  1212. package/payload/tool/luals/script/provider/formatting.lua +101 -0
  1213. package/payload/tool/luals/script/provider/init.lua +2 -0
  1214. package/payload/tool/luals/script/provider/inlay-hint.lua +29 -0
  1215. package/payload/tool/luals/script/provider/language-configuration.lua +113 -0
  1216. package/payload/tool/luals/script/provider/markdown.lua +163 -0
  1217. package/payload/tool/luals/script/provider/name-style.lua +28 -0
  1218. package/payload/tool/luals/script/provider/provider.lua +1671 -0
  1219. package/payload/tool/luals/script/provider/semantic-tokens.lua +29 -0
  1220. package/payload/tool/luals/script/provider/spell.lua +51 -0
  1221. package/payload/tool/luals/script/pub/init.lua +4 -0
  1222. package/payload/tool/luals/script/pub/pub.lua +290 -0
  1223. package/payload/tool/luals/script/pub/report.lua +28 -0
  1224. package/payload/tool/luals/script/service/init.lua +3 -0
  1225. package/payload/tool/luals/script/service/net.lua +275 -0
  1226. package/payload/tool/luals/script/service/service.lua +290 -0
  1227. package/payload/tool/luals/script/string-merger.lua +148 -0
  1228. package/payload/tool/luals/script/text-merger.lua +115 -0
  1229. package/payload/tool/luals/script/timer.lua +244 -0
  1230. package/payload/tool/luals/script/tracy.lua +32 -0
  1231. package/payload/tool/luals/script/utility.lua +1354 -0
  1232. package/payload/tool/luals/script/version.lua +30 -0
  1233. package/payload/tool/luals/script/vm/compiler.lua +2744 -0
  1234. package/payload/tool/luals/script/vm/def.lua +133 -0
  1235. package/payload/tool/luals/script/vm/doc.lua +526 -0
  1236. package/payload/tool/luals/script/vm/field.lua +59 -0
  1237. package/payload/tool/luals/script/vm/function.lua +533 -0
  1238. package/payload/tool/luals/script/vm/generic.lua +278 -0
  1239. package/payload/tool/luals/script/vm/global.lua +758 -0
  1240. package/payload/tool/luals/script/vm/infer.lua +621 -0
  1241. package/payload/tool/luals/script/vm/init.lua +25 -0
  1242. package/payload/tool/luals/script/vm/library.lua +15 -0
  1243. package/payload/tool/luals/script/vm/node.lua +537 -0
  1244. package/payload/tool/luals/script/vm/operator.lua +530 -0
  1245. package/payload/tool/luals/script/vm/precompile.lua +20 -0
  1246. package/payload/tool/luals/script/vm/ref.lua +328 -0
  1247. package/payload/tool/luals/script/vm/sign.lua +454 -0
  1248. package/payload/tool/luals/script/vm/tracer.lua +947 -0
  1249. package/payload/tool/luals/script/vm/type.lua +930 -0
  1250. package/payload/tool/luals/script/vm/value.lua +258 -0
  1251. package/payload/tool/luals/script/vm/variable.lua +411 -0
  1252. package/payload/tool/luals/script/vm/visible.lua +208 -0
  1253. package/payload/tool/luals/script/vm/vm.lua +119 -0
  1254. package/payload/tool/luals/script/without-check-nil.lua +126 -0
  1255. package/payload/tool/luals/script/workspace/init.lua +3 -0
  1256. package/payload/tool/luals/script/workspace/loading.lua +228 -0
  1257. package/payload/tool/luals/script/workspace/require-path.lua +317 -0
  1258. package/payload/tool/luals/script/workspace/scope.lua +254 -0
  1259. package/payload/tool/luals/script/workspace/workspace.lua +664 -0
  1260. package/release.json +6174 -84
@@ -0,0 +1,1779 @@
1
+ ---@meta
2
+
3
+ ---
4
+ ---The `lovr.physics` module simulates 3D rigid body physics.
5
+ ---
6
+ ---@class lovr.physics
7
+ lovr.physics = {}
8
+
9
+ ---
10
+ ---Creates a new BallJoint.
11
+ ---
12
+ ---
13
+ ---### NOTE:
14
+ ---A ball joint is like a ball and socket between the two colliders.
15
+ ---
16
+ ---It tries to keep the distance between the colliders and the anchor position the same, but does not constrain the angle between them.
17
+ ---
18
+ ---@param colliderA lovr.Collider # The first collider to attach the Joint to.
19
+ ---@param colliderB lovr.Collider # The second collider to attach the Joint to.
20
+ ---@param x number # The x position of the joint anchor point, in world coordinates.
21
+ ---@param y number # The y position of the joint anchor point, in world coordinates.
22
+ ---@param z number # The z position of the joint anchor point, in world coordinates.
23
+ ---@return lovr.BallJoint ball # The new BallJoint.
24
+ function lovr.physics.newBallJoint(colliderA, colliderB, x, y, z) end
25
+
26
+ ---
27
+ ---Creates a new BoxShape.
28
+ ---
29
+ ---
30
+ ---### NOTE:
31
+ ---A Shape can be attached to a Collider using `Collider:addShape`.
32
+ ---
33
+ ---@param width? number # The width of the box, in meters.
34
+ ---@param height? number # The height of the box, in meters.
35
+ ---@param depth? number # The depth of the box, in meters.
36
+ ---@return lovr.BoxShape box # The new BoxShape.
37
+ function lovr.physics.newBoxShape(width, height, depth) end
38
+
39
+ ---
40
+ ---Creates a new CapsuleShape.
41
+ ---
42
+ ---Capsules are cylinders with hemispheres on each end.
43
+ ---
44
+ ---
45
+ ---### NOTE:
46
+ ---A Shape can be attached to a Collider using `Collider:addShape`.
47
+ ---
48
+ ---@param radius? number # The radius of the capsule, in meters.
49
+ ---@param length? number # The length of the capsule, not including the caps, in meters.
50
+ ---@return lovr.CapsuleShape capsule # The new CapsuleShape.
51
+ function lovr.physics.newCapsuleShape(radius, length) end
52
+
53
+ ---
54
+ ---Creates a new CylinderShape.
55
+ ---
56
+ ---
57
+ ---### NOTE:
58
+ ---A Shape can be attached to a Collider using `Collider:addShape`.
59
+ ---
60
+ ---@param radius? number # The radius of the cylinder, in meters.
61
+ ---@param length? number # The length of the cylinder, in meters.
62
+ ---@return lovr.CylinderShape cylinder # The new CylinderShape.
63
+ function lovr.physics.newCylinderShape(radius, length) end
64
+
65
+ ---
66
+ ---Creates a new DistanceJoint.
67
+ ---
68
+ ---
69
+ ---### NOTE:
70
+ ---A distance joint tries to keep the two colliders a fixed distance apart.
71
+ ---
72
+ ---The distance is determined by the initial distance between the anchor points.
73
+ ---
74
+ ---The joint allows for rotation on the anchor points.
75
+ ---
76
+ ---@param colliderA lovr.Collider # The first collider to attach the Joint to.
77
+ ---@param colliderB lovr.Collider # The second collider to attach the Joint to.
78
+ ---@param x1 number # The x position of the first anchor point, in world coordinates.
79
+ ---@param y1 number # The y position of the first anchor point, in world coordinates.
80
+ ---@param z1 number # The z position of the first anchor point, in world coordinates.
81
+ ---@param x2 number # The x position of the second anchor point, in world coordinates.
82
+ ---@param y2 number # The y position of the second anchor point, in world coordinates.
83
+ ---@param z2 number # The z position of the second anchor point, in world coordinates.
84
+ ---@return lovr.DistanceJoint joint # The new DistanceJoint.
85
+ function lovr.physics.newDistanceJoint(colliderA, colliderB, x1, y1, z1, x2, y2, z2) end
86
+
87
+ ---
88
+ ---Creates a new HingeJoint.
89
+ ---
90
+ ---
91
+ ---### NOTE:
92
+ ---A hinge joint constrains two colliders to allow rotation only around the hinge's axis.
93
+ ---
94
+ ---@param colliderA lovr.Collider # The first collider to attach the Joint to.
95
+ ---@param colliderB lovr.Collider # The second collider to attach the Joint to.
96
+ ---@param x number # The x position of the hinge anchor, in world coordinates.
97
+ ---@param y number # The y position of the hinge anchor, in world coordinates.
98
+ ---@param z number # The z position of the hinge anchor, in world coordinates.
99
+ ---@param ax number # The x component of the hinge axis.
100
+ ---@param ay number # The y component of the hinge axis.
101
+ ---@param az number # The z component of the hinge axis.
102
+ ---@return lovr.HingeJoint hinge # The new HingeJoint.
103
+ function lovr.physics.newHingeJoint(colliderA, colliderB, x, y, z, ax, ay, az) end
104
+
105
+ ---
106
+ ---Creates a new MeshShape.
107
+ ---
108
+ ---
109
+ ---### NOTE:
110
+ ---A Shape can be attached to a Collider using `Collider:addShape`.
111
+ ---
112
+ ---@overload fun(model: lovr.Model):lovr.MeshShape
113
+ ---@param vertices table # The table of vertices in the mesh. Each vertex is a table with 3 numbers.
114
+ ---@param indices table # A table of triangle indices representing how the vertices are connected in the Mesh.
115
+ ---@return lovr.MeshShape mesh # The new MeshShape.
116
+ function lovr.physics.newMeshShape(vertices, indices) end
117
+
118
+ ---
119
+ ---Creates a new SliderJoint.
120
+ ---
121
+ ---
122
+ ---### NOTE:
123
+ ---A slider joint constrains two colliders to only allow movement along the slider's axis.
124
+ ---
125
+ ---@param colliderA lovr.Collider # The first collider to attach the Joint to.
126
+ ---@param colliderB lovr.Collider # The second collider to attach the Joint to.
127
+ ---@param ax number # The x component of the slider axis.
128
+ ---@param ay number # The y component of the slider axis.
129
+ ---@param az number # The z component of the slider axis.
130
+ ---@return lovr.SliderJoint slider # The new SliderJoint.
131
+ function lovr.physics.newSliderJoint(colliderA, colliderB, ax, ay, az) end
132
+
133
+ ---
134
+ ---Creates a new SphereShape.
135
+ ---
136
+ ---
137
+ ---### NOTE:
138
+ ---A Shape can be attached to a Collider using `Collider:addShape`.
139
+ ---
140
+ ---@param radius? number # The radius of the sphere, in meters.
141
+ ---@return lovr.SphereShape sphere # The new SphereShape.
142
+ function lovr.physics.newSphereShape(radius) end
143
+
144
+ ---
145
+ ---Creates a new TerrainShape.
146
+ ---
147
+ ---
148
+ ---### NOTE:
149
+ ---A Shape can be attached to a Collider using `Collider:addShape`. For immobile terrain use the `Collider:setKinematic`.
150
+ ---
151
+ ---@overload fun(scale: number, heightmap: lovr.Image, stretch?: number):lovr.TerrainShape
152
+ ---@overload fun(scale: number, callback: function, samples?: number):lovr.TerrainShape
153
+ ---@param scale number # The width and depth of the terrain, in meters.
154
+ ---@return lovr.TerrainShape terrain # The new TerrainShape.
155
+ function lovr.physics.newTerrainShape(scale) end
156
+
157
+ ---
158
+ ---Creates a new physics World, which tracks the overall physics simulation, holds collider objects, and resolves collisions between them.
159
+ ---
160
+ ---
161
+ ---### NOTE:
162
+ ---A World must be updated with `World:update` in `lovr.update` for the physics simulation to advance.
163
+ ---
164
+ ---@param xg? number # The x component of the gravity force.
165
+ ---@param yg? number # The y component of the gravity force.
166
+ ---@param zg? number # The z component of the gravity force.
167
+ ---@param allowSleep? boolean # Whether or not colliders will automatically be put to sleep.
168
+ ---@param tags table # A list of collision tags colliders can be assigned to.
169
+ ---@return lovr.World world # A whole new World.
170
+ function lovr.physics.newWorld(xg, yg, zg, allowSleep, tags) end
171
+
172
+ ---
173
+ ---A BallJoint is a type of `Joint` that acts like a ball and socket between two colliders.
174
+ ---
175
+ ---It allows the colliders to rotate freely around an anchor point, but does not allow the colliders' distance from the anchor point to change.
176
+ ---
177
+ ---@class lovr.BallJoint
178
+ local BallJoint = {}
179
+
180
+ ---
181
+ ---Returns the anchor points of the BallJoint, in world coordinates.
182
+ ---
183
+ ---The first point is the anchor on the first collider, and the second point is on the second collider.
184
+ ---
185
+ ---The joint tries to keep these points the same, but they may be different if the joint is forced apart by some other means.
186
+ ---
187
+ ---@return number x1 # The x coordinate of the first anchor point, in world coordinates.
188
+ ---@return number y1 # The y coordinate of the first anchor point, in world coordinates.
189
+ ---@return number z1 # The z coordinate of the first anchor point, in world coordinates.
190
+ ---@return number x2 # The x coordinate of the second anchor point, in world coordinates.
191
+ ---@return number y2 # The y coordinate of the second anchor point, in world coordinates.
192
+ ---@return number z2 # The z coordinate of the second anchor point, in world coordinates.
193
+ function BallJoint:getAnchors() end
194
+
195
+ ---
196
+ ---Returns the response time of the joint.
197
+ ---
198
+ ---See `World:setResponseTime` for more info.
199
+ ---
200
+ ---@return number responseTime # The response time setting for the joint.
201
+ function BallJoint:getResponseTime() end
202
+
203
+ ---
204
+ ---Returns the tightness of the joint.
205
+ ---
206
+ ---See `World:setTightness` for how this affects the joint.
207
+ ---
208
+ ---@return number tightness # The tightness of the joint.
209
+ function BallJoint:getTightness() end
210
+
211
+ ---
212
+ ---Sets a new anchor point for the BallJoint.
213
+ ---
214
+ ---@param x number # The x coordinate of the anchor point, in world coordinates.
215
+ ---@param y number # The y coordinate of the anchor point, in world coordinates.
216
+ ---@param z number # The z coordinate of the anchor point, in world coordinates.
217
+ function BallJoint:setAnchor(x, y, z) end
218
+
219
+ ---
220
+ ---Sets the response time of the joint.
221
+ ---
222
+ ---See `World:setResponseTime` for more info.
223
+ ---
224
+ ---@param responseTime number # The new response time setting for the joint.
225
+ function BallJoint:setResponseTime(responseTime) end
226
+
227
+ ---
228
+ ---Sets the tightness of the joint.
229
+ ---
230
+ ---See `World:setTightness` for how this affects the joint.
231
+ ---
232
+ ---@param tightness number # The tightness of the joint.
233
+ function BallJoint:setTightness(tightness) end
234
+
235
+ ---
236
+ ---A type of `Shape` that can be used for cubes or boxes.
237
+ ---
238
+ ---@class lovr.BoxShape
239
+ local BoxShape = {}
240
+
241
+ ---
242
+ ---Returns the width, height, and depth of the BoxShape.
243
+ ---
244
+ ---@return number width # The width of the box, in meters.
245
+ ---@return number height # The height of the box, in meters.
246
+ ---@return number depth # The depth of the box, in meters.
247
+ function BoxShape:getDimensions() end
248
+
249
+ ---
250
+ ---Sets the width, height, and depth of the BoxShape.
251
+ ---
252
+ ---@param width number # The width of the box, in meters.
253
+ ---@param height number # The height of the box, in meters.
254
+ ---@param depth number # The depth of the box, in meters.
255
+ function BoxShape:setDimensions(width, height, depth) end
256
+
257
+ ---
258
+ ---A type of `Shape` that can be used for capsule-shaped things.
259
+ ---
260
+ ---@class lovr.CapsuleShape
261
+ local CapsuleShape = {}
262
+
263
+ ---
264
+ ---Returns the length of the CapsuleShape, not including the caps.
265
+ ---
266
+ ---@return number length # The length of the capsule, in meters.
267
+ function CapsuleShape:getLength() end
268
+
269
+ ---
270
+ ---Returns the radius of the CapsuleShape.
271
+ ---
272
+ ---@return number radius # The radius of the capsule, in meters.
273
+ function CapsuleShape:getRadius() end
274
+
275
+ ---
276
+ ---Sets the length of the CapsuleShape.
277
+ ---
278
+ ---@param length number # The new length, in meters, not including the caps.
279
+ function CapsuleShape:setLength(length) end
280
+
281
+ ---
282
+ ---Sets the radius of the CapsuleShape.
283
+ ---
284
+ ---@param radius number # The new radius, in meters.
285
+ function CapsuleShape:setRadius(radius) end
286
+
287
+ ---
288
+ ---Colliders are objects that represent a single rigid body in a physics simulation.
289
+ ---
290
+ ---They can have forces applied to them and collide with other colliders.
291
+ ---
292
+ ---@class lovr.Collider
293
+ local Collider = {}
294
+
295
+ ---
296
+ ---Attaches a Shape to the collider.
297
+ ---
298
+ ---Attached shapes will collide with other shapes in the world.
299
+ ---
300
+ ---@param shape lovr.Shape # The Shape to attach.
301
+ function Collider:addShape(shape) end
302
+
303
+ ---
304
+ ---Applies a force to the Collider.
305
+ ---
306
+ ---
307
+ ---### NOTE:
308
+ ---If the Collider is asleep, it will need to be woken up with `Collider:setAwake` for this function to have any affect.
309
+ ---
310
+ ---@overload fun(self: lovr.Collider, x: number, y: number, z: number, px: number, py: number, pz: number)
311
+ ---@param x number # The x component of the force to apply.
312
+ ---@param y number # The y component of the force to apply.
313
+ ---@param z number # The z component of the force to apply.
314
+ function Collider:applyForce(x, y, z) end
315
+
316
+ ---
317
+ ---Applies torque to the Collider.
318
+ ---
319
+ ---
320
+ ---### NOTE:
321
+ ---If the Collider is asleep, it will need to be woken up with `Collider:setAwake` for this function to have any effect.
322
+ ---
323
+ ---@param x number # The x component of the torque.
324
+ ---@param y number # The y component of the torque.
325
+ ---@param z number # The z component of the torque.
326
+ function Collider:applyTorque(x, y, z) end
327
+
328
+ ---
329
+ ---Destroy the Collider, removing it from the World.
330
+ ---
331
+ ---
332
+ ---### NOTE:
333
+ ---Calling functions on the collider after destroying it is a bad idea.
334
+ ---
335
+ function Collider:destroy() end
336
+
337
+ ---
338
+ ---Returns the bounding box for the Collider, computed from attached shapes.
339
+ ---
340
+ ---@return number minx # The minimum x coordinate of the box.
341
+ ---@return number maxx # The maximum x coordinate of the box.
342
+ ---@return number miny # The minimum y coordinate of the box.
343
+ ---@return number maxy # The maximum y coordinate of the box.
344
+ ---@return number minz # The minimum z coordinate of the box.
345
+ ---@return number maxz # The maximum z coordinate of the box.
346
+ function Collider:getAABB() end
347
+
348
+ ---
349
+ ---Returns the angular damping parameters of the Collider.
350
+ ---
351
+ ---Angular damping makes things less "spinny", making them slow down their angular velocity over time.
352
+ ---
353
+ ---
354
+ ---### NOTE:
355
+ ---Angular damping can also be set on the World.
356
+ ---
357
+ ---@return number damping # The angular damping.
358
+ ---@return number threshold # Velocity limit below which the damping is not applied.
359
+ function Collider:getAngularDamping() end
360
+
361
+ ---
362
+ ---Returns the angular velocity of the Collider.
363
+ ---
364
+ ---@return number vx # The x component of the angular velocity.
365
+ ---@return number vy # The y component of the angular velocity.
366
+ ---@return number vz # The z component of the angular velocity.
367
+ function Collider:getAngularVelocity() end
368
+
369
+ ---
370
+ ---Returns the friction of the Collider.
371
+ ---
372
+ ---By default, the friction of two Colliders is combined (multiplied) when they collide to generate a friction force.
373
+ ---
374
+ ---The initial friction is 0.
375
+ ---
376
+ ---@return number friction # The friction of the Collider.
377
+ function Collider:getFriction() end
378
+
379
+ ---
380
+ ---Returns a list of Joints attached to the Collider.
381
+ ---
382
+ ---@return table joints # A list of Joints attached to the Collider.
383
+ function Collider:getJoints() end
384
+
385
+ ---
386
+ ---Returns the Collider's linear damping parameters.
387
+ ---
388
+ ---Linear damping is similar to drag or air resistance, slowing the Collider down over time.
389
+ ---
390
+ ---
391
+ ---### NOTE:
392
+ ---A linear damping of 0 means the Collider won't slow down over time.
393
+ ---
394
+ ---This is the default.
395
+ ---
396
+ ---Linear damping can also be set on the World using `World:setLinearDamping`, which will affect all new colliders.
397
+ ---
398
+ ---@return number damping # The linear damping.
399
+ ---@return number threshold # Velocity limit below which the damping is not applied.
400
+ function Collider:getLinearDamping() end
401
+
402
+ ---
403
+ ---Returns the linear velocity of the Collider.
404
+ ---
405
+ ---This is how fast the Collider is moving.
406
+ ---
407
+ ---There is also angular velocity, which is how fast the Collider is spinning.
408
+ ---
409
+ ---@return number vx # The x velocity of the Collider, in meters per second.
410
+ ---@return number vy # The y velocity of the Collider, in meters per second.
411
+ ---@return number vz # The z velocity of the Collider, in meters per second.
412
+ function Collider:getLinearVelocity() end
413
+
414
+ ---
415
+ ---Returns the linear velocity of a point relative to the Collider.
416
+ ---
417
+ ---@param x number # The x coordinate.
418
+ ---@param y number # The y coordinate.
419
+ ---@param z number # The z coordinate.
420
+ ---@return number vx # The x component of the velocity of the point.
421
+ ---@return number vy # The y component of the velocity of the point.
422
+ ---@return number vz # The z component of the velocity of the point.
423
+ function Collider:getLinearVelocityFromLocalPoint(x, y, z) end
424
+
425
+ ---
426
+ ---Returns the linear velocity of a point on the Collider specified in world space.
427
+ ---
428
+ ---@param x number # The x coordinate in world space.
429
+ ---@param y number # The y coordinate in world space.
430
+ ---@param z number # The z coordinate in world space.
431
+ ---@return number vx # The x component of the velocity of the point.
432
+ ---@return number vy # The y component of the velocity of the point.
433
+ ---@return number vz # The z component of the velocity of the point.
434
+ function Collider:getLinearVelocityFromWorldPoint(x, y, z) end
435
+
436
+ ---
437
+ ---Returns the Collider's center of mass.
438
+ ---
439
+ ---@return number cx # The x position of the center of mass.
440
+ ---@return number cy # The y position of the center of mass.
441
+ ---@return number cz # The z position of the center of mass.
442
+ function Collider:getLocalCenter() end
443
+
444
+ ---
445
+ ---Converts a point from world coordinates into local coordinates relative to the Collider.
446
+ ---
447
+ ---@param wx number # The x coordinate of the world point.
448
+ ---@param wy number # The y coordinate of the world point.
449
+ ---@param wz number # The z coordinate of the world point.
450
+ ---@return number x # The x position of the local-space point.
451
+ ---@return number y # The y position of the local-space point.
452
+ ---@return number z # The z position of the local-space point.
453
+ function Collider:getLocalPoint(wx, wy, wz) end
454
+
455
+ ---
456
+ ---Converts a direction vector from world space to local space.
457
+ ---
458
+ ---@param wx number # The x component of the world vector.
459
+ ---@param wy number # The y component of the world vector.
460
+ ---@param wz number # The z component of the world vector.
461
+ ---@return number x # The x coordinate of the local vector.
462
+ ---@return number y # The y coordinate of the local vector.
463
+ ---@return number z # The z coordinate of the local vector.
464
+ function Collider:getLocalVector(wx, wy, wz) end
465
+
466
+ ---
467
+ ---Returns the total mass of the Collider.
468
+ ---
469
+ ---The mass of a Collider depends on its attached shapes.
470
+ ---
471
+ ---@return number mass # The mass of the Collider, in kilograms.
472
+ function Collider:getMass() end
473
+
474
+ ---
475
+ ---Computes mass properties for the Collider.
476
+ ---
477
+ ---@return number cx # The x position of the center of mass.
478
+ ---@return number cy # The y position of the center of mass.
479
+ ---@return number cz # The z position of the center of mass.
480
+ ---@return number mass # The computed mass of the Collider.
481
+ ---@return table inertia # A table containing 6 values of the rotational inertia tensor matrix. The table contains the 3 diagonal elements of the matrix (upper left to bottom right), followed by the 3 elements of the upper right portion of the 3x3 matrix.
482
+ function Collider:getMassData() end
483
+
484
+ ---
485
+ ---Returns the orientation of the Collider in angle/axis representation.
486
+ ---
487
+ ---@return number angle # The number of radians the Collider is rotated around its axis of rotation.
488
+ ---@return number ax # The x component of the axis of rotation.
489
+ ---@return number ay # The y component of the axis of rotation.
490
+ ---@return number az # The z component of the axis of rotation.
491
+ function Collider:getOrientation() end
492
+
493
+ ---
494
+ ---Returns the position and orientation of the Collider.
495
+ ---
496
+ ---@return number x # The x position of the Collider, in meters.
497
+ ---@return number y # The y position of the Collider, in meters.
498
+ ---@return number z # The z position of the Collider, in meters.
499
+ ---@return number angle # The number of radians the Collider is rotated around its axis of rotation.
500
+ ---@return number ax # The x component of the axis of rotation.
501
+ ---@return number ay # The y component of the axis of rotation.
502
+ ---@return number az # The z component of the axis of rotation.
503
+ function Collider:getPose() end
504
+
505
+ ---
506
+ ---Returns the position of the Collider.
507
+ ---
508
+ ---@return number x # The x position of the Collider, in meters.
509
+ ---@return number y # The y position of the Collider, in meters.
510
+ ---@return number z # The z position of the Collider, in meters.
511
+ function Collider:getPosition() end
512
+
513
+ ---
514
+ ---Returns the restitution (bounciness) of the Collider.
515
+ ---
516
+ ---By default, the restitution of two Colliders is combined (the max is used) when they collide to cause them to bounce away from each other.
517
+ ---
518
+ ---The initial restitution is 0.
519
+ ---
520
+ ---@return number restitution # The restitution of the Collider.
521
+ function Collider:getRestitution() end
522
+
523
+ ---
524
+ ---Returns a list of Shapes attached to the Collider.
525
+ ---
526
+ ---@return table shapes # A list of Shapes attached to the Collider.
527
+ function Collider:getShapes() end
528
+
529
+ ---
530
+ ---Returns the Collider's tag.
531
+ ---
532
+ ---
533
+ ---### NOTE:
534
+ ---Collision between tags can be enabled and disabled using `World:enableCollisionBetween` and `World:disableCollisionBetween`.
535
+ ---
536
+ ---@return string tag # The Collider's collision tag.
537
+ function Collider:getTag() end
538
+
539
+ ---
540
+ ---Returns the user data associated with the Collider.
541
+ ---
542
+ ---
543
+ ---### NOTE:
544
+ ---User data can be useful to identify the Collider in callbacks.
545
+ ---
546
+ ---@return any data # The custom value associated with the Collider.
547
+ function Collider:getUserData() end
548
+
549
+ ---
550
+ ---Returns the World the Collider is in.
551
+ ---
552
+ ---
553
+ ---### NOTE:
554
+ ---Colliders can only be in one World at a time.
555
+ ---
556
+ ---@return lovr.World world # The World the Collider is in.
557
+ function Collider:getWorld() end
558
+
559
+ ---
560
+ ---Convert a point relative to the collider to a point in world coordinates.
561
+ ---
562
+ ---@param x number # The x position of the point.
563
+ ---@param y number # The y position of the point.
564
+ ---@param z number # The z position of the point.
565
+ ---@return number wx # The x coordinate of the world point.
566
+ ---@return number wy # The y coordinate of the world point.
567
+ ---@return number wz # The z coordinate of the world point.
568
+ function Collider:getWorldPoint(x, y, z) end
569
+
570
+ ---
571
+ ---Converts a direction vector from local space to world space.
572
+ ---
573
+ ---@param x number # The x coordinate of the local vector.
574
+ ---@param y number # The y coordinate of the local vector.
575
+ ---@param z number # The z coordinate of the local vector.
576
+ ---@return number wx # The x component of the world vector.
577
+ ---@return number wy # The y component of the world vector.
578
+ ---@return number wz # The z component of the world vector.
579
+ function Collider:getWorldVector(x, y, z) end
580
+
581
+ ---
582
+ ---Returns whether the Collider is currently awake.
583
+ ---
584
+ ---@return boolean awake # Whether the Collider is awake.
585
+ function Collider:isAwake() end
586
+
587
+ ---
588
+ ---Returns whether the Collider is currently ignoring gravity.
589
+ ---
590
+ ---@return boolean ignored # Whether gravity is ignored for this Collider.
591
+ function Collider:isGravityIgnored() end
592
+
593
+ ---
594
+ ---Returns whether the Collider is kinematic.
595
+ ---
596
+ ---
597
+ ---### NOTE:
598
+ ---Kinematic colliders behave as though they have infinite mass, ignoring external forces like gravity, joints, or collisions (though non-kinematic colliders will collide with them). They can be useful for static objects like floors or walls.
599
+ ---
600
+ ---@return boolean kinematic # Whether the Collider is kinematic.
601
+ function Collider:isKinematic() end
602
+
603
+ ---
604
+ ---Returns whether the Collider is allowed to sleep.
605
+ ---
606
+ ---
607
+ ---### NOTE:
608
+ ---If sleeping is enabled, the simulation will put the Collider to sleep if it hasn't moved in a while. Sleeping colliders don't impact the physics simulation, which makes updates more efficient and improves physics performance.
609
+ ---
610
+ ---However, the physics engine isn't perfect at waking up sleeping colliders and this can lead to bugs where colliders don't react to forces or collisions properly.
611
+ ---
612
+ ---It is possible to set the default value for new colliders using `World:setSleepingAllowed`.
613
+ ---
614
+ ---Colliders can be manually put to sleep or woken up using `Collider:setAwake`.
615
+ ---
616
+ ---@return boolean allowed # Whether the Collider can go to sleep.
617
+ function Collider:isSleepingAllowed() end
618
+
619
+ ---
620
+ ---Removes a Shape from the Collider.
621
+ ---
622
+ ---
623
+ ---### NOTE:
624
+ ---Colliders without any shapes won't collide with anything.
625
+ ---
626
+ ---@param shape lovr.Shape # The Shape to remove.
627
+ function Collider:removeShape(shape) end
628
+
629
+ ---
630
+ ---Sets the angular damping of the Collider.
631
+ ---
632
+ ---Angular damping makes things less "spinny", causing them to slow down their angular velocity over time. Damping is only applied when angular velocity is over the threshold value.
633
+ ---
634
+ ---
635
+ ---### NOTE:
636
+ ---Angular damping can also be set on the World.
637
+ ---
638
+ ---@param damping number # The angular damping.
639
+ ---@param threshold? number # Velocity limit below which the damping is not applied.
640
+ function Collider:setAngularDamping(damping, threshold) end
641
+
642
+ ---
643
+ ---Sets the angular velocity of the Collider.
644
+ ---
645
+ ---@param vx number # The x component of the angular velocity.
646
+ ---@param vy number # The y component of the angular velocity.
647
+ ---@param vz number # The z component of the angular velocity.
648
+ function Collider:setAngularVelocity(vx, vy, vz) end
649
+
650
+ ---
651
+ ---Manually puts the Collider to sleep or wakes it up.
652
+ ---
653
+ ---You can do this if you know a Collider won't be touched for a while or if you need to it be active.
654
+ ---
655
+ ---@param awake boolean # Whether the Collider should be awake.
656
+ function Collider:setAwake(awake) end
657
+
658
+ ---
659
+ ---Sets the friction of the Collider.
660
+ ---
661
+ ---By default, the friction of two Colliders is combined (multiplied) when they collide to generate a friction force.
662
+ ---
663
+ ---The initial friction is 0.
664
+ ---
665
+ ---@param friction number # The new friction.
666
+ function Collider:setFriction(friction) end
667
+
668
+ ---
669
+ ---Sets whether the Collider should ignore gravity.
670
+ ---
671
+ ---@param ignored boolean # Whether gravity should be ignored.
672
+ function Collider:setGravityIgnored(ignored) end
673
+
674
+ ---
675
+ ---Sets whether the Collider is kinematic.
676
+ ---
677
+ ---
678
+ ---### NOTE:
679
+ ---Kinematic colliders behave as though they have infinite mass, ignoring external forces like gravity, joints, or collisions (though non-kinematic colliders will collide with them). They can be useful for static objects like floors or walls.
680
+ ---
681
+ ---@param kinematic boolean # Whether the Collider is kinematic.
682
+ function Collider:setKinematic(kinematic) end
683
+
684
+ ---
685
+ ---Sets the Collider's linear damping parameter.
686
+ ---
687
+ ---Linear damping is similar to drag or air resistance, slowing the Collider down over time. Damping is only applied when linear velocity is over the threshold value.
688
+ ---
689
+ ---
690
+ ---### NOTE:
691
+ ---A linear damping of 0 means the Collider won't slow down over time.
692
+ ---
693
+ ---This is the default.
694
+ ---
695
+ ---Linear damping can also be set on the World using `World:setLinearDamping`, which will affect all new colliders.
696
+ ---
697
+ ---@param damping number # The linear damping.
698
+ ---@param threshold? number # Velocity limit below which the damping is not applied.
699
+ function Collider:setLinearDamping(damping, threshold) end
700
+
701
+ ---
702
+ ---Sets the linear velocity of the Collider directly.
703
+ ---
704
+ ---Usually it's preferred to use `Collider:applyForce` to change velocity since instantaneous velocity changes can lead to weird glitches.
705
+ ---
706
+ ---@param vx number # The x velocity of the Collider, in meters per second.
707
+ ---@param vy number # The y velocity of the Collider, in meters per second.
708
+ ---@param vz number # The z velocity of the Collider, in meters per second.
709
+ function Collider:setLinearVelocity(vx, vy, vz) end
710
+
711
+ ---
712
+ ---Sets the total mass of the Collider.
713
+ ---
714
+ ---@param mass number # The new mass for the Collider, in kilograms.
715
+ function Collider:setMass(mass) end
716
+
717
+ ---
718
+ ---Sets mass properties for the Collider.
719
+ ---
720
+ ---@param cx number # The x position of the center of mass.
721
+ ---@param cy number # The y position of the center of mass.
722
+ ---@param cz number # The z position of the center of mass.
723
+ ---@param mass number # The computed mass of the Collider.
724
+ ---@param inertia table # A table containing 6 values of the rotational inertia tensor matrix. The table contains the 3 diagonal elements of the matrix (upper left to bottom right), followed by the 3 elements of the upper right portion of the 3x3 matrix.
725
+ function Collider:setMassData(cx, cy, cz, mass, inertia) end
726
+
727
+ ---
728
+ ---Sets the orientation of the Collider in angle/axis representation.
729
+ ---
730
+ ---@param angle number # The number of radians the Collider is rotated around its axis of rotation.
731
+ ---@param ax number # The x component of the axis of rotation.
732
+ ---@param ay number # The y component of the axis of rotation.
733
+ ---@param az number # The z component of the axis of rotation.
734
+ function Collider:setOrientation(angle, ax, ay, az) end
735
+
736
+ ---
737
+ ---Sets the position and orientation of the Collider.
738
+ ---
739
+ ---@param x number # The x position of the Collider, in meters.
740
+ ---@param y number # The y position of the Collider, in meters.
741
+ ---@param z number # The z position of the Collider, in meters.
742
+ ---@param angle number # The number of radians the Collider is rotated around its axis of rotation.
743
+ ---@param ax number # The x component of the axis of rotation.
744
+ ---@param ay number # The y component of the axis of rotation.
745
+ ---@param az number # The z component of the axis of rotation.
746
+ function Collider:setPose(x, y, z, angle, ax, ay, az) end
747
+
748
+ ---
749
+ ---Sets the position of the Collider.
750
+ ---
751
+ ---@param x number # The x position of the Collider, in meters.
752
+ ---@param y number # The y position of the Collider, in meters.
753
+ ---@param z number # The z position of the Collider, in meters.
754
+ function Collider:setPosition(x, y, z) end
755
+
756
+ ---
757
+ ---Sets the restitution (bounciness) of the Collider.
758
+ ---
759
+ ---By default, the restitution of two Colliders is combined (the max is used) when they collide to cause them to bounce away from each other. The initial restitution is 0.
760
+ ---
761
+ ---@param restitution number # The new restitution.
762
+ function Collider:setRestitution(restitution) end
763
+
764
+ ---
765
+ ---Sets whether the Collider is allowed to sleep.
766
+ ---
767
+ ---
768
+ ---### NOTE:
769
+ ---If sleeping is enabled, the simulation will put the Collider to sleep if it hasn't moved in a while. Sleeping colliders don't impact the physics simulation, which makes updates more efficient and improves physics performance.
770
+ ---
771
+ ---However, the physics engine isn't perfect at waking up sleeping colliders and this can lead to bugs where colliders don't react to forces or collisions properly.
772
+ ---
773
+ ---It is possible to set the default value for new colliders using `World:setSleepingAllowed`.
774
+ ---
775
+ ---Colliders can be manually put to sleep or woken up using `Collider:setAwake`.
776
+ ---
777
+ ---@param allowed boolean # Whether the Collider can go to sleep.
778
+ function Collider:setSleepingAllowed(allowed) end
779
+
780
+ ---
781
+ ---Sets the Collider's tag.
782
+ ---
783
+ ---
784
+ ---### NOTE:
785
+ ---Collision between tags can be enabled and disabled using `World:enableCollisionBetween` and `World:disableCollisionBetween`.
786
+ ---
787
+ ---@param tag string # The Collider's collision tag.
788
+ function Collider:setTag(tag) end
789
+
790
+ ---
791
+ ---Associates a custom value with the Collider.
792
+ ---
793
+ ---
794
+ ---### NOTE:
795
+ ---User data can be useful to identify the Collider in callbacks.
796
+ ---
797
+ ---@param data any # The custom value to associate with the Collider.
798
+ function Collider:setUserData(data) end
799
+
800
+ ---
801
+ ---A type of `Shape` that can be used for cylinder-shaped things.
802
+ ---
803
+ ---@class lovr.CylinderShape
804
+ local CylinderShape = {}
805
+
806
+ ---
807
+ ---Returns the length of the CylinderShape.
808
+ ---
809
+ ---@return number length # The length of the cylinder, in meters.
810
+ function CylinderShape:getLength() end
811
+
812
+ ---
813
+ ---Returns the radius of the CylinderShape.
814
+ ---
815
+ ---@return number radius # The radius of the cylinder, in meters.
816
+ function CylinderShape:getRadius() end
817
+
818
+ ---
819
+ ---Sets the length of the CylinderShape.
820
+ ---
821
+ ---@param length number # The new length, in meters.
822
+ function CylinderShape:setLength(length) end
823
+
824
+ ---
825
+ ---Sets the radius of the CylinderShape.
826
+ ---
827
+ ---@param radius number # The new radius, in meters.
828
+ function CylinderShape:setRadius(radius) end
829
+
830
+ ---
831
+ ---A DistanceJoint is a type of `Joint` that tries to keep two colliders a fixed distance apart. The distance is determined by the initial distance between the anchor points.
832
+ ---
833
+ ---The joint allows for rotation on the anchor points.
834
+ ---
835
+ ---@class lovr.DistanceJoint
836
+ local DistanceJoint = {}
837
+
838
+ ---
839
+ ---Returns the anchor points of the DistanceJoint.
840
+ ---
841
+ ---@return number x1 # The x coordinate of the first anchor point, in world coordinates.
842
+ ---@return number y1 # The y coordinate of the first anchor point, in world coordinates.
843
+ ---@return number z1 # The z coordinate of the first anchor point, in world coordinates.
844
+ ---@return number x2 # The x coordinate of the second anchor point, in world coordinates.
845
+ ---@return number y2 # The y coordinate of the second anchor point, in world coordinates.
846
+ ---@return number z2 # The z coordinate of the second anchor point, in world coordinates.
847
+ function DistanceJoint:getAnchors() end
848
+
849
+ ---
850
+ ---Returns the target distance for the DistanceJoint.
851
+ ---
852
+ ---The joint tries to keep the Colliders this far apart.
853
+ ---
854
+ ---@return number distance # The target distance.
855
+ function DistanceJoint:getDistance() end
856
+
857
+ ---
858
+ ---Returns the response time of the joint.
859
+ ---
860
+ ---See `World:setResponseTime` for more info.
861
+ ---
862
+ ---@return number responseTime # The response time setting for the joint.
863
+ function DistanceJoint:getResponseTime() end
864
+
865
+ ---
866
+ ---Returns the tightness of the joint.
867
+ ---
868
+ ---See `World:setTightness` for how this affects the joint.
869
+ ---
870
+ ---@return number tightness # The tightness of the joint.
871
+ function DistanceJoint:getTightness() end
872
+
873
+ ---
874
+ ---Sets the anchor points of the DistanceJoint.
875
+ ---
876
+ ---@param x1 number # The x coordinate of the first anchor point, in world coordinates.
877
+ ---@param y1 number # The y coordinate of the first anchor point, in world coordinates.
878
+ ---@param z1 number # The z coordinate of the first anchor point, in world coordinates.
879
+ ---@param x2 number # The x coordinate of the second anchor point, in world coordinates.
880
+ ---@param y2 number # The y coordinate of the second anchor point, in world coordinates.
881
+ ---@param z2 number # The z coordinate of the second anchor point, in world coordinates.
882
+ function DistanceJoint:setAnchors(x1, y1, z1, x2, y2, z2) end
883
+
884
+ ---
885
+ ---Sets the target distance for the DistanceJoint.
886
+ ---
887
+ ---The joint tries to keep the Colliders this far apart.
888
+ ---
889
+ ---@param distance number # The new target distance.
890
+ function DistanceJoint:setDistance(distance) end
891
+
892
+ ---
893
+ ---Sets the response time of the joint.
894
+ ---
895
+ ---See `World:setResponseTime` for more info.
896
+ ---
897
+ ---@param responseTime number # The new response time setting for the joint.
898
+ function DistanceJoint:setResponseTime(responseTime) end
899
+
900
+ ---
901
+ ---Sets the tightness of the joint.
902
+ ---
903
+ ---See `World:setTightness` for how this affects the joint.
904
+ ---
905
+ ---@param tightness number # The tightness of the joint.
906
+ function DistanceJoint:setTightness(tightness) end
907
+
908
+ ---
909
+ ---A HingeJoint is a type of `Joint` that only allows colliders to rotate on a single axis.
910
+ ---
911
+ ---@class lovr.HingeJoint
912
+ local HingeJoint = {}
913
+
914
+ ---
915
+ ---Returns the anchor points of the HingeJoint.
916
+ ---
917
+ ---@return number x1 # The x coordinate of the first anchor point, in world coordinates.
918
+ ---@return number y1 # The y coordinate of the first anchor point, in world coordinates.
919
+ ---@return number z1 # The z coordinate of the first anchor point, in world coordinates.
920
+ ---@return number x2 # The x coordinate of the second anchor point, in world coordinates.
921
+ ---@return number y2 # The y coordinate of the second anchor point, in world coordinates.
922
+ ---@return number z2 # The z coordinate of the second anchor point, in world coordinates.
923
+ function HingeJoint:getAnchors() end
924
+
925
+ ---
926
+ ---Get the angle between the two colliders attached to the HingeJoint.
927
+ ---
928
+ ---When the joint is created or when the anchor or axis is set, the current angle is the new "zero" angle.
929
+ ---
930
+ ---@return number angle # The hinge angle, in radians.
931
+ function HingeJoint:getAngle() end
932
+
933
+ ---
934
+ ---Returns the axis of the hinge.
935
+ ---
936
+ ---@return number x # The x component of the axis.
937
+ ---@return number y # The y component of the axis.
938
+ ---@return number z # The z component of the axis.
939
+ function HingeJoint:getAxis() end
940
+
941
+ ---
942
+ ---Returns the upper and lower limits of the hinge angle.
943
+ ---
944
+ ---These will be between -π and π.
945
+ ---
946
+ ---@return number lower # The lower limit, in radians.
947
+ ---@return number upper # The upper limit, in radians.
948
+ function HingeJoint:getLimits() end
949
+
950
+ ---
951
+ ---Returns the lower limit of the hinge angle.
952
+ ---
953
+ ---This will be greater than -π.
954
+ ---
955
+ ---@return number limit # The lower limit, in radians.
956
+ function HingeJoint:getLowerLimit() end
957
+
958
+ ---
959
+ ---Returns the upper limit of the hinge angle.
960
+ ---
961
+ ---This will be less than π.
962
+ ---
963
+ ---@return number limit # The upper limit, in radians.
964
+ function HingeJoint:getUpperLimit() end
965
+
966
+ ---
967
+ ---Sets a new anchor point for the HingeJoint.
968
+ ---
969
+ ---@param x number # The x coordinate of the anchor point, in world coordinates.
970
+ ---@param y number # The y coordinate of the anchor point, in world coordinates.
971
+ ---@param z number # The z coordinate of the anchor point, in world coordinates.
972
+ function HingeJoint:setAnchor(x, y, z) end
973
+
974
+ ---
975
+ ---Sets the axis of the hinge.
976
+ ---
977
+ ---@param x number # The x component of the axis.
978
+ ---@param y number # The y component of the axis.
979
+ ---@param z number # The z component of the axis.
980
+ function HingeJoint:setAxis(x, y, z) end
981
+
982
+ ---
983
+ ---Sets the upper and lower limits of the hinge angle.
984
+ ---
985
+ ---These should be between -π and π.
986
+ ---
987
+ ---@param lower number # The lower limit, in radians.
988
+ ---@param upper number # The upper limit, in radians.
989
+ function HingeJoint:setLimits(lower, upper) end
990
+
991
+ ---
992
+ ---Sets the lower limit of the hinge angle.
993
+ ---
994
+ ---This should be greater than -π.
995
+ ---
996
+ ---@param limit number # The lower limit, in radians.
997
+ function HingeJoint:setLowerLimit(limit) end
998
+
999
+ ---
1000
+ ---Sets the upper limit of the hinge angle.
1001
+ ---
1002
+ ---This should be less than π.
1003
+ ---
1004
+ ---@param limit number # The upper limit, in radians.
1005
+ function HingeJoint:setUpperLimit(limit) end
1006
+
1007
+ ---
1008
+ ---A Joint is a physics object that constrains the movement of two Colliders.
1009
+ ---
1010
+ ---@class lovr.Joint
1011
+ local Joint = {}
1012
+
1013
+ ---
1014
+ ---Destroy the Joint, removing it from Colliders it's attached to.
1015
+ ---
1016
+ ---
1017
+ ---### NOTE:
1018
+ ---Calling functions on the Joint after destroying it is a bad idea.
1019
+ ---
1020
+ function Joint:destroy() end
1021
+
1022
+ ---
1023
+ ---Returns the Colliders the Joint is attached to.
1024
+ ---
1025
+ ---All Joints are attached to two colliders.
1026
+ ---
1027
+ ---@return lovr.Collider colliderA # The first Collider.
1028
+ ---@return lovr.Collider colliderB # The second Collider.
1029
+ function Joint:getColliders() end
1030
+
1031
+ ---
1032
+ ---Returns the type of the Joint.
1033
+ ---
1034
+ ---@return lovr.JointType type # The type of the Joint.
1035
+ function Joint:getType() end
1036
+
1037
+ ---
1038
+ ---Returns the user data associated with the Joint.
1039
+ ---
1040
+ ---@return any data # The custom value associated with the Joint.
1041
+ function Joint:getUserData() end
1042
+
1043
+ ---
1044
+ ---Returns whether the Joint is enabled.
1045
+ ---
1046
+ ---@return boolean enabled # Whether the Joint is enabled.
1047
+ function Joint:isEnabled() end
1048
+
1049
+ ---
1050
+ ---Enable or disable the Joint.
1051
+ ---
1052
+ ---@param enabled boolean # Whether the Joint should be enabled.
1053
+ function Joint:setEnabled(enabled) end
1054
+
1055
+ ---
1056
+ ---Sets the user data associated with the Joint.
1057
+ ---
1058
+ ---@param data any # The custom value associated with the Joint.
1059
+ function Joint:setUserData(data) end
1060
+
1061
+ ---
1062
+ ---A type of `Shape` that can be used for triangle meshes.
1063
+ ---
1064
+ ---@class lovr.MeshShape
1065
+ local MeshShape = {}
1066
+
1067
+ ---
1068
+ ---A Shape is a physics object that can be attached to colliders to define their shape.
1069
+ ---
1070
+ ---@class lovr.Shape
1071
+ local Shape = {}
1072
+
1073
+ ---
1074
+ ---Destroy the Shape, removing it from Colliders it's attached to.
1075
+ ---
1076
+ ---
1077
+ ---### NOTE:
1078
+ ---Calling functions on the Shape after destroying it is a bad idea.
1079
+ ---
1080
+ function Shape:destroy() end
1081
+
1082
+ ---
1083
+ ---Returns the bounding box for the Shape.
1084
+ ---
1085
+ ---@return number minx # The minimum x coordinate of the box.
1086
+ ---@return number maxx # The maximum x coordinate of the box.
1087
+ ---@return number miny # The minimum y coordinate of the box.
1088
+ ---@return number maxy # The maximum y coordinate of the box.
1089
+ ---@return number minz # The minimum z coordinate of the box.
1090
+ ---@return number maxz # The maximum z coordinate of the box.
1091
+ function Shape:getAABB() end
1092
+
1093
+ ---
1094
+ ---Returns the Collider the Shape is attached to.
1095
+ ---
1096
+ ---
1097
+ ---### NOTE:
1098
+ ---A Shape can only be attached to one Collider at a time.
1099
+ ---
1100
+ ---@return lovr.Collider collider # The Collider the Shape is attached to.
1101
+ function Shape:getCollider() end
1102
+
1103
+ ---
1104
+ ---Computes mass properties of the Shape.
1105
+ ---
1106
+ ---@param density number # The density to use, in kilograms per cubic meter.
1107
+ ---@return number cx # The x position of the center of mass.
1108
+ ---@return number cy # The y position of the center of mass.
1109
+ ---@return number cz # The z position of the center of mass.
1110
+ ---@return number mass # The mass of the Shape.
1111
+ ---@return table inertia # A table containing 6 values of the rotational inertia tensor matrix. The table contains the 3 diagonal elements of the matrix (upper left to bottom right), followed by the 3 elements of the upper right portion of the 3x3 matrix.
1112
+ function Shape:getMass(density) end
1113
+
1114
+ ---
1115
+ ---Get the orientation of the Shape relative to its Collider.
1116
+ ---
1117
+ ---@return number angle # The number of radians the Shape is rotated.
1118
+ ---@return number ax # The x component of the rotation axis.
1119
+ ---@return number ay # The y component of the rotation axis.
1120
+ ---@return number az # The z component of the rotation axis.
1121
+ function Shape:getOrientation() end
1122
+
1123
+ ---
1124
+ ---Get the position of the Shape relative to its Collider.
1125
+ ---
1126
+ ---@return number x # The x offset.
1127
+ ---@return number y # The y offset.
1128
+ ---@return number z # The z offset.
1129
+ function Shape:getPosition() end
1130
+
1131
+ ---
1132
+ ---Returns the type of the Shape.
1133
+ ---
1134
+ ---@return lovr.ShapeType type # The type of the Shape.
1135
+ function Shape:getType() end
1136
+
1137
+ ---
1138
+ ---Returns the user data associated with the Shape.
1139
+ ---
1140
+ ---
1141
+ ---### NOTE:
1142
+ ---User data can be useful to identify the Shape in callbacks.
1143
+ ---
1144
+ ---@return any data # The custom value associated with the Shape.
1145
+ function Shape:getUserData() end
1146
+
1147
+ ---
1148
+ ---Returns whether the Shape is enabled.
1149
+ ---
1150
+ ---
1151
+ ---### NOTE:
1152
+ ---Disabled shapes won't collide with anything.
1153
+ ---
1154
+ ---@return boolean enabled # Whether the Shape is enabled.
1155
+ function Shape:isEnabled() end
1156
+
1157
+ ---
1158
+ ---Returns whether the Shape is a sensor.
1159
+ ---
1160
+ ---Sensors do not trigger any collision response, but they still report collisions in `World:collide`.
1161
+ ---
1162
+ ---@return boolean sensor # Whether the Shape is a sensor.
1163
+ function Shape:isSensor() end
1164
+
1165
+ ---
1166
+ ---Enable or disable the Shape.
1167
+ ---
1168
+ ---
1169
+ ---### NOTE:
1170
+ ---Disabled shapes won't collide with anything.
1171
+ ---
1172
+ ---@param enabled boolean # Whether the Shape should be enabled.
1173
+ function Shape:setEnabled(enabled) end
1174
+
1175
+ ---
1176
+ ---Set the orientation of the Shape relative to its Collider.
1177
+ ---
1178
+ ---
1179
+ ---### NOTE:
1180
+ ---If the Shape isn't attached to a Collider, this will error.
1181
+ ---
1182
+ ---@param angle number # The number of radians the Shape is rotated.
1183
+ ---@param ax number # The x component of the rotation axis.
1184
+ ---@param ay number # The y component of the rotation axis.
1185
+ ---@param az number # The z component of the rotation axis.
1186
+ function Shape:setOrientation(angle, ax, ay, az) end
1187
+
1188
+ ---
1189
+ ---Set the position of the Shape relative to its Collider.
1190
+ ---
1191
+ ---
1192
+ ---### NOTE:
1193
+ ---If the Shape isn't attached to a Collider, this will error.
1194
+ ---
1195
+ ---@param x number # The x offset.
1196
+ ---@param y number # The y offset.
1197
+ ---@param z number # The z offset.
1198
+ function Shape:setPosition(x, y, z) end
1199
+
1200
+ ---
1201
+ ---Sets whether this Shape is a sensor.
1202
+ ---
1203
+ ---Sensors do not trigger any collision response, but they still report collisions in `World:collide`.
1204
+ ---
1205
+ ---@param sensor boolean # Whether the Shape should be a sensor.
1206
+ function Shape:setSensor(sensor) end
1207
+
1208
+ ---
1209
+ ---Sets the user data associated with the Shape.
1210
+ ---
1211
+ ---
1212
+ ---### NOTE:
1213
+ ---User data can be useful to identify the Shape in callbacks.
1214
+ ---
1215
+ ---@param data any # The custom value associated with the Shape.
1216
+ function Shape:setUserData(data) end
1217
+
1218
+ ---
1219
+ ---A SliderJoint is a type of `Joint` that only allows colliders to move on a single axis.
1220
+ ---
1221
+ ---@class lovr.SliderJoint
1222
+ local SliderJoint = {}
1223
+
1224
+ ---
1225
+ ---Returns the axis of the slider.
1226
+ ---
1227
+ ---@return number x # The x component of the axis.
1228
+ ---@return number y # The y component of the axis.
1229
+ ---@return number z # The z component of the axis.
1230
+ function SliderJoint:getAxis() end
1231
+
1232
+ ---
1233
+ ---Returns the upper and lower limits of the slider position.
1234
+ ---
1235
+ ---@return number lower # The lower limit.
1236
+ ---@return number upper # The upper limit.
1237
+ function SliderJoint:getLimits() end
1238
+
1239
+ ---
1240
+ ---Returns the lower limit of the slider position.
1241
+ ---
1242
+ ---@return number limit # The lower limit.
1243
+ function SliderJoint:getLowerLimit() end
1244
+
1245
+ ---
1246
+ ---Returns how far the slider joint is extended (zero is the position the slider was created at, positive values are further apart).
1247
+ ---
1248
+ ---@return number position # The joint position along its axis.
1249
+ function SliderJoint:getPosition() end
1250
+
1251
+ ---
1252
+ ---Returns the upper limit of the slider position.
1253
+ ---
1254
+ ---@return number limit # The upper limit.
1255
+ function SliderJoint:getUpperLimit() end
1256
+
1257
+ ---
1258
+ ---Sets the axis of the slider.
1259
+ ---
1260
+ ---@param x number # The x component of the axis.
1261
+ ---@param y number # The y component of the axis.
1262
+ ---@param z number # The z component of the axis.
1263
+ function SliderJoint:setAxis(x, y, z) end
1264
+
1265
+ ---
1266
+ ---Sets the upper and lower limits of the slider position.
1267
+ ---
1268
+ ---@param lower number # The lower limit.
1269
+ ---@param upper number # The upper limit.
1270
+ function SliderJoint:setLimits(lower, upper) end
1271
+
1272
+ ---
1273
+ ---Sets the lower limit of the slider position.
1274
+ ---
1275
+ ---@param limit number # The lower limit.
1276
+ function SliderJoint:setLowerLimit(limit) end
1277
+
1278
+ ---
1279
+ ---Sets the upper limit of the slider position.
1280
+ ---
1281
+ ---@param limit number # The upper limit.
1282
+ function SliderJoint:setUpperLimit(limit) end
1283
+
1284
+ ---
1285
+ ---A type of `Shape` that can be used for spheres.
1286
+ ---
1287
+ ---@class lovr.SphereShape
1288
+ local SphereShape = {}
1289
+
1290
+ ---
1291
+ ---Returns the radius of the SphereShape.
1292
+ ---
1293
+ ---@return number radius # The radius of the sphere, in meters.
1294
+ function SphereShape:getRadius() end
1295
+
1296
+ ---
1297
+ ---Sets the radius of the SphereShape.
1298
+ ---
1299
+ ---@param radius number # The radius of the sphere, in meters.
1300
+ function SphereShape:setRadius(radius) end
1301
+
1302
+ ---
1303
+ ---A type of `Shape` that can be used for terrains and irregular surfaces.
1304
+ ---
1305
+ ---@class lovr.TerrainShape
1306
+ local TerrainShape = {}
1307
+
1308
+ ---
1309
+ ---A World is an object that holds the colliders, joints, and shapes in a physics simulation.
1310
+ ---
1311
+ ---
1312
+ ---### NOTE:
1313
+ ---Be sure to update the World in `lovr.update` using `World:update`, otherwise everything will stand still.
1314
+ ---
1315
+ ---@class lovr.World
1316
+ local World = {}
1317
+
1318
+ ---
1319
+ ---Attempt to collide two shapes.
1320
+ ---
1321
+ ---Internally this uses joints and forces to ensure the colliders attached to the shapes do not pass through each other.
1322
+ ---
1323
+ ---Collisions can be customized using friction and restitution (bounciness) parameters, and default to using a mix of the colliders' friction and restitution parameters.
1324
+ ---
1325
+ ---Usually this is called automatically by `World:update`.
1326
+ ---
1327
+ ---
1328
+ ---### NOTE:
1329
+ ---For friction, numbers in the range of 0-1 are common, but larger numbers can also be used.
1330
+ ---
1331
+ ---For restitution, numbers in the range 0-1 should be used.
1332
+ ---
1333
+ ---This function respects collision tags, so using `World:disableCollisionBetween` and `World:enableCollisionBetween` will change the behavior of this function.
1334
+ ---
1335
+ ---@param shapeA lovr.Shape # The first shape.
1336
+ ---@param shapeB lovr.Shape # The second shape.
1337
+ ---@param friction? number # The friction parameter for the collision.
1338
+ ---@param restitution? number # The restitution (bounciness) parameter for the collision.
1339
+ ---@return boolean collided # Whether the shapes collided.
1340
+ function World:collide(shapeA, shapeB, friction, restitution) end
1341
+
1342
+ ---
1343
+ ---Detects which pairs of shapes in the world are near each other and could be colliding.
1344
+ ---
1345
+ ---After calling this function, the `World:overlaps` iterator can be used to iterate over the overlaps, and `World:collide` can be used to resolve a collision for the shapes (if any). Usually this is called automatically by `World:update`.
1346
+ ---
1347
+ function World:computeOverlaps() end
1348
+
1349
+ ---
1350
+ ---Destroy the World!
1351
+ ---
1352
+ ---
1353
+ ---### NOTE:
1354
+ ---Bad things will happen if you destroy the world and then try to access it or anything that was in it.
1355
+ ---
1356
+ function World:destroy() end
1357
+
1358
+ ---
1359
+ ---Disables collision between two collision tags.
1360
+ ---
1361
+ ---
1362
+ ---### NOTE:
1363
+ ---Tags must be set up when creating the World, see `lovr.physics.newWorld`.
1364
+ ---
1365
+ ---By default, collision is enabled between all tags.
1366
+ ---
1367
+ ---@param tag1 string # The first tag.
1368
+ ---@param tag2 string # The second tag.
1369
+ function World:disableCollisionBetween(tag1, tag2) end
1370
+
1371
+ ---
1372
+ ---Enables collision between two collision tags.
1373
+ ---
1374
+ ---
1375
+ ---### NOTE:
1376
+ ---Tags must be set up when creating the World, see `lovr.physics.newWorld`.
1377
+ ---
1378
+ ---By default, collision is enabled between all tags.
1379
+ ---
1380
+ ---@param tag1 string # The first tag.
1381
+ ---@param tag2 string # The second tag.
1382
+ function World:enableCollisionBetween(tag1, tag2) end
1383
+
1384
+ ---
1385
+ ---Returns the angular damping parameters of the World.
1386
+ ---
1387
+ ---Angular damping makes things less "spinny", making them slow down their angular velocity over time.
1388
+ ---
1389
+ ---
1390
+ ---### NOTE:
1391
+ ---Angular damping can also be set on individual colliders.
1392
+ ---
1393
+ ---@return number damping # The angular damping.
1394
+ ---@return number threshold # Velocity limit below which the damping is not applied.
1395
+ function World:getAngularDamping() end
1396
+
1397
+ ---
1398
+ ---Returns a table of all Colliders in the World.
1399
+ ---
1400
+ ---@overload fun(self: lovr.World, t: table):table
1401
+ ---@return table colliders # A table of `Collider` objects.
1402
+ function World:getColliders() end
1403
+
1404
+ ---
1405
+ ---Returns the gravity of the World.
1406
+ ---
1407
+ ---@return number xg # The x component of the gravity force.
1408
+ ---@return number yg # The y component of the gravity force.
1409
+ ---@return number zg # The z component of the gravity force.
1410
+ function World:getGravity() end
1411
+
1412
+ ---
1413
+ ---Returns the linear damping parameters of the World.
1414
+ ---
1415
+ ---Linear damping is similar to drag or air resistance, slowing down colliders over time as they move.
1416
+ ---
1417
+ ---
1418
+ ---### NOTE:
1419
+ ---A linear damping of 0 means colliders won't slow down over time.
1420
+ ---
1421
+ ---This is the default.
1422
+ ---
1423
+ ---Linear damping can also be set on individual colliders.
1424
+ ---
1425
+ ---@return number damping # The linear damping.
1426
+ ---@return number threshold # Velocity limit below which the damping is not applied.
1427
+ function World:getLinearDamping() end
1428
+
1429
+ ---
1430
+ ---Returns the response time factor of the World.
1431
+ ---
1432
+ ---The response time controls how relaxed collisions and joints are in the physics simulation, and functions similar to inertia.
1433
+ ---
1434
+ ---A low response time means collisions are resolved quickly, and higher values make objects more spongy and soft.
1435
+ ---
1436
+ ---The value can be any positive number.
1437
+ ---
1438
+ ---It can be changed on a per-joint basis for `DistanceJoint` and `BallJoint` objects.
1439
+ ---
1440
+ ---@return number responseTime # The response time setting for the World.
1441
+ function World:getResponseTime() end
1442
+
1443
+ ---
1444
+ ---Returns the step count of the World.
1445
+ ---
1446
+ ---The step count influences how many steps are taken during a call to `World:update`.
1447
+ ---
1448
+ ---A higher number of steps will be slower, but more accurate.
1449
+ ---
1450
+ ---The default step count is 20.
1451
+ ---
1452
+ ---@return number steps # The step count.
1453
+ function World:getStepCount() end
1454
+
1455
+ ---
1456
+ ---Returns the tightness of joints in the World.
1457
+ ---
1458
+ ---The tightness controls how much force is applied to colliders connected by joints.
1459
+ ---
1460
+ ---With a value of 0, no force will be applied and joints won't have any effect.
1461
+ ---
1462
+ ---With a tightness of 1, a strong force will be used to try to keep the Colliders constrained.
1463
+ ---
1464
+ ---A tightness larger than 1 will overcorrect the joints, which can sometimes be desirable.
1465
+ ---
1466
+ ---Negative tightness values are not supported.
1467
+ ---
1468
+ ---@return number tightness # The tightness of the World.
1469
+ function World:getTightness() end
1470
+
1471
+ ---
1472
+ ---Returns whether collisions are currently enabled between two tags.
1473
+ ---
1474
+ ---
1475
+ ---### NOTE:
1476
+ ---Tags must be set up when creating the World, see `lovr.physics.newWorld`.
1477
+ ---
1478
+ ---By default, collision is enabled between all tags.
1479
+ ---
1480
+ ---@param tag1 string # The first tag.
1481
+ ---@param tag2 string # The second tag.
1482
+ ---@return boolean enabled # Whether or not two colliders with the specified tags will collide.
1483
+ function World:isCollisionEnabledBetween(tag1, tag2) end
1484
+
1485
+ ---
1486
+ ---Returns whether colliders can go to sleep in the World.
1487
+ ---
1488
+ ---
1489
+ ---### NOTE:
1490
+ ---If sleeping is enabled, the World will try to detect colliders that haven't moved for a while and put them to sleep.
1491
+ ---
1492
+ ---Sleeping colliders don't impact the physics simulation, which makes updates more efficient and improves physics performance.
1493
+ ---
1494
+ ---However, the physics engine isn't perfect at waking up sleeping colliders and this can lead to bugs where colliders don't react to forces or collisions properly.
1495
+ ---
1496
+ ---This can be set on individual colliders.
1497
+ ---
1498
+ ---Colliders can be manually put to sleep or woken up using `Collider:setAwake`.
1499
+ ---
1500
+ ---@return boolean allowed # Whether colliders can sleep.
1501
+ function World:isSleepingAllowed() end
1502
+
1503
+ ---
1504
+ ---Adds a new Collider to the World with a BoxShape already attached.
1505
+ ---
1506
+ ---@param x? number # The x coordinate of the center of the box.
1507
+ ---@param y? number # The y coordinate of the center of the box.
1508
+ ---@param z? number # The z coordinate of the center of the box.
1509
+ ---@param width? number # The total width of the box, in meters.
1510
+ ---@param height? number # The total height of the box, in meters.
1511
+ ---@param depth? number # The total depth of the box, in meters.
1512
+ ---@return lovr.Collider collider # The new Collider.
1513
+ function World:newBoxCollider(x, y, z, width, height, depth) end
1514
+
1515
+ ---
1516
+ ---Adds a new Collider to the World with a CapsuleShape already attached.
1517
+ ---
1518
+ ---@param x? number # The x coordinate of the center of the capsule.
1519
+ ---@param y? number # The y coordinate of the center of the capsule.
1520
+ ---@param z? number # The z coordinate of the center of the capsule.
1521
+ ---@param radius? number # The radius of the capsule, in meters.
1522
+ ---@param length? number # The length of the capsule, not including the caps, in meters.
1523
+ ---@return lovr.Collider collider # The new Collider.
1524
+ function World:newCapsuleCollider(x, y, z, radius, length) end
1525
+
1526
+ ---
1527
+ ---Adds a new Collider to the World.
1528
+ ---
1529
+ ---
1530
+ ---### NOTE:
1531
+ ---This function creates a collider without any shapes attached to it, which means it won't collide with anything.
1532
+ ---
1533
+ ---To add a shape to the collider, use `Collider:addShape`, or use one of the following functions to create the collider:
1534
+ ---
1535
+ ---- `World:newBoxCollider`
1536
+ ---- `World:newCapsuleCollider`
1537
+ ---- `World:newCylinderCollider`
1538
+ ---- `World:newSphereCollider`
1539
+ ---
1540
+ ---@param x? number # The x position of the Collider.
1541
+ ---@param y? number # The y position of the Collider.
1542
+ ---@param z? number # The z position of the Collider.
1543
+ ---@return lovr.Collider collider # The new Collider.
1544
+ function World:newCollider(x, y, z) end
1545
+
1546
+ ---
1547
+ ---Adds a new Collider to the World with a CylinderShape already attached.
1548
+ ---
1549
+ ---@param x? number # The x coordinate of the center of the cylinder.
1550
+ ---@param y? number # The y coordinate of the center of the cylinder.
1551
+ ---@param z? number # The z coordinate of the center of the cylinder.
1552
+ ---@param radius? number # The radius of the cylinder, in meters.
1553
+ ---@param length? number # The length of the cylinder, in meters.
1554
+ ---@return lovr.Collider collider # The new Collider.
1555
+ function World:newCylinderCollider(x, y, z, radius, length) end
1556
+
1557
+ ---
1558
+ ---Adds a new Collider to the World with a MeshShape already attached.
1559
+ ---
1560
+ ---@overload fun(self: lovr.World, model: lovr.Model):lovr.Collider
1561
+ ---@param vertices table # The table of vertices in the mesh. Each vertex is a table with 3 numbers.
1562
+ ---@param indices table # A table of triangle indices representing how the vertices are connected in the Mesh.
1563
+ ---@return lovr.Collider collider # The new Collider.
1564
+ function World:newMeshCollider(vertices, indices) end
1565
+
1566
+ ---
1567
+ ---Adds a new Collider to the World with a SphereShape already attached.
1568
+ ---
1569
+ ---@param x? number # The x coordinate of the center of the sphere.
1570
+ ---@param y? number # The y coordinate of the center of the sphere.
1571
+ ---@param z? number # The z coordinate of the center of the sphere.
1572
+ ---@param radius? number # The radius of the sphere, in meters.
1573
+ ---@return lovr.Collider collider # The new Collider.
1574
+ function World:newSphereCollider(x, y, z, radius) end
1575
+
1576
+ ---
1577
+ ---Adds a new Collider to the World with a TerrainShape already attached.
1578
+ ---
1579
+ ---
1580
+ ---### NOTE:
1581
+ ---The collider will be positioned at 0, 0, 0.
1582
+ ---
1583
+ ---Unlike other colliders, it will automatically be set as kinematic when created.
1584
+ ---
1585
+ ---@overload fun(self: lovr.World, scale: number, heightmap: lovr.Image, stretch?: number):lovr.Collider
1586
+ ---@overload fun(self: lovr.World, scale: number, callback: function, samples?: number):lovr.Collider
1587
+ ---@param scale number # The width and depth of the terrain, in meters.
1588
+ ---@return lovr.Collider collider # The new Collider.
1589
+ function World:newTerrainCollider(scale) end
1590
+
1591
+ ---
1592
+ ---Returns an iterator that can be used to iterate over "overlaps", or potential collisions between pairs of shapes in the World.
1593
+ ---
1594
+ ---This should be called after using `World:computeOverlaps` to compute the list of overlaps. Usually this is called automatically by `World:update`.
1595
+ ---
1596
+ ---@return function iterator # A Lua iterator, usable in a for loop.
1597
+ function World:overlaps() end
1598
+
1599
+ ---
1600
+ ---Casts a ray through the World, calling a function every time the ray intersects with a Shape.
1601
+ ---
1602
+ ---
1603
+ ---### NOTE:
1604
+ ---The callback is passed the shape that was hit, the hit position (in world coordinates), and the normal vector of the hit.
1605
+ ---
1606
+ ---@param x1 number # The x coordinate of the starting position of the ray.
1607
+ ---@param y1 number # The y coordinate of the starting position of the ray.
1608
+ ---@param z1 number # The z coordinate of the starting position of the ray.
1609
+ ---@param x2 number # The x coordinate of the ending position of the ray.
1610
+ ---@param y2 number # The y coordinate of the ending position of the ray.
1611
+ ---@param z2 number # The z coordinate of the ending position of the ray.
1612
+ ---@param callback function # The function to call when an intersection is detected.
1613
+ function World:raycast(x1, y1, z1, x2, y2, z2, callback) end
1614
+
1615
+ ---
1616
+ ---Sets the angular damping of the World.
1617
+ ---
1618
+ ---Angular damping makes things less "spinny", making them slow down their angular velocity over time. Damping is only applied when angular velocity is over the threshold value.
1619
+ ---
1620
+ ---
1621
+ ---### NOTE:
1622
+ ---Angular damping can also be set on individual colliders.
1623
+ ---
1624
+ ---@param damping number # The angular damping.
1625
+ ---@param threshold? number # Velocity limit below which the damping is not applied.
1626
+ function World:setAngularDamping(damping, threshold) end
1627
+
1628
+ ---
1629
+ ---Sets the gravity of the World.
1630
+ ---
1631
+ ---@param xg number # The x component of the gravity force.
1632
+ ---@param yg number # The y component of the gravity force.
1633
+ ---@param zg number # The z component of the gravity force.
1634
+ function World:setGravity(xg, yg, zg) end
1635
+
1636
+ ---
1637
+ ---Sets the linear damping of the World.
1638
+ ---
1639
+ ---Linear damping is similar to drag or air resistance, slowing down colliders over time as they move. Damping is only applied when linear velocity is over the threshold value.
1640
+ ---
1641
+ ---
1642
+ ---### NOTE:
1643
+ ---A linear damping of 0 means colliders won't slow down over time.
1644
+ ---
1645
+ ---This is the default.
1646
+ ---
1647
+ ---Linear damping can also be set on individual colliders.
1648
+ ---
1649
+ ---@param damping number # The linear damping.
1650
+ ---@param threshold? number # Velocity limit below which the damping is not applied.
1651
+ function World:setLinearDamping(damping, threshold) end
1652
+
1653
+ ---
1654
+ ---Sets the response time factor of the World.
1655
+ ---
1656
+ ---The response time controls how relaxed collisions and joints are in the physics simulation, and functions similar to inertia.
1657
+ ---
1658
+ ---A low response time means collisions are resolved quickly, and higher values make objects more spongy and soft.
1659
+ ---
1660
+ ---The value can be any positive number.
1661
+ ---
1662
+ ---It can be changed on a per-joint basis for `DistanceJoint` and `BallJoint` objects.
1663
+ ---
1664
+ ---@param responseTime number # The new response time setting for the World.
1665
+ function World:setResponseTime(responseTime) end
1666
+
1667
+ ---
1668
+ ---Sets whether colliders can go to sleep in the World.
1669
+ ---
1670
+ ---
1671
+ ---### NOTE:
1672
+ ---If sleeping is enabled, the World will try to detect colliders that haven't moved for a while and put them to sleep.
1673
+ ---
1674
+ ---Sleeping colliders don't impact the physics simulation, which makes updates more efficient and improves physics performance.
1675
+ ---
1676
+ ---However, the physics engine isn't perfect at waking up sleeping colliders and this can lead to bugs where colliders don't react to forces or collisions properly.
1677
+ ---
1678
+ ---This can be set on individual colliders.
1679
+ ---
1680
+ ---Colliders can be manually put to sleep or woken up using `Collider:setAwake`.
1681
+ ---
1682
+ ---@param allowed boolean # Whether colliders can sleep.
1683
+ function World:setSleepingAllowed(allowed) end
1684
+
1685
+ ---
1686
+ ---Sets the step count of the World.
1687
+ ---
1688
+ ---The step count influences how many steps are taken during a call to `World:update`.
1689
+ ---
1690
+ ---A higher number of steps will be slower, but more accurate.
1691
+ ---
1692
+ ---The default step count is 20.
1693
+ ---
1694
+ ---@param steps number # The new step count.
1695
+ function World:setStepCount(steps) end
1696
+
1697
+ ---
1698
+ ---Sets the tightness of joints in the World.
1699
+ ---
1700
+ ---The tightness controls how much force is applied to colliders connected by joints.
1701
+ ---
1702
+ ---With a value of 0, no force will be applied and joints won't have any effect.
1703
+ ---
1704
+ ---With a tightness of 1, a strong force will be used to try to keep the Colliders constrained.
1705
+ ---
1706
+ ---A tightness larger than 1 will overcorrect the joints, which can sometimes be desirable.
1707
+ ---
1708
+ ---Negative tightness values are not supported.
1709
+ ---
1710
+ ---@param tightness number # The new tightness for the World.
1711
+ function World:setTightness(tightness) end
1712
+
1713
+ ---
1714
+ ---Updates the World, advancing the physics simulation forward in time and resolving collisions between colliders in the World.
1715
+ ---
1716
+ ---
1717
+ ---### NOTE:
1718
+ ---It is common to pass the `dt` variable from `lovr.update` into this function.
1719
+ ---
1720
+ ---The default collision resolver function is:
1721
+ ---
1722
+ --- function defaultResolver(world)
1723
+ --- world:computeOverlaps()
1724
+ --- for shapeA, shapeB in world:overlaps() do
1725
+ --- world:collide(shapeA, shapeB)
1726
+ --- end
1727
+ --- end
1728
+ ---
1729
+ ---Additional logic could be introduced to the collision resolver function to add custom collision behavior or to change the collision parameters (like friction and restitution) on a per-collision basis.
1730
+ ---
1731
+ ---> If possible, use a fixed timestep value for updating the World. It will greatly improve the
1732
+ ---> accuracy of the simulation and reduce bugs. For more information on implementing a fixed
1733
+ ---> timestep loop, see [this article](http://gafferongames.com/game-physics/fix-your-timestep/).
1734
+ ---
1735
+ ---@param dt number # The amount of time to advance the simulation forward.
1736
+ ---@param resolver? function # The collision resolver function to use. This will be called before updating to allow for custom collision processing. If absent, a default will be used.
1737
+ function World:update(dt, resolver) end
1738
+
1739
+ ---
1740
+ ---Represents the different types of physics Joints available.
1741
+ ---
1742
+ ---@alias lovr.JointType
1743
+ ---
1744
+ ---A BallJoint.
1745
+ ---
1746
+ ---| "ball"
1747
+ ---
1748
+ ---A DistanceJoint.
1749
+ ---
1750
+ ---| "distance"
1751
+ ---
1752
+ ---A HingeJoint.
1753
+ ---
1754
+ ---| "hinge"
1755
+ ---
1756
+ ---A SliderJoint.
1757
+ ---
1758
+ ---| "slider"
1759
+
1760
+ ---
1761
+ ---Represents the different types of physics Shapes available.
1762
+ ---
1763
+ ---@alias lovr.ShapeType
1764
+ ---
1765
+ ---A BoxShape.
1766
+ ---
1767
+ ---| "box"
1768
+ ---
1769
+ ---A CapsuleShape.
1770
+ ---
1771
+ ---| "capsule"
1772
+ ---
1773
+ ---A CylinderShape.
1774
+ ---
1775
+ ---| "cylinder"
1776
+ ---
1777
+ ---A SphereShape.
1778
+ ---
1779
+ ---| "sphere"