lycheedev 2.0.6 → 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 (1258) 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/InputProtocol.lua +76 -0
  7. package/payload/addon/Bridge/Investigation.lua +159 -0
  8. package/payload/addon/Bridge/ProbeQueue.lua +20 -3
  9. package/payload/addon/Bridge/ProbeRunner.lua +159 -17
  10. package/payload/addon/Bridge/ReceiptView.lua +32 -6
  11. package/payload/addon/Bridge/Receiver.lua +326 -0
  12. package/payload/addon/Bridge/ReceiverBindings.lua +241 -0
  13. package/payload/addon/Bridge/Reentry.lua +11 -10
  14. package/payload/addon/Bridge/ReportStore.lua +46 -6
  15. package/payload/addon/Bridge/Session.lua +13 -3
  16. package/payload/addon/Bridge/StartupBeacon.lua +66 -0
  17. package/payload/addon/Core/Compat.lua +19 -0
  18. package/payload/addon/Core/Controls.lua +43 -2
  19. package/payload/addon/Core/Locale.lua +53 -2
  20. package/payload/addon/Core/Locale_enUS.lua +53 -2
  21. package/payload/addon/Core/Persistence.lua +25 -1
  22. package/payload/addon/Core/Runtime.lua +4 -1
  23. package/payload/addon/Lychee Dev.toc +10 -1
  24. package/payload/addon/Media/RoundedPanel.png +0 -0
  25. package/payload/addon/Modules/AutomationView.lua +14 -4
  26. package/payload/addon/UI/Export.lua +14 -16
  27. package/payload/addon/UI/Pages/About.lua +37 -56
  28. package/payload/addon/UI/Pages/Automation.lua +82 -51
  29. package/payload/addon/UI/Pages/Diagnostics.lua +34 -44
  30. package/payload/addon/UI/Pages/Events.lua +64 -108
  31. package/payload/addon/UI/Pages/ExportRecords.lua +53 -30
  32. package/payload/addon/UI/Pages/Object.lua +59 -63
  33. package/payload/addon/UI/Pages/Run.lua +33 -23
  34. package/payload/addon/UI/Pages/Settings.lua +82 -0
  35. package/payload/addon/UI/Pages/Trace.lua +20 -30
  36. package/payload/addon/UI/Theme.lua +152 -0
  37. package/payload/addon/UI/TreeView.lua +8 -4
  38. package/payload/addon/UI/Widgets.lua +279 -152
  39. package/payload/addon/UI/Window.lua +255 -53
  40. package/payload/skill/SKILL.md +51 -17
  41. package/payload/skill/references/addon-validation.md +16 -3
  42. package/payload/skill/references/asset-export.md +8 -2
  43. package/payload/skill/references/commands.md +54 -44
  44. package/payload/skill/references/data-investigation.md +47 -5
  45. package/payload/skill/references/data-query-recipes.md +73 -0
  46. package/payload/skill/references/error-diagnosis.md +6 -0
  47. package/payload/skill/references/installation.md +6 -0
  48. package/payload/skill/references/live-investigation.md +159 -7
  49. package/payload/skill/references/live-startup.md +75 -25
  50. package/payload/skill/references/source-research.md +96 -24
  51. package/payload/tool/luals/LICENSE +21 -0
  52. package/payload/tool/luals/bin/concrt140.dll +0 -0
  53. package/payload/tool/luals/bin/lua-language-server.exe +0 -0
  54. package/payload/tool/luals/bin/main.lua +85 -0
  55. package/payload/tool/luals/bin/msvcp140.dll +0 -0
  56. package/payload/tool/luals/bin/msvcp140_1.dll +0 -0
  57. package/payload/tool/luals/bin/msvcp140_2.dll +0 -0
  58. package/payload/tool/luals/bin/msvcp140_atomic_wait.dll +0 -0
  59. package/payload/tool/luals/bin/msvcp140_codecvt_ids.dll +0 -0
  60. package/payload/tool/luals/bin/vcruntime140.dll +0 -0
  61. package/payload/tool/luals/bin/vcruntime140_1.dll +0 -0
  62. package/payload/tool/luals/bin/vcruntime140_threads.dll +0 -0
  63. package/payload/tool/luals/changelog.md +2413 -0
  64. package/payload/tool/luals/debugger.lua +66 -0
  65. package/payload/tool/luals/locale/en-us/meta.lua +885 -0
  66. package/payload/tool/luals/locale/en-us/script.lua +1346 -0
  67. package/payload/tool/luals/locale/en-us/setting.lua +621 -0
  68. package/payload/tool/luals/locale/es-419/meta.lua +884 -0
  69. package/payload/tool/luals/locale/es-419/script.lua +1349 -0
  70. package/payload/tool/luals/locale/es-419/setting.lua +625 -0
  71. package/payload/tool/luals/locale/ja-jp/meta.lua +880 -0
  72. package/payload/tool/luals/locale/ja-jp/script.lua +1341 -0
  73. package/payload/tool/luals/locale/ja-jp/setting.lua +620 -0
  74. package/payload/tool/luals/locale/pt-br/meta.lua +885 -0
  75. package/payload/tool/luals/locale/pt-br/script.lua +1343 -0
  76. package/payload/tool/luals/locale/pt-br/setting.lua +620 -0
  77. package/payload/tool/luals/locale/zh-cn/meta.lua +864 -0
  78. package/payload/tool/luals/locale/zh-cn/script.lua +1337 -0
  79. package/payload/tool/luals/locale/zh-cn/setting.lua +619 -0
  80. package/payload/tool/luals/locale/zh-tw/meta.lua +868 -0
  81. package/payload/tool/luals/locale/zh-tw/script.lua +1333 -0
  82. package/payload/tool/luals/locale/zh-tw/setting.lua +619 -0
  83. package/payload/tool/luals/main.lua +85 -0
  84. package/payload/tool/luals/meta/3rd/Cocos4.0/config.json +7 -0
  85. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Action.lua +81 -0
  86. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionCamera.lua +44 -0
  87. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionEase.lua +26 -0
  88. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionFloat.lua +43 -0
  89. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionInstant.lua +27 -0
  90. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionInterval.lua +40 -0
  91. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionManager.lua +121 -0
  92. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ActionTween.lua +44 -0
  93. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AmbientLight.lua +18 -0
  94. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animate.lua +49 -0
  95. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animate3D.lua +106 -0
  96. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animation.lua +107 -0
  97. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Animation3D.lua +26 -0
  98. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AnimationCache.lua +58 -0
  99. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AnimationFrame.lua +55 -0
  100. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Application.lua +35 -0
  101. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AssetsManager.lua +66 -0
  102. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AssetsManagerEx.lua +60 -0
  103. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AsyncTaskPool.lua +28 -0
  104. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AtlasNode.lua +95 -0
  105. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AttachNode.lua +29 -0
  106. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AudioEngine.lua +148 -0
  107. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AudioProfile.lua +10 -0
  108. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/AutoPolygon.lua +13 -0
  109. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BaseLight.lua +31 -0
  110. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BezierBy.lua +29 -0
  111. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BezierTo.lua +24 -0
  112. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/BillBoard.lua +38 -0
  113. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Blink.lua +40 -0
  114. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Bundle3D.lua +56 -0
  115. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CSLoader.lua +65 -0
  116. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CallFunc.lua +22 -0
  117. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Camera.lua +163 -0
  118. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundBrush.lua +64 -0
  119. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundColorBrush.lua +33 -0
  120. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundDepthBrush.lua +31 -0
  121. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CameraBackgroundSkyBoxBrush.lua +49 -0
  122. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CardinalSplineBy.lua +23 -0
  123. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CardinalSplineTo.lua +42 -0
  124. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CatmullRomBy.lua +19 -0
  125. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/CatmullRomTo.lua +19 -0
  126. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ClippingNode.lua +74 -0
  127. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ClippingRectangleNode.lua +35 -0
  128. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Component.lua +43 -0
  129. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ComponentLua.lua +21 -0
  130. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Console.lua +37 -0
  131. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Control.lua +91 -0
  132. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlButton.lua +260 -0
  133. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlColourPicker.lua +55 -0
  134. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlHuePicker.lua +64 -0
  135. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlPotentiometer.lua +119 -0
  136. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSaturationBrightnessPicker.lua +44 -0
  137. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSlider.lua +106 -0
  138. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlStepper.lua +108 -0
  139. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ControlSwitch.lua +70 -0
  140. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Controller.lua +53 -0
  141. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DelayTime.lua +25 -0
  142. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Device.lua +31 -0
  143. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DirectionLight.lua +31 -0
  144. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Director.lua +306 -0
  145. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/DrawNode.lua +182 -0
  146. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackIn.lua +23 -0
  147. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackInOut.lua +23 -0
  148. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBackOut.lua +23 -0
  149. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBezierAction.lua +32 -0
  150. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounce.lua +5 -0
  151. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceIn.lua +23 -0
  152. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceInOut.lua +23 -0
  153. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseBounceOut.lua +23 -0
  154. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionIn.lua +23 -0
  155. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionInOut.lua +23 -0
  156. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCircleActionOut.lua +23 -0
  157. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionIn.lua +23 -0
  158. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionInOut.lua +23 -0
  159. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseCubicActionOut.lua +23 -0
  160. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElastic.lua +23 -0
  161. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticIn.lua +24 -0
  162. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticInOut.lua +24 -0
  163. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseElasticOut.lua +24 -0
  164. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialIn.lua +23 -0
  165. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialInOut.lua +23 -0
  166. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseExponentialOut.lua +23 -0
  167. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseIn.lua +24 -0
  168. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseInOut.lua +24 -0
  169. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseOut.lua +24 -0
  170. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionIn.lua +23 -0
  171. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionInOut.lua +23 -0
  172. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuadraticActionOut.lua +23 -0
  173. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionIn.lua +23 -0
  174. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionInOut.lua +23 -0
  175. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuarticActionOut.lua +23 -0
  176. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionIn.lua +23 -0
  177. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionInOut.lua +23 -0
  178. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseQuinticActionOut.lua +23 -0
  179. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseRateAction.lua +28 -0
  180. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineIn.lua +23 -0
  181. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineInOut.lua +23 -0
  182. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EaseSineOut.lua +23 -0
  183. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Event.lua +27 -0
  184. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventAcceleration.lua +5 -0
  185. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventAssetsManagerEx.lua +53 -0
  186. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventController.lua +37 -0
  187. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventCustom.lua +16 -0
  188. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventDispatcher.lua +111 -0
  189. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventFocus.lua +14 -0
  190. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventKeyboard.lua +14 -0
  191. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListener.lua +26 -0
  192. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerAcceleration.lua +19 -0
  193. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerAssetsManagerEx.lua +20 -0
  194. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerController.lua +16 -0
  195. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerCustom.lua +15 -0
  196. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerFocus.lua +18 -0
  197. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerKeyboard.lua +18 -0
  198. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerMouse.lua +18 -0
  199. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContact.lua +16 -0
  200. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithBodies.lua +19 -0
  201. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithGroup.lua +18 -0
  202. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerPhysicsContactWithShapes.lua +19 -0
  203. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerTouchAllAtOnce.lua +18 -0
  204. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventListenerTouchOneByOne.lua +27 -0
  205. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventMouse.lua +88 -0
  206. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/EventTouch.lua +19 -0
  207. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeIn.lua +29 -0
  208. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOut.lua +28 -0
  209. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutBLTiles.lua +25 -0
  210. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutDownTiles.lua +25 -0
  211. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutTRTiles.lua +49 -0
  212. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeOutUpTiles.lua +30 -0
  213. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FadeTo.lua +37 -0
  214. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FastTMXLayer.lua +132 -0
  215. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FastTMXTiledMap.lua +87 -0
  216. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FileUtils.lua +340 -0
  217. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FiniteTimeAction.lua +21 -0
  218. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipX.lua +29 -0
  219. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipX3D.lua +36 -0
  220. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipY.lua +29 -0
  221. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/FlipY3D.lua +22 -0
  222. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Follow.lua +85 -0
  223. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GLView.lua +184 -0
  224. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GLViewImpl.lua +30 -0
  225. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Grid3D.lua +43 -0
  226. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Grid3DAction.lua +16 -0
  227. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GridAction.lua +28 -0
  228. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/GridBase.lua +86 -0
  229. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Hide.lua +23 -0
  230. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Image.lua +70 -0
  231. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpBy.lua +43 -0
  232. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpTiles3D.lua +58 -0
  233. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/JumpTo.lua +39 -0
  234. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Label.lua +397 -0
  235. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LabelAtlas.lua +42 -0
  236. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Layer.lua +19 -0
  237. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerColor.lua +67 -0
  238. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerGradient.lua +86 -0
  239. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerMultiplex.lua +37 -0
  240. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/LayerRadialGradient.lua +100 -0
  241. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Lens3D.lua +63 -0
  242. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Liquid.lua +58 -0
  243. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Manifest.lua +27 -0
  244. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Material.lua +88 -0
  245. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Menu.lua +68 -0
  246. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItem.lua +34 -0
  247. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemAtlasFont.lua +18 -0
  248. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemFont.lua +54 -0
  249. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemImage.lua +31 -0
  250. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemLabel.lua +48 -0
  251. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemSprite.lua +48 -0
  252. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MenuItemToggle.lua +47 -0
  253. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Mesh.lua +82 -0
  254. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MotionStreak.lua +121 -0
  255. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MotionStreak3D.lua +143 -0
  256. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MoveBy.lua +35 -0
  257. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/MoveTo.lua +31 -0
  258. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMesh.lua +47 -0
  259. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMeshAgent.lua +122 -0
  260. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NavMeshObstacle.lua +49 -0
  261. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Node.lua +802 -0
  262. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/NodeGrid.lua +43 -0
  263. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/OrbitCamera.lua +48 -0
  264. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PUParticleSystem3D.lua +192 -0
  265. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PageTurn3D.lua +24 -0
  266. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParallaxNode.lua +49 -0
  267. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleBatchNode.lua +116 -0
  268. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleData.lua +24 -0
  269. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleExplosion.lua +27 -0
  270. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFire.lua +27 -0
  271. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFireworks.lua +27 -0
  272. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleFlower.lua +27 -0
  273. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleGalaxy.lua +27 -0
  274. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleMeteor.lua +27 -0
  275. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleRain.lua +27 -0
  276. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSmoke.lua +27 -0
  277. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSnow.lua +27 -0
  278. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSpiral.lua +27 -0
  279. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSun.lua +27 -0
  280. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystem.lua +526 -0
  281. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystem3D.lua +87 -0
  282. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ParticleSystemQuad.lua +52 -0
  283. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Pass.lua +148 -0
  284. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3D6DofConstraint.lua +58 -0
  285. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DComponent.lua +46 -0
  286. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DConeTwistConstraint.lua +97 -0
  287. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DConstraint.lua +46 -0
  288. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DHingeConstraint.lua +100 -0
  289. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DObject.lua +39 -0
  290. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DPointToPointConstraint.lua +39 -0
  291. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DRigidBody.lua +201 -0
  292. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DShape.lua +64 -0
  293. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DSliderConstraint.lua +245 -0
  294. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Physics3DWorld.lua +63 -0
  295. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsBody.lua +335 -0
  296. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua +21 -0
  297. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContactPostSolve.lua +15 -0
  298. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsContactPreSolve.lua +30 -0
  299. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua +48 -0
  300. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointDistance.lua +28 -0
  301. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointFixed.lua +19 -0
  302. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointGear.lua +35 -0
  303. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointGroove.lua +44 -0
  304. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointLimit.lua +47 -0
  305. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointMotor.lua +26 -0
  306. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointPin.lua +17 -0
  307. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRatchet.lua +42 -0
  308. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotaryLimit.lua +31 -0
  309. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointRotarySpring.lua +42 -0
  310. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsJointSpring.lua +60 -0
  311. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShape.lua +155 -0
  312. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeBox.lua +25 -0
  313. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeCircle.lua +44 -0
  314. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeBox.lua +22 -0
  315. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeChain.lua +14 -0
  316. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgePolygon.lua +14 -0
  317. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapeEdgeSegment.lua +30 -0
  318. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsShapePolygon.lua +24 -0
  319. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsSprite3D.lua +22 -0
  320. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PhysicsWorld.lua +147 -0
  321. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Place.lua +29 -0
  322. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PointLight.lua +29 -0
  323. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/PolygonInfo.lua +60 -0
  324. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressFromTo.lua +43 -0
  325. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressTimer.lua +107 -0
  326. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProgressTo.lua +39 -0
  327. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Properties.lua +226 -0
  328. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ProtectedNode.lua +96 -0
  329. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Ref.lua +25 -0
  330. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RemoveSelf.lua +28 -0
  331. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RenderState.lua +15 -0
  332. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RenderTexture.lua +166 -0
  333. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Renderer.lua +251 -0
  334. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Repeat.lua +51 -0
  335. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RepeatForever.lua +45 -0
  336. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ReuseGrid.lua +31 -0
  337. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Ripple3D.lua +75 -0
  338. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RotateBy.lua +39 -0
  339. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/RotateTo.lua +38 -0
  340. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ScaleBy.lua +28 -0
  341. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ScaleTo.lua +41 -0
  342. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Scene.lua +72 -0
  343. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Scheduler.lua +30 -0
  344. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sequence.lua +38 -0
  345. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShaderCache.lua +27 -0
  346. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Shaky3D.lua +40 -0
  347. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShakyTiles3D.lua +40 -0
  348. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.lua +40 -0
  349. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Show.lua +23 -0
  350. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ShuffleTiles.lua +44 -0
  351. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Skeleton3D.lua +41 -0
  352. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SkewBy.lua +35 -0
  353. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SkewTo.lua +39 -0
  354. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Skybox.lua +44 -0
  355. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Spawn.lua +35 -0
  356. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Speed.lua +60 -0
  357. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SplitCols.lua +36 -0
  358. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SplitRows.lua +36 -0
  359. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpotLight.lua +70 -0
  360. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite.lua +337 -0
  361. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3D.lua +118 -0
  362. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3DCache.lua +22 -0
  363. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Sprite3DMaterial.lua +35 -0
  364. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteBatchNode.lua +188 -0
  365. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteFrame.lua +153 -0
  366. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/SpriteFrameCache.lua +106 -0
  367. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/StopGrid.lua +23 -0
  368. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXLayer.lua +141 -0
  369. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXLayerInfo.lua +16 -0
  370. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXMapInfo.lua +161 -0
  371. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXObjectGroup.lua +58 -0
  372. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXTiledMap.lua +106 -0
  373. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TMXTilesetInfo.lua +13 -0
  374. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TableView.lua +81 -0
  375. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TableViewCell.lua +22 -0
  376. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TargetedAction.lua +48 -0
  377. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Technique.lua +41 -0
  378. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Terrain.lua +108 -0
  379. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Texture2D.lua +161 -0
  380. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TextureCache.lua +98 -0
  381. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TextureCube.lua +36 -0
  382. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TileMapAtlas.lua +39 -0
  383. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TiledGrid3D.lua +25 -0
  384. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TiledGrid3DAction.lua +12 -0
  385. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Timer.lua +32 -0
  386. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TintBy.lua +42 -0
  387. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TintTo.lua +38 -0
  388. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/ToggleVisibility.lua +23 -0
  389. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Touch.lua +61 -0
  390. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionCrossFade.lua +23 -0
  391. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionEaseScene.lua +13 -0
  392. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFade.lua +23 -0
  393. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeBL.lua +21 -0
  394. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeDown.lua +21 -0
  395. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeTR.lua +33 -0
  396. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFadeUp.lua +21 -0
  397. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipAngular.lua +16 -0
  398. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipX.lua +16 -0
  399. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionFlipY.lua +16 -0
  400. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionJumpZoom.lua +17 -0
  401. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInB.lua +17 -0
  402. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInL.lua +25 -0
  403. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInR.lua +17 -0
  404. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionMoveInT.lua +17 -0
  405. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionPageTurn.lua +45 -0
  406. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgress.lua +17 -0
  407. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressHorizontal.lua +17 -0
  408. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressInOut.lua +17 -0
  409. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressOutIn.lua +17 -0
  410. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressRadialCCW.lua +17 -0
  411. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressRadialCW.lua +17 -0
  412. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionProgressVertical.lua +17 -0
  413. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionRotoZoom.lua +17 -0
  414. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionScene.lua +43 -0
  415. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSceneOriented.lua +25 -0
  416. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionShrinkGrow.lua +21 -0
  417. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInB.lua +20 -0
  418. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInL.lua +25 -0
  419. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInR.lua +20 -0
  420. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSlideInT.lua +20 -0
  421. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSplitCols.lua +31 -0
  422. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionSplitRows.lua +20 -0
  423. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionTurnOffTiles.lua +27 -0
  424. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipAngular.lua +16 -0
  425. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipX.lua +16 -0
  426. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TransitionZoomFlipY.lua +16 -0
  427. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/TurnOffTiles.lua +47 -0
  428. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Twirl.lua +71 -0
  429. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/UserDefault.lua +98 -0
  430. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Waves.lua +66 -0
  431. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/Waves3D.lua +58 -0
  432. package/payload/tool/luals/meta/3rd/Cocos4.0/library/cc/WavesTiles3D.lua +58 -0
  433. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/Program.lua +51 -0
  434. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/ProgramState.lua +40 -0
  435. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/Texture2DBackend.lua +70 -0
  436. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/TextureBackend.lua +48 -0
  437. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/TextureCubemapBackend.lua +13 -0
  438. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccb/VertexLayout.lua +39 -0
  439. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionFadeFrame.lua +24 -0
  440. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionFrame.lua +56 -0
  441. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionManagerEx.lua +45 -0
  442. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionMoveFrame.lua +24 -0
  443. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionObject.lua +82 -0
  444. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionRotationFrame.lua +24 -0
  445. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionScaleFrame.lua +33 -0
  446. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimeline.lua +162 -0
  447. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineCache.lua +53 -0
  448. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineData.lua +24 -0
  449. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTimelineNode.lua +36 -0
  450. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ActionTintFrame.lua +24 -0
  451. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AlphaFrame.lua +22 -0
  452. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AnchorPointFrame.lua +22 -0
  453. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/AnimationData.lua +23 -0
  454. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Armature.lua +136 -0
  455. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureAnimation.lua +100 -0
  456. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureData.lua +23 -0
  457. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua +101 -0
  458. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ArmatureDisplayData.lua +12 -0
  459. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BaseData.lua +19 -0
  460. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BatchNode.lua +30 -0
  461. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BlendFuncFrame.lua +22 -0
  462. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Bone.lua +164 -0
  463. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BoneData.lua +23 -0
  464. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/BoneNode.lua +129 -0
  465. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ColorFrame.lua +22 -0
  466. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComAttribute.lua +63 -0
  467. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua +131 -0
  468. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComController.lua +30 -0
  469. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComExtensionData.lua +40 -0
  470. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ComRender.lua +34 -0
  471. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ContourData.lua +19 -0
  472. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/DisplayData.lua +20 -0
  473. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/DisplayManager.lua +89 -0
  474. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/EventFrame.lua +29 -0
  475. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Frame.lua +58 -0
  476. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/FrameData.lua +16 -0
  477. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/GUIReader.lua +31 -0
  478. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/InnerActionFrame.lua +51 -0
  479. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/MovementBoneData.lua +23 -0
  480. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/MovementData.lua +20 -0
  481. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ParticleDisplayData.lua +12 -0
  482. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/PlayableFrame.lua +22 -0
  483. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua +36 -0
  484. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/RotationFrame.lua +22 -0
  485. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/RotationSkewFrame.lua +15 -0
  486. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ScaleFrame.lua +33 -0
  487. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SceneReader.lua +32 -0
  488. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SkeletonNode.lua +37 -0
  489. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SkewFrame.lua +29 -0
  490. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Skin.lua +54 -0
  491. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/SpriteDisplayData.lua +16 -0
  492. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/TextureData.lua +23 -0
  493. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/TextureFrame.lua +26 -0
  494. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Timeline.lua +60 -0
  495. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/Tween.lua +55 -0
  496. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/VisibleFrame.lua +22 -0
  497. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccs/ZOrderFrame.lua +22 -0
  498. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/AbstractCheckButton.lua +146 -0
  499. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Button.lua +223 -0
  500. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/CheckBox.lua +32 -0
  501. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/EditBox.lua +320 -0
  502. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/HBox.lua +23 -0
  503. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Helper.lua +70 -0
  504. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ImageView.lua +89 -0
  505. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Layout.lua +217 -0
  506. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LayoutComponent.lua +248 -0
  507. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LayoutParameter.lua +32 -0
  508. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LinearLayoutParameter.lua +32 -0
  509. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ListView.lua +302 -0
  510. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/LoadingBar.lua +84 -0
  511. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/PageView.lua +177 -0
  512. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RadioButton.lua +32 -0
  513. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RadioButtonGroup.lua +70 -0
  514. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RelativeBox.lua +23 -0
  515. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RelativeLayoutParameter.lua +50 -0
  516. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElement.lua +29 -0
  517. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementCustomNode.lua +35 -0
  518. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementImage.lua +55 -0
  519. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementNewLine.lua +21 -0
  520. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichElementText.lua +107 -0
  521. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/RichText.lua +208 -0
  522. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Scale9Sprite.lua +222 -0
  523. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/ScrollView.lua +375 -0
  524. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Slider.lua +188 -0
  525. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TabControl.lua +101 -0
  526. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TabHeader.lua +71 -0
  527. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Text.lua +203 -0
  528. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextAtlas.lua +65 -0
  529. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextBMFont.lua +52 -0
  530. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/TextField.lua +245 -0
  531. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/VBox.lua +23 -0
  532. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/VideoPlayer.lua +111 -0
  533. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/WebView.lua +90 -0
  534. package/payload/tool/luals/meta/3rd/Cocos4.0/library/ccui/Widget.lua +396 -0
  535. package/payload/tool/luals/meta/3rd/Cocos4.0/library/global.lua +215 -0
  536. package/payload/tool/luals/meta/3rd/Cocos4.0/library/sp/SkeletonAnimation.lua +111 -0
  537. package/payload/tool/luals/meta/3rd/Cocos4.0/library/sp/SkeletonRenderer.lua +126 -0
  538. package/payload/tool/luals/meta/3rd/Defold/config.json +22 -0
  539. package/payload/tool/luals/meta/3rd/Defold/library/base.lua +83 -0
  540. package/payload/tool/luals/meta/3rd/Defold/library/buffer.lua +68 -0
  541. package/payload/tool/luals/meta/3rd/Defold/library/built-ins.lua +24 -0
  542. package/payload/tool/luals/meta/3rd/Defold/library/collection_factory.lua +54 -0
  543. package/payload/tool/luals/meta/3rd/Defold/library/collection_proxy.lua +9 -0
  544. package/payload/tool/luals/meta/3rd/Defold/library/collision_object.lua +149 -0
  545. package/payload/tool/luals/meta/3rd/Defold/library/factory.lua +47 -0
  546. package/payload/tool/luals/meta/3rd/Defold/library/game_object.lua +340 -0
  547. package/payload/tool/luals/meta/3rd/Defold/library/gui.lua +929 -0
  548. package/payload/tool/luals/meta/3rd/Defold/library/html5.lua +23 -0
  549. package/payload/tool/luals/meta/3rd/Defold/library/http.lua +18 -0
  550. package/payload/tool/luals/meta/3rd/Defold/library/image.lua +20 -0
  551. package/payload/tool/luals/meta/3rd/Defold/library/json.lua +20 -0
  552. package/payload/tool/luals/meta/3rd/Defold/library/label.lua +20 -0
  553. package/payload/tool/luals/meta/3rd/Defold/library/luasocket.lua +484 -0
  554. package/payload/tool/luals/meta/3rd/Defold/library/message.lua +56 -0
  555. package/payload/tool/luals/meta/3rd/Defold/library/model.lua +43 -0
  556. package/payload/tool/luals/meta/3rd/Defold/library/particle_effects.lua +52 -0
  557. package/payload/tool/luals/meta/3rd/Defold/library/profiler.lua +89 -0
  558. package/payload/tool/luals/meta/3rd/Defold/library/render.lua +439 -0
  559. package/payload/tool/luals/meta/3rd/Defold/library/resource.lua +181 -0
  560. package/payload/tool/luals/meta/3rd/Defold/library/sound.lua +126 -0
  561. package/payload/tool/luals/meta/3rd/Defold/library/sprite.lua +32 -0
  562. package/payload/tool/luals/meta/3rd/Defold/library/system.lua +161 -0
  563. package/payload/tool/luals/meta/3rd/Defold/library/tilemap.lua +78 -0
  564. package/payload/tool/luals/meta/3rd/Defold/library/timer.lua +36 -0
  565. package/payload/tool/luals/meta/3rd/Defold/library/vector_math.lua +406 -0
  566. package/payload/tool/luals/meta/3rd/Defold/library/window.lua +56 -0
  567. package/payload/tool/luals/meta/3rd/Defold/library/zlib.lua +18 -0
  568. package/payload/tool/luals/meta/3rd/Jass/config.json +6 -0
  569. package/payload/tool/luals/meta/3rd/Jass/library/jass/common.lua +12329 -0
  570. package/payload/tool/luals/meta/3rd/OpenResty/config.json +19 -0
  571. package/payload/tool/luals/meta/3rd/OpenResty/library/cjson/safe.lua +42 -0
  572. package/payload/tool/luals/meta/3rd/OpenResty/library/cjson.lua +470 -0
  573. package/payload/tool/luals/meta/3rd/OpenResty/library/jit.lua +31 -0
  574. package/payload/tool/luals/meta/3rd/OpenResty/library/ndk.lua +4 -0
  575. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/balancer.lua +117 -0
  576. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/base64.lua +21 -0
  577. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/errlog.lua +119 -0
  578. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ocsp.lua +60 -0
  579. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/pipe.lua +307 -0
  580. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/process.lua +48 -0
  581. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/re.lua +102 -0
  582. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/req.lua +16 -0
  583. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/resp.lua +23 -0
  584. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/semaphore.lua +62 -0
  585. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl/clienthello.lua +99 -0
  586. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl/session.lua +51 -0
  587. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/ssl.lua +276 -0
  588. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx/upstream.lua +9 -0
  589. package/payload/tool/luals/meta/3rd/OpenResty/library/ngx.lua +4351 -0
  590. package/payload/tool/luals/meta/3rd/OpenResty/library/prometheus.lua +247 -0
  591. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/aes.lua +74 -0
  592. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/base.lua +51 -0
  593. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/base64.lua +4 -0
  594. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/ctx.lua +9 -0
  595. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/exit.lua +4 -0
  596. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/hash.lua +4 -0
  597. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/misc.lua +6 -0
  598. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/ndk.lua +4 -0
  599. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/phase.lua +4 -0
  600. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/regex.lua +55 -0
  601. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/request.lua +5 -0
  602. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/response.lua +5 -0
  603. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/shdict.lua +4 -0
  604. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/time.lua +4 -0
  605. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/uri.lua +4 -0
  606. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/utils.lua +10 -0
  607. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/var.lua +4 -0
  608. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core/worker.lua +4 -0
  609. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/core.lua +4 -0
  610. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/dns/resolver.lua +395 -0
  611. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/conn.lua +11 -0
  612. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/count.lua +7 -0
  613. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/req.lua +9 -0
  614. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/limit/traffic.lua +5 -0
  615. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lock.lua +125 -0
  616. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lrucache/pureffi.lua +18 -0
  617. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/lrucache.lua +107 -0
  618. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/md5.lua +16 -0
  619. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/memcached.lua +27 -0
  620. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/mysql.lua +15 -0
  621. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/random.lua +10 -0
  622. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/redis.lua +57 -0
  623. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha.lua +4 -0
  624. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha1.lua +10 -0
  625. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha224.lua +10 -0
  626. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha256.lua +10 -0
  627. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha384.lua +10 -0
  628. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/sha512.lua +10 -0
  629. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/shell.lua +60 -0
  630. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/signal.lua +69 -0
  631. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/string.lua +72 -0
  632. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/upload.lua +7 -0
  633. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/upstream/healthcheck.lua +6 -0
  634. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/client.lua +62 -0
  635. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/protocol.lua +172 -0
  636. package/payload/tool/luals/meta/3rd/OpenResty/library/resty/websocket/server.lua +16 -0
  637. package/payload/tool/luals/meta/3rd/OpenResty/library/table/clone.lua +25 -0
  638. package/payload/tool/luals/meta/3rd/OpenResty/library/table/isarray.lua +23 -0
  639. package/payload/tool/luals/meta/3rd/OpenResty/library/table/isempty.lua +22 -0
  640. package/payload/tool/luals/meta/3rd/OpenResty/library/table/nkeys.lua +23 -0
  641. package/payload/tool/luals/meta/3rd/OpenResty/library/tablepool.lua +29 -0
  642. package/payload/tool/luals/meta/3rd/OpenResty/library/thread/exdata.lua +43 -0
  643. package/payload/tool/luals/meta/3rd/OpenResty/library/thread/exdata2.lua +8 -0
  644. package/payload/tool/luals/meta/3rd/bee/LICENSE +21 -0
  645. package/payload/tool/luals/meta/3rd/bee/config.json +5 -0
  646. package/payload/tool/luals/meta/3rd/bee/library/bee/channel.lua +24 -0
  647. package/payload/tool/luals/meta/3rd/bee/library/bee/epoll.lua +58 -0
  648. package/payload/tool/luals/meta/3rd/bee/library/bee/filesystem.lua +189 -0
  649. package/payload/tool/luals/meta/3rd/bee/library/bee/platform.lua +62 -0
  650. package/payload/tool/luals/meta/3rd/bee/library/bee/select.lua +34 -0
  651. package/payload/tool/luals/meta/3rd/bee/library/bee/serialization.lua +14 -0
  652. package/payload/tool/luals/meta/3rd/bee/library/bee/socket.lua +102 -0
  653. package/payload/tool/luals/meta/3rd/bee/library/bee/subprocess.lua +82 -0
  654. package/payload/tool/luals/meta/3rd/bee/library/bee/sys.lua +12 -0
  655. package/payload/tool/luals/meta/3rd/bee/library/bee/thread.lua +48 -0
  656. package/payload/tool/luals/meta/3rd/bee/library/bee/time.lua +10 -0
  657. package/payload/tool/luals/meta/3rd/busted/config.json +7 -0
  658. package/payload/tool/luals/meta/3rd/busted/library/busted.lua +298 -0
  659. package/payload/tool/luals/meta/3rd/example/config.json +22 -0
  660. package/payload/tool/luals/meta/3rd/example/library/love.lua +8 -0
  661. package/payload/tool/luals/meta/3rd/example/plugin.lua +16 -0
  662. package/payload/tool/luals/meta/3rd/ffi-reflect/config.json +3 -0
  663. package/payload/tool/luals/meta/3rd/ffi-reflect/library/reflect.lua +128 -0
  664. package/payload/tool/luals/meta/3rd/lfs/config.json +9 -0
  665. package/payload/tool/luals/meta/3rd/lfs/library/lfs.lua +145 -0
  666. package/payload/tool/luals/meta/3rd/love2d/config.json +10 -0
  667. package/payload/tool/luals/meta/3rd/love2d/library/love/audio.lua +980 -0
  668. package/payload/tool/luals/meta/3rd/love2d/library/love/data.lua +264 -0
  669. package/payload/tool/luals/meta/3rd/love2d/library/love/event.lua +244 -0
  670. package/payload/tool/luals/meta/3rd/love2d/library/love/filesystem.lua +653 -0
  671. package/payload/tool/luals/meta/3rd/love2d/library/love/font.lua +281 -0
  672. package/payload/tool/luals/meta/3rd/love2d/library/love/graphics.lua +3977 -0
  673. package/payload/tool/luals/meta/3rd/love2d/library/love/image.lua +695 -0
  674. package/payload/tool/luals/meta/3rd/love2d/library/love/joystick.lua +464 -0
  675. package/payload/tool/luals/meta/3rd/love2d/library/love/keyboard.lua +1484 -0
  676. package/payload/tool/luals/meta/3rd/love2d/library/love/math.lua +704 -0
  677. package/payload/tool/luals/meta/3rd/love2d/library/love/mouse.lua +283 -0
  678. package/payload/tool/luals/meta/3rd/love2d/library/love/physics.lua +3281 -0
  679. package/payload/tool/luals/meta/3rd/love2d/library/love/sound.lua +189 -0
  680. package/payload/tool/luals/meta/3rd/love2d/library/love/system.lua +115 -0
  681. package/payload/tool/luals/meta/3rd/love2d/library/love/thread.lua +210 -0
  682. package/payload/tool/luals/meta/3rd/love2d/library/love/timer.lua +68 -0
  683. package/payload/tool/luals/meta/3rd/love2d/library/love/touch.lua +40 -0
  684. package/payload/tool/luals/meta/3rd/love2d/library/love/video.lua +92 -0
  685. package/payload/tool/luals/meta/3rd/love2d/library/love/window.lua +473 -0
  686. package/payload/tool/luals/meta/3rd/love2d/library/love.lua +334 -0
  687. package/payload/tool/luals/meta/3rd/lovr/config.json +7 -0
  688. package/payload/tool/luals/meta/3rd/lovr/library/callback.lua +230 -0
  689. package/payload/tool/luals/meta/3rd/lovr/library/lovr/audio.lua +844 -0
  690. package/payload/tool/luals/meta/3rd/lovr/library/lovr/data.lua +1557 -0
  691. package/payload/tool/luals/meta/3rd/lovr/library/lovr/event.lua +430 -0
  692. package/payload/tool/luals/meta/3rd/lovr/library/lovr/filesystem.lua +317 -0
  693. package/payload/tool/luals/meta/3rd/lovr/library/lovr/graphics.lua +3541 -0
  694. package/payload/tool/luals/meta/3rd/lovr/library/lovr/headset.lua +791 -0
  695. package/payload/tool/luals/meta/3rd/lovr/library/lovr/math.lua +1233 -0
  696. package/payload/tool/luals/meta/3rd/lovr/library/lovr/physics.lua +1779 -0
  697. package/payload/tool/luals/meta/3rd/lovr/library/lovr/system.lua +110 -0
  698. package/payload/tool/luals/meta/3rd/lovr/library/lovr/thread.lua +170 -0
  699. package/payload/tool/luals/meta/3rd/lovr/library/lovr/timer.lua +59 -0
  700. package/payload/tool/luals/meta/3rd/lovr/library/lovr.lua +42 -0
  701. package/payload/tool/luals/meta/3rd/luaecs/config.json +4 -0
  702. package/payload/tool/luals/meta/3rd/luaecs/library/ecs.lua +355 -0
  703. package/payload/tool/luals/meta/3rd/luassert/config.json +3 -0
  704. package/payload/tool/luals/meta/3rd/luassert/library/luassert/array.lua +15 -0
  705. package/payload/tool/luals/meta/3rd/luassert/library/luassert/match.lua +413 -0
  706. package/payload/tool/luals/meta/3rd/luassert/library/luassert/mock.lua +28 -0
  707. package/payload/tool/luals/meta/3rd/luassert/library/luassert/spy.d.lua +100 -0
  708. package/payload/tool/luals/meta/3rd/luassert/library/luassert/spy.lua +81 -0
  709. package/payload/tool/luals/meta/3rd/luassert/library/luassert/stub.lua +50 -0
  710. package/payload/tool/luals/meta/3rd/luassert/library/luassert.lua +441 -0
  711. package/payload/tool/luals/meta/3rd/luv/config.json +8 -0
  712. package/payload/tool/luals/meta/3rd/luv/library/errors.lua +261 -0
  713. package/payload/tool/luals/meta/3rd/luv/library/luv_dir_t.lua +34 -0
  714. package/payload/tool/luals/meta/3rd/luv/library/luv_thread_t.lua +20 -0
  715. package/payload/tool/luals/meta/3rd/luv/library/luv_work_ctx_t.lua +17 -0
  716. package/payload/tool/luals/meta/3rd/luv/library/types.lua +526 -0
  717. package/payload/tool/luals/meta/3rd/luv/library/uv.lua +3075 -0
  718. package/payload/tool/luals/meta/3rd/luv/library/uv_async_t.lua +35 -0
  719. package/payload/tool/luals/meta/3rd/luv/library/uv_check_t.lua +29 -0
  720. package/payload/tool/luals/meta/3rd/luv/library/uv_fs_event_t.lua +33 -0
  721. package/payload/tool/luals/meta/3rd/luv/library/uv_fs_poll_t.lua +35 -0
  722. package/payload/tool/luals/meta/3rd/luv/library/uv_handle_t.lua +132 -0
  723. package/payload/tool/luals/meta/3rd/luv/library/uv_idle_t.lua +38 -0
  724. package/payload/tool/luals/meta/3rd/luv/library/uv_pipe_t.lua +103 -0
  725. package/payload/tool/luals/meta/3rd/luv/library/uv_poll_t.lua +57 -0
  726. package/payload/tool/luals/meta/3rd/luv/library/uv_prepare_t.lua +30 -0
  727. package/payload/tool/luals/meta/3rd/luv/library/uv_process_t.lua +22 -0
  728. package/payload/tool/luals/meta/3rd/luv/library/uv_req_t.lua +25 -0
  729. package/payload/tool/luals/meta/3rd/luv/library/uv_signal_t.lua +69 -0
  730. package/payload/tool/luals/meta/3rd/luv/library/uv_stream_t.lua +173 -0
  731. package/payload/tool/luals/meta/3rd/luv/library/uv_tcp_t.lua +112 -0
  732. package/payload/tool/luals/meta/3rd/luv/library/uv_timer_t.lua +55 -0
  733. package/payload/tool/luals/meta/3rd/luv/library/uv_tty_t.lua +44 -0
  734. package/payload/tool/luals/meta/3rd/luv/library/uv_udp_t.lua +175 -0
  735. package/payload/tool/luals/meta/3rd/skynet/config.json +4 -0
  736. package/payload/tool/luals/meta/3rd/skynet/library/skynet/cluster.lua +44 -0
  737. package/payload/tool/luals/meta/3rd/skynet/library/skynet/crypt.lua +74 -0
  738. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/mongo.lua +176 -0
  739. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/mysql.lua +43 -0
  740. package/payload/tool/luals/meta/3rd/skynet/library/skynet/db/redis.lua +70 -0
  741. package/payload/tool/luals/meta/3rd/skynet/library/skynet/debug.lua +13 -0
  742. package/payload/tool/luals/meta/3rd/skynet/library/skynet/habor.lua +22 -0
  743. package/payload/tool/luals/meta/3rd/skynet/library/skynet/muliticast.lua +23 -0
  744. package/payload/tool/luals/meta/3rd/skynet/library/skynet/netpack.lua +38 -0
  745. package/payload/tool/luals/meta/3rd/skynet/library/skynet/profile.lua +19 -0
  746. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharedata.lua +33 -0
  747. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharemap.lua +46 -0
  748. package/payload/tool/luals/meta/3rd/skynet/library/skynet/sharetable.lua +32 -0
  749. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socket.lua +117 -0
  750. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socketchannel.lua +58 -0
  751. package/payload/tool/luals/meta/3rd/skynet/library/skynet/socketdriver.lua +132 -0
  752. package/payload/tool/luals/meta/3rd/skynet/library/skynet/stm.lua +32 -0
  753. package/payload/tool/luals/meta/3rd/skynet/library/skynet.lua +479 -0
  754. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/basic.lua +467 -0
  755. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/bit.lua +76 -0
  756. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/bit32.lua +156 -0
  757. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/builtin.lua +16 -0
  758. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/coroutine.lua +96 -0
  759. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/debug.lua +268 -0
  760. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/ffi.lua +121 -0
  761. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/io.lua +265 -0
  762. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit/profile.lua +19 -0
  763. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit/util.lua +119 -0
  764. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/jit.lua +42 -0
  765. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/math.lua +381 -0
  766. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/os.lua +244 -0
  767. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/package.lua +107 -0
  768. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/string/buffer.lua +353 -0
  769. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/string.lua +219 -0
  770. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table/clear.lua +17 -0
  771. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table/new.lua +19 -0
  772. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/table.lua +177 -0
  773. package/payload/tool/luals/meta/Lua 5.4 zh-cn utf8/utf8.lua +87 -0
  774. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/basic.lua +453 -0
  775. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/bit.lua +76 -0
  776. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/bit32.lua +156 -0
  777. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/builtin.lua +16 -0
  778. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/coroutine.lua +96 -0
  779. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/debug.lua +262 -0
  780. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/ffi.lua +121 -0
  781. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/io.lua +265 -0
  782. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit/profile.lua +19 -0
  783. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit/util.lua +119 -0
  784. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/jit.lua +42 -0
  785. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/math.lua +364 -0
  786. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/os.lua +244 -0
  787. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/package.lua +106 -0
  788. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/string/buffer.lua +353 -0
  789. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/string.lua +219 -0
  790. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table/clear.lua +17 -0
  791. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table/new.lua +19 -0
  792. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/table.lua +177 -0
  793. package/payload/tool/luals/meta/LuaJIT zh-cn utf8/utf8.lua +84 -0
  794. package/payload/tool/luals/meta/default utf8/CS.lua +14408 -0
  795. package/payload/tool/luals/meta/default utf8/System.CodeDom.Compiler.lua +822 -0
  796. package/payload/tool/luals/meta/default utf8/System.CodeDom.lua +1452 -0
  797. package/payload/tool/luals/meta/default utf8/System.Collections.Concurrent.lua +541 -0
  798. package/payload/tool/luals/meta/default utf8/System.Collections.Generic.lua +1397 -0
  799. package/payload/tool/luals/meta/default utf8/System.Collections.ObjectModel.lua +189 -0
  800. package/payload/tool/luals/meta/default utf8/System.Collections.Specialized.lua +607 -0
  801. package/payload/tool/luals/meta/default utf8/System.Collections.lua +915 -0
  802. package/payload/tool/luals/meta/default utf8/System.ComponentModel.Design.Serialization.lua +427 -0
  803. package/payload/tool/luals/meta/default utf8/System.ComponentModel.Design.lua +1582 -0
  804. package/payload/tool/luals/meta/default utf8/System.ComponentModel.lua +4997 -0
  805. package/payload/tool/luals/meta/default utf8/System.Configuration.Assemblies.lua +61 -0
  806. package/payload/tool/luals/meta/default utf8/System.Configuration.lua +926 -0
  807. package/payload/tool/luals/meta/default utf8/System.Data.Common.lua +1823 -0
  808. package/payload/tool/luals/meta/default utf8/System.Data.Odbc.lua +931 -0
  809. package/payload/tool/luals/meta/default utf8/System.Data.OleDb.lua +1156 -0
  810. package/payload/tool/luals/meta/default utf8/System.Data.Sql.lua +24 -0
  811. package/payload/tool/luals/meta/default utf8/System.Data.SqlClient.lua +1959 -0
  812. package/payload/tool/luals/meta/default utf8/System.Data.SqlTypes.lua +4007 -0
  813. package/payload/tool/luals/meta/default utf8/System.Data.lua +3614 -0
  814. package/payload/tool/luals/meta/default utf8/System.Deployment.Internal.lua +49 -0
  815. package/payload/tool/luals/meta/default utf8/System.Diagnostics.CodeAnalysis.lua +24 -0
  816. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Contracts.Internal.lua +22 -0
  817. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Contracts.lua +251 -0
  818. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Eventing.Reader.lua +744 -0
  819. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Eventing.lua +179 -0
  820. package/payload/tool/luals/meta/default utf8/System.Diagnostics.PerformanceData.lua +155 -0
  821. package/payload/tool/luals/meta/default utf8/System.Diagnostics.SymbolStore.lua +485 -0
  822. package/payload/tool/luals/meta/default utf8/System.Diagnostics.Tracing.lua +591 -0
  823. package/payload/tool/luals/meta/default utf8/System.Diagnostics.lua +3178 -0
  824. package/payload/tool/luals/meta/default utf8/System.Dynamic.lua +672 -0
  825. package/payload/tool/luals/meta/default utf8/System.Globalization.lua +3076 -0
  826. package/payload/tool/luals/meta/default utf8/System.IO.Compression.lua +249 -0
  827. package/payload/tool/luals/meta/default utf8/System.IO.IsolatedStorage.lua +400 -0
  828. package/payload/tool/luals/meta/default utf8/System.IO.MemoryMappedFiles.lua +302 -0
  829. package/payload/tool/luals/meta/default utf8/System.IO.Pipes.lua +412 -0
  830. package/payload/tool/luals/meta/default utf8/System.IO.Ports.lua +367 -0
  831. package/payload/tool/luals/meta/default utf8/System.IO.lua +2977 -0
  832. package/payload/tool/luals/meta/default utf8/System.Linq.Expressions.lua +3141 -0
  833. package/payload/tool/luals/meta/default utf8/System.Linq.lua +2737 -0
  834. package/payload/tool/luals/meta/default utf8/System.Management.Instrumentation.lua +180 -0
  835. package/payload/tool/luals/meta/default utf8/System.Media.lua +89 -0
  836. package/payload/tool/luals/meta/default utf8/System.Net.Cache.lua +109 -0
  837. package/payload/tool/luals/meta/default utf8/System.Net.Configuration.lua +564 -0
  838. package/payload/tool/luals/meta/default utf8/System.Net.Http.Headers.lua +950 -0
  839. package/payload/tool/luals/meta/default utf8/System.Net.Http.lua +529 -0
  840. package/payload/tool/luals/meta/default utf8/System.Net.Mail.lua +566 -0
  841. package/payload/tool/luals/meta/default utf8/System.Net.Mime.lua +143 -0
  842. package/payload/tool/luals/meta/default utf8/System.Net.NetworkInformation.lua +1500 -0
  843. package/payload/tool/luals/meta/default utf8/System.Net.Security.lua +677 -0
  844. package/payload/tool/luals/meta/default utf8/System.Net.Sockets.lua +2133 -0
  845. package/payload/tool/luals/meta/default utf8/System.Net.WebSockets.lua +368 -0
  846. package/payload/tool/luals/meta/default utf8/System.Net.lua +3584 -0
  847. package/payload/tool/luals/meta/default utf8/System.Numerics.lua +2511 -0
  848. package/payload/tool/luals/meta/default utf8/System.Reflection.Emit.lua +3816 -0
  849. package/payload/tool/luals/meta/default utf8/System.Reflection.lua +2924 -0
  850. package/payload/tool/luals/meta/default utf8/System.Resources.lua +270 -0
  851. package/payload/tool/luals/meta/default utf8/System.Runtime.CompilerServices.lua +1317 -0
  852. package/payload/tool/luals/meta/default utf8/System.Runtime.ConstrainedExecution.lua +58 -0
  853. package/payload/tool/luals/meta/default utf8/System.Runtime.DesignerServices.lua +26 -0
  854. package/payload/tool/luals/meta/default utf8/System.Runtime.ExceptionServices.lua +30 -0
  855. package/payload/tool/luals/meta/default utf8/System.Runtime.Hosting.lua +33 -0
  856. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.ComTypes.lua +1839 -0
  857. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.Expando.lua +26 -0
  858. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.WindowsRuntime.lua +208 -0
  859. package/payload/tool/luals/meta/default utf8/System.Runtime.InteropServices.lua +6387 -0
  860. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Activation.lua +85 -0
  861. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Channels.lua +552 -0
  862. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Contexts.lua +321 -0
  863. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Lifetime.lua +109 -0
  864. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Messaging.lua +680 -0
  865. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Metadata.W3cXsd2001.lua +723 -0
  866. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Metadata.lua +110 -0
  867. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Proxies.lua +87 -0
  868. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.Services.lua +58 -0
  869. package/payload/tool/luals/meta/default utf8/System.Runtime.Remoting.lua +612 -0
  870. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Configuration.lua +169 -0
  871. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Formatters.Binary.lua +60 -0
  872. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Formatters.lua +172 -0
  873. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.Json.lua +239 -0
  874. package/payload/tool/luals/meta/default utf8/System.Runtime.Serialization.lua +1581 -0
  875. package/payload/tool/luals/meta/default utf8/System.Runtime.Versioning.lua +145 -0
  876. package/payload/tool/luals/meta/default utf8/System.Runtime.lua +87 -0
  877. package/payload/tool/luals/meta/default utf8/System.Security.AccessControl.lua +2112 -0
  878. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.ExtendedProtection.Configuration.lua +58 -0
  879. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.ExtendedProtection.lua +144 -0
  880. package/payload/tool/luals/meta/default utf8/System.Security.Authentication.lua +87 -0
  881. package/payload/tool/luals/meta/default utf8/System.Security.Claims.lua +378 -0
  882. package/payload/tool/luals/meta/default utf8/System.Security.Cryptography.X509Certificates.lua +1235 -0
  883. package/payload/tool/luals/meta/default utf8/System.Security.Cryptography.lua +3923 -0
  884. package/payload/tool/luals/meta/default utf8/System.Security.Permissions.lua +1720 -0
  885. package/payload/tool/luals/meta/default utf8/System.Security.Policy.lua +1384 -0
  886. package/payload/tool/luals/meta/default utf8/System.Security.Principal.lua +589 -0
  887. package/payload/tool/luals/meta/default utf8/System.Security.lua +939 -0
  888. package/payload/tool/luals/meta/default utf8/System.Text.RegularExpressions.lua +520 -0
  889. package/payload/tool/luals/meta/default utf8/System.Text.lua +1712 -0
  890. package/payload/tool/luals/meta/default utf8/System.Threading.Tasks.lua +1899 -0
  891. package/payload/tool/luals/meta/default utf8/System.Threading.lua +2558 -0
  892. package/payload/tool/luals/meta/default utf8/System.Timers.lua +80 -0
  893. package/payload/tool/luals/meta/default utf8/System.Web.lua +74 -0
  894. package/payload/tool/luals/meta/default utf8/System.Windows.Input.lua +25 -0
  895. package/payload/tool/luals/meta/default utf8/System.Windows.Markup.lua +10 -0
  896. package/payload/tool/luals/meta/default utf8/System.Xml.Linq.lua +1307 -0
  897. package/payload/tool/luals/meta/default utf8/System.Xml.Resolvers.lua +81 -0
  898. package/payload/tool/luals/meta/default utf8/System.Xml.Schema.lua +1738 -0
  899. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.Advanced.lua +99 -0
  900. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.Configuration.lua +116 -0
  901. package/payload/tool/luals/meta/default utf8/System.Xml.Serialization.lua +1756 -0
  902. package/payload/tool/luals/meta/default utf8/System.Xml.XPath.lua +791 -0
  903. package/payload/tool/luals/meta/default utf8/System.Xml.XmlConfiguration.lua +18 -0
  904. package/payload/tool/luals/meta/default utf8/System.Xml.Xsl.lua +522 -0
  905. package/payload/tool/luals/meta/default utf8/System.Xml.lua +5751 -0
  906. package/payload/tool/luals/meta/default utf8/System.lua +16165 -0
  907. package/payload/tool/luals/meta/default utf8/UnityEngine.AI.lua +1625 -0
  908. package/payload/tool/luals/meta/default utf8/UnityEngine.Accessibility.lua +26 -0
  909. package/payload/tool/luals/meta/default utf8/UnityEngine.Analytics.lua +2323 -0
  910. package/payload/tool/luals/meta/default utf8/UnityEngine.Android.lua +596 -0
  911. package/payload/tool/luals/meta/default utf8/UnityEngine.Animations.lua +3555 -0
  912. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.ReplayKit.lua +201 -0
  913. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.TV.lua +14 -0
  914. package/payload/tool/luals/meta/default utf8/UnityEngine.Apple.lua +74 -0
  915. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.Comparers.lua +64 -0
  916. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.Must.lua +131 -0
  917. package/payload/tool/luals/meta/default utf8/UnityEngine.Assertions.lua +937 -0
  918. package/payload/tool/luals/meta/default utf8/UnityEngine.Audio.lua +371 -0
  919. package/payload/tool/luals/meta/default utf8/UnityEngine.Build.Pipeline.lua +84 -0
  920. package/payload/tool/luals/meta/default utf8/UnityEngine.CrashReportHandler.lua +35 -0
  921. package/payload/tool/luals/meta/default utf8/UnityEngine.Diagnostics.lua +91 -0
  922. package/payload/tool/luals/meta/default utf8/UnityEngine.EventSystems.lua +959 -0
  923. package/payload/tool/luals/meta/default utf8/UnityEngine.Events.lua +425 -0
  924. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.AI.lua +426 -0
  925. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Animations.lua +74 -0
  926. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.AssetBundlePatching.lua +11 -0
  927. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Audio.lua +231 -0
  928. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.GlobalIllumination.lua +957 -0
  929. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Playables.lua +210 -0
  930. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Rendering.lua +2058 -0
  931. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.TerrainAPI.lua +905 -0
  932. package/payload/tool/luals/meta/default utf8/UnityEngine.Experimental.Video.lua +107 -0
  933. package/payload/tool/luals/meta/default utf8/UnityEngine.Internal.lua +23 -0
  934. package/payload/tool/luals/meta/default utf8/UnityEngine.Jobs.lua +169 -0
  935. package/payload/tool/luals/meta/default utf8/UnityEngine.LowLevel.lua +87 -0
  936. package/payload/tool/luals/meta/default utf8/UnityEngine.Lumin.lua +11 -0
  937. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.Match.lua +272 -0
  938. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.PlayerConnection.lua +110 -0
  939. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.Types.lua +157 -0
  940. package/payload/tool/luals/meta/default utf8/UnityEngine.Networking.lua +2772 -0
  941. package/payload/tool/luals/meta/default utf8/UnityEngine.ParticleSystemJobs.lua +222 -0
  942. package/payload/tool/luals/meta/default utf8/UnityEngine.Playables.lua +1646 -0
  943. package/payload/tool/luals/meta/default utf8/UnityEngine.PlayerLoop.lua +1161 -0
  944. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.Experimental.lua +29 -0
  945. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.Memory.Experimental.lua +95 -0
  946. package/payload/tool/luals/meta/default utf8/UnityEngine.Profiling.lua +564 -0
  947. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.PostProcessing.lua +2145 -0
  948. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.VirtualTexturing.lua +673 -0
  949. package/payload/tool/luals/meta/default utf8/UnityEngine.Rendering.lua +11996 -0
  950. package/payload/tool/luals/meta/default utf8/UnityEngine.SceneManagement.lua +715 -0
  951. package/payload/tool/luals/meta/default utf8/UnityEngine.Scripting.APIUpdating.lua +8 -0
  952. package/payload/tool/luals/meta/default utf8/UnityEngine.Scripting.lua +139 -0
  953. package/payload/tool/luals/meta/default utf8/UnityEngine.SearchService.lua +33 -0
  954. package/payload/tool/luals/meta/default utf8/UnityEngine.Serialization.lua +35 -0
  955. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.GameCenter.lua +84 -0
  956. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.Impl.lua +252 -0
  957. package/payload/tool/luals/meta/default utf8/UnityEngine.SocialPlatforms.lua +487 -0
  958. package/payload/tool/luals/meta/default utf8/UnityEngine.Sprites.lua +41 -0
  959. package/payload/tool/luals/meta/default utf8/UnityEngine.Subsystems.lua +27 -0
  960. package/payload/tool/luals/meta/default utf8/UnityEngine.SubsystemsImplementation.Extensions.lua +20 -0
  961. package/payload/tool/luals/meta/default utf8/UnityEngine.SubsystemsImplementation.lua +125 -0
  962. package/payload/tool/luals/meta/default utf8/UnityEngine.TestTools.lua +163 -0
  963. package/payload/tool/luals/meta/default utf8/UnityEngine.TextCore.LowLevel.lua +680 -0
  964. package/payload/tool/luals/meta/default utf8/UnityEngine.TextCore.lua +284 -0
  965. package/payload/tool/luals/meta/default utf8/UnityEngine.Tilemaps.lua +1278 -0
  966. package/payload/tool/luals/meta/default utf8/UnityEngine.Timeline.lua +1386 -0
  967. package/payload/tool/luals/meta/default utf8/UnityEngine.U2D.lua +582 -0
  968. package/payload/tool/luals/meta/default utf8/UnityEngine.UI.lua +2813 -0
  969. package/payload/tool/luals/meta/default utf8/UnityEngine.UIElements.Experimental.lua +575 -0
  970. package/payload/tool/luals/meta/default utf8/UnityEngine.UIElements.lua +8986 -0
  971. package/payload/tool/luals/meta/default utf8/UnityEngine.VFX.lua +2888 -0
  972. package/payload/tool/luals/meta/default utf8/UnityEngine.Video.lua +927 -0
  973. package/payload/tool/luals/meta/default utf8/UnityEngine.WSA.lua +1018 -0
  974. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.Speech.lua +667 -0
  975. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.WebCam.lua +756 -0
  976. package/payload/tool/luals/meta/default utf8/UnityEngine.Windows.lua +189 -0
  977. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.Provider.lua +16 -0
  978. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.WSA.lua +15 -0
  979. package/payload/tool/luals/meta/default utf8/UnityEngine.XR.lua +2757 -0
  980. package/payload/tool/luals/meta/default utf8/UnityEngine.iOS.lua +1359 -0
  981. package/payload/tool/luals/meta/default utf8/UnityEngine.lua +78477 -0
  982. package/payload/tool/luals/meta/default utf8/UnityEngine.tvOS.lua +119 -0
  983. package/payload/tool/luals/meta/default utf8/UnityEngineInternal.XR.WSA.lua +13 -0
  984. package/payload/tool/luals/meta/default utf8/UnityEngineInternal.lua +158 -0
  985. package/payload/tool/luals/meta/spell/dictionary.txt +82834 -0
  986. package/payload/tool/luals/meta/spell/lua_dict.txt +230 -0
  987. package/payload/tool/luals/meta/template/basic.lua +404 -0
  988. package/payload/tool/luals/meta/template/bit.lua +77 -0
  989. package/payload/tool/luals/meta/template/bit32.lua +86 -0
  990. package/payload/tool/luals/meta/template/builtin.lua +16 -0
  991. package/payload/tool/luals/meta/template/coroutine.lua +68 -0
  992. package/payload/tool/luals/meta/template/debug.lua +221 -0
  993. package/payload/tool/luals/meta/template/ffi.lua +122 -0
  994. package/payload/tool/luals/meta/template/io.lua +170 -0
  995. package/payload/tool/luals/meta/template/jit.lua +43 -0
  996. package/payload/tool/luals/meta/template/jit.profile.lua +20 -0
  997. package/payload/tool/luals/meta/template/jit.util.lua +120 -0
  998. package/payload/tool/luals/meta/template/math.lua +255 -0
  999. package/payload/tool/luals/meta/template/os.lua +136 -0
  1000. package/payload/tool/luals/meta/template/package.lua +66 -0
  1001. package/payload/tool/luals/meta/template/string.buffer.lua +354 -0
  1002. package/payload/tool/luals/meta/template/string.lua +161 -0
  1003. package/payload/tool/luals/meta/template/table.clear.lua +9 -0
  1004. package/payload/tool/luals/meta/template/table.lua +114 -0
  1005. package/payload/tool/luals/meta/template/table.new.lua +11 -0
  1006. package/payload/tool/luals/meta/template/utf8.lua +91 -0
  1007. package/payload/tool/luals/meta/whimsical/basic.lua +50 -0
  1008. package/payload/tool/luals/meta/whimsical/builtin.lua +18 -0
  1009. package/payload/tool/luals/meta/whimsical/rule.lua +128 -0
  1010. package/payload/tool/luals/runtime.json +1 -0
  1011. package/payload/tool/luals/script/SDBMHash.lua +60 -0
  1012. package/payload/tool/luals/script/await.lua +267 -0
  1013. package/payload/tool/luals/script/brave/brave.lua +84 -0
  1014. package/payload/tool/luals/script/brave/init.lua +4 -0
  1015. package/payload/tool/luals/script/brave/log.lua +55 -0
  1016. package/payload/tool/luals/script/brave/work.lua +125 -0
  1017. package/payload/tool/luals/script/cli/check.lua +120 -0
  1018. package/payload/tool/luals/script/cli/check_worker.lua +295 -0
  1019. package/payload/tool/luals/script/cli/doc/export.lua +362 -0
  1020. package/payload/tool/luals/script/cli/doc/init.lua +258 -0
  1021. package/payload/tool/luals/script/cli/help.lua +170 -0
  1022. package/payload/tool/luals/script/cli/init.lua +34 -0
  1023. package/payload/tool/luals/script/cli/version.lua +2 -0
  1024. package/payload/tool/luals/script/cli/visualize.lua +106 -0
  1025. package/payload/tool/luals/script/client.lua +668 -0
  1026. package/payload/tool/luals/script/config/config.lua +277 -0
  1027. package/payload/tool/luals/script/config/env.lua +67 -0
  1028. package/payload/tool/luals/script/config/init.lua +3 -0
  1029. package/payload/tool/luals/script/config/loader.lua +131 -0
  1030. package/payload/tool/luals/script/config/template.lua +462 -0
  1031. package/payload/tool/luals/script/core/code-action.lua +749 -0
  1032. package/payload/tool/luals/script/core/code-lens.lua +166 -0
  1033. package/payload/tool/luals/script/core/color.lua +97 -0
  1034. package/payload/tool/luals/script/core/command/autoRequire.lua +164 -0
  1035. package/payload/tool/luals/script/core/command/exportDocument.lua +15 -0
  1036. package/payload/tool/luals/script/core/command/getConfig.lua +13 -0
  1037. package/payload/tool/luals/script/core/command/jsonToLua.lua +54 -0
  1038. package/payload/tool/luals/script/core/command/reloadFFIMeta.lua +56 -0
  1039. package/payload/tool/luals/script/core/command/removeSpace.lua +60 -0
  1040. package/payload/tool/luals/script/core/command/setConfig.lua +11 -0
  1041. package/payload/tool/luals/script/core/command/solve.lua +99 -0
  1042. package/payload/tool/luals/script/core/completion/auto-require.lua +168 -0
  1043. package/payload/tool/luals/script/core/completion/completion.lua +2408 -0
  1044. package/payload/tool/luals/script/core/completion/init.lua +1 -0
  1045. package/payload/tool/luals/script/core/completion/keyword.lua +409 -0
  1046. package/payload/tool/luals/script/core/completion/postfix.lua +413 -0
  1047. package/payload/tool/luals/script/core/definition.lua +238 -0
  1048. package/payload/tool/luals/script/core/diagnostics/ambiguity-1.lua +79 -0
  1049. package/payload/tool/luals/script/core/diagnostics/assign-type-mismatch.lua +121 -0
  1050. package/payload/tool/luals/script/core/diagnostics/await-in-sync.lua +30 -0
  1051. package/payload/tool/luals/script/core/diagnostics/cast-local-type.lua +54 -0
  1052. package/payload/tool/luals/script/core/diagnostics/cast-type-mismatch.lua +46 -0
  1053. package/payload/tool/luals/script/core/diagnostics/circle-doc-class.lua +58 -0
  1054. package/payload/tool/luals/script/core/diagnostics/close-non-object.lua +40 -0
  1055. package/payload/tool/luals/script/core/diagnostics/code-after-break.lua +38 -0
  1056. package/payload/tool/luals/script/core/diagnostics/codestyle-check.lua +41 -0
  1057. package/payload/tool/luals/script/core/diagnostics/count-down-loop.lua +51 -0
  1058. package/payload/tool/luals/script/core/diagnostics/deprecated.lua +82 -0
  1059. package/payload/tool/luals/script/core/diagnostics/different-requires.lua +54 -0
  1060. package/payload/tool/luals/script/core/diagnostics/discard-returns.lua +30 -0
  1061. package/payload/tool/luals/script/core/diagnostics/doc-field-no-class.lua +41 -0
  1062. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-alias.lua +54 -0
  1063. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-field.lua +94 -0
  1064. package/payload/tool/luals/script/core/diagnostics/duplicate-doc-param.lua +37 -0
  1065. package/payload/tool/luals/script/core/diagnostics/duplicate-index.lua +65 -0
  1066. package/payload/tool/luals/script/core/diagnostics/duplicate-set-field.lua +101 -0
  1067. package/payload/tool/luals/script/core/diagnostics/empty-block.lua +54 -0
  1068. package/payload/tool/luals/script/core/diagnostics/global-element.lua +76 -0
  1069. package/payload/tool/luals/script/core/diagnostics/global-in-nil-env.lua +42 -0
  1070. package/payload/tool/luals/script/core/diagnostics/helper/missing-doc-helper.lua +83 -0
  1071. package/payload/tool/luals/script/core/diagnostics/incomplete-signature-doc.lua +109 -0
  1072. package/payload/tool/luals/script/core/diagnostics/init.lua +191 -0
  1073. package/payload/tool/luals/script/core/diagnostics/inject-field.lua +150 -0
  1074. package/payload/tool/luals/script/core/diagnostics/invisible.lua +67 -0
  1075. package/payload/tool/luals/script/core/diagnostics/lowercase-global.lua +85 -0
  1076. package/payload/tool/luals/script/core/diagnostics/missing-fields.lua +118 -0
  1077. package/payload/tool/luals/script/core/diagnostics/missing-global-doc.lua +27 -0
  1078. package/payload/tool/luals/script/core/diagnostics/missing-local-export-doc.lua +52 -0
  1079. package/payload/tool/luals/script/core/diagnostics/missing-parameter.lua +32 -0
  1080. package/payload/tool/luals/script/core/diagnostics/missing-return-value.lua +51 -0
  1081. package/payload/tool/luals/script/core/diagnostics/missing-return.lua +76 -0
  1082. package/payload/tool/luals/script/core/diagnostics/name-style-check.lua +35 -0
  1083. package/payload/tool/luals/script/core/diagnostics/need-check-nil.lua +48 -0
  1084. package/payload/tool/luals/script/core/diagnostics/newfield-call.lua +49 -0
  1085. package/payload/tool/luals/script/core/diagnostics/newline-call.lua +54 -0
  1086. package/payload/tool/luals/script/core/diagnostics/no-unknown.lua +36 -0
  1087. package/payload/tool/luals/script/core/diagnostics/not-yieldable.lua +63 -0
  1088. package/payload/tool/luals/script/core/diagnostics/param-type-mismatch.lua +176 -0
  1089. package/payload/tool/luals/script/core/diagnostics/redefined-local.lua +37 -0
  1090. package/payload/tool/luals/script/core/diagnostics/redundant-parameter.lua +73 -0
  1091. package/payload/tool/luals/script/core/diagnostics/redundant-return-value.lua +58 -0
  1092. package/payload/tool/luals/script/core/diagnostics/redundant-return.lua +27 -0
  1093. package/payload/tool/luals/script/core/diagnostics/redundant-value.lua +26 -0
  1094. package/payload/tool/luals/script/core/diagnostics/return-type-mismatch.lua +94 -0
  1095. package/payload/tool/luals/script/core/diagnostics/spell-check.lua +35 -0
  1096. package/payload/tool/luals/script/core/diagnostics/trailing-space.lua +53 -0
  1097. package/payload/tool/luals/script/core/diagnostics/unbalanced-assignments.lua +49 -0
  1098. package/payload/tool/luals/script/core/diagnostics/undefined-doc-class.lua +48 -0
  1099. package/payload/tool/luals/script/core/diagnostics/undefined-doc-name.lua +134 -0
  1100. package/payload/tool/luals/script/core/diagnostics/undefined-doc-param.lua +24 -0
  1101. package/payload/tool/luals/script/core/diagnostics/undefined-env-child.lua +50 -0
  1102. package/payload/tool/luals/script/core/diagnostics/undefined-field.lua +90 -0
  1103. package/payload/tool/luals/script/core/diagnostics/undefined-global.lua +37 -0
  1104. package/payload/tool/luals/script/core/diagnostics/unknown-cast-variable.lua +31 -0
  1105. package/payload/tool/luals/script/core/diagnostics/unknown-diag-code.lua +31 -0
  1106. package/payload/tool/luals/script/core/diagnostics/unknown-operator.lua +33 -0
  1107. package/payload/tool/luals/script/core/diagnostics/unnecessary-assert.lua +29 -0
  1108. package/payload/tool/luals/script/core/diagnostics/unreachable-code.lua +84 -0
  1109. package/payload/tool/luals/script/core/diagnostics/unused-function.lua +129 -0
  1110. package/payload/tool/luals/script/core/diagnostics/unused-label.lua +22 -0
  1111. package/payload/tool/luals/script/core/diagnostics/unused-local.lua +130 -0
  1112. package/payload/tool/luals/script/core/diagnostics/unused-vararg.lua +39 -0
  1113. package/payload/tool/luals/script/core/document-symbol.lua +411 -0
  1114. package/payload/tool/luals/script/core/find-source.lua +33 -0
  1115. package/payload/tool/luals/script/core/fix-indent.lua +188 -0
  1116. package/payload/tool/luals/script/core/folding.lua +184 -0
  1117. package/payload/tool/luals/script/core/formatting.lua +35 -0
  1118. package/payload/tool/luals/script/core/highlight.lua +368 -0
  1119. package/payload/tool/luals/script/core/hint.lua +340 -0
  1120. package/payload/tool/luals/script/core/hover/args.lua +85 -0
  1121. package/payload/tool/luals/script/core/hover/description.lua +545 -0
  1122. package/payload/tool/luals/script/core/hover/init.lua +165 -0
  1123. package/payload/tool/luals/script/core/hover/label.lua +234 -0
  1124. package/payload/tool/luals/script/core/hover/name.lua +104 -0
  1125. package/payload/tool/luals/script/core/hover/return.lua +84 -0
  1126. package/payload/tool/luals/script/core/hover/table.lua +232 -0
  1127. package/payload/tool/luals/script/core/implementation.lua +170 -0
  1128. package/payload/tool/luals/script/core/jump-source.lua +62 -0
  1129. package/payload/tool/luals/script/core/look-backward.lua +102 -0
  1130. package/payload/tool/luals/script/core/matchkey.lua +85 -0
  1131. package/payload/tool/luals/script/core/modifyRequirePath.lua +74 -0
  1132. package/payload/tool/luals/script/core/rangeformatting.lua +33 -0
  1133. package/payload/tool/luals/script/core/reference.lua +160 -0
  1134. package/payload/tool/luals/script/core/rename.lua +466 -0
  1135. package/payload/tool/luals/script/core/semantic-tokens.lua +951 -0
  1136. package/payload/tool/luals/script/core/signature.lua +227 -0
  1137. package/payload/tool/luals/script/core/substring.lua +13 -0
  1138. package/payload/tool/luals/script/core/type-definition.lua +176 -0
  1139. package/payload/tool/luals/script/core/type-formatting.lua +49 -0
  1140. package/payload/tool/luals/script/core/view/psi-select.lua +13 -0
  1141. package/payload/tool/luals/script/core/view/psi-view.lua +96 -0
  1142. package/payload/tool/luals/script/core/workspace-symbol.lua +161 -0
  1143. package/payload/tool/luals/script/doctor.lua +625 -0
  1144. package/payload/tool/luals/script/encoder/ansi.lua +24 -0
  1145. package/payload/tool/luals/script/encoder/init.lua +123 -0
  1146. package/payload/tool/luals/script/encoder/utf16.lua +157 -0
  1147. package/payload/tool/luals/script/file-uri.lua +118 -0
  1148. package/payload/tool/luals/script/files.lua +999 -0
  1149. package/payload/tool/luals/script/filewatch.lua +129 -0
  1150. package/payload/tool/luals/script/fs-utility.lua +667 -0
  1151. package/payload/tool/luals/script/gc.lua +121 -0
  1152. package/payload/tool/luals/script/glob/gitignore.lua +251 -0
  1153. package/payload/tool/luals/script/glob/glob.lua +125 -0
  1154. package/payload/tool/luals/script/glob/init.lua +4 -0
  1155. package/payload/tool/luals/script/glob/matcher.lua +159 -0
  1156. package/payload/tool/luals/script/global.d.lua +113 -0
  1157. package/payload/tool/luals/script/inspect.lua +337 -0
  1158. package/payload/tool/luals/script/json-beautify.lua +176 -0
  1159. package/payload/tool/luals/script/json-edit.lua +725 -0
  1160. package/payload/tool/luals/script/json.lua +555 -0
  1161. package/payload/tool/luals/script/jsonc.lua +374 -0
  1162. package/payload/tool/luals/script/jsonrpc.lua +73 -0
  1163. package/payload/tool/luals/script/language.lua +144 -0
  1164. package/payload/tool/luals/script/lazy-cacher.lua +171 -0
  1165. package/payload/tool/luals/script/lazytable.lua +351 -0
  1166. package/payload/tool/luals/script/lclient.lua +268 -0
  1167. package/payload/tool/luals/script/library.lua +672 -0
  1168. package/payload/tool/luals/script/linked-table.lua +227 -0
  1169. package/payload/tool/luals/script/locale-loader.lua +28 -0
  1170. package/payload/tool/luals/script/log.lua +165 -0
  1171. package/payload/tool/luals/script/meta/bee/channel.lua +36 -0
  1172. package/payload/tool/luals/script/meta/bee/filesystem.lua +117 -0
  1173. package/payload/tool/luals/script/meta/bee/filewatch.lua +32 -0
  1174. package/payload/tool/luals/script/meta/bee/select.lua +46 -0
  1175. package/payload/tool/luals/script/meta/bee/socket.lua +73 -0
  1176. package/payload/tool/luals/script/meta/bee/sys.lua +19 -0
  1177. package/payload/tool/luals/script/meta/bee/thread.lua +52 -0
  1178. package/payload/tool/luals/script/parser/compile.lua +5164 -0
  1179. package/payload/tool/luals/script/parser/guide.lua +1364 -0
  1180. package/payload/tool/luals/script/parser/init.lua +8 -0
  1181. package/payload/tool/luals/script/parser/lines.lua +25 -0
  1182. package/payload/tool/luals/script/parser/luadoc.lua +2424 -0
  1183. package/payload/tool/luals/script/parser/relabel.lua +360 -0
  1184. package/payload/tool/luals/script/parser/tokens.lua +56 -0
  1185. package/payload/tool/luals/script/plugin.lua +176 -0
  1186. package/payload/tool/luals/script/plugins/astHelper.lua +96 -0
  1187. package/payload/tool/luals/script/plugins/ffi/c-parser/c99.lua +731 -0
  1188. package/payload/tool/luals/script/plugins/ffi/c-parser/cdefines.lua +152 -0
  1189. package/payload/tool/luals/script/plugins/ffi/c-parser/cdriver.lua +54 -0
  1190. package/payload/tool/luals/script/plugins/ffi/c-parser/cpp.lua +870 -0
  1191. package/payload/tool/luals/script/plugins/ffi/c-parser/ctypes.lua +604 -0
  1192. package/payload/tool/luals/script/plugins/ffi/c-parser/typed.lua +172 -0
  1193. package/payload/tool/luals/script/plugins/ffi/c-parser/util.lua +28 -0
  1194. package/payload/tool/luals/script/plugins/ffi/cdefRerence.lua +37 -0
  1195. package/payload/tool/luals/script/plugins/ffi/init.lua +373 -0
  1196. package/payload/tool/luals/script/plugins/ffi/searchCode.lua +69 -0
  1197. package/payload/tool/luals/script/plugins/init.lua +1 -0
  1198. package/payload/tool/luals/script/plugins/nodeHelper.lua +72 -0
  1199. package/payload/tool/luals/script/progress.lua +182 -0
  1200. package/payload/tool/luals/script/proto/converter.lua +235 -0
  1201. package/payload/tool/luals/script/proto/define.lua +197 -0
  1202. package/payload/tool/luals/script/proto/diagnostic.lua +306 -0
  1203. package/payload/tool/luals/script/proto/init.lua +3 -0
  1204. package/payload/tool/luals/script/proto/proto.lua +308 -0
  1205. package/payload/tool/luals/script/provider/build-meta.lua +153 -0
  1206. package/payload/tool/luals/script/provider/capability.lua +84 -0
  1207. package/payload/tool/luals/script/provider/code-lens.lua +29 -0
  1208. package/payload/tool/luals/script/provider/completion.lua +104 -0
  1209. package/payload/tool/luals/script/provider/diagnostic.lua +727 -0
  1210. package/payload/tool/luals/script/provider/formatting.lua +101 -0
  1211. package/payload/tool/luals/script/provider/init.lua +2 -0
  1212. package/payload/tool/luals/script/provider/inlay-hint.lua +29 -0
  1213. package/payload/tool/luals/script/provider/language-configuration.lua +113 -0
  1214. package/payload/tool/luals/script/provider/markdown.lua +163 -0
  1215. package/payload/tool/luals/script/provider/name-style.lua +28 -0
  1216. package/payload/tool/luals/script/provider/provider.lua +1671 -0
  1217. package/payload/tool/luals/script/provider/semantic-tokens.lua +29 -0
  1218. package/payload/tool/luals/script/provider/spell.lua +51 -0
  1219. package/payload/tool/luals/script/pub/init.lua +4 -0
  1220. package/payload/tool/luals/script/pub/pub.lua +290 -0
  1221. package/payload/tool/luals/script/pub/report.lua +28 -0
  1222. package/payload/tool/luals/script/service/init.lua +3 -0
  1223. package/payload/tool/luals/script/service/net.lua +275 -0
  1224. package/payload/tool/luals/script/service/service.lua +290 -0
  1225. package/payload/tool/luals/script/string-merger.lua +148 -0
  1226. package/payload/tool/luals/script/text-merger.lua +115 -0
  1227. package/payload/tool/luals/script/timer.lua +244 -0
  1228. package/payload/tool/luals/script/tracy.lua +32 -0
  1229. package/payload/tool/luals/script/utility.lua +1354 -0
  1230. package/payload/tool/luals/script/version.lua +30 -0
  1231. package/payload/tool/luals/script/vm/compiler.lua +2744 -0
  1232. package/payload/tool/luals/script/vm/def.lua +133 -0
  1233. package/payload/tool/luals/script/vm/doc.lua +526 -0
  1234. package/payload/tool/luals/script/vm/field.lua +59 -0
  1235. package/payload/tool/luals/script/vm/function.lua +533 -0
  1236. package/payload/tool/luals/script/vm/generic.lua +278 -0
  1237. package/payload/tool/luals/script/vm/global.lua +758 -0
  1238. package/payload/tool/luals/script/vm/infer.lua +621 -0
  1239. package/payload/tool/luals/script/vm/init.lua +25 -0
  1240. package/payload/tool/luals/script/vm/library.lua +15 -0
  1241. package/payload/tool/luals/script/vm/node.lua +537 -0
  1242. package/payload/tool/luals/script/vm/operator.lua +530 -0
  1243. package/payload/tool/luals/script/vm/precompile.lua +20 -0
  1244. package/payload/tool/luals/script/vm/ref.lua +328 -0
  1245. package/payload/tool/luals/script/vm/sign.lua +454 -0
  1246. package/payload/tool/luals/script/vm/tracer.lua +947 -0
  1247. package/payload/tool/luals/script/vm/type.lua +930 -0
  1248. package/payload/tool/luals/script/vm/value.lua +258 -0
  1249. package/payload/tool/luals/script/vm/variable.lua +411 -0
  1250. package/payload/tool/luals/script/vm/visible.lua +208 -0
  1251. package/payload/tool/luals/script/vm/vm.lua +119 -0
  1252. package/payload/tool/luals/script/without-check-nil.lua +126 -0
  1253. package/payload/tool/luals/script/workspace/init.lua +3 -0
  1254. package/payload/tool/luals/script/workspace/loading.lua +228 -0
  1255. package/payload/tool/luals/script/workspace/require-path.lua +317 -0
  1256. package/payload/tool/luals/script/workspace/scope.lua +254 -0
  1257. package/payload/tool/luals/script/workspace/workspace.lua +664 -0
  1258. package/release.json +6167 -82
@@ -0,0 +1,3281 @@
1
+ ---@meta
2
+
3
+ ---
4
+ ---Can simulate 2D rigid body physics in a realistic manner. This module is based on Box2D, and this API corresponds to the Box2D API as closely as possible.
5
+ ---
6
+ ---
7
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
8
+ ---
9
+ ---@class love.physics
10
+ love.physics = {}
11
+
12
+ ---
13
+ ---Returns the two closest points between two fixtures and their distance.
14
+ ---
15
+ ---
16
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.getDistance)
17
+ ---
18
+ ---@param fixture1 love.Fixture # The first fixture.
19
+ ---@param fixture2 love.Fixture # The second fixture.
20
+ ---@return number distance # The distance of the two points.
21
+ ---@return number x1 # The x-coordinate of the first point.
22
+ ---@return number y1 # The y-coordinate of the first point.
23
+ ---@return number x2 # The x-coordinate of the second point.
24
+ ---@return number y2 # The y-coordinate of the second point.
25
+ function love.physics.getDistance(fixture1, fixture2) end
26
+
27
+ ---
28
+ ---Returns the meter scale factor.
29
+ ---
30
+ ---All coordinates in the physics module are divided by this number, creating a convenient way to draw the objects directly to the screen without the need for graphics transformations.
31
+ ---
32
+ ---It is recommended to create shapes no larger than 10 times the scale. This is important because Box2D is tuned to work well with shape sizes from 0.1 to 10 meters.
33
+ ---
34
+ ---
35
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.getMeter)
36
+ ---
37
+ ---@return number scale # The scale factor as an integer.
38
+ function love.physics.getMeter() end
39
+
40
+ ---
41
+ ---Creates a new body.
42
+ ---
43
+ ---There are three types of bodies.
44
+ ---
45
+ ---* Static bodies do not move, have a infinite mass, and can be used for level boundaries.
46
+ ---
47
+ ---* Dynamic bodies are the main actors in the simulation, they collide with everything.
48
+ ---
49
+ ---* Kinematic bodies do not react to forces and only collide with dynamic bodies.
50
+ ---
51
+ ---The mass of the body gets calculated when a Fixture is attached or removed, but can be changed at any time with Body:setMass or Body:resetMassData.
52
+ ---
53
+ ---
54
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newBody)
55
+ ---
56
+ ---@param world love.World # The world to create the body in.
57
+ ---@param x? number # The x position of the body.
58
+ ---@param y? number # The y position of the body.
59
+ ---@param type? love.BodyType # The type of the body.
60
+ ---@return love.Body body # A new body.
61
+ function love.physics.newBody(world, x, y, type) end
62
+
63
+ ---
64
+ ---Creates a new ChainShape.
65
+ ---
66
+ ---
67
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newChainShape)
68
+ ---
69
+ ---@overload fun(loop: boolean, points: table):love.ChainShape
70
+ ---@param loop boolean # If the chain should loop back to the first point.
71
+ ---@param x1 number # The x position of the first point.
72
+ ---@param y1 number # The y position of the first point.
73
+ ---@param x2 number # The x position of the second point.
74
+ ---@param y2 number # The y position of the second point.
75
+ ---@vararg number # Additional point positions.
76
+ ---@return love.ChainShape shape # The new shape.
77
+ function love.physics.newChainShape(loop, x1, y1, x2, y2, ...) end
78
+
79
+ ---
80
+ ---Creates a new CircleShape.
81
+ ---
82
+ ---
83
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newCircleShape)
84
+ ---
85
+ ---@overload fun(x: number, y: number, radius: number):love.CircleShape
86
+ ---@param radius number # The radius of the circle.
87
+ ---@return love.CircleShape shape # The new shape.
88
+ function love.physics.newCircleShape(radius) end
89
+
90
+ ---
91
+ ---Creates a DistanceJoint between two bodies.
92
+ ---
93
+ ---This joint constrains the distance between two points on two bodies to be constant. These two points are specified in world coordinates and the two bodies are assumed to be in place when this joint is created. The first anchor point is connected to the first body and the second to the second body, and the points define the length of the distance joint.
94
+ ---
95
+ ---
96
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newDistanceJoint)
97
+ ---
98
+ ---@param body1 love.Body # The first body to attach to the joint.
99
+ ---@param body2 love.Body # The second body to attach to the joint.
100
+ ---@param x1 number # The x position of the first anchor point (world space).
101
+ ---@param y1 number # The y position of the first anchor point (world space).
102
+ ---@param x2 number # The x position of the second anchor point (world space).
103
+ ---@param y2 number # The y position of the second anchor point (world space).
104
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
105
+ ---@return love.DistanceJoint joint # The new distance joint.
106
+ function love.physics.newDistanceJoint(body1, body2, x1, y1, x2, y2, collideConnected) end
107
+
108
+ ---
109
+ ---Creates a new EdgeShape.
110
+ ---
111
+ ---
112
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newEdgeShape)
113
+ ---
114
+ ---@param x1 number # The x position of the first point.
115
+ ---@param y1 number # The y position of the first point.
116
+ ---@param x2 number # The x position of the second point.
117
+ ---@param y2 number # The y position of the second point.
118
+ ---@return love.EdgeShape shape # The new shape.
119
+ function love.physics.newEdgeShape(x1, y1, x2, y2) end
120
+
121
+ ---
122
+ ---Creates and attaches a Fixture to a body.
123
+ ---
124
+ ---Note that the Shape object is copied rather than kept as a reference when the Fixture is created. To get the Shape object that the Fixture owns, use Fixture:getShape.
125
+ ---
126
+ ---
127
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newFixture)
128
+ ---
129
+ ---@param body love.Body # The body which gets the fixture attached.
130
+ ---@param shape love.Shape # The shape to be copied to the fixture.
131
+ ---@param density? number # The density of the fixture.
132
+ ---@return love.Fixture fixture # The new fixture.
133
+ function love.physics.newFixture(body, shape, density) end
134
+
135
+ ---
136
+ ---Create a friction joint between two bodies. A FrictionJoint applies friction to a body.
137
+ ---
138
+ ---
139
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newFrictionJoint)
140
+ ---
141
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, collideConnected?: boolean):love.FrictionJoint
142
+ ---@param body1 love.Body # The first body to attach to the joint.
143
+ ---@param body2 love.Body # The second body to attach to the joint.
144
+ ---@param x number # The x position of the anchor point.
145
+ ---@param y number # The y position of the anchor point.
146
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
147
+ ---@return love.FrictionJoint joint # The new FrictionJoint.
148
+ function love.physics.newFrictionJoint(body1, body2, x, y, collideConnected) end
149
+
150
+ ---
151
+ ---Create a GearJoint connecting two Joints.
152
+ ---
153
+ ---The gear joint connects two joints that must be either prismatic or revolute joints. Using this joint requires that the joints it uses connect their respective bodies to the ground and have the ground as the first body. When destroying the bodies and joints you must make sure you destroy the gear joint before the other joints.
154
+ ---
155
+ ---The gear joint has a ratio the determines how the angular or distance values of the connected joints relate to each other. The formula coordinate1 + ratio * coordinate2 always has a constant value that is set when the gear joint is created.
156
+ ---
157
+ ---
158
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newGearJoint)
159
+ ---
160
+ ---@param joint1 love.Joint # The first joint to connect with a gear joint.
161
+ ---@param joint2 love.Joint # The second joint to connect with a gear joint.
162
+ ---@param ratio? number # The gear ratio.
163
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
164
+ ---@return love.GearJoint joint # The new gear joint.
165
+ function love.physics.newGearJoint(joint1, joint2, ratio, collideConnected) end
166
+
167
+ ---
168
+ ---Creates a joint between two bodies which controls the relative motion between them.
169
+ ---
170
+ ---Position and rotation offsets can be specified once the MotorJoint has been created, as well as the maximum motor force and torque that will be be applied to reach the target offsets.
171
+ ---
172
+ ---
173
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newMotorJoint)
174
+ ---
175
+ ---@overload fun(body1: love.Body, body2: love.Body, correctionFactor?: number, collideConnected?: boolean):love.MotorJoint
176
+ ---@param body1 love.Body # The first body to attach to the joint.
177
+ ---@param body2 love.Body # The second body to attach to the joint.
178
+ ---@param correctionFactor? number # The joint's initial position correction factor, in the range of 1.
179
+ ---@return love.MotorJoint joint # The new MotorJoint.
180
+ function love.physics.newMotorJoint(body1, body2, correctionFactor) end
181
+
182
+ ---
183
+ ---Create a joint between a body and the mouse.
184
+ ---
185
+ ---This joint actually connects the body to a fixed point in the world. To make it follow the mouse, the fixed point must be updated every timestep (example below).
186
+ ---
187
+ ---The advantage of using a MouseJoint instead of just changing a body position directly is that collisions and reactions to other joints are handled by the physics engine.
188
+ ---
189
+ ---
190
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newMouseJoint)
191
+ ---
192
+ ---@param body love.Body # The body to attach to the mouse.
193
+ ---@param x number # The x position of the connecting point.
194
+ ---@param y number # The y position of the connecting point.
195
+ ---@return love.MouseJoint joint # The new mouse joint.
196
+ function love.physics.newMouseJoint(body, x, y) end
197
+
198
+ ---
199
+ ---Creates a new PolygonShape.
200
+ ---
201
+ ---This shape can have 8 vertices at most, and must form a convex shape.
202
+ ---
203
+ ---
204
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newPolygonShape)
205
+ ---
206
+ ---@overload fun(vertices: table):love.PolygonShape
207
+ ---@param x1 number # The x position of the first point.
208
+ ---@param y1 number # The y position of the first point.
209
+ ---@param x2 number # The x position of the second point.
210
+ ---@param y2 number # The y position of the second point.
211
+ ---@param x3 number # The x position of the third point.
212
+ ---@param y3 number # The y position of the third point.
213
+ ---@vararg number # You can continue passing more point positions to create the PolygonShape.
214
+ ---@return love.PolygonShape shape # A new PolygonShape.
215
+ function love.physics.newPolygonShape(x1, y1, x2, y2, x3, y3, ...) end
216
+
217
+ ---
218
+ ---Creates a PrismaticJoint between two bodies.
219
+ ---
220
+ ---A prismatic joint constrains two bodies to move relatively to each other on a specified axis. It does not allow for relative rotation. Its definition and operation are similar to a revolute joint, but with translation and force substituted for angle and torque.
221
+ ---
222
+ ---
223
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newPrismaticJoint)
224
+ ---
225
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, ax: number, ay: number, collideConnected?: boolean):love.PrismaticJoint
226
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, ax: number, ay: number, collideConnected?: boolean, referenceAngle?: number):love.PrismaticJoint
227
+ ---@param body1 love.Body # The first body to connect with a prismatic joint.
228
+ ---@param body2 love.Body # The second body to connect with a prismatic joint.
229
+ ---@param x number # The x coordinate of the anchor point.
230
+ ---@param y number # The y coordinate of the anchor point.
231
+ ---@param ax number # The x coordinate of the axis vector.
232
+ ---@param ay number # The y coordinate of the axis vector.
233
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
234
+ ---@return love.PrismaticJoint joint # The new prismatic joint.
235
+ function love.physics.newPrismaticJoint(body1, body2, x, y, ax, ay, collideConnected) end
236
+
237
+ ---
238
+ ---Creates a PulleyJoint to join two bodies to each other and the ground.
239
+ ---
240
+ ---The pulley joint simulates a pulley with an optional block and tackle. If the ratio parameter has a value different from one, then the simulated rope extends faster on one side than the other. In a pulley joint the total length of the simulated rope is the constant length1 + ratio * length2, which is set when the pulley joint is created.
241
+ ---
242
+ ---Pulley joints can behave unpredictably if one side is fully extended. It is recommended that the method setMaxLengths  be used to constrain the maximum lengths each side can attain.
243
+ ---
244
+ ---
245
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newPulleyJoint)
246
+ ---
247
+ ---@param body1 love.Body # The first body to connect with a pulley joint.
248
+ ---@param body2 love.Body # The second body to connect with a pulley joint.
249
+ ---@param gx1 number # The x coordinate of the first body's ground anchor.
250
+ ---@param gy1 number # The y coordinate of the first body's ground anchor.
251
+ ---@param gx2 number # The x coordinate of the second body's ground anchor.
252
+ ---@param gy2 number # The y coordinate of the second body's ground anchor.
253
+ ---@param x1 number # The x coordinate of the pulley joint anchor in the first body.
254
+ ---@param y1 number # The y coordinate of the pulley joint anchor in the first body.
255
+ ---@param x2 number # The x coordinate of the pulley joint anchor in the second body.
256
+ ---@param y2 number # The y coordinate of the pulley joint anchor in the second body.
257
+ ---@param ratio? number # The joint ratio.
258
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
259
+ ---@return love.PulleyJoint joint # The new pulley joint.
260
+ function love.physics.newPulleyJoint(body1, body2, gx1, gy1, gx2, gy2, x1, y1, x2, y2, ratio, collideConnected) end
261
+
262
+ ---
263
+ ---Shorthand for creating rectangular PolygonShapes.
264
+ ---
265
+ ---By default, the local origin is located at the '''center''' of the rectangle as opposed to the top left for graphics.
266
+ ---
267
+ ---
268
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newRectangleShape)
269
+ ---
270
+ ---@overload fun(x: number, y: number, width: number, height: number, angle?: number):love.PolygonShape
271
+ ---@param width number # The width of the rectangle.
272
+ ---@param height number # The height of the rectangle.
273
+ ---@return love.PolygonShape shape # A new PolygonShape.
274
+ function love.physics.newRectangleShape(width, height) end
275
+
276
+ ---
277
+ ---Creates a pivot joint between two bodies.
278
+ ---
279
+ ---This joint connects two bodies to a point around which they can pivot.
280
+ ---
281
+ ---
282
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newRevoluteJoint)
283
+ ---
284
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, collideConnected?: boolean, referenceAngle?: number):love.RevoluteJoint
285
+ ---@param body1 love.Body # The first body.
286
+ ---@param body2 love.Body # The second body.
287
+ ---@param x number # The x position of the connecting point.
288
+ ---@param y number # The y position of the connecting point.
289
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
290
+ ---@return love.RevoluteJoint joint # The new revolute joint.
291
+ function love.physics.newRevoluteJoint(body1, body2, x, y, collideConnected) end
292
+
293
+ ---
294
+ ---Creates a joint between two bodies. Its only function is enforcing a max distance between these bodies.
295
+ ---
296
+ ---
297
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newRopeJoint)
298
+ ---
299
+ ---@param body1 love.Body # The first body to attach to the joint.
300
+ ---@param body2 love.Body # The second body to attach to the joint.
301
+ ---@param x1 number # The x position of the first anchor point.
302
+ ---@param y1 number # The y position of the first anchor point.
303
+ ---@param x2 number # The x position of the second anchor point.
304
+ ---@param y2 number # The y position of the second anchor point.
305
+ ---@param maxLength number # The maximum distance for the bodies.
306
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
307
+ ---@return love.RopeJoint joint # The new RopeJoint.
308
+ function love.physics.newRopeJoint(body1, body2, x1, y1, x2, y2, maxLength, collideConnected) end
309
+
310
+ ---
311
+ ---Creates a constraint joint between two bodies. A WeldJoint essentially glues two bodies together. The constraint is a bit soft, however, due to Box2D's iterative solver.
312
+ ---
313
+ ---
314
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newWeldJoint)
315
+ ---
316
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, collideConnected?: boolean):love.WeldJoint
317
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, collideConnected?: boolean, referenceAngle?: number):love.WeldJoint
318
+ ---@param body1 love.Body # The first body to attach to the joint.
319
+ ---@param body2 love.Body # The second body to attach to the joint.
320
+ ---@param x number # The x position of the anchor point (world space).
321
+ ---@param y number # The y position of the anchor point (world space).
322
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
323
+ ---@return love.WeldJoint joint # The new WeldJoint.
324
+ function love.physics.newWeldJoint(body1, body2, x, y, collideConnected) end
325
+
326
+ ---
327
+ ---Creates a wheel joint.
328
+ ---
329
+ ---
330
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newWheelJoint)
331
+ ---
332
+ ---@overload fun(body1: love.Body, body2: love.Body, x1: number, y1: number, x2: number, y2: number, ax: number, ay: number, collideConnected?: boolean):love.WheelJoint
333
+ ---@param body1 love.Body # The first body.
334
+ ---@param body2 love.Body # The second body.
335
+ ---@param x number # The x position of the anchor point.
336
+ ---@param y number # The y position of the anchor point.
337
+ ---@param ax number # The x position of the axis unit vector.
338
+ ---@param ay number # The y position of the axis unit vector.
339
+ ---@param collideConnected? boolean # Specifies whether the two bodies should collide with each other.
340
+ ---@return love.WheelJoint joint # The new WheelJoint.
341
+ function love.physics.newWheelJoint(body1, body2, x, y, ax, ay, collideConnected) end
342
+
343
+ ---
344
+ ---Creates a new World.
345
+ ---
346
+ ---
347
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.newWorld)
348
+ ---
349
+ ---@param xg? number # The x component of gravity.
350
+ ---@param yg? number # The y component of gravity.
351
+ ---@param sleep? boolean # Whether the bodies in this world are allowed to sleep.
352
+ ---@return love.World world # A brave new World.
353
+ function love.physics.newWorld(xg, yg, sleep) end
354
+
355
+ ---
356
+ ---Sets the pixels to meter scale factor.
357
+ ---
358
+ ---All coordinates in the physics module are divided by this number and converted to meters, and it creates a convenient way to draw the objects directly to the screen without the need for graphics transformations.
359
+ ---
360
+ ---It is recommended to create shapes no larger than 10 times the scale. This is important because Box2D is tuned to work well with shape sizes from 0.1 to 10 meters. The default meter scale is 30.
361
+ ---
362
+ ---
363
+ ---[Open in Browser](https://love2d.org/wiki/love.physics.setMeter)
364
+ ---
365
+ ---@param scale number # The scale factor as an integer.
366
+ function love.physics.setMeter(scale) end
367
+
368
+ ---
369
+ ---Bodies are objects with velocity and position.
370
+ ---
371
+ ---
372
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
373
+ ---
374
+ ---@class love.Body: love.Object
375
+ local Body = {}
376
+
377
+ ---
378
+ ---Applies an angular impulse to a body. This makes a single, instantaneous addition to the body momentum.
379
+ ---
380
+ ---A body with with a larger mass will react less. The reaction does '''not''' depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is better to use Body:applyForce.
381
+ ---
382
+ ---
383
+ ---[Open in Browser](https://love2d.org/wiki/Body:applyAngularImpulse)
384
+ ---
385
+ ---@param impulse number # The impulse in kilogram-square meter per second.
386
+ function Body:applyAngularImpulse(impulse) end
387
+
388
+ ---
389
+ ---Apply force to a Body.
390
+ ---
391
+ ---A force pushes a body in a direction. A body with with a larger mass will react less. The reaction also depends on how long a force is applied: since the force acts continuously over the entire timestep, a short timestep will only push the body for a short time. Thus forces are best used for many timesteps to give a continuous push to a body (like gravity). For a single push that is independent of timestep, it is better to use Body:applyLinearImpulse.
392
+ ---
393
+ ---If the position to apply the force is not given, it will act on the center of mass of the body. The part of the force not directed towards the center of mass will cause the body to spin (and depends on the rotational inertia).
394
+ ---
395
+ ---Note that the force components and position must be given in world coordinates.
396
+ ---
397
+ ---
398
+ ---[Open in Browser](https://love2d.org/wiki/Body:applyForce)
399
+ ---
400
+ ---@overload fun(self: love.Body, fx: number, fy: number, x: number, y: number)
401
+ ---@param fx number # The x component of force to apply to the center of mass.
402
+ ---@param fy number # The y component of force to apply to the center of mass.
403
+ function Body:applyForce(fx, fy) end
404
+
405
+ ---
406
+ ---Applies an impulse to a body.
407
+ ---
408
+ ---This makes a single, instantaneous addition to the body momentum.
409
+ ---
410
+ ---An impulse pushes a body in a direction. A body with with a larger mass will react less. The reaction does '''not''' depend on the timestep, and is equivalent to applying a force continuously for 1 second. Impulses are best used to give a single push to a body. For a continuous push to a body it is better to use Body:applyForce.
411
+ ---
412
+ ---If the position to apply the impulse is not given, it will act on the center of mass of the body. The part of the impulse not directed towards the center of mass will cause the body to spin (and depends on the rotational inertia).
413
+ ---
414
+ ---Note that the impulse components and position must be given in world coordinates.
415
+ ---
416
+ ---
417
+ ---[Open in Browser](https://love2d.org/wiki/Body:applyLinearImpulse)
418
+ ---
419
+ ---@overload fun(self: love.Body, ix: number, iy: number, x: number, y: number)
420
+ ---@param ix number # The x component of the impulse applied to the center of mass.
421
+ ---@param iy number # The y component of the impulse applied to the center of mass.
422
+ function Body:applyLinearImpulse(ix, iy) end
423
+
424
+ ---
425
+ ---Apply torque to a body.
426
+ ---
427
+ ---Torque is like a force that will change the angular velocity (spin) of a body. The effect will depend on the rotational inertia a body has.
428
+ ---
429
+ ---
430
+ ---[Open in Browser](https://love2d.org/wiki/Body:applyTorque)
431
+ ---
432
+ ---@param torque number # The torque to apply.
433
+ function Body:applyTorque(torque) end
434
+
435
+ ---
436
+ ---Explicitly destroys the Body and all fixtures and joints attached to it.
437
+ ---
438
+ ---An error will occur if you attempt to use the object after calling this function. In 0.7.2, when you don't have time to wait for garbage collection, this function may be used to free the object immediately.
439
+ ---
440
+ ---
441
+ ---[Open in Browser](https://love2d.org/wiki/Body:destroy)
442
+ ---
443
+ function Body:destroy() end
444
+
445
+ ---
446
+ ---Get the angle of the body.
447
+ ---
448
+ ---The angle is measured in radians. If you need to transform it to degrees, use math.deg.
449
+ ---
450
+ ---A value of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes ''clockwise'' from our point of view.
451
+ ---
452
+ ---
453
+ ---[Open in Browser](https://love2d.org/wiki/Body:getAngle)
454
+ ---
455
+ ---@return number angle # The angle in radians.
456
+ function Body:getAngle() end
457
+
458
+ ---
459
+ ---Gets the Angular damping of the Body
460
+ ---
461
+ ---The angular damping is the ''rate of decrease of the angular velocity over time'': A spinning body with no damping and no external forces will continue spinning indefinitely. A spinning body with damping will gradually stop spinning.
462
+ ---
463
+ ---Damping is not the same as friction - they can be modelled together. However, only damping is provided by Box2D (and LOVE).
464
+ ---
465
+ ---Damping parameters should be between 0 and infinity, with 0 meaning no damping, and infinity meaning full damping. Normally you will use a damping value between 0 and 0.1.
466
+ ---
467
+ ---
468
+ ---[Open in Browser](https://love2d.org/wiki/Body:getAngularDamping)
469
+ ---
470
+ ---@return number damping # The value of the angular damping.
471
+ function Body:getAngularDamping() end
472
+
473
+ ---
474
+ ---Get the angular velocity of the Body.
475
+ ---
476
+ ---The angular velocity is the ''rate of change of angle over time''.
477
+ ---
478
+ ---It is changed in World:update by applying torques, off centre forces/impulses, and angular damping. It can be set directly with Body:setAngularVelocity.
479
+ ---
480
+ ---If you need the ''rate of change of position over time'', use Body:getLinearVelocity.
481
+ ---
482
+ ---
483
+ ---[Open in Browser](https://love2d.org/wiki/Body:getAngularVelocity)
484
+ ---
485
+ ---@return number w # The angular velocity in radians/second.
486
+ function Body:getAngularVelocity() end
487
+
488
+ ---
489
+ ---Gets a list of all Contacts attached to the Body.
490
+ ---
491
+ ---
492
+ ---[Open in Browser](https://love2d.org/wiki/Body:getContacts)
493
+ ---
494
+ ---@return table contacts # A list with all contacts associated with the Body.
495
+ function Body:getContacts() end
496
+
497
+ ---
498
+ ---Returns a table with all fixtures.
499
+ ---
500
+ ---
501
+ ---[Open in Browser](https://love2d.org/wiki/Body:getFixtures)
502
+ ---
503
+ ---@return table fixtures # A sequence with all fixtures.
504
+ function Body:getFixtures() end
505
+
506
+ ---
507
+ ---Returns the gravity scale factor.
508
+ ---
509
+ ---
510
+ ---[Open in Browser](https://love2d.org/wiki/Body:getGravityScale)
511
+ ---
512
+ ---@return number scale # The gravity scale factor.
513
+ function Body:getGravityScale() end
514
+
515
+ ---
516
+ ---Gets the rotational inertia of the body.
517
+ ---
518
+ ---The rotational inertia is how hard is it to make the body spin.
519
+ ---
520
+ ---
521
+ ---[Open in Browser](https://love2d.org/wiki/Body:getInertia)
522
+ ---
523
+ ---@return number inertia # The rotational inertial of the body.
524
+ function Body:getInertia() end
525
+
526
+ ---
527
+ ---Returns a table containing the Joints attached to this Body.
528
+ ---
529
+ ---
530
+ ---[Open in Browser](https://love2d.org/wiki/Body:getJoints)
531
+ ---
532
+ ---@return table joints # A sequence with the Joints attached to the Body.
533
+ function Body:getJoints() end
534
+
535
+ ---
536
+ ---Gets the linear damping of the Body.
537
+ ---
538
+ ---The linear damping is the ''rate of decrease of the linear velocity over time''. A moving body with no damping and no external forces will continue moving indefinitely, as is the case in space. A moving body with damping will gradually stop moving.
539
+ ---
540
+ ---Damping is not the same as friction - they can be modelled together.
541
+ ---
542
+ ---
543
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLinearDamping)
544
+ ---
545
+ ---@return number damping # The value of the linear damping.
546
+ function Body:getLinearDamping() end
547
+
548
+ ---
549
+ ---Gets the linear velocity of the Body from its center of mass.
550
+ ---
551
+ ---The linear velocity is the ''rate of change of position over time''.
552
+ ---
553
+ ---If you need the ''rate of change of angle over time'', use Body:getAngularVelocity.
554
+ ---
555
+ ---If you need to get the linear velocity of a point different from the center of mass:
556
+ ---
557
+ ---* Body:getLinearVelocityFromLocalPoint allows you to specify the point in local coordinates.
558
+ ---
559
+ ---* Body:getLinearVelocityFromWorldPoint allows you to specify the point in world coordinates.
560
+ ---
561
+ ---See page 136 of 'Essential Mathematics for Games and Interactive Applications' for definitions of local and world coordinates.
562
+ ---
563
+ ---
564
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLinearVelocity)
565
+ ---
566
+ ---@return number x # The x-component of the velocity vector
567
+ ---@return number y # The y-component of the velocity vector
568
+ function Body:getLinearVelocity() end
569
+
570
+ ---
571
+ ---Get the linear velocity of a point on the body.
572
+ ---
573
+ ---The linear velocity for a point on the body is the velocity of the body center of mass plus the velocity at that point from the body spinning.
574
+ ---
575
+ ---The point on the body must given in local coordinates. Use Body:getLinearVelocityFromWorldPoint to specify this with world coordinates.
576
+ ---
577
+ ---
578
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLinearVelocityFromLocalPoint)
579
+ ---
580
+ ---@param x number # The x position to measure velocity.
581
+ ---@param y number # The y position to measure velocity.
582
+ ---@return number vx # The x component of velocity at point (x,y).
583
+ ---@return number vy # The y component of velocity at point (x,y).
584
+ function Body:getLinearVelocityFromLocalPoint(x, y) end
585
+
586
+ ---
587
+ ---Get the linear velocity of a point on the body.
588
+ ---
589
+ ---The linear velocity for a point on the body is the velocity of the body center of mass plus the velocity at that point from the body spinning.
590
+ ---
591
+ ---The point on the body must given in world coordinates. Use Body:getLinearVelocityFromLocalPoint to specify this with local coordinates.
592
+ ---
593
+ ---
594
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLinearVelocityFromWorldPoint)
595
+ ---
596
+ ---@param x number # The x position to measure velocity.
597
+ ---@param y number # The y position to measure velocity.
598
+ ---@return number vx # The x component of velocity at point (x,y).
599
+ ---@return number vy # The y component of velocity at point (x,y).
600
+ function Body:getLinearVelocityFromWorldPoint(x, y) end
601
+
602
+ ---
603
+ ---Get the center of mass position in local coordinates.
604
+ ---
605
+ ---Use Body:getWorldCenter to get the center of mass in world coordinates.
606
+ ---
607
+ ---
608
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLocalCenter)
609
+ ---
610
+ ---@return number x # The x coordinate of the center of mass.
611
+ ---@return number y # The y coordinate of the center of mass.
612
+ function Body:getLocalCenter() end
613
+
614
+ ---
615
+ ---Transform a point from world coordinates to local coordinates.
616
+ ---
617
+ ---
618
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLocalPoint)
619
+ ---
620
+ ---@param worldX number # The x position in world coordinates.
621
+ ---@param worldY number # The y position in world coordinates.
622
+ ---@return number localX # The x position in local coordinates.
623
+ ---@return number localY # The y position in local coordinates.
624
+ function Body:getLocalPoint(worldX, worldY) end
625
+
626
+ ---
627
+ ---Transforms multiple points from world coordinates to local coordinates.
628
+ ---
629
+ ---
630
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLocalPoints)
631
+ ---
632
+ ---@param x1 number # (Argument) The x position of the first point.
633
+ ---@param y1 number # (Argument) The y position of the first point.
634
+ ---@param x2 number # (Argument) The x position of the second point.
635
+ ---@param y2 number # (Argument) The y position of the second point.
636
+ ---@vararg number # (Argument) You can continue passing x and y position of the points.
637
+ ---@return number x1 # (Result) The transformed x position of the first point.
638
+ ---@return number y1 # (Result) The transformed y position of the first point.
639
+ ---@return number x2 # (Result) The transformed x position of the second point.
640
+ ---@return number y2 # (Result) The transformed y position of the second point.
641
+ function Body:getLocalPoints(x1, y1, x2, y2, ...) end
642
+
643
+ ---
644
+ ---Transform a vector from world coordinates to local coordinates.
645
+ ---
646
+ ---
647
+ ---[Open in Browser](https://love2d.org/wiki/Body:getLocalVector)
648
+ ---
649
+ ---@param worldX number # The vector x component in world coordinates.
650
+ ---@param worldY number # The vector y component in world coordinates.
651
+ ---@return number localX # The vector x component in local coordinates.
652
+ ---@return number localY # The vector y component in local coordinates.
653
+ function Body:getLocalVector(worldX, worldY) end
654
+
655
+ ---
656
+ ---Get the mass of the body.
657
+ ---
658
+ ---Static bodies always have a mass of 0.
659
+ ---
660
+ ---
661
+ ---[Open in Browser](https://love2d.org/wiki/Body:getMass)
662
+ ---
663
+ ---@return number mass # The mass of the body (in kilograms).
664
+ function Body:getMass() end
665
+
666
+ ---
667
+ ---Returns the mass, its center, and the rotational inertia.
668
+ ---
669
+ ---
670
+ ---[Open in Browser](https://love2d.org/wiki/Body:getMassData)
671
+ ---
672
+ ---@return number x # The x position of the center of mass.
673
+ ---@return number y # The y position of the center of mass.
674
+ ---@return number mass # The mass of the body.
675
+ ---@return number inertia # The rotational inertia.
676
+ function Body:getMassData() end
677
+
678
+ ---
679
+ ---Get the position of the body.
680
+ ---
681
+ ---Note that this may not be the center of mass of the body.
682
+ ---
683
+ ---
684
+ ---[Open in Browser](https://love2d.org/wiki/Body:getPosition)
685
+ ---
686
+ ---@return number x # The x position.
687
+ ---@return number y # The y position.
688
+ function Body:getPosition() end
689
+
690
+ ---
691
+ ---Get the position and angle of the body.
692
+ ---
693
+ ---Note that the position may not be the center of mass of the body. An angle of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view.
694
+ ---
695
+ ---
696
+ ---[Open in Browser](https://love2d.org/wiki/Body:getTransform)
697
+ ---
698
+ ---@return number x # The x component of the position.
699
+ ---@return number y # The y component of the position.
700
+ ---@return number angle # The angle in radians.
701
+ function Body:getTransform() end
702
+
703
+ ---
704
+ ---Returns the type of the body.
705
+ ---
706
+ ---
707
+ ---[Open in Browser](https://love2d.org/wiki/Body:getType)
708
+ ---
709
+ ---@return love.BodyType type # The body type.
710
+ function Body:getType() end
711
+
712
+ ---
713
+ ---Returns the Lua value associated with this Body.
714
+ ---
715
+ ---
716
+ ---[Open in Browser](https://love2d.org/wiki/Body:getUserData)
717
+ ---
718
+ ---@return any value # The Lua value associated with the Body.
719
+ function Body:getUserData() end
720
+
721
+ ---
722
+ ---Gets the World the body lives in.
723
+ ---
724
+ ---
725
+ ---[Open in Browser](https://love2d.org/wiki/Body:getWorld)
726
+ ---
727
+ ---@return love.World world # The world the body lives in.
728
+ function Body:getWorld() end
729
+
730
+ ---
731
+ ---Get the center of mass position in world coordinates.
732
+ ---
733
+ ---Use Body:getLocalCenter to get the center of mass in local coordinates.
734
+ ---
735
+ ---
736
+ ---[Open in Browser](https://love2d.org/wiki/Body:getWorldCenter)
737
+ ---
738
+ ---@return number x # The x coordinate of the center of mass.
739
+ ---@return number y # The y coordinate of the center of mass.
740
+ function Body:getWorldCenter() end
741
+
742
+ ---
743
+ ---Transform a point from local coordinates to world coordinates.
744
+ ---
745
+ ---
746
+ ---[Open in Browser](https://love2d.org/wiki/Body:getWorldPoint)
747
+ ---
748
+ ---@param localX number # The x position in local coordinates.
749
+ ---@param localY number # The y position in local coordinates.
750
+ ---@return number worldX # The x position in world coordinates.
751
+ ---@return number worldY # The y position in world coordinates.
752
+ function Body:getWorldPoint(localX, localY) end
753
+
754
+ ---
755
+ ---Transforms multiple points from local coordinates to world coordinates.
756
+ ---
757
+ ---
758
+ ---[Open in Browser](https://love2d.org/wiki/Body:getWorldPoints)
759
+ ---
760
+ ---@param x1 number # The x position of the first point.
761
+ ---@param y1 number # The y position of the first point.
762
+ ---@param x2 number # The x position of the second point.
763
+ ---@param y2 number # The y position of the second point.
764
+ ---@return number x1 # The transformed x position of the first point.
765
+ ---@return number y1 # The transformed y position of the first point.
766
+ ---@return number x2 # The transformed x position of the second point.
767
+ ---@return number y2 # The transformed y position of the second point.
768
+ function Body:getWorldPoints(x1, y1, x2, y2) end
769
+
770
+ ---
771
+ ---Transform a vector from local coordinates to world coordinates.
772
+ ---
773
+ ---
774
+ ---[Open in Browser](https://love2d.org/wiki/Body:getWorldVector)
775
+ ---
776
+ ---@param localX number # The vector x component in local coordinates.
777
+ ---@param localY number # The vector y component in local coordinates.
778
+ ---@return number worldX # The vector x component in world coordinates.
779
+ ---@return number worldY # The vector y component in world coordinates.
780
+ function Body:getWorldVector(localX, localY) end
781
+
782
+ ---
783
+ ---Get the x position of the body in world coordinates.
784
+ ---
785
+ ---
786
+ ---[Open in Browser](https://love2d.org/wiki/Body:getX)
787
+ ---
788
+ ---@return number x # The x position in world coordinates.
789
+ function Body:getX() end
790
+
791
+ ---
792
+ ---Get the y position of the body in world coordinates.
793
+ ---
794
+ ---
795
+ ---[Open in Browser](https://love2d.org/wiki/Body:getY)
796
+ ---
797
+ ---@return number y # The y position in world coordinates.
798
+ function Body:getY() end
799
+
800
+ ---
801
+ ---Returns whether the body is actively used in the simulation.
802
+ ---
803
+ ---
804
+ ---[Open in Browser](https://love2d.org/wiki/Body:isActive)
805
+ ---
806
+ ---@return boolean status # True if the body is active or false if not.
807
+ function Body:isActive() end
808
+
809
+ ---
810
+ ---Returns the sleep status of the body.
811
+ ---
812
+ ---
813
+ ---[Open in Browser](https://love2d.org/wiki/Body:isAwake)
814
+ ---
815
+ ---@return boolean status # True if the body is awake or false if not.
816
+ function Body:isAwake() end
817
+
818
+ ---
819
+ ---Get the bullet status of a body.
820
+ ---
821
+ ---There are two methods to check for body collisions:
822
+ ---
823
+ ---* at their location when the world is updated (default)
824
+ ---
825
+ ---* using continuous collision detection (CCD)
826
+ ---
827
+ ---The default method is efficient, but a body moving very quickly may sometimes jump over another body without producing a collision. A body that is set as a bullet will use CCD. This is less efficient, but is guaranteed not to jump when moving quickly.
828
+ ---
829
+ ---Note that static bodies (with zero mass) always use CCD, so your walls will not let a fast moving body pass through even if it is not a bullet.
830
+ ---
831
+ ---
832
+ ---[Open in Browser](https://love2d.org/wiki/Body:isBullet)
833
+ ---
834
+ ---@return boolean status # The bullet status of the body.
835
+ function Body:isBullet() end
836
+
837
+ ---
838
+ ---Gets whether the Body is destroyed. Destroyed bodies cannot be used.
839
+ ---
840
+ ---
841
+ ---[Open in Browser](https://love2d.org/wiki/Body:isDestroyed)
842
+ ---
843
+ ---@return boolean destroyed # Whether the Body is destroyed.
844
+ function Body:isDestroyed() end
845
+
846
+ ---
847
+ ---Returns whether the body rotation is locked.
848
+ ---
849
+ ---
850
+ ---[Open in Browser](https://love2d.org/wiki/Body:isFixedRotation)
851
+ ---
852
+ ---@return boolean fixed # True if the body's rotation is locked or false if not.
853
+ function Body:isFixedRotation() end
854
+
855
+ ---
856
+ ---Returns the sleeping behaviour of the body.
857
+ ---
858
+ ---
859
+ ---[Open in Browser](https://love2d.org/wiki/Body:isSleepingAllowed)
860
+ ---
861
+ ---@return boolean allowed # True if the body is allowed to sleep or false if not.
862
+ function Body:isSleepingAllowed() end
863
+
864
+ ---
865
+ ---Gets whether the Body is touching the given other Body.
866
+ ---
867
+ ---
868
+ ---[Open in Browser](https://love2d.org/wiki/Body:isTouching)
869
+ ---
870
+ ---@param otherbody love.Body # The other body to check.
871
+ ---@return boolean touching # True if this body is touching the other body, false otherwise.
872
+ function Body:isTouching(otherbody) end
873
+
874
+ ---
875
+ ---Resets the mass of the body by recalculating it from the mass properties of the fixtures.
876
+ ---
877
+ ---
878
+ ---[Open in Browser](https://love2d.org/wiki/Body:resetMassData)
879
+ ---
880
+ function Body:resetMassData() end
881
+
882
+ ---
883
+ ---Sets whether the body is active in the world.
884
+ ---
885
+ ---An inactive body does not take part in the simulation. It will not move or cause any collisions.
886
+ ---
887
+ ---
888
+ ---[Open in Browser](https://love2d.org/wiki/Body:setActive)
889
+ ---
890
+ ---@param active boolean # If the body is active or not.
891
+ function Body:setActive(active) end
892
+
893
+ ---
894
+ ---Set the angle of the body.
895
+ ---
896
+ ---The angle is measured in radians. If you need to transform it from degrees, use math.rad.
897
+ ---
898
+ ---A value of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes ''clockwise'' from our point of view.
899
+ ---
900
+ ---It is possible to cause a collision with another body by changing its angle.
901
+ ---
902
+ ---
903
+ ---[Open in Browser](https://love2d.org/wiki/Body:setAngle)
904
+ ---
905
+ ---@param angle number # The angle in radians.
906
+ function Body:setAngle(angle) end
907
+
908
+ ---
909
+ ---Sets the angular damping of a Body
910
+ ---
911
+ ---See Body:getAngularDamping for a definition of angular damping.
912
+ ---
913
+ ---Angular damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will look unrealistic.
914
+ ---
915
+ ---
916
+ ---[Open in Browser](https://love2d.org/wiki/Body:setAngularDamping)
917
+ ---
918
+ ---@param damping number # The new angular damping.
919
+ function Body:setAngularDamping(damping) end
920
+
921
+ ---
922
+ ---Sets the angular velocity of a Body.
923
+ ---
924
+ ---The angular velocity is the ''rate of change of angle over time''.
925
+ ---
926
+ ---This function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost.
927
+ ---
928
+ ---
929
+ ---[Open in Browser](https://love2d.org/wiki/Body:setAngularVelocity)
930
+ ---
931
+ ---@param w number # The new angular velocity, in radians per second
932
+ function Body:setAngularVelocity(w) end
933
+
934
+ ---
935
+ ---Wakes the body up or puts it to sleep.
936
+ ---
937
+ ---
938
+ ---[Open in Browser](https://love2d.org/wiki/Body:setAwake)
939
+ ---
940
+ ---@param awake boolean # The body sleep status.
941
+ function Body:setAwake(awake) end
942
+
943
+ ---
944
+ ---Set the bullet status of a body.
945
+ ---
946
+ ---There are two methods to check for body collisions:
947
+ ---
948
+ ---* at their location when the world is updated (default)
949
+ ---
950
+ ---* using continuous collision detection (CCD)
951
+ ---
952
+ ---The default method is efficient, but a body moving very quickly may sometimes jump over another body without producing a collision. A body that is set as a bullet will use CCD. This is less efficient, but is guaranteed not to jump when moving quickly.
953
+ ---
954
+ ---Note that static bodies (with zero mass) always use CCD, so your walls will not let a fast moving body pass through even if it is not a bullet.
955
+ ---
956
+ ---
957
+ ---[Open in Browser](https://love2d.org/wiki/Body:setBullet)
958
+ ---
959
+ ---@param status boolean # The bullet status of the body.
960
+ function Body:setBullet(status) end
961
+
962
+ ---
963
+ ---Set whether a body has fixed rotation.
964
+ ---
965
+ ---Bodies with fixed rotation don't vary the speed at which they rotate. Calling this function causes the mass to be reset.
966
+ ---
967
+ ---
968
+ ---[Open in Browser](https://love2d.org/wiki/Body:setFixedRotation)
969
+ ---
970
+ ---@param isFixed boolean # Whether the body should have fixed rotation.
971
+ function Body:setFixedRotation(isFixed) end
972
+
973
+ ---
974
+ ---Sets a new gravity scale factor for the body.
975
+ ---
976
+ ---
977
+ ---[Open in Browser](https://love2d.org/wiki/Body:setGravityScale)
978
+ ---
979
+ ---@param scale number # The new gravity scale factor.
980
+ function Body:setGravityScale(scale) end
981
+
982
+ ---
983
+ ---Set the inertia of a body.
984
+ ---
985
+ ---
986
+ ---[Open in Browser](https://love2d.org/wiki/Body:setInertia)
987
+ ---
988
+ ---@param inertia number # The new moment of inertia, in kilograms * pixel squared.
989
+ function Body:setInertia(inertia) end
990
+
991
+ ---
992
+ ---Sets the linear damping of a Body
993
+ ---
994
+ ---See Body:getLinearDamping for a definition of linear damping.
995
+ ---
996
+ ---Linear damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will make the objects look 'floaty'(if gravity is enabled).
997
+ ---
998
+ ---
999
+ ---[Open in Browser](https://love2d.org/wiki/Body:setLinearDamping)
1000
+ ---
1001
+ ---@param ld number # The new linear damping
1002
+ function Body:setLinearDamping(ld) end
1003
+
1004
+ ---
1005
+ ---Sets a new linear velocity for the Body.
1006
+ ---
1007
+ ---This function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost.
1008
+ ---
1009
+ ---
1010
+ ---[Open in Browser](https://love2d.org/wiki/Body:setLinearVelocity)
1011
+ ---
1012
+ ---@param x number # The x-component of the velocity vector.
1013
+ ---@param y number # The y-component of the velocity vector.
1014
+ function Body:setLinearVelocity(x, y) end
1015
+
1016
+ ---
1017
+ ---Sets a new body mass.
1018
+ ---
1019
+ ---
1020
+ ---[Open in Browser](https://love2d.org/wiki/Body:setMass)
1021
+ ---
1022
+ ---@param mass number # The mass, in kilograms.
1023
+ function Body:setMass(mass) end
1024
+
1025
+ ---
1026
+ ---Overrides the calculated mass data.
1027
+ ---
1028
+ ---
1029
+ ---[Open in Browser](https://love2d.org/wiki/Body:setMassData)
1030
+ ---
1031
+ ---@param x number # The x position of the center of mass.
1032
+ ---@param y number # The y position of the center of mass.
1033
+ ---@param mass number # The mass of the body.
1034
+ ---@param inertia number # The rotational inertia.
1035
+ function Body:setMassData(x, y, mass, inertia) end
1036
+
1037
+ ---
1038
+ ---Set the position of the body.
1039
+ ---
1040
+ ---Note that this may not be the center of mass of the body.
1041
+ ---
1042
+ ---This function cannot wake up the body.
1043
+ ---
1044
+ ---
1045
+ ---[Open in Browser](https://love2d.org/wiki/Body:setPosition)
1046
+ ---
1047
+ ---@param x number # The x position.
1048
+ ---@param y number # The y position.
1049
+ function Body:setPosition(x, y) end
1050
+
1051
+ ---
1052
+ ---Sets the sleeping behaviour of the body. Should sleeping be allowed, a body at rest will automatically sleep. A sleeping body is not simulated unless it collided with an awake body. Be wary that one can end up with a situation like a floating sleeping body if the floor was removed.
1053
+ ---
1054
+ ---
1055
+ ---[Open in Browser](https://love2d.org/wiki/Body:setSleepingAllowed)
1056
+ ---
1057
+ ---@param allowed boolean # True if the body is allowed to sleep or false if not.
1058
+ function Body:setSleepingAllowed(allowed) end
1059
+
1060
+ ---
1061
+ ---Set the position and angle of the body.
1062
+ ---
1063
+ ---Note that the position may not be the center of mass of the body. An angle of 0 radians will mean 'looking to the right'. Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view.
1064
+ ---
1065
+ ---This function cannot wake up the body.
1066
+ ---
1067
+ ---
1068
+ ---[Open in Browser](https://love2d.org/wiki/Body:setTransform)
1069
+ ---
1070
+ ---@param x number # The x component of the position.
1071
+ ---@param y number # The y component of the position.
1072
+ ---@param angle number # The angle in radians.
1073
+ function Body:setTransform(x, y, angle) end
1074
+
1075
+ ---
1076
+ ---Sets a new body type.
1077
+ ---
1078
+ ---
1079
+ ---[Open in Browser](https://love2d.org/wiki/Body:setType)
1080
+ ---
1081
+ ---@param type love.BodyType # The new type.
1082
+ function Body:setType(type) end
1083
+
1084
+ ---
1085
+ ---Associates a Lua value with the Body.
1086
+ ---
1087
+ ---To delete the reference, explicitly pass nil.
1088
+ ---
1089
+ ---
1090
+ ---[Open in Browser](https://love2d.org/wiki/Body:setUserData)
1091
+ ---
1092
+ ---@param value any # The Lua value to associate with the Body.
1093
+ function Body:setUserData(value) end
1094
+
1095
+ ---
1096
+ ---Set the x position of the body.
1097
+ ---
1098
+ ---This function cannot wake up the body.
1099
+ ---
1100
+ ---
1101
+ ---[Open in Browser](https://love2d.org/wiki/Body:setX)
1102
+ ---
1103
+ ---@param x number # The x position.
1104
+ function Body:setX(x) end
1105
+
1106
+ ---
1107
+ ---Set the y position of the body.
1108
+ ---
1109
+ ---This function cannot wake up the body.
1110
+ ---
1111
+ ---
1112
+ ---[Open in Browser](https://love2d.org/wiki/Body:setY)
1113
+ ---
1114
+ ---@param y number # The y position.
1115
+ function Body:setY(y) end
1116
+
1117
+ ---
1118
+ ---A ChainShape consists of multiple line segments. It can be used to create the boundaries of your terrain. The shape does not have volume and can only collide with PolygonShape and CircleShape.
1119
+ ---
1120
+ ---Unlike the PolygonShape, the ChainShape does not have a vertices limit or has to form a convex shape, but self intersections are not supported.
1121
+ ---
1122
+ ---
1123
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1124
+ ---
1125
+ ---@class love.ChainShape: love.Shape, love.Object
1126
+ local ChainShape = {}
1127
+
1128
+ ---
1129
+ ---Returns a child of the shape as an EdgeShape.
1130
+ ---
1131
+ ---
1132
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getChildEdge)
1133
+ ---
1134
+ ---@param index number # The index of the child.
1135
+ ---@return love.EdgeShape shape # The child as an EdgeShape.
1136
+ function ChainShape:getChildEdge(index) end
1137
+
1138
+ ---
1139
+ ---Gets the vertex that establishes a connection to the next shape.
1140
+ ---
1141
+ ---Setting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1142
+ ---
1143
+ ---
1144
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getNextVertex)
1145
+ ---
1146
+ ---@return number x # The x-component of the vertex, or nil if ChainShape:setNextVertex hasn't been called.
1147
+ ---@return number y # The y-component of the vertex, or nil if ChainShape:setNextVertex hasn't been called.
1148
+ function ChainShape:getNextVertex() end
1149
+
1150
+ ---
1151
+ ---Returns a point of the shape.
1152
+ ---
1153
+ ---
1154
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getPoint)
1155
+ ---
1156
+ ---@param index number # The index of the point to return.
1157
+ ---@return number x # The x-coordinate of the point.
1158
+ ---@return number y # The y-coordinate of the point.
1159
+ function ChainShape:getPoint(index) end
1160
+
1161
+ ---
1162
+ ---Returns all points of the shape.
1163
+ ---
1164
+ ---
1165
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getPoints)
1166
+ ---
1167
+ ---@return number x1 # The x-coordinate of the first point.
1168
+ ---@return number y1 # The y-coordinate of the first point.
1169
+ ---@return number x2 # The x-coordinate of the second point.
1170
+ ---@return number y2 # The y-coordinate of the second point.
1171
+ function ChainShape:getPoints() end
1172
+
1173
+ ---
1174
+ ---Gets the vertex that establishes a connection to the previous shape.
1175
+ ---
1176
+ ---Setting next and previous ChainShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1177
+ ---
1178
+ ---
1179
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getPreviousVertex)
1180
+ ---
1181
+ ---@return number x # The x-component of the vertex, or nil if ChainShape:setPreviousVertex hasn't been called.
1182
+ ---@return number y # The y-component of the vertex, or nil if ChainShape:setPreviousVertex hasn't been called.
1183
+ function ChainShape:getPreviousVertex() end
1184
+
1185
+ ---
1186
+ ---Returns the number of vertices the shape has.
1187
+ ---
1188
+ ---
1189
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:getVertexCount)
1190
+ ---
1191
+ ---@return number count # The number of vertices.
1192
+ function ChainShape:getVertexCount() end
1193
+
1194
+ ---
1195
+ ---Sets a vertex that establishes a connection to the next shape.
1196
+ ---
1197
+ ---This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1198
+ ---
1199
+ ---
1200
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:setNextVertex)
1201
+ ---
1202
+ ---@param x number # The x-component of the vertex.
1203
+ ---@param y number # The y-component of the vertex.
1204
+ function ChainShape:setNextVertex(x, y) end
1205
+
1206
+ ---
1207
+ ---Sets a vertex that establishes a connection to the previous shape.
1208
+ ---
1209
+ ---This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1210
+ ---
1211
+ ---
1212
+ ---[Open in Browser](https://love2d.org/wiki/ChainShape:setPreviousVertex)
1213
+ ---
1214
+ ---@param x number # The x-component of the vertex.
1215
+ ---@param y number # The y-component of the vertex.
1216
+ function ChainShape:setPreviousVertex(x, y) end
1217
+
1218
+ ---
1219
+ ---Circle extends Shape and adds a radius and a local position.
1220
+ ---
1221
+ ---
1222
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1223
+ ---
1224
+ ---@class love.CircleShape: love.Shape, love.Object
1225
+ local CircleShape = {}
1226
+
1227
+ ---
1228
+ ---Gets the center point of the circle shape.
1229
+ ---
1230
+ ---
1231
+ ---[Open in Browser](https://love2d.org/wiki/CircleShape:getPoint)
1232
+ ---
1233
+ ---@return number x # The x-component of the center point of the circle.
1234
+ ---@return number y # The y-component of the center point of the circle.
1235
+ function CircleShape:getPoint() end
1236
+
1237
+ ---
1238
+ ---Gets the radius of the circle shape.
1239
+ ---
1240
+ ---
1241
+ ---[Open in Browser](https://love2d.org/wiki/CircleShape:getRadius)
1242
+ ---
1243
+ ---@return number radius # The radius of the circle
1244
+ function CircleShape:getRadius() end
1245
+
1246
+ ---
1247
+ ---Sets the location of the center of the circle shape.
1248
+ ---
1249
+ ---
1250
+ ---[Open in Browser](https://love2d.org/wiki/CircleShape:setPoint)
1251
+ ---
1252
+ ---@param x number # The x-component of the new center point of the circle.
1253
+ ---@param y number # The y-component of the new center point of the circle.
1254
+ function CircleShape:setPoint(x, y) end
1255
+
1256
+ ---
1257
+ ---Sets the radius of the circle.
1258
+ ---
1259
+ ---
1260
+ ---[Open in Browser](https://love2d.org/wiki/CircleShape:setRadius)
1261
+ ---
1262
+ ---@param radius number # The radius of the circle
1263
+ function CircleShape:setRadius(radius) end
1264
+
1265
+ ---
1266
+ ---Contacts are objects created to manage collisions in worlds.
1267
+ ---
1268
+ ---
1269
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1270
+ ---
1271
+ ---@class love.Contact: love.Object
1272
+ local Contact = {}
1273
+
1274
+ ---
1275
+ ---Gets the child indices of the shapes of the two colliding fixtures. For ChainShapes, an index of 1 is the first edge in the chain.
1276
+ ---Used together with Fixture:rayCast or ChainShape:getChildEdge.
1277
+ ---
1278
+ ---
1279
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getChildren)
1280
+ ---
1281
+ ---@return number indexA # The child index of the first fixture's shape.
1282
+ ---@return number indexB # The child index of the second fixture's shape.
1283
+ function Contact:getChildren() end
1284
+
1285
+ ---
1286
+ ---Gets the two Fixtures that hold the shapes that are in contact.
1287
+ ---
1288
+ ---
1289
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getFixtures)
1290
+ ---
1291
+ ---@return love.Fixture fixtureA # The first Fixture.
1292
+ ---@return love.Fixture fixtureB # The second Fixture.
1293
+ function Contact:getFixtures() end
1294
+
1295
+ ---
1296
+ ---Get the friction between two shapes that are in contact.
1297
+ ---
1298
+ ---
1299
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getFriction)
1300
+ ---
1301
+ ---@return number friction # The friction of the contact.
1302
+ function Contact:getFriction() end
1303
+
1304
+ ---
1305
+ ---Get the normal vector between two shapes that are in contact.
1306
+ ---
1307
+ ---This function returns the coordinates of a unit vector that points from the first shape to the second.
1308
+ ---
1309
+ ---
1310
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getNormal)
1311
+ ---
1312
+ ---@return number nx # The x component of the normal vector.
1313
+ ---@return number ny # The y component of the normal vector.
1314
+ function Contact:getNormal() end
1315
+
1316
+ ---
1317
+ ---Returns the contact points of the two colliding fixtures. There can be one or two points.
1318
+ ---
1319
+ ---
1320
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getPositions)
1321
+ ---
1322
+ ---@return number x1 # The x coordinate of the first contact point.
1323
+ ---@return number y1 # The y coordinate of the first contact point.
1324
+ ---@return number x2 # The x coordinate of the second contact point.
1325
+ ---@return number y2 # The y coordinate of the second contact point.
1326
+ function Contact:getPositions() end
1327
+
1328
+ ---
1329
+ ---Get the restitution between two shapes that are in contact.
1330
+ ---
1331
+ ---
1332
+ ---[Open in Browser](https://love2d.org/wiki/Contact:getRestitution)
1333
+ ---
1334
+ ---@return number restitution # The restitution between the two shapes.
1335
+ function Contact:getRestitution() end
1336
+
1337
+ ---
1338
+ ---Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the preSolve callback.
1339
+ ---
1340
+ ---
1341
+ ---[Open in Browser](https://love2d.org/wiki/Contact:isEnabled)
1342
+ ---
1343
+ ---@return boolean enabled # True if enabled, false otherwise.
1344
+ function Contact:isEnabled() end
1345
+
1346
+ ---
1347
+ ---Returns whether the two colliding fixtures are touching each other.
1348
+ ---
1349
+ ---
1350
+ ---[Open in Browser](https://love2d.org/wiki/Contact:isTouching)
1351
+ ---
1352
+ ---@return boolean touching # True if they touch or false if not.
1353
+ function Contact:isTouching() end
1354
+
1355
+ ---
1356
+ ---Resets the contact friction to the mixture value of both fixtures.
1357
+ ---
1358
+ ---
1359
+ ---[Open in Browser](https://love2d.org/wiki/Contact:resetFriction)
1360
+ ---
1361
+ function Contact:resetFriction() end
1362
+
1363
+ ---
1364
+ ---Resets the contact restitution to the mixture value of both fixtures.
1365
+ ---
1366
+ ---
1367
+ ---[Open in Browser](https://love2d.org/wiki/Contact:resetRestitution)
1368
+ ---
1369
+ function Contact:resetRestitution() end
1370
+
1371
+ ---
1372
+ ---Enables or disables the contact.
1373
+ ---
1374
+ ---
1375
+ ---[Open in Browser](https://love2d.org/wiki/Contact:setEnabled)
1376
+ ---
1377
+ ---@param enabled boolean # True to enable or false to disable.
1378
+ function Contact:setEnabled(enabled) end
1379
+
1380
+ ---
1381
+ ---Sets the contact friction.
1382
+ ---
1383
+ ---
1384
+ ---[Open in Browser](https://love2d.org/wiki/Contact:setFriction)
1385
+ ---
1386
+ ---@param friction number # The contact friction.
1387
+ function Contact:setFriction(friction) end
1388
+
1389
+ ---
1390
+ ---Sets the contact restitution.
1391
+ ---
1392
+ ---
1393
+ ---[Open in Browser](https://love2d.org/wiki/Contact:setRestitution)
1394
+ ---
1395
+ ---@param restitution number # The contact restitution.
1396
+ function Contact:setRestitution(restitution) end
1397
+
1398
+ ---
1399
+ ---Keeps two bodies at the same distance.
1400
+ ---
1401
+ ---
1402
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1403
+ ---
1404
+ ---@class love.DistanceJoint: love.Joint, love.Object
1405
+ local DistanceJoint = {}
1406
+
1407
+ ---
1408
+ ---Gets the damping ratio.
1409
+ ---
1410
+ ---
1411
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:getDampingRatio)
1412
+ ---
1413
+ ---@return number ratio # The damping ratio.
1414
+ function DistanceJoint:getDampingRatio() end
1415
+
1416
+ ---
1417
+ ---Gets the response speed.
1418
+ ---
1419
+ ---
1420
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:getFrequency)
1421
+ ---
1422
+ ---@return number Hz # The response speed.
1423
+ function DistanceJoint:getFrequency() end
1424
+
1425
+ ---
1426
+ ---Gets the equilibrium distance between the two Bodies.
1427
+ ---
1428
+ ---
1429
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:getLength)
1430
+ ---
1431
+ ---@return number l # The length between the two Bodies.
1432
+ function DistanceJoint:getLength() end
1433
+
1434
+ ---
1435
+ ---Sets the damping ratio.
1436
+ ---
1437
+ ---
1438
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:setDampingRatio)
1439
+ ---
1440
+ ---@param ratio number # The damping ratio.
1441
+ function DistanceJoint:setDampingRatio(ratio) end
1442
+
1443
+ ---
1444
+ ---Sets the response speed.
1445
+ ---
1446
+ ---
1447
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:setFrequency)
1448
+ ---
1449
+ ---@param Hz number # The response speed.
1450
+ function DistanceJoint:setFrequency(Hz) end
1451
+
1452
+ ---
1453
+ ---Sets the equilibrium distance between the two Bodies.
1454
+ ---
1455
+ ---
1456
+ ---[Open in Browser](https://love2d.org/wiki/DistanceJoint:setLength)
1457
+ ---
1458
+ ---@param l number # The length between the two Bodies.
1459
+ function DistanceJoint:setLength(l) end
1460
+
1461
+ ---
1462
+ ---A EdgeShape is a line segment. They can be used to create the boundaries of your terrain. The shape does not have volume and can only collide with PolygonShape and CircleShape.
1463
+ ---
1464
+ ---
1465
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1466
+ ---
1467
+ ---@class love.EdgeShape: love.Shape, love.Object
1468
+ local EdgeShape = {}
1469
+
1470
+ ---
1471
+ ---Gets the vertex that establishes a connection to the next shape.
1472
+ ---
1473
+ ---Setting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1474
+ ---
1475
+ ---
1476
+ ---[Open in Browser](https://love2d.org/wiki/EdgeShape:getNextVertex)
1477
+ ---
1478
+ ---@return number x # The x-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been called.
1479
+ ---@return number y # The y-component of the vertex, or nil if EdgeShape:setNextVertex hasn't been called.
1480
+ function EdgeShape:getNextVertex() end
1481
+
1482
+ ---
1483
+ ---Returns the local coordinates of the edge points.
1484
+ ---
1485
+ ---
1486
+ ---[Open in Browser](https://love2d.org/wiki/EdgeShape:getPoints)
1487
+ ---
1488
+ ---@return number x1 # The x-component of the first vertex.
1489
+ ---@return number y1 # The y-component of the first vertex.
1490
+ ---@return number x2 # The x-component of the second vertex.
1491
+ ---@return number y2 # The y-component of the second vertex.
1492
+ function EdgeShape:getPoints() end
1493
+
1494
+ ---
1495
+ ---Gets the vertex that establishes a connection to the previous shape.
1496
+ ---
1497
+ ---Setting next and previous EdgeShape vertices can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1498
+ ---
1499
+ ---
1500
+ ---[Open in Browser](https://love2d.org/wiki/EdgeShape:getPreviousVertex)
1501
+ ---
1502
+ ---@return number x # The x-component of the vertex, or nil if EdgeShape:setPreviousVertex hasn't been called.
1503
+ ---@return number y # The y-component of the vertex, or nil if EdgeShape:setPreviousVertex hasn't been called.
1504
+ function EdgeShape:getPreviousVertex() end
1505
+
1506
+ ---
1507
+ ---Sets a vertex that establishes a connection to the next shape.
1508
+ ---
1509
+ ---This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1510
+ ---
1511
+ ---
1512
+ ---[Open in Browser](https://love2d.org/wiki/EdgeShape:setNextVertex)
1513
+ ---
1514
+ ---@param x number # The x-component of the vertex.
1515
+ ---@param y number # The y-component of the vertex.
1516
+ function EdgeShape:setNextVertex(x, y) end
1517
+
1518
+ ---
1519
+ ---Sets a vertex that establishes a connection to the previous shape.
1520
+ ---
1521
+ ---This can help prevent unwanted collisions when a flat shape slides along the edge and moves over to the new shape.
1522
+ ---
1523
+ ---
1524
+ ---[Open in Browser](https://love2d.org/wiki/EdgeShape:setPreviousVertex)
1525
+ ---
1526
+ ---@param x number # The x-component of the vertex.
1527
+ ---@param y number # The y-component of the vertex.
1528
+ function EdgeShape:setPreviousVertex(x, y) end
1529
+
1530
+ ---
1531
+ ---Fixtures attach shapes to bodies.
1532
+ ---
1533
+ ---
1534
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1535
+ ---
1536
+ ---@class love.Fixture: love.Object
1537
+ local Fixture = {}
1538
+
1539
+ ---
1540
+ ---Destroys the fixture.
1541
+ ---
1542
+ ---
1543
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:destroy)
1544
+ ---
1545
+ function Fixture:destroy() end
1546
+
1547
+ ---
1548
+ ---Returns the body to which the fixture is attached.
1549
+ ---
1550
+ ---
1551
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getBody)
1552
+ ---
1553
+ ---@return love.Body body # The parent body.
1554
+ function Fixture:getBody() end
1555
+
1556
+ ---
1557
+ ---Returns the points of the fixture bounding box. In case the fixture has multiple children a 1-based index can be specified. For example, a fixture will have multiple children with a chain shape.
1558
+ ---
1559
+ ---
1560
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getBoundingBox)
1561
+ ---
1562
+ ---@param index? number # A bounding box of the fixture.
1563
+ ---@return number topLeftX # The x position of the top-left point.
1564
+ ---@return number topLeftY # The y position of the top-left point.
1565
+ ---@return number bottomRightX # The x position of the bottom-right point.
1566
+ ---@return number bottomRightY # The y position of the bottom-right point.
1567
+ function Fixture:getBoundingBox(index) end
1568
+
1569
+ ---
1570
+ ---Returns the categories the fixture belongs to.
1571
+ ---
1572
+ ---
1573
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getCategory)
1574
+ ---
1575
+ function Fixture:getCategory() end
1576
+
1577
+ ---
1578
+ ---Returns the density of the fixture.
1579
+ ---
1580
+ ---
1581
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getDensity)
1582
+ ---
1583
+ ---@return number density # The fixture density in kilograms per square meter.
1584
+ function Fixture:getDensity() end
1585
+
1586
+ ---
1587
+ ---Returns the filter data of the fixture.
1588
+ ---
1589
+ ---Categories and masks are encoded as the bits of a 16-bit integer.
1590
+ ---
1591
+ ---
1592
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getFilterData)
1593
+ ---
1594
+ ---@return number categories # The categories as an integer from 0 to 65535.
1595
+ ---@return number mask # The mask as an integer from 0 to 65535.
1596
+ ---@return number group # The group as an integer from -32768 to 32767.
1597
+ function Fixture:getFilterData() end
1598
+
1599
+ ---
1600
+ ---Returns the friction of the fixture.
1601
+ ---
1602
+ ---
1603
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getFriction)
1604
+ ---
1605
+ ---@return number friction # The fixture friction.
1606
+ function Fixture:getFriction() end
1607
+
1608
+ ---
1609
+ ---Returns the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group.
1610
+ ---
1611
+ ---The groups range from -32768 to 32767.
1612
+ ---
1613
+ ---
1614
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getGroupIndex)
1615
+ ---
1616
+ ---@return number group # The group of the fixture.
1617
+ function Fixture:getGroupIndex() end
1618
+
1619
+ ---
1620
+ ---Returns which categories this fixture should '''NOT''' collide with.
1621
+ ---
1622
+ ---
1623
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getMask)
1624
+ ---
1625
+ function Fixture:getMask() end
1626
+
1627
+ ---
1628
+ ---Returns the mass, its center and the rotational inertia.
1629
+ ---
1630
+ ---
1631
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getMassData)
1632
+ ---
1633
+ ---@return number x # The x position of the center of mass.
1634
+ ---@return number y # The y position of the center of mass.
1635
+ ---@return number mass # The mass of the fixture.
1636
+ ---@return number inertia # The rotational inertia.
1637
+ function Fixture:getMassData() end
1638
+
1639
+ ---
1640
+ ---Returns the restitution of the fixture.
1641
+ ---
1642
+ ---
1643
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getRestitution)
1644
+ ---
1645
+ ---@return number restitution # The fixture restitution.
1646
+ function Fixture:getRestitution() end
1647
+
1648
+ ---
1649
+ ---Returns the shape of the fixture. This shape is a reference to the actual data used in the simulation. It's possible to change its values between timesteps.
1650
+ ---
1651
+ ---
1652
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getShape)
1653
+ ---
1654
+ ---@return love.Shape shape # The fixture's shape.
1655
+ function Fixture:getShape() end
1656
+
1657
+ ---
1658
+ ---Returns the Lua value associated with this fixture.
1659
+ ---
1660
+ ---
1661
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:getUserData)
1662
+ ---
1663
+ ---@return any value # The Lua value associated with the fixture.
1664
+ function Fixture:getUserData() end
1665
+
1666
+ ---
1667
+ ---Gets whether the Fixture is destroyed. Destroyed fixtures cannot be used.
1668
+ ---
1669
+ ---
1670
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:isDestroyed)
1671
+ ---
1672
+ ---@return boolean destroyed # Whether the Fixture is destroyed.
1673
+ function Fixture:isDestroyed() end
1674
+
1675
+ ---
1676
+ ---Returns whether the fixture is a sensor.
1677
+ ---
1678
+ ---
1679
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:isSensor)
1680
+ ---
1681
+ ---@return boolean sensor # If the fixture is a sensor.
1682
+ function Fixture:isSensor() end
1683
+
1684
+ ---
1685
+ ---Casts a ray against the shape of the fixture and returns the surface normal vector and the line position where the ray hit. If the ray missed the shape, nil will be returned.
1686
+ ---
1687
+ ---The ray starts on the first point of the input line and goes towards the second point of the line. The fifth argument is the maximum distance the ray is going to travel as a scale factor of the input line length.
1688
+ ---
1689
+ ---The childIndex parameter is used to specify which child of a parent shape, such as a ChainShape, will be ray casted. For ChainShapes, the index of 1 is the first edge on the chain. Ray casting a parent shape will only test the child specified so if you want to test every shape of the parent, you must loop through all of its children.
1690
+ ---
1691
+ ---The world position of the impact can be calculated by multiplying the line vector with the third return value and adding it to the line starting point.
1692
+ ---
1693
+ ---hitx, hity = x1 + (x2 - x1) * fraction, y1 + (y2 - y1) * fraction
1694
+ ---
1695
+ ---
1696
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:rayCast)
1697
+ ---
1698
+ ---@param x1 number # The x position of the input line starting point.
1699
+ ---@param y1 number # The y position of the input line starting point.
1700
+ ---@param x2 number # The x position of the input line end point.
1701
+ ---@param y2 number # The y position of the input line end point.
1702
+ ---@param maxFraction number # Ray length parameter.
1703
+ ---@param childIndex? number # The index of the child the ray gets cast against.
1704
+ ---@return number xn # The x component of the normal vector of the edge where the ray hit the shape.
1705
+ ---@return number yn # The y component of the normal vector of the edge where the ray hit the shape.
1706
+ ---@return number fraction # The position on the input line where the intersection happened as a factor of the line length.
1707
+ function Fixture:rayCast(x1, y1, x2, y2, maxFraction, childIndex) end
1708
+
1709
+ ---
1710
+ ---Sets the categories the fixture belongs to. There can be up to 16 categories represented as a number from 1 to 16.
1711
+ ---
1712
+ ---All fixture's default category is 1.
1713
+ ---
1714
+ ---
1715
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setCategory)
1716
+ ---
1717
+ ---@vararg number # The categories.
1718
+ function Fixture:setCategory(...) end
1719
+
1720
+ ---
1721
+ ---Sets the density of the fixture. Call Body:resetMassData if this needs to take effect immediately.
1722
+ ---
1723
+ ---
1724
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setDensity)
1725
+ ---
1726
+ ---@param density number # The fixture density in kilograms per square meter.
1727
+ function Fixture:setDensity(density) end
1728
+
1729
+ ---
1730
+ ---Sets the filter data of the fixture.
1731
+ ---
1732
+ ---Groups, categories, and mask can be used to define the collision behaviour of the fixture.
1733
+ ---
1734
+ ---If two fixtures are in the same group they either always collide if the group is positive, or never collide if it's negative. If the group is zero or they do not match, then the contact filter checks if the fixtures select a category of the other fixture with their masks. The fixtures do not collide if that's not the case. If they do have each other's categories selected, the return value of the custom contact filter will be used. They always collide if none was set.
1735
+ ---
1736
+ ---There can be up to 16 categories. Categories and masks are encoded as the bits of a 16-bit integer.
1737
+ ---
1738
+ ---When created, prior to calling this function, all fixtures have category set to 1, mask set to 65535 (all categories) and group set to 0.
1739
+ ---
1740
+ ---This function allows setting all filter data for a fixture at once. To set only the categories, the mask or the group, you can use Fixture:setCategory, Fixture:setMask or Fixture:setGroupIndex respectively.
1741
+ ---
1742
+ ---
1743
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setFilterData)
1744
+ ---
1745
+ ---@param categories number # The categories as an integer from 0 to 65535.
1746
+ ---@param mask number # The mask as an integer from 0 to 65535.
1747
+ ---@param group number # The group as an integer from -32768 to 32767.
1748
+ function Fixture:setFilterData(categories, mask, group) end
1749
+
1750
+ ---
1751
+ ---Sets the friction of the fixture.
1752
+ ---
1753
+ ---Friction determines how shapes react when they 'slide' along other shapes. Low friction indicates a slippery surface, like ice, while high friction indicates a rough surface, like concrete. Range: 0.0 - 1.0.
1754
+ ---
1755
+ ---
1756
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setFriction)
1757
+ ---
1758
+ ---@param friction number # The fixture friction.
1759
+ function Fixture:setFriction(friction) end
1760
+
1761
+ ---
1762
+ ---Sets the group the fixture belongs to. Fixtures with the same group will always collide if the group is positive or never collide if it's negative. The group zero means no group.
1763
+ ---
1764
+ ---The groups range from -32768 to 32767.
1765
+ ---
1766
+ ---
1767
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setGroupIndex)
1768
+ ---
1769
+ ---@param group number # The group as an integer from -32768 to 32767.
1770
+ function Fixture:setGroupIndex(group) end
1771
+
1772
+ ---
1773
+ ---Sets the category mask of the fixture. There can be up to 16 categories represented as a number from 1 to 16.
1774
+ ---
1775
+ ---This fixture will '''NOT''' collide with the fixtures that are in the selected categories if the other fixture also has a category of this fixture selected.
1776
+ ---
1777
+ ---
1778
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setMask)
1779
+ ---
1780
+ ---@vararg number # The masks.
1781
+ function Fixture:setMask(...) end
1782
+
1783
+ ---
1784
+ ---Sets the restitution of the fixture.
1785
+ ---
1786
+ ---
1787
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setRestitution)
1788
+ ---
1789
+ ---@param restitution number # The fixture restitution.
1790
+ function Fixture:setRestitution(restitution) end
1791
+
1792
+ ---
1793
+ ---Sets whether the fixture should act as a sensor.
1794
+ ---
1795
+ ---Sensors do not cause collision responses, but the begin-contact and end-contact World callbacks will still be called for this fixture.
1796
+ ---
1797
+ ---
1798
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setSensor)
1799
+ ---
1800
+ ---@param sensor boolean # The sensor status.
1801
+ function Fixture:setSensor(sensor) end
1802
+
1803
+ ---
1804
+ ---Associates a Lua value with the fixture.
1805
+ ---
1806
+ ---To delete the reference, explicitly pass nil.
1807
+ ---
1808
+ ---
1809
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:setUserData)
1810
+ ---
1811
+ ---@param value any # The Lua value to associate with the fixture.
1812
+ function Fixture:setUserData(value) end
1813
+
1814
+ ---
1815
+ ---Checks if a point is inside the shape of the fixture.
1816
+ ---
1817
+ ---
1818
+ ---[Open in Browser](https://love2d.org/wiki/Fixture:testPoint)
1819
+ ---
1820
+ ---@param x number # The x position of the point.
1821
+ ---@param y number # The y position of the point.
1822
+ ---@return boolean isInside # True if the point is inside or false if it is outside.
1823
+ function Fixture:testPoint(x, y) end
1824
+
1825
+ ---
1826
+ ---A FrictionJoint applies friction to a body.
1827
+ ---
1828
+ ---
1829
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1830
+ ---
1831
+ ---@class love.FrictionJoint: love.Joint, love.Object
1832
+ local FrictionJoint = {}
1833
+
1834
+ ---
1835
+ ---Gets the maximum friction force in Newtons.
1836
+ ---
1837
+ ---
1838
+ ---[Open in Browser](https://love2d.org/wiki/FrictionJoint:getMaxForce)
1839
+ ---
1840
+ ---@return number force # Maximum force in Newtons.
1841
+ function FrictionJoint:getMaxForce() end
1842
+
1843
+ ---
1844
+ ---Gets the maximum friction torque in Newton-meters.
1845
+ ---
1846
+ ---
1847
+ ---[Open in Browser](https://love2d.org/wiki/FrictionJoint:getMaxTorque)
1848
+ ---
1849
+ ---@return number torque # Maximum torque in Newton-meters.
1850
+ function FrictionJoint:getMaxTorque() end
1851
+
1852
+ ---
1853
+ ---Sets the maximum friction force in Newtons.
1854
+ ---
1855
+ ---
1856
+ ---[Open in Browser](https://love2d.org/wiki/FrictionJoint:setMaxForce)
1857
+ ---
1858
+ ---@param maxForce number # Max force in Newtons.
1859
+ function FrictionJoint:setMaxForce(maxForce) end
1860
+
1861
+ ---
1862
+ ---Sets the maximum friction torque in Newton-meters.
1863
+ ---
1864
+ ---
1865
+ ---[Open in Browser](https://love2d.org/wiki/FrictionJoint:setMaxTorque)
1866
+ ---
1867
+ ---@param torque number # Maximum torque in Newton-meters.
1868
+ function FrictionJoint:setMaxTorque(torque) end
1869
+
1870
+ ---
1871
+ ---Keeps bodies together in such a way that they act like gears.
1872
+ ---
1873
+ ---
1874
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1875
+ ---
1876
+ ---@class love.GearJoint: love.Joint, love.Object
1877
+ local GearJoint = {}
1878
+
1879
+ ---
1880
+ ---Get the Joints connected by this GearJoint.
1881
+ ---
1882
+ ---
1883
+ ---[Open in Browser](https://love2d.org/wiki/GearJoint:getJoints)
1884
+ ---
1885
+ ---@return love.Joint joint1 # The first connected Joint.
1886
+ ---@return love.Joint joint2 # The second connected Joint.
1887
+ function GearJoint:getJoints() end
1888
+
1889
+ ---
1890
+ ---Get the ratio of a gear joint.
1891
+ ---
1892
+ ---
1893
+ ---[Open in Browser](https://love2d.org/wiki/GearJoint:getRatio)
1894
+ ---
1895
+ ---@return number ratio # The ratio of the joint.
1896
+ function GearJoint:getRatio() end
1897
+
1898
+ ---
1899
+ ---Set the ratio of a gear joint.
1900
+ ---
1901
+ ---
1902
+ ---[Open in Browser](https://love2d.org/wiki/GearJoint:setRatio)
1903
+ ---
1904
+ ---@param ratio number # The new ratio of the joint.
1905
+ function GearJoint:setRatio(ratio) end
1906
+
1907
+ ---
1908
+ ---Attach multiple bodies together to interact in unique ways.
1909
+ ---
1910
+ ---
1911
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
1912
+ ---
1913
+ ---@class love.Joint: love.Object
1914
+ local Joint = {}
1915
+
1916
+ ---
1917
+ ---Explicitly destroys the Joint. An error will occur if you attempt to use the object after calling this function.
1918
+ ---
1919
+ ---In 0.7.2, when you don't have time to wait for garbage collection, this function
1920
+ ---
1921
+ ---may be used to free the object immediately.
1922
+ ---
1923
+ ---
1924
+ ---[Open in Browser](https://love2d.org/wiki/Joint:destroy)
1925
+ ---
1926
+ function Joint:destroy() end
1927
+
1928
+ ---
1929
+ ---Get the anchor points of the joint.
1930
+ ---
1931
+ ---
1932
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getAnchors)
1933
+ ---
1934
+ ---@return number x1 # The x-component of the anchor on Body 1.
1935
+ ---@return number y1 # The y-component of the anchor on Body 1.
1936
+ ---@return number x2 # The x-component of the anchor on Body 2.
1937
+ ---@return number y2 # The y-component of the anchor on Body 2.
1938
+ function Joint:getAnchors() end
1939
+
1940
+ ---
1941
+ ---Gets the bodies that the Joint is attached to.
1942
+ ---
1943
+ ---
1944
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getBodies)
1945
+ ---
1946
+ ---@return love.Body bodyA # The first Body.
1947
+ ---@return love.Body bodyB # The second Body.
1948
+ function Joint:getBodies() end
1949
+
1950
+ ---
1951
+ ---Gets whether the connected Bodies collide.
1952
+ ---
1953
+ ---
1954
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getCollideConnected)
1955
+ ---
1956
+ ---@return boolean c # True if they collide, false otherwise.
1957
+ function Joint:getCollideConnected() end
1958
+
1959
+ ---
1960
+ ---Returns the reaction force in newtons on the second body
1961
+ ---
1962
+ ---
1963
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getReactionForce)
1964
+ ---
1965
+ ---@param x number # How long the force applies. Usually the inverse time step or 1/dt.
1966
+ ---@return number x # The x-component of the force.
1967
+ ---@return number y # The y-component of the force.
1968
+ function Joint:getReactionForce(x) end
1969
+
1970
+ ---
1971
+ ---Returns the reaction torque on the second body.
1972
+ ---
1973
+ ---
1974
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getReactionTorque)
1975
+ ---
1976
+ ---@param invdt number # How long the force applies. Usually the inverse time step or 1/dt.
1977
+ ---@return number torque # The reaction torque on the second body.
1978
+ function Joint:getReactionTorque(invdt) end
1979
+
1980
+ ---
1981
+ ---Gets a string representing the type.
1982
+ ---
1983
+ ---
1984
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getType)
1985
+ ---
1986
+ ---@return love.JointType type # A string with the name of the Joint type.
1987
+ function Joint:getType() end
1988
+
1989
+ ---
1990
+ ---Returns the Lua value associated with this Joint.
1991
+ ---
1992
+ ---
1993
+ ---[Open in Browser](https://love2d.org/wiki/Joint:getUserData)
1994
+ ---
1995
+ ---@return any value # The Lua value associated with the Joint.
1996
+ function Joint:getUserData() end
1997
+
1998
+ ---
1999
+ ---Gets whether the Joint is destroyed. Destroyed joints cannot be used.
2000
+ ---
2001
+ ---
2002
+ ---[Open in Browser](https://love2d.org/wiki/Joint:isDestroyed)
2003
+ ---
2004
+ ---@return boolean destroyed # Whether the Joint is destroyed.
2005
+ function Joint:isDestroyed() end
2006
+
2007
+ ---
2008
+ ---Associates a Lua value with the Joint.
2009
+ ---
2010
+ ---To delete the reference, explicitly pass nil.
2011
+ ---
2012
+ ---
2013
+ ---[Open in Browser](https://love2d.org/wiki/Joint:setUserData)
2014
+ ---
2015
+ ---@param value any # The Lua value to associate with the Joint.
2016
+ function Joint:setUserData(value) end
2017
+
2018
+ ---
2019
+ ---Controls the relative motion between two Bodies. Position and rotation offsets can be specified, as well as the maximum motor force and torque that will be applied to reach the target offsets.
2020
+ ---
2021
+ ---
2022
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2023
+ ---
2024
+ ---@class love.MotorJoint: love.Joint, love.Object
2025
+ local MotorJoint = {}
2026
+
2027
+ ---
2028
+ ---Gets the target angular offset between the two Bodies the Joint is attached to.
2029
+ ---
2030
+ ---
2031
+ ---[Open in Browser](https://love2d.org/wiki/MotorJoint:getAngularOffset)
2032
+ ---
2033
+ ---@return number angleoffset # The target angular offset in radians: the second body's angle minus the first body's angle.
2034
+ function MotorJoint:getAngularOffset() end
2035
+
2036
+ ---
2037
+ ---Gets the target linear offset between the two Bodies the Joint is attached to.
2038
+ ---
2039
+ ---
2040
+ ---[Open in Browser](https://love2d.org/wiki/MotorJoint:getLinearOffset)
2041
+ ---
2042
+ ---@return number x # The x component of the target linear offset, relative to the first Body.
2043
+ ---@return number y # The y component of the target linear offset, relative to the first Body.
2044
+ function MotorJoint:getLinearOffset() end
2045
+
2046
+ ---
2047
+ ---Sets the target angluar offset between the two Bodies the Joint is attached to.
2048
+ ---
2049
+ ---
2050
+ ---[Open in Browser](https://love2d.org/wiki/MotorJoint:setAngularOffset)
2051
+ ---
2052
+ ---@param angleoffset number # The target angular offset in radians: the second body's angle minus the first body's angle.
2053
+ function MotorJoint:setAngularOffset(angleoffset) end
2054
+
2055
+ ---
2056
+ ---Sets the target linear offset between the two Bodies the Joint is attached to.
2057
+ ---
2058
+ ---
2059
+ ---[Open in Browser](https://love2d.org/wiki/MotorJoint:setLinearOffset)
2060
+ ---
2061
+ ---@param x number # The x component of the target linear offset, relative to the first Body.
2062
+ ---@param y number # The y component of the target linear offset, relative to the first Body.
2063
+ function MotorJoint:setLinearOffset(x, y) end
2064
+
2065
+ ---
2066
+ ---For controlling objects with the mouse.
2067
+ ---
2068
+ ---
2069
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2070
+ ---
2071
+ ---@class love.MouseJoint: love.Joint, love.Object
2072
+ local MouseJoint = {}
2073
+
2074
+ ---
2075
+ ---Returns the damping ratio.
2076
+ ---
2077
+ ---
2078
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:getDampingRatio)
2079
+ ---
2080
+ ---@return number ratio # The new damping ratio.
2081
+ function MouseJoint:getDampingRatio() end
2082
+
2083
+ ---
2084
+ ---Returns the frequency.
2085
+ ---
2086
+ ---
2087
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:getFrequency)
2088
+ ---
2089
+ ---@return number freq # The frequency in hertz.
2090
+ function MouseJoint:getFrequency() end
2091
+
2092
+ ---
2093
+ ---Gets the highest allowed force.
2094
+ ---
2095
+ ---
2096
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:getMaxForce)
2097
+ ---
2098
+ ---@return number f # The max allowed force.
2099
+ function MouseJoint:getMaxForce() end
2100
+
2101
+ ---
2102
+ ---Gets the target point.
2103
+ ---
2104
+ ---
2105
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:getTarget)
2106
+ ---
2107
+ ---@return number x # The x-component of the target.
2108
+ ---@return number y # The x-component of the target.
2109
+ function MouseJoint:getTarget() end
2110
+
2111
+ ---
2112
+ ---Sets a new damping ratio.
2113
+ ---
2114
+ ---
2115
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:setDampingRatio)
2116
+ ---
2117
+ ---@param ratio number # The new damping ratio.
2118
+ function MouseJoint:setDampingRatio(ratio) end
2119
+
2120
+ ---
2121
+ ---Sets a new frequency.
2122
+ ---
2123
+ ---
2124
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:setFrequency)
2125
+ ---
2126
+ ---@param freq number # The new frequency in hertz.
2127
+ function MouseJoint:setFrequency(freq) end
2128
+
2129
+ ---
2130
+ ---Sets the highest allowed force.
2131
+ ---
2132
+ ---
2133
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:setMaxForce)
2134
+ ---
2135
+ ---@param f number # The max allowed force.
2136
+ function MouseJoint:setMaxForce(f) end
2137
+
2138
+ ---
2139
+ ---Sets the target point.
2140
+ ---
2141
+ ---
2142
+ ---[Open in Browser](https://love2d.org/wiki/MouseJoint:setTarget)
2143
+ ---
2144
+ ---@param x number # The x-component of the target.
2145
+ ---@param y number # The y-component of the target.
2146
+ function MouseJoint:setTarget(x, y) end
2147
+
2148
+ ---
2149
+ ---A PolygonShape is a convex polygon with up to 8 vertices.
2150
+ ---
2151
+ ---
2152
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2153
+ ---
2154
+ ---@class love.PolygonShape: love.Shape, love.Object
2155
+ local PolygonShape = {}
2156
+
2157
+ ---
2158
+ ---Get the local coordinates of the polygon's vertices.
2159
+ ---
2160
+ ---This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon.
2161
+ ---
2162
+ ---
2163
+ ---[Open in Browser](https://love2d.org/wiki/PolygonShape:getPoints)
2164
+ ---
2165
+ ---@return number x1 # The x-component of the first vertex.
2166
+ ---@return number y1 # The y-component of the first vertex.
2167
+ ---@return number x2 # The x-component of the second vertex.
2168
+ ---@return number y2 # The y-component of the second vertex.
2169
+ function PolygonShape:getPoints() end
2170
+
2171
+ ---
2172
+ ---Restricts relative motion between Bodies to one shared axis.
2173
+ ---
2174
+ ---
2175
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2176
+ ---
2177
+ ---@class love.PrismaticJoint: love.Joint, love.Object
2178
+ local PrismaticJoint = {}
2179
+
2180
+ ---
2181
+ ---Checks whether the limits are enabled.
2182
+ ---
2183
+ ---
2184
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:areLimitsEnabled)
2185
+ ---
2186
+ ---@return boolean enabled # True if enabled, false otherwise.
2187
+ function PrismaticJoint:areLimitsEnabled() end
2188
+
2189
+ ---
2190
+ ---Gets the world-space axis vector of the Prismatic Joint.
2191
+ ---
2192
+ ---
2193
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getAxis)
2194
+ ---
2195
+ ---@return number x # The x-axis coordinate of the world-space axis vector.
2196
+ ---@return number y # The y-axis coordinate of the world-space axis vector.
2197
+ function PrismaticJoint:getAxis() end
2198
+
2199
+ ---
2200
+ ---Get the current joint angle speed.
2201
+ ---
2202
+ ---
2203
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getJointSpeed)
2204
+ ---
2205
+ ---@return number s # Joint angle speed in meters/second.
2206
+ function PrismaticJoint:getJointSpeed() end
2207
+
2208
+ ---
2209
+ ---Get the current joint translation.
2210
+ ---
2211
+ ---
2212
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getJointTranslation)
2213
+ ---
2214
+ ---@return number t # Joint translation, usually in meters..
2215
+ function PrismaticJoint:getJointTranslation() end
2216
+
2217
+ ---
2218
+ ---Gets the joint limits.
2219
+ ---
2220
+ ---
2221
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getLimits)
2222
+ ---
2223
+ ---@return number lower # The lower limit, usually in meters.
2224
+ ---@return number upper # The upper limit, usually in meters.
2225
+ function PrismaticJoint:getLimits() end
2226
+
2227
+ ---
2228
+ ---Gets the lower limit.
2229
+ ---
2230
+ ---
2231
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getLowerLimit)
2232
+ ---
2233
+ ---@return number lower # The lower limit, usually in meters.
2234
+ function PrismaticJoint:getLowerLimit() end
2235
+
2236
+ ---
2237
+ ---Gets the maximum motor force.
2238
+ ---
2239
+ ---
2240
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getMaxMotorForce)
2241
+ ---
2242
+ ---@return number f # The maximum motor force, usually in N.
2243
+ function PrismaticJoint:getMaxMotorForce() end
2244
+
2245
+ ---
2246
+ ---Returns the current motor force.
2247
+ ---
2248
+ ---
2249
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getMotorForce)
2250
+ ---
2251
+ ---@param invdt number # How long the force applies. Usually the inverse time step or 1/dt.
2252
+ ---@return number force # The force on the motor in newtons.
2253
+ function PrismaticJoint:getMotorForce(invdt) end
2254
+
2255
+ ---
2256
+ ---Gets the motor speed.
2257
+ ---
2258
+ ---
2259
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getMotorSpeed)
2260
+ ---
2261
+ ---@return number s # The motor speed, usually in meters per second.
2262
+ function PrismaticJoint:getMotorSpeed() end
2263
+
2264
+ ---
2265
+ ---Gets the reference angle.
2266
+ ---
2267
+ ---
2268
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getReferenceAngle)
2269
+ ---
2270
+ ---@return number angle # The reference angle in radians.
2271
+ function PrismaticJoint:getReferenceAngle() end
2272
+
2273
+ ---
2274
+ ---Gets the upper limit.
2275
+ ---
2276
+ ---
2277
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:getUpperLimit)
2278
+ ---
2279
+ ---@return number upper # The upper limit, usually in meters.
2280
+ function PrismaticJoint:getUpperLimit() end
2281
+
2282
+ ---
2283
+ ---Checks whether the motor is enabled.
2284
+ ---
2285
+ ---
2286
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:isMotorEnabled)
2287
+ ---
2288
+ ---@return boolean enabled # True if enabled, false if disabled.
2289
+ function PrismaticJoint:isMotorEnabled() end
2290
+
2291
+ ---
2292
+ ---Sets the limits.
2293
+ ---
2294
+ ---
2295
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setLimits)
2296
+ ---
2297
+ ---@param lower number # The lower limit, usually in meters.
2298
+ ---@param upper number # The upper limit, usually in meters.
2299
+ function PrismaticJoint:setLimits(lower, upper) end
2300
+
2301
+ ---
2302
+ ---Enables/disables the joint limit.
2303
+ ---
2304
+ ---
2305
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setLimitsEnabled)
2306
+ ---
2307
+ ---@return boolean enable # True if enabled, false if disabled.
2308
+ function PrismaticJoint:setLimitsEnabled() end
2309
+
2310
+ ---
2311
+ ---Sets the lower limit.
2312
+ ---
2313
+ ---
2314
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setLowerLimit)
2315
+ ---
2316
+ ---@param lower number # The lower limit, usually in meters.
2317
+ function PrismaticJoint:setLowerLimit(lower) end
2318
+
2319
+ ---
2320
+ ---Set the maximum motor force.
2321
+ ---
2322
+ ---
2323
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setMaxMotorForce)
2324
+ ---
2325
+ ---@param f number # The maximum motor force, usually in N.
2326
+ function PrismaticJoint:setMaxMotorForce(f) end
2327
+
2328
+ ---
2329
+ ---Enables/disables the joint motor.
2330
+ ---
2331
+ ---
2332
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setMotorEnabled)
2333
+ ---
2334
+ ---@param enable boolean # True to enable, false to disable.
2335
+ function PrismaticJoint:setMotorEnabled(enable) end
2336
+
2337
+ ---
2338
+ ---Sets the motor speed.
2339
+ ---
2340
+ ---
2341
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setMotorSpeed)
2342
+ ---
2343
+ ---@param s number # The motor speed, usually in meters per second.
2344
+ function PrismaticJoint:setMotorSpeed(s) end
2345
+
2346
+ ---
2347
+ ---Sets the upper limit.
2348
+ ---
2349
+ ---
2350
+ ---[Open in Browser](https://love2d.org/wiki/PrismaticJoint:setUpperLimit)
2351
+ ---
2352
+ ---@param upper number # The upper limit, usually in meters.
2353
+ function PrismaticJoint:setUpperLimit(upper) end
2354
+
2355
+ ---
2356
+ ---Allows you to simulate bodies connected through pulleys.
2357
+ ---
2358
+ ---
2359
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2360
+ ---
2361
+ ---@class love.PulleyJoint: love.Joint, love.Object
2362
+ local PulleyJoint = {}
2363
+
2364
+ ---
2365
+ ---Get the total length of the rope.
2366
+ ---
2367
+ ---
2368
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getConstant)
2369
+ ---
2370
+ ---@return number length # The length of the rope in the joint.
2371
+ function PulleyJoint:getConstant() end
2372
+
2373
+ ---
2374
+ ---Get the ground anchor positions in world coordinates.
2375
+ ---
2376
+ ---
2377
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getGroundAnchors)
2378
+ ---
2379
+ ---@return number a1x # The x coordinate of the first anchor.
2380
+ ---@return number a1y # The y coordinate of the first anchor.
2381
+ ---@return number a2x # The x coordinate of the second anchor.
2382
+ ---@return number a2y # The y coordinate of the second anchor.
2383
+ function PulleyJoint:getGroundAnchors() end
2384
+
2385
+ ---
2386
+ ---Get the current length of the rope segment attached to the first body.
2387
+ ---
2388
+ ---
2389
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getLengthA)
2390
+ ---
2391
+ ---@return number length # The length of the rope segment.
2392
+ function PulleyJoint:getLengthA() end
2393
+
2394
+ ---
2395
+ ---Get the current length of the rope segment attached to the second body.
2396
+ ---
2397
+ ---
2398
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getLengthB)
2399
+ ---
2400
+ ---@return number length # The length of the rope segment.
2401
+ function PulleyJoint:getLengthB() end
2402
+
2403
+ ---
2404
+ ---Get the maximum lengths of the rope segments.
2405
+ ---
2406
+ ---
2407
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getMaxLengths)
2408
+ ---
2409
+ ---@return number len1 # The maximum length of the first rope segment.
2410
+ ---@return number len2 # The maximum length of the second rope segment.
2411
+ function PulleyJoint:getMaxLengths() end
2412
+
2413
+ ---
2414
+ ---Get the pulley ratio.
2415
+ ---
2416
+ ---
2417
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:getRatio)
2418
+ ---
2419
+ ---@return number ratio # The pulley ratio of the joint.
2420
+ function PulleyJoint:getRatio() end
2421
+
2422
+ ---
2423
+ ---Set the total length of the rope.
2424
+ ---
2425
+ ---Setting a new length for the rope updates the maximum length values of the joint.
2426
+ ---
2427
+ ---
2428
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:setConstant)
2429
+ ---
2430
+ ---@param length number # The new length of the rope in the joint.
2431
+ function PulleyJoint:setConstant(length) end
2432
+
2433
+ ---
2434
+ ---Set the maximum lengths of the rope segments.
2435
+ ---
2436
+ ---The physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values.
2437
+ ---
2438
+ ---
2439
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:setMaxLengths)
2440
+ ---
2441
+ ---@param max1 number # The new maximum length of the first segment.
2442
+ ---@param max2 number # The new maximum length of the second segment.
2443
+ function PulleyJoint:setMaxLengths(max1, max2) end
2444
+
2445
+ ---
2446
+ ---Set the pulley ratio.
2447
+ ---
2448
+ ---
2449
+ ---[Open in Browser](https://love2d.org/wiki/PulleyJoint:setRatio)
2450
+ ---
2451
+ ---@param ratio number # The new pulley ratio of the joint.
2452
+ function PulleyJoint:setRatio(ratio) end
2453
+
2454
+ ---
2455
+ ---Allow two Bodies to revolve around a shared point.
2456
+ ---
2457
+ ---
2458
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2459
+ ---
2460
+ ---@class love.RevoluteJoint: love.Joint, love.Object
2461
+ local RevoluteJoint = {}
2462
+
2463
+ ---
2464
+ ---Checks whether limits are enabled.
2465
+ ---
2466
+ ---
2467
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:areLimitsEnabled)
2468
+ ---
2469
+ ---@return boolean enabled # True if enabled, false otherwise.
2470
+ function RevoluteJoint:areLimitsEnabled() end
2471
+
2472
+ ---
2473
+ ---Get the current joint angle.
2474
+ ---
2475
+ ---
2476
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getJointAngle)
2477
+ ---
2478
+ ---@return number angle # The joint angle in radians.
2479
+ function RevoluteJoint:getJointAngle() end
2480
+
2481
+ ---
2482
+ ---Get the current joint angle speed.
2483
+ ---
2484
+ ---
2485
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getJointSpeed)
2486
+ ---
2487
+ ---@return number s # Joint angle speed in radians/second.
2488
+ function RevoluteJoint:getJointSpeed() end
2489
+
2490
+ ---
2491
+ ---Gets the joint limits.
2492
+ ---
2493
+ ---
2494
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getLimits)
2495
+ ---
2496
+ ---@return number lower # The lower limit, in radians.
2497
+ ---@return number upper # The upper limit, in radians.
2498
+ function RevoluteJoint:getLimits() end
2499
+
2500
+ ---
2501
+ ---Gets the lower limit.
2502
+ ---
2503
+ ---
2504
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getLowerLimit)
2505
+ ---
2506
+ ---@return number lower # The lower limit, in radians.
2507
+ function RevoluteJoint:getLowerLimit() end
2508
+
2509
+ ---
2510
+ ---Gets the maximum motor force.
2511
+ ---
2512
+ ---
2513
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getMaxMotorTorque)
2514
+ ---
2515
+ ---@return number f # The maximum motor force, in Nm.
2516
+ function RevoluteJoint:getMaxMotorTorque() end
2517
+
2518
+ ---
2519
+ ---Gets the motor speed.
2520
+ ---
2521
+ ---
2522
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getMotorSpeed)
2523
+ ---
2524
+ ---@return number s # The motor speed, radians per second.
2525
+ function RevoluteJoint:getMotorSpeed() end
2526
+
2527
+ ---
2528
+ ---Get the current motor force.
2529
+ ---
2530
+ ---
2531
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getMotorTorque)
2532
+ ---
2533
+ ---@return number f # The current motor force, in Nm.
2534
+ function RevoluteJoint:getMotorTorque() end
2535
+
2536
+ ---
2537
+ ---Gets the reference angle.
2538
+ ---
2539
+ ---
2540
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getReferenceAngle)
2541
+ ---
2542
+ ---@return number angle # The reference angle in radians.
2543
+ function RevoluteJoint:getReferenceAngle() end
2544
+
2545
+ ---
2546
+ ---Gets the upper limit.
2547
+ ---
2548
+ ---
2549
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:getUpperLimit)
2550
+ ---
2551
+ ---@return number upper # The upper limit, in radians.
2552
+ function RevoluteJoint:getUpperLimit() end
2553
+
2554
+ ---
2555
+ ---Checks whether limits are enabled.
2556
+ ---
2557
+ ---
2558
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:hasLimitsEnabled)
2559
+ ---
2560
+ ---@return boolean enabled # True if enabled, false otherwise.
2561
+ function RevoluteJoint:hasLimitsEnabled() end
2562
+
2563
+ ---
2564
+ ---Checks whether the motor is enabled.
2565
+ ---
2566
+ ---
2567
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:isMotorEnabled)
2568
+ ---
2569
+ ---@return boolean enabled # True if enabled, false if disabled.
2570
+ function RevoluteJoint:isMotorEnabled() end
2571
+
2572
+ ---
2573
+ ---Sets the limits.
2574
+ ---
2575
+ ---
2576
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setLimits)
2577
+ ---
2578
+ ---@param lower number # The lower limit, in radians.
2579
+ ---@param upper number # The upper limit, in radians.
2580
+ function RevoluteJoint:setLimits(lower, upper) end
2581
+
2582
+ ---
2583
+ ---Enables/disables the joint limit.
2584
+ ---
2585
+ ---
2586
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setLimitsEnabled)
2587
+ ---
2588
+ ---@param enable boolean # True to enable, false to disable.
2589
+ function RevoluteJoint:setLimitsEnabled(enable) end
2590
+
2591
+ ---
2592
+ ---Sets the lower limit.
2593
+ ---
2594
+ ---
2595
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setLowerLimit)
2596
+ ---
2597
+ ---@param lower number # The lower limit, in radians.
2598
+ function RevoluteJoint:setLowerLimit(lower) end
2599
+
2600
+ ---
2601
+ ---Set the maximum motor force.
2602
+ ---
2603
+ ---
2604
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setMaxMotorTorque)
2605
+ ---
2606
+ ---@param f number # The maximum motor force, in Nm.
2607
+ function RevoluteJoint:setMaxMotorTorque(f) end
2608
+
2609
+ ---
2610
+ ---Enables/disables the joint motor.
2611
+ ---
2612
+ ---
2613
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setMotorEnabled)
2614
+ ---
2615
+ ---@param enable boolean # True to enable, false to disable.
2616
+ function RevoluteJoint:setMotorEnabled(enable) end
2617
+
2618
+ ---
2619
+ ---Sets the motor speed.
2620
+ ---
2621
+ ---
2622
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setMotorSpeed)
2623
+ ---
2624
+ ---@param s number # The motor speed, radians per second.
2625
+ function RevoluteJoint:setMotorSpeed(s) end
2626
+
2627
+ ---
2628
+ ---Sets the upper limit.
2629
+ ---
2630
+ ---
2631
+ ---[Open in Browser](https://love2d.org/wiki/RevoluteJoint:setUpperLimit)
2632
+ ---
2633
+ ---@param upper number # The upper limit, in radians.
2634
+ function RevoluteJoint:setUpperLimit(upper) end
2635
+
2636
+ ---
2637
+ ---The RopeJoint enforces a maximum distance between two points on two bodies. It has no other effect.
2638
+ ---
2639
+ ---
2640
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2641
+ ---
2642
+ ---@class love.RopeJoint: love.Joint, love.Object
2643
+ local RopeJoint = {}
2644
+
2645
+ ---
2646
+ ---Gets the maximum length of a RopeJoint.
2647
+ ---
2648
+ ---
2649
+ ---[Open in Browser](https://love2d.org/wiki/RopeJoint:getMaxLength)
2650
+ ---
2651
+ ---@return number maxLength # The maximum length of the RopeJoint.
2652
+ function RopeJoint:getMaxLength() end
2653
+
2654
+ ---
2655
+ ---Sets the maximum length of a RopeJoint.
2656
+ ---
2657
+ ---
2658
+ ---[Open in Browser](https://love2d.org/wiki/RopeJoint:setMaxLength)
2659
+ ---
2660
+ ---@param maxLength number # The new maximum length of the RopeJoint.
2661
+ function RopeJoint:setMaxLength(maxLength) end
2662
+
2663
+ ---
2664
+ ---Shapes are solid 2d geometrical objects which handle the mass and collision of a Body in love.physics.
2665
+ ---
2666
+ ---Shapes are attached to a Body via a Fixture. The Shape object is copied when this happens.
2667
+ ---
2668
+ ---The Shape's position is relative to the position of the Body it has been attached to.
2669
+ ---
2670
+ ---
2671
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2672
+ ---
2673
+ ---@class love.Shape: love.Object
2674
+ local Shape = {}
2675
+
2676
+ ---
2677
+ ---Returns the points of the bounding box for the transformed shape.
2678
+ ---
2679
+ ---
2680
+ ---[Open in Browser](https://love2d.org/wiki/Shape:computeAABB)
2681
+ ---
2682
+ ---@param tx number # The translation of the shape on the x-axis.
2683
+ ---@param ty number # The translation of the shape on the y-axis.
2684
+ ---@param tr number # The shape rotation.
2685
+ ---@param childIndex? number # The index of the child to compute the bounding box of.
2686
+ ---@return number topLeftX # The x position of the top-left point.
2687
+ ---@return number topLeftY # The y position of the top-left point.
2688
+ ---@return number bottomRightX # The x position of the bottom-right point.
2689
+ ---@return number bottomRightY # The y position of the bottom-right point.
2690
+ function Shape:computeAABB(tx, ty, tr, childIndex) end
2691
+
2692
+ ---
2693
+ ---Computes the mass properties for the shape with the specified density.
2694
+ ---
2695
+ ---
2696
+ ---[Open in Browser](https://love2d.org/wiki/Shape:computeMass)
2697
+ ---
2698
+ ---@param density number # The shape density.
2699
+ ---@return number x # The x postition of the center of mass.
2700
+ ---@return number y # The y postition of the center of mass.
2701
+ ---@return number mass # The mass of the shape.
2702
+ ---@return number inertia # The rotational inertia.
2703
+ function Shape:computeMass(density) end
2704
+
2705
+ ---
2706
+ ---Returns the number of children the shape has.
2707
+ ---
2708
+ ---
2709
+ ---[Open in Browser](https://love2d.org/wiki/Shape:getChildCount)
2710
+ ---
2711
+ ---@return number count # The number of children.
2712
+ function Shape:getChildCount() end
2713
+
2714
+ ---
2715
+ ---Gets the radius of the shape.
2716
+ ---
2717
+ ---
2718
+ ---[Open in Browser](https://love2d.org/wiki/Shape:getRadius)
2719
+ ---
2720
+ ---@return number radius # The radius of the shape.
2721
+ function Shape:getRadius() end
2722
+
2723
+ ---
2724
+ ---Gets a string representing the Shape.
2725
+ ---
2726
+ ---This function can be useful for conditional debug drawing.
2727
+ ---
2728
+ ---
2729
+ ---[Open in Browser](https://love2d.org/wiki/Shape:getType)
2730
+ ---
2731
+ ---@return love.ShapeType type # The type of the Shape.
2732
+ function Shape:getType() end
2733
+
2734
+ ---
2735
+ ---Casts a ray against the shape and returns the surface normal vector and the line position where the ray hit. If the ray missed the shape, nil will be returned. The Shape can be transformed to get it into the desired position.
2736
+ ---
2737
+ ---The ray starts on the first point of the input line and goes towards the second point of the line. The fourth argument is the maximum distance the ray is going to travel as a scale factor of the input line length.
2738
+ ---
2739
+ ---The childIndex parameter is used to specify which child of a parent shape, such as a ChainShape, will be ray casted. For ChainShapes, the index of 1 is the first edge on the chain. Ray casting a parent shape will only test the child specified so if you want to test every shape of the parent, you must loop through all of its children.
2740
+ ---
2741
+ ---The world position of the impact can be calculated by multiplying the line vector with the third return value and adding it to the line starting point.
2742
+ ---
2743
+ ---hitx, hity = x1 + (x2 - x1) * fraction, y1 + (y2 - y1) * fraction
2744
+ ---
2745
+ ---
2746
+ ---[Open in Browser](https://love2d.org/wiki/Shape:rayCast)
2747
+ ---
2748
+ ---@param x1 number # The x position of the input line starting point.
2749
+ ---@param y1 number # The y position of the input line starting point.
2750
+ ---@param x2 number # The x position of the input line end point.
2751
+ ---@param y2 number # The y position of the input line end point.
2752
+ ---@param maxFraction number # Ray length parameter.
2753
+ ---@param tx number # The translation of the shape on the x-axis.
2754
+ ---@param ty number # The translation of the shape on the y-axis.
2755
+ ---@param tr number # The shape rotation.
2756
+ ---@param childIndex? number # The index of the child the ray gets cast against.
2757
+ ---@return number xn # The x component of the normal vector of the edge where the ray hit the shape.
2758
+ ---@return number yn # The y component of the normal vector of the edge where the ray hit the shape.
2759
+ ---@return number fraction # The position on the input line where the intersection happened as a factor of the line length.
2760
+ function Shape:rayCast(x1, y1, x2, y2, maxFraction, tx, ty, tr, childIndex) end
2761
+
2762
+ ---
2763
+ ---This is particularly useful for mouse interaction with the shapes. By looping through all shapes and testing the mouse position with this function, we can find which shapes the mouse touches.
2764
+ ---
2765
+ ---
2766
+ ---[Open in Browser](https://love2d.org/wiki/Shape:testPoint)
2767
+ ---
2768
+ ---@param tx number # Translates the shape along the x-axis.
2769
+ ---@param ty number # Translates the shape along the y-axis.
2770
+ ---@param tr number # Rotates the shape.
2771
+ ---@param x number # The x-component of the point.
2772
+ ---@param y number # The y-component of the point.
2773
+ ---@return boolean hit # True if inside, false if outside
2774
+ function Shape:testPoint(tx, ty, tr, x, y) end
2775
+
2776
+ ---
2777
+ ---A WeldJoint essentially glues two bodies together.
2778
+ ---
2779
+ ---
2780
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2781
+ ---
2782
+ ---@class love.WeldJoint: love.Joint, love.Object
2783
+ local WeldJoint = {}
2784
+
2785
+ ---
2786
+ ---Returns the damping ratio of the joint.
2787
+ ---
2788
+ ---
2789
+ ---[Open in Browser](https://love2d.org/wiki/WeldJoint:getDampingRatio)
2790
+ ---
2791
+ ---@return number ratio # The damping ratio.
2792
+ function WeldJoint:getDampingRatio() end
2793
+
2794
+ ---
2795
+ ---Returns the frequency.
2796
+ ---
2797
+ ---
2798
+ ---[Open in Browser](https://love2d.org/wiki/WeldJoint:getFrequency)
2799
+ ---
2800
+ ---@return number freq # The frequency in hertz.
2801
+ function WeldJoint:getFrequency() end
2802
+
2803
+ ---
2804
+ ---Gets the reference angle.
2805
+ ---
2806
+ ---
2807
+ ---[Open in Browser](https://love2d.org/wiki/WeldJoint:getReferenceAngle)
2808
+ ---
2809
+ ---@return number angle # The reference angle in radians.
2810
+ function WeldJoint:getReferenceAngle() end
2811
+
2812
+ ---
2813
+ ---Sets a new damping ratio.
2814
+ ---
2815
+ ---
2816
+ ---[Open in Browser](https://love2d.org/wiki/WeldJoint:setDampingRatio)
2817
+ ---
2818
+ ---@param ratio number # The new damping ratio.
2819
+ function WeldJoint:setDampingRatio(ratio) end
2820
+
2821
+ ---
2822
+ ---Sets a new frequency.
2823
+ ---
2824
+ ---
2825
+ ---[Open in Browser](https://love2d.org/wiki/WeldJoint:setFrequency)
2826
+ ---
2827
+ ---@param freq number # The new frequency in hertz.
2828
+ function WeldJoint:setFrequency(freq) end
2829
+
2830
+ ---
2831
+ ---Restricts a point on the second body to a line on the first body.
2832
+ ---
2833
+ ---
2834
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2835
+ ---
2836
+ ---@class love.WheelJoint: love.Joint, love.Object
2837
+ local WheelJoint = {}
2838
+
2839
+ ---
2840
+ ---Gets the world-space axis vector of the Wheel Joint.
2841
+ ---
2842
+ ---
2843
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getAxis)
2844
+ ---
2845
+ ---@return number x # The x-axis coordinate of the world-space axis vector.
2846
+ ---@return number y # The y-axis coordinate of the world-space axis vector.
2847
+ function WheelJoint:getAxis() end
2848
+
2849
+ ---
2850
+ ---Returns the current joint translation speed.
2851
+ ---
2852
+ ---
2853
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getJointSpeed)
2854
+ ---
2855
+ ---@return number speed # The translation speed of the joint in meters per second.
2856
+ function WheelJoint:getJointSpeed() end
2857
+
2858
+ ---
2859
+ ---Returns the current joint translation.
2860
+ ---
2861
+ ---
2862
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getJointTranslation)
2863
+ ---
2864
+ ---@return number position # The translation of the joint in meters.
2865
+ function WheelJoint:getJointTranslation() end
2866
+
2867
+ ---
2868
+ ---Returns the maximum motor torque.
2869
+ ---
2870
+ ---
2871
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getMaxMotorTorque)
2872
+ ---
2873
+ ---@return number maxTorque # The maximum torque of the joint motor in newton meters.
2874
+ function WheelJoint:getMaxMotorTorque() end
2875
+
2876
+ ---
2877
+ ---Returns the speed of the motor.
2878
+ ---
2879
+ ---
2880
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getMotorSpeed)
2881
+ ---
2882
+ ---@return number speed # The speed of the joint motor in radians per second.
2883
+ function WheelJoint:getMotorSpeed() end
2884
+
2885
+ ---
2886
+ ---Returns the current torque on the motor.
2887
+ ---
2888
+ ---
2889
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getMotorTorque)
2890
+ ---
2891
+ ---@param invdt number # How long the force applies. Usually the inverse time step or 1/dt.
2892
+ ---@return number torque # The torque on the motor in newton meters.
2893
+ function WheelJoint:getMotorTorque(invdt) end
2894
+
2895
+ ---
2896
+ ---Returns the damping ratio.
2897
+ ---
2898
+ ---
2899
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getSpringDampingRatio)
2900
+ ---
2901
+ ---@return number ratio # The damping ratio.
2902
+ function WheelJoint:getSpringDampingRatio() end
2903
+
2904
+ ---
2905
+ ---Returns the spring frequency.
2906
+ ---
2907
+ ---
2908
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:getSpringFrequency)
2909
+ ---
2910
+ ---@return number freq # The frequency in hertz.
2911
+ function WheelJoint:getSpringFrequency() end
2912
+
2913
+ ---
2914
+ ---Checks if the joint motor is running.
2915
+ ---
2916
+ ---
2917
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:isMotorEnabled)
2918
+ ---
2919
+ ---@return boolean on # The status of the joint motor.
2920
+ function WheelJoint:isMotorEnabled() end
2921
+
2922
+ ---
2923
+ ---Sets a new maximum motor torque.
2924
+ ---
2925
+ ---
2926
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:setMaxMotorTorque)
2927
+ ---
2928
+ ---@param maxTorque number # The new maximum torque for the joint motor in newton meters.
2929
+ function WheelJoint:setMaxMotorTorque(maxTorque) end
2930
+
2931
+ ---
2932
+ ---Starts and stops the joint motor.
2933
+ ---
2934
+ ---
2935
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:setMotorEnabled)
2936
+ ---
2937
+ ---@param enable boolean # True turns the motor on and false turns it off.
2938
+ function WheelJoint:setMotorEnabled(enable) end
2939
+
2940
+ ---
2941
+ ---Sets a new speed for the motor.
2942
+ ---
2943
+ ---
2944
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:setMotorSpeed)
2945
+ ---
2946
+ ---@param speed number # The new speed for the joint motor in radians per second.
2947
+ function WheelJoint:setMotorSpeed(speed) end
2948
+
2949
+ ---
2950
+ ---Sets a new damping ratio.
2951
+ ---
2952
+ ---
2953
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:setSpringDampingRatio)
2954
+ ---
2955
+ ---@param ratio number # The new damping ratio.
2956
+ function WheelJoint:setSpringDampingRatio(ratio) end
2957
+
2958
+ ---
2959
+ ---Sets a new spring frequency.
2960
+ ---
2961
+ ---
2962
+ ---[Open in Browser](https://love2d.org/wiki/WheelJoint:setSpringFrequency)
2963
+ ---
2964
+ ---@param freq number # The new frequency in hertz.
2965
+ function WheelJoint:setSpringFrequency(freq) end
2966
+
2967
+ ---
2968
+ ---A world is an object that contains all bodies and joints.
2969
+ ---
2970
+ ---
2971
+ ---[Open in Browser](https://love2d.org/wiki/love.physics)
2972
+ ---
2973
+ ---@class love.World: love.Object
2974
+ local World = {}
2975
+
2976
+ ---
2977
+ ---Destroys the world, taking all bodies, joints, fixtures and their shapes with it.
2978
+ ---
2979
+ ---An error will occur if you attempt to use any of the destroyed objects after calling this function.
2980
+ ---
2981
+ ---
2982
+ ---[Open in Browser](https://love2d.org/wiki/World:destroy)
2983
+ ---
2984
+ function World:destroy() end
2985
+
2986
+ ---
2987
+ ---Returns a table with all bodies.
2988
+ ---
2989
+ ---
2990
+ ---[Open in Browser](https://love2d.org/wiki/World:getBodies)
2991
+ ---
2992
+ ---@return table bodies # A sequence with all bodies.
2993
+ function World:getBodies() end
2994
+
2995
+ ---
2996
+ ---Returns the number of bodies in the world.
2997
+ ---
2998
+ ---
2999
+ ---[Open in Browser](https://love2d.org/wiki/World:getBodyCount)
3000
+ ---
3001
+ ---@return number n # The number of bodies in the world.
3002
+ function World:getBodyCount() end
3003
+
3004
+ ---
3005
+ ---Returns functions for the callbacks during the world update.
3006
+ ---
3007
+ ---
3008
+ ---[Open in Browser](https://love2d.org/wiki/World:getCallbacks)
3009
+ ---
3010
+ ---@return function beginContact # Gets called when two fixtures begin to overlap.
3011
+ ---@return function endContact # Gets called when two fixtures cease to overlap.
3012
+ ---@return function preSolve # Gets called before a collision gets resolved.
3013
+ ---@return function postSolve # Gets called after the collision has been resolved.
3014
+ function World:getCallbacks() end
3015
+
3016
+ ---
3017
+ ---Returns the number of contacts in the world.
3018
+ ---
3019
+ ---
3020
+ ---[Open in Browser](https://love2d.org/wiki/World:getContactCount)
3021
+ ---
3022
+ ---@return number n # The number of contacts in the world.
3023
+ function World:getContactCount() end
3024
+
3025
+ ---
3026
+ ---Returns the function for collision filtering.
3027
+ ---
3028
+ ---
3029
+ ---[Open in Browser](https://love2d.org/wiki/World:getContactFilter)
3030
+ ---
3031
+ ---@return function contactFilter # The function that handles the contact filtering.
3032
+ function World:getContactFilter() end
3033
+
3034
+ ---
3035
+ ---Returns a table with all Contacts.
3036
+ ---
3037
+ ---
3038
+ ---[Open in Browser](https://love2d.org/wiki/World:getContacts)
3039
+ ---
3040
+ ---@return table contacts # A sequence with all Contacts.
3041
+ function World:getContacts() end
3042
+
3043
+ ---
3044
+ ---Get the gravity of the world.
3045
+ ---
3046
+ ---
3047
+ ---[Open in Browser](https://love2d.org/wiki/World:getGravity)
3048
+ ---
3049
+ ---@return number x # The x component of gravity.
3050
+ ---@return number y # The y component of gravity.
3051
+ function World:getGravity() end
3052
+
3053
+ ---
3054
+ ---Returns the number of joints in the world.
3055
+ ---
3056
+ ---
3057
+ ---[Open in Browser](https://love2d.org/wiki/World:getJointCount)
3058
+ ---
3059
+ ---@return number n # The number of joints in the world.
3060
+ function World:getJointCount() end
3061
+
3062
+ ---
3063
+ ---Returns a table with all joints.
3064
+ ---
3065
+ ---
3066
+ ---[Open in Browser](https://love2d.org/wiki/World:getJoints)
3067
+ ---
3068
+ ---@return table joints # A sequence with all joints.
3069
+ function World:getJoints() end
3070
+
3071
+ ---
3072
+ ---Gets whether the World is destroyed. Destroyed worlds cannot be used.
3073
+ ---
3074
+ ---
3075
+ ---[Open in Browser](https://love2d.org/wiki/World:isDestroyed)
3076
+ ---
3077
+ ---@return boolean destroyed # Whether the World is destroyed.
3078
+ function World:isDestroyed() end
3079
+
3080
+ ---
3081
+ ---Returns if the world is updating its state.
3082
+ ---
3083
+ ---This will return true inside the callbacks from World:setCallbacks.
3084
+ ---
3085
+ ---
3086
+ ---[Open in Browser](https://love2d.org/wiki/World:isLocked)
3087
+ ---
3088
+ ---@return boolean locked # Will be true if the world is in the process of updating its state.
3089
+ function World:isLocked() end
3090
+
3091
+ ---
3092
+ ---Gets the sleep behaviour of the world.
3093
+ ---
3094
+ ---
3095
+ ---[Open in Browser](https://love2d.org/wiki/World:isSleepingAllowed)
3096
+ ---
3097
+ ---@return boolean allow # True if bodies in the world are allowed to sleep, or false if not.
3098
+ function World:isSleepingAllowed() end
3099
+
3100
+ ---
3101
+ ---Calls a function for each fixture inside the specified area by searching for any overlapping bounding box (Fixture:getBoundingBox).
3102
+ ---
3103
+ ---
3104
+ ---[Open in Browser](https://love2d.org/wiki/World:queryBoundingBox)
3105
+ ---
3106
+ ---@param topLeftX number # The x position of the top-left point.
3107
+ ---@param topLeftY number # The y position of the top-left point.
3108
+ ---@param bottomRightX number # The x position of the bottom-right point.
3109
+ ---@param bottomRightY number # The y position of the bottom-right point.
3110
+ ---@param callback function # This function gets passed one argument, the fixture, and should return a boolean. The search will continue if it is true or stop if it is false.
3111
+ function World:queryBoundingBox(topLeftX, topLeftY, bottomRightX, bottomRightY, callback) end
3112
+
3113
+ ---
3114
+ ---Casts a ray and calls a function for each fixtures it intersects.
3115
+ ---
3116
+ ---
3117
+ ---[Open in Browser](https://love2d.org/wiki/World:rayCast)
3118
+ ---
3119
+ ---@param x1 number # The x position of the starting point of the ray.
3120
+ ---@param y1 number # The x position of the starting point of the ray.
3121
+ ---@param x2 number # The x position of the end point of the ray.
3122
+ ---@param y2 number # The x value of the surface normal vector of the shape edge.
3123
+ ---@param callback function # A function called for each fixture intersected by the ray. The function gets six arguments and should return a number as a control value. The intersection points fed into the function will be in an arbitrary order. If you wish to find the closest point of intersection, you'll need to do that yourself within the function. The easiest way to do that is by using the fraction value.
3124
+ function World:rayCast(x1, y1, x2, y2, callback) end
3125
+
3126
+ ---
3127
+ ---Sets functions for the collision callbacks during the world update.
3128
+ ---
3129
+ ---Four Lua functions can be given as arguments. The value nil removes a function.
3130
+ ---
3131
+ ---When called, each function will be passed three arguments. The first two arguments are the colliding fixtures and the third argument is the Contact between them. The postSolve callback additionally gets the normal and tangent impulse for each contact point. See notes.
3132
+ ---
3133
+ ---If you are interested to know when exactly each callback is called, consult a Box2d manual
3134
+ ---
3135
+ ---
3136
+ ---[Open in Browser](https://love2d.org/wiki/World:setCallbacks)
3137
+ ---
3138
+ ---@param beginContact function # Gets called when two fixtures begin to overlap.
3139
+ ---@param endContact function # Gets called when two fixtures cease to overlap. This will also be called outside of a world update, when colliding objects are destroyed.
3140
+ ---@param preSolve? function # Gets called before a collision gets resolved.
3141
+ ---@param postSolve? function # Gets called after the collision has been resolved.
3142
+ function World:setCallbacks(beginContact, endContact, preSolve, postSolve) end
3143
+
3144
+ ---
3145
+ ---Sets a function for collision filtering.
3146
+ ---
3147
+ ---If the group and category filtering doesn't generate a collision decision, this function gets called with the two fixtures as arguments. The function should return a boolean value where true means the fixtures will collide and false means they will pass through each other.
3148
+ ---
3149
+ ---
3150
+ ---[Open in Browser](https://love2d.org/wiki/World:setContactFilter)
3151
+ ---
3152
+ ---@param filter function # The function handling the contact filtering.
3153
+ function World:setContactFilter(filter) end
3154
+
3155
+ ---
3156
+ ---Set the gravity of the world.
3157
+ ---
3158
+ ---
3159
+ ---[Open in Browser](https://love2d.org/wiki/World:setGravity)
3160
+ ---
3161
+ ---@param x number # The x component of gravity.
3162
+ ---@param y number # The y component of gravity.
3163
+ function World:setGravity(x, y) end
3164
+
3165
+ ---
3166
+ ---Sets the sleep behaviour of the world.
3167
+ ---
3168
+ ---
3169
+ ---[Open in Browser](https://love2d.org/wiki/World:setSleepingAllowed)
3170
+ ---
3171
+ ---@param allow boolean # True if bodies in the world are allowed to sleep, or false if not.
3172
+ function World:setSleepingAllowed(allow) end
3173
+
3174
+ ---
3175
+ ---Translates the World's origin. Useful in large worlds where floating point precision issues become noticeable at far distances from the origin.
3176
+ ---
3177
+ ---
3178
+ ---[Open in Browser](https://love2d.org/wiki/World:translateOrigin)
3179
+ ---
3180
+ ---@param x number # The x component of the new origin with respect to the old origin.
3181
+ ---@param y number # The y component of the new origin with respect to the old origin.
3182
+ function World:translateOrigin(x, y) end
3183
+
3184
+ ---
3185
+ ---Update the state of the world.
3186
+ ---
3187
+ ---
3188
+ ---[Open in Browser](https://love2d.org/wiki/World:update)
3189
+ ---
3190
+ ---@param dt number # The time (in seconds) to advance the physics simulation.
3191
+ ---@param velocityiterations? number # The maximum number of steps used to determine the new velocities when resolving a collision.
3192
+ ---@param positioniterations? number # The maximum number of steps used to determine the new positions when resolving a collision.
3193
+ function World:update(dt, velocityiterations, positioniterations) end
3194
+
3195
+ ---
3196
+ ---The types of a Body.
3197
+ ---
3198
+ ---
3199
+ ---[Open in Browser](https://love2d.org/wiki/BodyType)
3200
+ ---
3201
+ ---@alias love.BodyType
3202
+ ---
3203
+ ---Static bodies do not move.
3204
+ ---
3205
+ ---| "static"
3206
+ ---
3207
+ ---Dynamic bodies collide with all bodies.
3208
+ ---
3209
+ ---| "dynamic"
3210
+ ---
3211
+ ---Kinematic bodies only collide with dynamic bodies.
3212
+ ---
3213
+ ---| "kinematic"
3214
+
3215
+ ---
3216
+ ---Different types of joints.
3217
+ ---
3218
+ ---
3219
+ ---[Open in Browser](https://love2d.org/wiki/JointType)
3220
+ ---
3221
+ ---@alias love.JointType
3222
+ ---
3223
+ ---A DistanceJoint.
3224
+ ---
3225
+ ---| "distance"
3226
+ ---
3227
+ ---A FrictionJoint.
3228
+ ---
3229
+ ---| "friction"
3230
+ ---
3231
+ ---A GearJoint.
3232
+ ---
3233
+ ---| "gear"
3234
+ ---
3235
+ ---A MouseJoint.
3236
+ ---
3237
+ ---| "mouse"
3238
+ ---
3239
+ ---A PrismaticJoint.
3240
+ ---
3241
+ ---| "prismatic"
3242
+ ---
3243
+ ---A PulleyJoint.
3244
+ ---
3245
+ ---| "pulley"
3246
+ ---
3247
+ ---A RevoluteJoint.
3248
+ ---
3249
+ ---| "revolute"
3250
+ ---
3251
+ ---A RopeJoint.
3252
+ ---
3253
+ ---| "rope"
3254
+ ---
3255
+ ---A WeldJoint.
3256
+ ---
3257
+ ---| "weld"
3258
+
3259
+ ---
3260
+ ---The different types of Shapes, as returned by Shape:getType.
3261
+ ---
3262
+ ---
3263
+ ---[Open in Browser](https://love2d.org/wiki/ShapeType)
3264
+ ---
3265
+ ---@alias love.ShapeType
3266
+ ---
3267
+ ---The Shape is a CircleShape.
3268
+ ---
3269
+ ---| "circle"
3270
+ ---
3271
+ ---The Shape is a PolygonShape.
3272
+ ---
3273
+ ---| "polygon"
3274
+ ---
3275
+ ---The Shape is a EdgeShape.
3276
+ ---
3277
+ ---| "edge"
3278
+ ---
3279
+ ---The Shape is a ChainShape.
3280
+ ---
3281
+ ---| "chain"