@defold-typescript/types 0.52.0 → 0.54.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 (521) hide show
  1. package/api-signatures.json +2074 -1964
  2. package/dist/cli-runtime.js +8966 -0
  3. package/dist/identity-vocabulary.json +660 -0
  4. package/dist/src/index.d.ts +18 -0
  5. package/examples/translations.json +15 -15
  6. package/fixtures/defold-1.12.4/b2d_body_doc.json +1327 -0
  7. package/fixtures/defold-1.12.4/b2d_doc.json +107 -0
  8. package/fixtures/defold-1.12.4/base_doc.json +758 -0
  9. package/fixtures/defold-1.12.4/bit_doc.json +404 -0
  10. package/fixtures/defold-1.12.4/buffer_doc.json +422 -0
  11. package/fixtures/defold-1.12.4/camera_doc.json +664 -0
  12. package/fixtures/defold-1.12.4/collectionfactory_doc.json +219 -0
  13. package/fixtures/defold-1.12.4/collectionproxy_doc.json +289 -0
  14. package/fixtures/defold-1.12.4/coroutine_doc.json +151 -0
  15. package/fixtures/defold-1.12.4/crash_doc.json +497 -0
  16. package/fixtures/defold-1.12.4/debug_doc.json +410 -0
  17. package/fixtures/defold-1.12.4/factory_doc.json +219 -0
  18. package/fixtures/defold-1.12.4/font_doc.json +141 -0
  19. package/fixtures/defold-1.12.4/globals_doc.json +42 -0
  20. package/fixtures/defold-1.12.4/go-instance-functions.json +111 -0
  21. package/fixtures/defold-1.12.4/go_doc.json +1901 -0
  22. package/fixtures/defold-1.12.4/graphics_doc.json +1634 -0
  23. package/fixtures/defold-1.12.4/gui_doc.json +5249 -0
  24. package/fixtures/defold-1.12.4/html5_doc.json +64 -0
  25. package/fixtures/defold-1.12.4/http_doc.json +66 -0
  26. package/fixtures/defold-1.12.4/image_doc.json +170 -0
  27. package/fixtures/defold-1.12.4/io_doc.json +399 -0
  28. package/fixtures/defold-1.12.4/json_doc.json +97 -0
  29. package/fixtures/defold-1.12.4/label_doc.json +220 -0
  30. package/fixtures/defold-1.12.4/liveupdate_doc.json +308 -0
  31. package/fixtures/defold-1.12.4/math_doc.json +702 -0
  32. package/fixtures/defold-1.12.4/messages_doc.json +579 -0
  33. package/fixtures/defold-1.12.4/model_doc.json +315 -0
  34. package/fixtures/defold-1.12.4/msg_doc.json +137 -0
  35. package/fixtures/defold-1.12.4/os_doc.json +266 -0
  36. package/fixtures/defold-1.12.4/package_doc.json +139 -0
  37. package/fixtures/defold-1.12.4/particlefx_doc.json +249 -0
  38. package/fixtures/defold-1.12.4/physics_doc.json +1120 -0
  39. package/fixtures/defold-1.12.4/profiler_doc.json +375 -0
  40. package/fixtures/defold-1.12.4/render_doc.json +1167 -0
  41. package/fixtures/defold-1.12.4/resource_doc.json +762 -0
  42. package/fixtures/defold-1.12.4/socket_doc.json +2194 -0
  43. package/fixtures/defold-1.12.4/sound_doc.json +582 -0
  44. package/fixtures/defold-1.12.4/sprite_doc.json +245 -0
  45. package/fixtures/defold-1.12.4/string_doc.json +412 -0
  46. package/fixtures/defold-1.12.4/sys_doc.json +853 -0
  47. package/fixtures/defold-1.12.4/table_doc.json +166 -0
  48. package/fixtures/defold-1.12.4/tilemap_doc.json +374 -0
  49. package/fixtures/defold-1.12.4/timer_doc.json +153 -0
  50. package/fixtures/defold-1.12.4/types_doc.json +212 -0
  51. package/fixtures/defold-1.12.4/vmath_doc.json +1814 -0
  52. package/fixtures/defold-1.12.4/window_doc.json +388 -0
  53. package/fixtures/defold-1.12.4/zlib_doc.json +70 -0
  54. package/fixtures/defold-1.13.0/b2d_body_doc.json +2428 -0
  55. package/fixtures/defold-1.13.0/b2d_chain_doc.json +394 -0
  56. package/fixtures/defold-1.13.0/b2d_doc.json +128 -0
  57. package/fixtures/defold-1.13.0/b2d_fixture_doc.json +594 -0
  58. package/fixtures/defold-1.13.0/b2d_joint_doc.json +3315 -0
  59. package/fixtures/defold-1.13.0/b2d_shape_doc.json +802 -0
  60. package/fixtures/defold-1.13.0/b2d_world_doc.json +1314 -0
  61. package/fixtures/defold-1.13.0/base_doc.json +758 -0
  62. package/fixtures/defold-1.13.0/bit_doc.json +404 -0
  63. package/fixtures/defold-1.13.0/buffer_doc.json +422 -0
  64. package/fixtures/defold-1.13.0/camera_doc.json +900 -0
  65. package/fixtures/defold-1.13.0/collectionfactory_doc.json +219 -0
  66. package/fixtures/defold-1.13.0/collectionproxy_doc.json +289 -0
  67. package/fixtures/defold-1.13.0/compute_doc.json +182 -0
  68. package/fixtures/defold-1.13.0/coroutine_doc.json +151 -0
  69. package/fixtures/defold-1.13.0/crash_doc.json +497 -0
  70. package/fixtures/defold-1.13.0/debug_doc.json +410 -0
  71. package/fixtures/defold-1.13.0/editor_doc.json +3665 -0
  72. package/fixtures/defold-1.13.0/editor_http_doc.json +273 -0
  73. package/fixtures/defold-1.13.0/editor_json_doc.json +59 -0
  74. package/fixtures/defold-1.13.0/editor_localization_doc.json +138 -0
  75. package/fixtures/defold-1.13.0/editor_pprint_doc.json +36 -0
  76. package/fixtures/defold-1.13.0/editor_tilemap_tiles_doc.json +235 -0
  77. package/fixtures/defold-1.13.0/editor_zip_doc.json +163 -0
  78. package/fixtures/defold-1.13.0/editor_zlib_doc.json +48 -0
  79. package/fixtures/defold-1.13.0/factory_doc.json +219 -0
  80. package/fixtures/defold-1.13.0/font_doc.json +141 -0
  81. package/fixtures/defold-1.13.0/globals_doc.json +42 -0
  82. package/fixtures/defold-1.13.0/go-instance-functions.json +101 -0
  83. package/fixtures/defold-1.13.0/go_doc.json +1989 -0
  84. package/fixtures/defold-1.13.0/graphics_doc.json +1886 -0
  85. package/fixtures/defold-1.13.0/gui_doc.json +5277 -0
  86. package/fixtures/defold-1.13.0/html5_doc.json +64 -0
  87. package/fixtures/defold-1.13.0/http_doc.json +66 -0
  88. package/fixtures/defold-1.13.0/image_doc.json +170 -0
  89. package/fixtures/defold-1.13.0/import-manifest.json +10558 -0
  90. package/fixtures/defold-1.13.0/io_doc.json +399 -0
  91. package/fixtures/defold-1.13.0/json_doc.json +97 -0
  92. package/fixtures/defold-1.13.0/label_doc.json +220 -0
  93. package/fixtures/defold-1.13.0/liveupdate_doc.json +330 -0
  94. package/fixtures/defold-1.13.0/material_doc.json +238 -0
  95. package/fixtures/defold-1.13.0/math_doc.json +702 -0
  96. package/fixtures/defold-1.13.0/model_doc.json +412 -0
  97. package/fixtures/defold-1.13.0/msg_doc.json +137 -0
  98. package/fixtures/defold-1.13.0/os_doc.json +266 -0
  99. package/fixtures/defold-1.13.0/package_doc.json +139 -0
  100. package/fixtures/defold-1.13.0/particlefx_doc.json +249 -0
  101. package/fixtures/defold-1.13.0/physics_doc.json +1492 -0
  102. package/fixtures/defold-1.13.0/profiler_doc.json +375 -0
  103. package/fixtures/defold-1.13.0/render_doc.json +1381 -0
  104. package/fixtures/defold-1.13.0/resource_doc.json +762 -0
  105. package/fixtures/defold-1.13.0/socket_doc.json +2194 -0
  106. package/fixtures/defold-1.13.0/sound_doc.json +582 -0
  107. package/fixtures/defold-1.13.0/sprite_doc.json +335 -0
  108. package/fixtures/defold-1.13.0/string_doc.json +412 -0
  109. package/fixtures/defold-1.13.0/sys_doc.json +1142 -0
  110. package/fixtures/defold-1.13.0/table_doc.json +166 -0
  111. package/fixtures/defold-1.13.0/tilemap_doc.json +402 -0
  112. package/fixtures/defold-1.13.0/timer_doc.json +153 -0
  113. package/fixtures/defold-1.13.0/types_doc.json +212 -0
  114. package/fixtures/defold-1.13.0/vmath_doc.json +1814 -0
  115. package/fixtures/defold-1.13.0/window_doc.json +388 -0
  116. package/fixtures/defold-1.13.0/zlib_doc.json +70 -0
  117. package/fixtures/defold-1.13.1/b2d_body_doc.json +2428 -0
  118. package/fixtures/defold-1.13.1/b2d_chain_doc.json +394 -0
  119. package/fixtures/defold-1.13.1/b2d_doc.json +128 -0
  120. package/fixtures/defold-1.13.1/b2d_fixture_doc.json +594 -0
  121. package/fixtures/defold-1.13.1/b2d_joint_doc.json +3315 -0
  122. package/fixtures/defold-1.13.1/b2d_shape_doc.json +802 -0
  123. package/fixtures/defold-1.13.1/b2d_world_doc.json +1314 -0
  124. package/fixtures/defold-1.13.1/base_doc.json +758 -0
  125. package/fixtures/defold-1.13.1/bit_doc.json +404 -0
  126. package/fixtures/defold-1.13.1/buffer_doc.json +422 -0
  127. package/fixtures/defold-1.13.1/camera_doc.json +900 -0
  128. package/fixtures/defold-1.13.1/collectionfactory_doc.json +219 -0
  129. package/fixtures/defold-1.13.1/collectionproxy_doc.json +323 -0
  130. package/fixtures/defold-1.13.1/compute_doc.json +182 -0
  131. package/fixtures/defold-1.13.1/coroutine_doc.json +151 -0
  132. package/fixtures/defold-1.13.1/crash_doc.json +497 -0
  133. package/fixtures/defold-1.13.1/debug_doc.json +410 -0
  134. package/fixtures/defold-1.13.1/editor_doc.json +3880 -0
  135. package/fixtures/defold-1.13.1/editor_http_doc.json +273 -0
  136. package/fixtures/defold-1.13.1/editor_image_doc.json +128 -0
  137. package/fixtures/defold-1.13.1/editor_json_doc.json +59 -0
  138. package/fixtures/defold-1.13.1/editor_localization_doc.json +138 -0
  139. package/fixtures/defold-1.13.1/editor_pprint_doc.json +36 -0
  140. package/fixtures/defold-1.13.1/editor_tilemap_tiles_doc.json +235 -0
  141. package/fixtures/defold-1.13.1/editor_zip_doc.json +163 -0
  142. package/fixtures/defold-1.13.1/editor_zlib_doc.json +48 -0
  143. package/fixtures/defold-1.13.1/factory_doc.json +219 -0
  144. package/fixtures/defold-1.13.1/font_doc.json +141 -0
  145. package/fixtures/defold-1.13.1/globals_doc.json +42 -0
  146. package/fixtures/defold-1.13.1/go-instance-functions.json +102 -0
  147. package/fixtures/defold-1.13.1/go_doc.json +1989 -0
  148. package/fixtures/defold-1.13.1/graphics_doc.json +1886 -0
  149. package/fixtures/defold-1.13.1/gui_doc.json +5277 -0
  150. package/fixtures/defold-1.13.1/html5_doc.json +64 -0
  151. package/fixtures/defold-1.13.1/http_doc.json +66 -0
  152. package/fixtures/defold-1.13.1/image_doc.json +170 -0
  153. package/fixtures/defold-1.13.1/import-manifest.json +10091 -0
  154. package/fixtures/defold-1.13.1/io_doc.json +399 -0
  155. package/fixtures/defold-1.13.1/json_doc.json +97 -0
  156. package/fixtures/defold-1.13.1/label_doc.json +220 -0
  157. package/fixtures/defold-1.13.1/liveupdate_doc.json +330 -0
  158. package/fixtures/defold-1.13.1/material_doc.json +238 -0
  159. package/fixtures/defold-1.13.1/math_doc.json +702 -0
  160. package/fixtures/defold-1.13.1/model_doc.json +412 -0
  161. package/fixtures/defold-1.13.1/msg_doc.json +137 -0
  162. package/fixtures/defold-1.13.1/os_doc.json +266 -0
  163. package/fixtures/defold-1.13.1/package_doc.json +139 -0
  164. package/fixtures/defold-1.13.1/particlefx_doc.json +249 -0
  165. package/fixtures/defold-1.13.1/physics_doc.json +1492 -0
  166. package/fixtures/defold-1.13.1/profiler_doc.json +375 -0
  167. package/fixtures/defold-1.13.1/render_doc.json +1381 -0
  168. package/fixtures/defold-1.13.1/resource_doc.json +762 -0
  169. package/fixtures/defold-1.13.1/socket_doc.json +2194 -0
  170. package/fixtures/defold-1.13.1/sound_doc.json +582 -0
  171. package/fixtures/defold-1.13.1/sprite_doc.json +335 -0
  172. package/fixtures/defold-1.13.1/string_doc.json +412 -0
  173. package/fixtures/defold-1.13.1/sys_doc.json +1142 -0
  174. package/fixtures/defold-1.13.1/table_doc.json +166 -0
  175. package/fixtures/defold-1.13.1/tilemap_doc.json +402 -0
  176. package/fixtures/defold-1.13.1/timer_doc.json +153 -0
  177. package/fixtures/defold-1.13.1/types_doc.json +212 -0
  178. package/fixtures/defold-1.13.1/vmath_doc.json +1814 -0
  179. package/fixtures/defold-1.13.1/window_doc.json +388 -0
  180. package/fixtures/defold-1.13.1/zlib_doc.json +70 -0
  181. package/fixtures/defold-1.13.2/b2d_body_doc.json +2359 -0
  182. package/fixtures/defold-1.13.2/b2d_chain_doc.json +395 -0
  183. package/fixtures/defold-1.13.2/b2d_doc.json +1945 -0
  184. package/fixtures/defold-1.13.2/b2d_fixture_doc.json +595 -0
  185. package/fixtures/defold-1.13.2/b2d_joint_doc.json +3178 -0
  186. package/fixtures/defold-1.13.2/b2d_shape_doc.json +767 -0
  187. package/fixtures/defold-1.13.2/b2d_world_doc.json +1315 -0
  188. package/fixtures/defold-1.13.2/base_doc.json +759 -0
  189. package/fixtures/defold-1.13.2/bit_doc.json +405 -0
  190. package/fixtures/defold-1.13.2/buffer_doc.json +393 -0
  191. package/fixtures/defold-1.13.2/bullet3d_collision_object_doc.json +1206 -0
  192. package/fixtures/defold-1.13.2/bullet3d_constraint_doc.json +2455 -0
  193. package/fixtures/defold-1.13.2/bullet3d_doc.json +215 -0
  194. package/fixtures/defold-1.13.2/bullet3d_rigid_body_doc.json +1376 -0
  195. package/fixtures/defold-1.13.2/bullet3d_shape_doc.json +430 -0
  196. package/fixtures/defold-1.13.2/bullet3d_world_doc.json +855 -0
  197. package/fixtures/defold-1.13.2/camera_doc.json +887 -0
  198. package/fixtures/defold-1.13.2/collectionfactory_doc.json +206 -0
  199. package/fixtures/defold-1.13.2/collectionproxy_doc.json +397 -0
  200. package/fixtures/defold-1.13.2/compute_doc.json +183 -0
  201. package/fixtures/defold-1.13.2/coroutine_doc.json +152 -0
  202. package/fixtures/defold-1.13.2/crash_doc.json +483 -0
  203. package/fixtures/defold-1.13.2/debug_doc.json +411 -0
  204. package/fixtures/defold-1.13.2/editor_doc.json +6320 -0
  205. package/fixtures/defold-1.13.2/editor_http_doc.json +476 -0
  206. package/fixtures/defold-1.13.2/editor_image_doc.json +129 -0
  207. package/fixtures/defold-1.13.2/editor_json_doc.json +81 -0
  208. package/fixtures/defold-1.13.2/editor_localization_doc.json +139 -0
  209. package/fixtures/defold-1.13.2/editor_pprint_doc.json +37 -0
  210. package/fixtures/defold-1.13.2/editor_tilemap_tiles_doc.json +292 -0
  211. package/fixtures/defold-1.13.2/editor_zip_doc.json +237 -0
  212. package/fixtures/defold-1.13.2/editor_zlib_doc.json +49 -0
  213. package/fixtures/defold-1.13.2/factory_doc.json +206 -0
  214. package/fixtures/defold-1.13.2/font_doc.json +230 -0
  215. package/fixtures/defold-1.13.2/globals_doc.json +64 -0
  216. package/fixtures/defold-1.13.2/go-instance-functions.json +106 -0
  217. package/fixtures/defold-1.13.2/go_doc.json +1789 -0
  218. package/fixtures/defold-1.13.2/graphics_doc.json +1211 -0
  219. package/fixtures/defold-1.13.2/gui_doc.json +4735 -0
  220. package/fixtures/defold-1.13.2/html5_doc.json +65 -0
  221. package/fixtures/defold-1.13.2/http_doc.json +174 -0
  222. package/fixtures/defold-1.13.2/image_doc.json +298 -0
  223. package/fixtures/defold-1.13.2/import-manifest.json +10902 -0
  224. package/fixtures/defold-1.13.2/io_doc.json +400 -0
  225. package/fixtures/defold-1.13.2/json_doc.json +140 -0
  226. package/fixtures/defold-1.13.2/label_doc.json +427 -0
  227. package/fixtures/defold-1.13.2/liveupdate_doc.json +221 -0
  228. package/fixtures/defold-1.13.2/material_doc.json +773 -0
  229. package/fixtures/defold-1.13.2/math_doc.json +703 -0
  230. package/fixtures/defold-1.13.2/model_doc.json +472 -0
  231. package/fixtures/defold-1.13.2/msg_doc.json +169 -0
  232. package/fixtures/defold-1.13.2/os_doc.json +269 -0
  233. package/fixtures/defold-1.13.2/package_doc.json +140 -0
  234. package/fixtures/defold-1.13.2/particlefx_doc.json +249 -0
  235. package/fixtures/defold-1.13.2/physics_doc.json +1624 -0
  236. package/fixtures/defold-1.13.2/profiler_doc.json +348 -0
  237. package/fixtures/defold-1.13.2/render_doc.json +1623 -0
  238. package/fixtures/defold-1.13.2/resource_doc.json +1539 -0
  239. package/fixtures/defold-1.13.2/socket_doc.json +2335 -0
  240. package/fixtures/defold-1.13.2/sound_doc.json +673 -0
  241. package/fixtures/defold-1.13.2/sprite_doc.json +364 -0
  242. package/fixtures/defold-1.13.2/string_doc.json +413 -0
  243. package/fixtures/defold-1.13.2/sys_doc.json +1347 -0
  244. package/fixtures/defold-1.13.2/table_doc.json +167 -0
  245. package/fixtures/defold-1.13.2/tilemap_doc.json +369 -0
  246. package/fixtures/defold-1.13.2/timer_doc.json +214 -0
  247. package/fixtures/defold-1.13.2/types_doc.json +213 -0
  248. package/fixtures/defold-1.13.2/vmath_doc.json +2056 -0
  249. package/fixtures/defold-1.13.2/window_doc.json +426 -0
  250. package/fixtures/defold-1.13.2/zlib_doc.json +71 -0
  251. package/fixtures/defold-1.14.0/b2d_body_doc.json +2359 -0
  252. package/fixtures/defold-1.14.0/b2d_chain_doc.json +395 -0
  253. package/fixtures/defold-1.14.0/b2d_doc.json +1973 -0
  254. package/fixtures/defold-1.14.0/b2d_fixture_doc.json +595 -0
  255. package/fixtures/defold-1.14.0/b2d_joint_doc.json +3178 -0
  256. package/fixtures/defold-1.14.0/b2d_shape_doc.json +767 -0
  257. package/fixtures/defold-1.14.0/b2d_world_doc.json +1315 -0
  258. package/fixtures/defold-1.14.0/base_doc.json +759 -0
  259. package/fixtures/defold-1.14.0/bit_doc.json +405 -0
  260. package/fixtures/defold-1.14.0/buffer_doc.json +393 -0
  261. package/fixtures/defold-1.14.0/bullet3d_collision_object_doc.json +1206 -0
  262. package/fixtures/defold-1.14.0/bullet3d_constraint_doc.json +2455 -0
  263. package/fixtures/defold-1.14.0/bullet3d_doc.json +243 -0
  264. package/fixtures/defold-1.14.0/bullet3d_rigid_body_doc.json +1376 -0
  265. package/fixtures/defold-1.14.0/bullet3d_shape_doc.json +430 -0
  266. package/fixtures/defold-1.14.0/bullet3d_world_doc.json +855 -0
  267. package/fixtures/defold-1.14.0/camera_doc.json +887 -0
  268. package/fixtures/defold-1.14.0/collectionfactory_doc.json +206 -0
  269. package/fixtures/defold-1.14.0/collectionproxy_doc.json +397 -0
  270. package/fixtures/defold-1.14.0/compute_doc.json +183 -0
  271. package/fixtures/defold-1.14.0/coroutine_doc.json +152 -0
  272. package/fixtures/defold-1.14.0/crash_doc.json +483 -0
  273. package/fixtures/defold-1.14.0/debug_doc.json +411 -0
  274. package/fixtures/defold-1.14.0/editor_doc.json +6320 -0
  275. package/fixtures/defold-1.14.0/editor_http_doc.json +476 -0
  276. package/fixtures/defold-1.14.0/editor_image_doc.json +129 -0
  277. package/fixtures/defold-1.14.0/editor_json_doc.json +81 -0
  278. package/fixtures/defold-1.14.0/editor_localization_doc.json +139 -0
  279. package/fixtures/defold-1.14.0/editor_pprint_doc.json +37 -0
  280. package/fixtures/defold-1.14.0/editor_tilemap_tiles_doc.json +292 -0
  281. package/fixtures/defold-1.14.0/editor_zip_doc.json +237 -0
  282. package/fixtures/defold-1.14.0/editor_zlib_doc.json +49 -0
  283. package/fixtures/defold-1.14.0/factory_doc.json +206 -0
  284. package/fixtures/defold-1.14.0/font_doc.json +230 -0
  285. package/fixtures/defold-1.14.0/globals_doc.json +64 -0
  286. package/fixtures/defold-1.14.0/go-instance-functions.json +106 -0
  287. package/fixtures/defold-1.14.0/go_doc.json +1789 -0
  288. package/fixtures/defold-1.14.0/graphics_doc.json +1257 -0
  289. package/fixtures/defold-1.14.0/gui_doc.json +4735 -0
  290. package/fixtures/defold-1.14.0/html5_doc.json +65 -0
  291. package/fixtures/defold-1.14.0/http_doc.json +174 -0
  292. package/fixtures/defold-1.14.0/image_doc.json +298 -0
  293. package/fixtures/defold-1.14.0/import-manifest.json +10260 -0
  294. package/fixtures/defold-1.14.0/io_doc.json +400 -0
  295. package/fixtures/defold-1.14.0/json_doc.json +140 -0
  296. package/fixtures/defold-1.14.0/label_doc.json +427 -0
  297. package/fixtures/defold-1.14.0/liveupdate_doc.json +221 -0
  298. package/fixtures/defold-1.14.0/material_doc.json +773 -0
  299. package/fixtures/defold-1.14.0/math_doc.json +703 -0
  300. package/fixtures/defold-1.14.0/model_doc.json +472 -0
  301. package/fixtures/defold-1.14.0/msg_doc.json +169 -0
  302. package/fixtures/defold-1.14.0/os_doc.json +269 -0
  303. package/fixtures/defold-1.14.0/package_doc.json +140 -0
  304. package/fixtures/defold-1.14.0/particlefx_doc.json +249 -0
  305. package/fixtures/defold-1.14.0/physics_doc.json +1624 -0
  306. package/fixtures/defold-1.14.0/profiler_doc.json +348 -0
  307. package/fixtures/defold-1.14.0/render_doc.json +1628 -0
  308. package/fixtures/defold-1.14.0/resource_doc.json +1539 -0
  309. package/fixtures/defold-1.14.0/socket_doc.json +2335 -0
  310. package/fixtures/defold-1.14.0/sound_doc.json +673 -0
  311. package/fixtures/defold-1.14.0/sprite_doc.json +364 -0
  312. package/fixtures/defold-1.14.0/string_doc.json +413 -0
  313. package/fixtures/defold-1.14.0/sys_doc.json +1347 -0
  314. package/fixtures/defold-1.14.0/table_doc.json +167 -0
  315. package/fixtures/defold-1.14.0/tilemap_doc.json +369 -0
  316. package/fixtures/defold-1.14.0/timer_doc.json +214 -0
  317. package/fixtures/defold-1.14.0/types_doc.json +213 -0
  318. package/fixtures/defold-1.14.0/vmath_doc.json +2056 -0
  319. package/fixtures/defold-1.14.0/window_doc.json +426 -0
  320. package/fixtures/defold-1.14.0/zlib_doc.json +71 -0
  321. package/generated/b2d.d.ts +39 -39
  322. package/generated/b2d_body.d.ts +11 -11
  323. package/generated/b2d_chain.d.ts +3 -3
  324. package/generated/b2d_fixture.d.ts +5 -5
  325. package/generated/b2d_joint.d.ts +29 -29
  326. package/generated/b2d_shape.d.ts +13 -13
  327. package/generated/b2d_world.d.ts +15 -15
  328. package/generated/buffer.d.ts +5 -6
  329. package/generated/bullet3d.d.ts +6 -6
  330. package/generated/bullet3d_collision_object.d.ts +9 -9
  331. package/generated/bullet3d_constraint.d.ts +78 -78
  332. package/generated/bullet3d_rigid_body.d.ts +3 -3
  333. package/generated/bullet3d_shape.d.ts +11 -11
  334. package/generated/bullet3d_world.d.ts +20 -20
  335. package/generated/camera.d.ts +4 -4
  336. package/generated/collectionfactory.d.ts +2 -3
  337. package/generated/collectionproxy.d.ts +5 -5
  338. package/generated/compute.d.ts +5 -5
  339. package/generated/crash.d.ts +7 -7
  340. package/generated/editor-vm/http.d.ts +13 -13
  341. package/generated/editor-vm/image.d.ts +4 -4
  342. package/generated/editor-vm/json.d.ts +1 -1
  343. package/generated/editor-vm/tilemap_tiles.d.ts +9 -9
  344. package/generated/editor-vm/zip.d.ts +4 -4
  345. package/generated/editor.d.ts +183 -183
  346. package/generated/factory.d.ts +2 -3
  347. package/generated/font.d.ts +4 -4
  348. package/generated/go.d.ts +10 -12
  349. package/generated/graphics.d.ts +23 -26
  350. package/generated/gui.d.ts +44 -58
  351. package/generated/http.d.ts +2 -2
  352. package/generated/image.d.ts +12 -12
  353. package/generated/json.d.ts +4 -4
  354. package/generated/label.d.ts +5 -5
  355. package/generated/liveupdate.d.ts +3 -3
  356. package/generated/material.d.ts +48 -48
  357. package/generated/model.d.ts +46 -14
  358. package/generated/particlefx.d.ts +5 -5
  359. package/generated/physics.d.ts +19 -19
  360. package/generated/profiler.d.ts +3 -5
  361. package/generated/render-script-modules/b2d.d.ts +39 -39
  362. package/generated/render-script-modules/bullet3d.d.ts +5 -5
  363. package/generated/render-script-modules/collectionfactory.d.ts +1 -2
  364. package/generated/render-script-modules/collectionproxy.d.ts +3 -3
  365. package/generated/render-script-modules/factory.d.ts +1 -2
  366. package/generated/render-script-modules/go.d.ts +8 -10
  367. package/generated/render-script-modules/label.d.ts +2 -2
  368. package/generated/render-script-modules/model.d.ts +43 -11
  369. package/generated/render-script-modules/particlefx.d.ts +3 -3
  370. package/generated/render-script-modules/physics.d.ts +12 -12
  371. package/generated/render-script-modules/resource.d.ts +52 -53
  372. package/generated/render-script-modules/sound.d.ts +4 -4
  373. package/generated/render-script-modules/sprite.d.ts +2 -2
  374. package/generated/render-script-modules/tilemap.d.ts +2 -2
  375. package/generated/render.d.ts +44 -45
  376. package/generated/resource.d.ts +58 -59
  377. package/generated/socket.d.ts +18 -23
  378. package/generated/sound.d.ts +6 -6
  379. package/generated/sprite.d.ts +3 -3
  380. package/generated/sys.d.ts +20 -21
  381. package/generated/tilemap.d.ts +3 -3
  382. package/generated/timer.d.ts +3 -3
  383. package/generated/versions/defold-1.12.4/b2d.d.ts +2 -2
  384. package/generated/versions/defold-1.12.4/b2d_body.d.ts +2 -2
  385. package/generated/versions/defold-1.12.4/go.d.ts +2 -2
  386. package/generated/versions/defold-1.12.4/graphics.d.ts +1 -1
  387. package/generated/versions/defold-1.12.4/gui.d.ts +18 -19
  388. package/generated/versions/defold-1.12.4/label.d.ts +1 -1
  389. package/generated/versions/defold-1.12.4/model.d.ts +42 -10
  390. package/generated/versions/defold-1.12.4/particlefx.d.ts +1 -1
  391. package/generated/versions/defold-1.12.4/physics.d.ts +1 -1
  392. package/generated/versions/defold-1.12.4/render.d.ts +5 -5
  393. package/generated/versions/defold-1.12.4/resource.d.ts +8 -8
  394. package/generated/versions/defold-1.12.4/socket.d.ts +12 -12
  395. package/generated/versions/defold-1.12.4/sound.d.ts +1 -1
  396. package/generated/versions/defold-1.12.4/sprite.d.ts +1 -1
  397. package/generated/versions/defold-1.12.4/sys.d.ts +2 -2
  398. package/generated/versions/defold-1.12.4/tilemap.d.ts +1 -1
  399. package/generated/versions/defold-1.12.4/window.d.ts +3 -4
  400. package/generated/versions/defold-1.13.0/b2d.d.ts +2 -2
  401. package/generated/versions/defold-1.13.0/b2d_body.d.ts +2 -2
  402. package/generated/versions/defold-1.13.0/b2d_chain.d.ts +1 -1
  403. package/generated/versions/defold-1.13.0/b2d_joint.d.ts +1 -1
  404. package/generated/versions/defold-1.13.0/b2d_shape.d.ts +1 -1
  405. package/generated/versions/defold-1.13.0/camera.d.ts +1 -1
  406. package/generated/versions/defold-1.13.0/go.d.ts +2 -2
  407. package/generated/versions/defold-1.13.0/graphics.d.ts +1 -1
  408. package/generated/versions/defold-1.13.0/gui.d.ts +18 -19
  409. package/generated/versions/defold-1.13.0/label.d.ts +1 -1
  410. package/generated/versions/defold-1.13.0/model.d.ts +42 -10
  411. package/generated/versions/defold-1.13.0/particlefx.d.ts +1 -1
  412. package/generated/versions/defold-1.13.0/physics.d.ts +1 -1
  413. package/generated/versions/defold-1.13.0/render.d.ts +5 -5
  414. package/generated/versions/defold-1.13.0/resource.d.ts +8 -8
  415. package/generated/versions/defold-1.13.0/socket.d.ts +12 -12
  416. package/generated/versions/defold-1.13.0/sound.d.ts +1 -1
  417. package/generated/versions/defold-1.13.0/sprite.d.ts +1 -1
  418. package/generated/versions/defold-1.13.0/sys.d.ts +2 -2
  419. package/generated/versions/defold-1.13.0/tilemap.d.ts +1 -1
  420. package/generated/versions/defold-1.13.0/window.d.ts +3 -4
  421. package/generated/versions/defold-1.13.1/b2d.d.ts +2 -2
  422. package/generated/versions/defold-1.13.1/b2d_body.d.ts +2 -2
  423. package/generated/versions/defold-1.13.1/b2d_chain.d.ts +1 -1
  424. package/generated/versions/defold-1.13.1/b2d_joint.d.ts +1 -1
  425. package/generated/versions/defold-1.13.1/b2d_shape.d.ts +1 -1
  426. package/generated/versions/defold-1.13.1/camera.d.ts +1 -1
  427. package/generated/versions/defold-1.13.1/go.d.ts +2 -2
  428. package/generated/versions/defold-1.13.1/graphics.d.ts +1 -1
  429. package/generated/versions/defold-1.13.1/gui.d.ts +18 -19
  430. package/generated/versions/defold-1.13.1/label.d.ts +1 -1
  431. package/generated/versions/defold-1.13.1/model.d.ts +42 -10
  432. package/generated/versions/defold-1.13.1/particlefx.d.ts +1 -1
  433. package/generated/versions/defold-1.13.1/physics.d.ts +1 -1
  434. package/generated/versions/defold-1.13.1/render.d.ts +5 -5
  435. package/generated/versions/defold-1.13.1/resource.d.ts +8 -8
  436. package/generated/versions/defold-1.13.1/socket.d.ts +12 -12
  437. package/generated/versions/defold-1.13.1/sound.d.ts +1 -1
  438. package/generated/versions/defold-1.13.1/sprite.d.ts +1 -1
  439. package/generated/versions/defold-1.13.1/sys.d.ts +2 -2
  440. package/generated/versions/defold-1.13.1/tilemap.d.ts +1 -1
  441. package/generated/versions/defold-1.13.1/window.d.ts +3 -4
  442. package/generated/versions/defold-1.13.2/b2d.d.ts +39 -39
  443. package/generated/versions/defold-1.13.2/b2d_body.d.ts +11 -11
  444. package/generated/versions/defold-1.13.2/b2d_chain.d.ts +3 -3
  445. package/generated/versions/defold-1.13.2/b2d_fixture.d.ts +5 -5
  446. package/generated/versions/defold-1.13.2/b2d_joint.d.ts +29 -29
  447. package/generated/versions/defold-1.13.2/b2d_shape.d.ts +13 -13
  448. package/generated/versions/defold-1.13.2/b2d_world.d.ts +15 -15
  449. package/generated/versions/defold-1.13.2/buffer.d.ts +5 -6
  450. package/generated/versions/defold-1.13.2/bullet3d.d.ts +6 -6
  451. package/generated/versions/defold-1.13.2/bullet3d_collision_object.d.ts +9 -9
  452. package/generated/versions/defold-1.13.2/bullet3d_constraint.d.ts +78 -78
  453. package/generated/versions/defold-1.13.2/bullet3d_rigid_body.d.ts +3 -3
  454. package/generated/versions/defold-1.13.2/bullet3d_shape.d.ts +11 -11
  455. package/generated/versions/defold-1.13.2/bullet3d_world.d.ts +20 -20
  456. package/generated/versions/defold-1.13.2/camera.d.ts +4 -4
  457. package/generated/versions/defold-1.13.2/collectionfactory.d.ts +2 -3
  458. package/generated/versions/defold-1.13.2/collectionproxy.d.ts +5 -5
  459. package/generated/versions/defold-1.13.2/compute.d.ts +5 -5
  460. package/generated/versions/defold-1.13.2/crash.d.ts +7 -7
  461. package/generated/versions/defold-1.13.2/editor-vm/http.d.ts +13 -13
  462. package/generated/versions/defold-1.13.2/editor-vm/image.d.ts +4 -4
  463. package/generated/versions/defold-1.13.2/editor-vm/json.d.ts +1 -1
  464. package/generated/versions/defold-1.13.2/editor-vm/tilemap_tiles.d.ts +9 -9
  465. package/generated/versions/defold-1.13.2/editor-vm/zip.d.ts +4 -4
  466. package/generated/versions/defold-1.13.2/editor.d.ts +183 -183
  467. package/generated/versions/defold-1.13.2/factory.d.ts +2 -3
  468. package/generated/versions/defold-1.13.2/font.d.ts +4 -4
  469. package/generated/versions/defold-1.13.2/go.d.ts +10 -12
  470. package/generated/versions/defold-1.13.2/graphics.d.ts +22 -25
  471. package/generated/versions/defold-1.13.2/gui.d.ts +44 -58
  472. package/generated/versions/defold-1.13.2/http.d.ts +2 -2
  473. package/generated/versions/defold-1.13.2/image.d.ts +12 -12
  474. package/generated/versions/defold-1.13.2/json.d.ts +4 -4
  475. package/generated/versions/defold-1.13.2/label.d.ts +5 -5
  476. package/generated/versions/defold-1.13.2/liveupdate.d.ts +3 -3
  477. package/generated/versions/defold-1.13.2/material.d.ts +48 -48
  478. package/generated/versions/defold-1.13.2/model.d.ts +46 -14
  479. package/generated/versions/defold-1.13.2/particlefx.d.ts +5 -5
  480. package/generated/versions/defold-1.13.2/physics.d.ts +19 -19
  481. package/generated/versions/defold-1.13.2/profiler.d.ts +3 -5
  482. package/generated/versions/defold-1.13.2/render.d.ts +43 -44
  483. package/generated/versions/defold-1.13.2/resource.d.ts +58 -59
  484. package/generated/versions/defold-1.13.2/socket.d.ts +18 -23
  485. package/generated/versions/defold-1.13.2/sound.d.ts +6 -6
  486. package/generated/versions/defold-1.13.2/sprite.d.ts +3 -3
  487. package/generated/versions/defold-1.13.2/sys.d.ts +20 -21
  488. package/generated/versions/defold-1.13.2/tilemap.d.ts +3 -3
  489. package/generated/versions/defold-1.13.2/timer.d.ts +3 -3
  490. package/generated/versions/defold-1.13.2/vmath.d.ts +0 -1
  491. package/generated/versions/defold-1.13.2/window.d.ts +8 -10
  492. package/generated/vmath.d.ts +0 -1
  493. package/generated/window.d.ts +8 -10
  494. package/identity-vocabulary.json +41 -34
  495. package/package.json +13 -5
  496. package/scripts/cli-runtime.ts +18 -0
  497. package/scripts/example-store-io.ts +2 -2
  498. package/scripts/extension-goldens.ts +9 -5
  499. package/scripts/generate-api-availability.ts +10 -4
  500. package/scripts/generate-api-signatures.ts +1 -1
  501. package/scripts/import-defold-release.ts +1 -1
  502. package/scripts/regen.ts +35 -9
  503. package/scripts/shared-handle-methods.ts +3 -2
  504. package/scripts/signature-store-fs.ts +37 -17
  505. package/scripts/sync-api-docs.ts +127 -20
  506. package/src/api-doc.ts +19 -4
  507. package/src/api-identity.ts +32 -1
  508. package/src/component-properties.d.ts +8 -8
  509. package/src/core-types.ts +29 -13
  510. package/src/doc-corrections.ts +9 -0
  511. package/src/emit-dts.ts +770 -214
  512. package/src/engine-type-name.ts +33 -0
  513. package/src/go-overloads.d.ts +10 -10
  514. package/src/gui-overloads.d.ts +11 -11
  515. package/src/index-slot-classifications.ts +75 -9
  516. package/src/index.ts +4 -1
  517. package/src/lifecycle.ts +2 -2
  518. package/src/publish-dts.ts +16 -0
  519. package/src/script-api.ts +36 -38
  520. package/src/socket-types.d.ts +3 -3
  521. package/src/library-index-slot-classifications.ts +0 -332
@@ -0,0 +1,759 @@
1
+ {
2
+ "elements": [
3
+ {
4
+ "type": "FUNCTION",
5
+ "name": "assert",
6
+ "brief": "asserts that condition is not nil and not false",
7
+ "description": "Issues an error when\nthe value of its argument v is false (i.e., <span class=\"type\"> nil</span> or <span class=\"type\"> false</span>);\notherwise, returns all its arguments.\nmessage is an error message;\nwhen absent, it defaults to \"assertion failed!\"",
8
+ "returnvalues": [],
9
+ "parameters": [
10
+ {
11
+ "name": "v",
12
+ "doc": "",
13
+ "types": ["boolean"],
14
+ "is_optional": "False"
15
+ },
16
+ {
17
+ "name": "message",
18
+ "doc": "",
19
+ "types": ["string"],
20
+ "is_optional": "True"
21
+ }
22
+ ],
23
+ "examples": "",
24
+ "replaces": "",
25
+ "error": "",
26
+ "tparams": [],
27
+ "members": [],
28
+ "notes": [],
29
+ "language": ""
30
+ },
31
+ {
32
+ "type": "FUNCTION",
33
+ "name": "collectgarbage",
34
+ "brief": "collects garbage",
35
+ "description": "This function is a generic interface to the garbage collector.\nIt performs different functions according to its first argument, opt:\n<dl>\n<dt>\"collect\"</dt>\n<dd>performs a full garbage-collection cycle.\nThis is the default option.</dd>\n<dt>\"stop\"</dt>\n<dd>stops the garbage collector.</dd>\n<dt>\"restart\"</dt>\n<dd>restarts the garbage collector.</dd>\n<dt>\"count\"</dt>\n<dd>returns the total memory in use by Lua (in Kbytes).</dd>\n<dt>\"step\"</dt>\n<dd>performs a garbage-collection step.\nThe step \"size\" is controlled by arg\n(larger values mean more steps) in a non-specified way.\nIf you want to control the step size\nyou must experimentally tune the value of arg.\nReturns true if the step finished a collection cycle.</dd>\n<dt>\"setpause\"</dt>\n<dd>sets arg as the new value for the <em>pause</em> of\nthe collector .\nReturns the previous value for <em>pause</em>.</dd>\n<dt>\"setstepmul\"</dt>\n<dd>sets arg as the new value for the <em>step multiplier</em> of\nthe collector .\nReturns the previous value for <em>step</em>.</dd>\n</dl>",
36
+ "returnvalues": [],
37
+ "parameters": [
38
+ {
39
+ "name": "opt",
40
+ "doc": "",
41
+ "types": ["string"],
42
+ "is_optional": "True"
43
+ },
44
+ {
45
+ "name": "arg",
46
+ "doc": "",
47
+ "types": ["number"],
48
+ "is_optional": "True"
49
+ }
50
+ ],
51
+ "examples": "",
52
+ "replaces": "",
53
+ "error": "",
54
+ "tparams": [],
55
+ "members": [],
56
+ "notes": [],
57
+ "language": ""
58
+ },
59
+ {
60
+ "type": "FUNCTION",
61
+ "name": "dofile",
62
+ "brief": "executes a Lua file",
63
+ "description": "Opens the named file and executes its contents as a Lua chunk.\nWhen called without arguments,\ndofile executes the contents of the standard input (stdin).\nReturns all values returned by the chunk.\nIn case of errors, dofile propagates the error\nto its caller (that is, dofile does not run in protected mode).",
64
+ "returnvalues": [],
65
+ "parameters": [
66
+ {
67
+ "name": "filename",
68
+ "doc": "",
69
+ "types": ["string"],
70
+ "is_optional": "True"
71
+ }
72
+ ],
73
+ "examples": "",
74
+ "replaces": "",
75
+ "error": "",
76
+ "tparams": [],
77
+ "members": [],
78
+ "notes": [],
79
+ "language": ""
80
+ },
81
+ {
82
+ "type": "FUNCTION",
83
+ "name": "error",
84
+ "brief": "raises an error message",
85
+ "description": "Terminates the last protected function called\nand returns message as the error message.\nFunction error never returns.\nUsually, error adds some information about the error position\nat the beginning of the message.\nThe level argument specifies how to get the error position.\nWith level 1 (the default), the error position is where the\nerror function was called.\nLevel 2 points the error to where the function\nthat called error was called; and so on.\nPassing a level 0 avoids the addition of error position information\nto the message.",
86
+ "returnvalues": [],
87
+ "parameters": [
88
+ {
89
+ "name": "message",
90
+ "doc": "",
91
+ "types": ["string"],
92
+ "is_optional": "False"
93
+ },
94
+ {
95
+ "name": "level",
96
+ "doc": "",
97
+ "types": ["number"],
98
+ "is_optional": "True"
99
+ }
100
+ ],
101
+ "examples": "",
102
+ "replaces": "",
103
+ "error": "",
104
+ "tparams": [],
105
+ "members": [],
106
+ "notes": [],
107
+ "language": ""
108
+ },
109
+ {
110
+ "type": "VARIABLE",
111
+ "name": "_G",
112
+ "brief": "global variable that holds the global environment",
113
+ "description": "A global variable (not a function) that\nholds the global environment (that is, <code>_G._G = _G</code>).\nLua itself does not use this variable;\nchanging its value does not affect any environment,\nnor vice-versa.\n(Use setfenv to change environments.)",
114
+ "returnvalues": [],
115
+ "parameters": [],
116
+ "examples": "",
117
+ "replaces": "",
118
+ "error": "",
119
+ "tparams": [],
120
+ "members": [],
121
+ "notes": [],
122
+ "language": ""
123
+ },
124
+ {
125
+ "type": "FUNCTION",
126
+ "name": "getfenv",
127
+ "brief": "returns the current environment table",
128
+ "description": "Returns the current environment in use by the function.\nf can be a Lua function or a number\nthat specifies the function at that stack level:\nLevel 1 is the function calling getfenv.\nIf the given function is not a Lua function,\nor if f is 0,\ngetfenv returns the global environment.\nThe default for f is 1.",
129
+ "returnvalues": [],
130
+ "parameters": [
131
+ {
132
+ "name": "f",
133
+ "doc": "",
134
+ "types": ["function"],
135
+ "is_optional": "True"
136
+ }
137
+ ],
138
+ "examples": "",
139
+ "replaces": "",
140
+ "error": "",
141
+ "tparams": [],
142
+ "members": [],
143
+ "notes": [],
144
+ "language": ""
145
+ },
146
+ {
147
+ "type": "FUNCTION",
148
+ "name": "getmetatable",
149
+ "brief": "returns the metatable for the object",
150
+ "description": "If object does not have a metatable, returns <span class=\"type\"> nil</span>.\nOtherwise,\nif the object's metatable has a <code>\"__metatable\"</code> field,\nreturns the associated value.\nOtherwise, returns the metatable of the given object.",
151
+ "returnvalues": [],
152
+ "parameters": [
153
+ {
154
+ "name": "object",
155
+ "doc": "",
156
+ "types": ["any"],
157
+ "is_optional": "False"
158
+ }
159
+ ],
160
+ "examples": "",
161
+ "replaces": "",
162
+ "error": "",
163
+ "tparams": [],
164
+ "members": [],
165
+ "notes": [],
166
+ "language": ""
167
+ },
168
+ {
169
+ "type": "FUNCTION",
170
+ "name": "ipairs",
171
+ "brief": "iterates over a numerically keyed table",
172
+ "description": "Returns three values: an iterator function, the table t, and 0,\nso that the construction\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">for</span> <span class=\"n\">i</span><span class=\"p\">,</span><span class=\"n\">v</span> <span class=\"kr\">in</span> <span class=\"nb\">ipairs</span><span class=\"p\">(</span><span class=\"n\">t</span><span class=\"p\">)</span> <span class=\"kr\">do</span> <span class=\"n\">body</span> <span class=\"kr\">end</span>\n</code></pre></div>\n\nwill iterate over the pairs (<code>1,t[1]</code>), (<code>2,t[2]</code>), ...,\nup to the first integer key absent from the table.",
173
+ "returnvalues": [],
174
+ "parameters": [
175
+ {
176
+ "name": "t",
177
+ "doc": "",
178
+ "types": ["table<integer, any>"],
179
+ "is_optional": "False"
180
+ }
181
+ ],
182
+ "examples": "",
183
+ "replaces": "",
184
+ "error": "",
185
+ "tparams": [],
186
+ "members": [],
187
+ "notes": [],
188
+ "language": ""
189
+ },
190
+ {
191
+ "type": "FUNCTION",
192
+ "name": "load",
193
+ "brief": "loads a chunk by calling a function repeatedly",
194
+ "description": "Loads a chunk using function func to get its pieces.\nEach call to func must return a string that concatenates\nwith previous results.\nA return of an empty string, <span class=\"type\"> nil</span>, or no value signals the end of the chunk.\nIf there are no errors,\nreturns the compiled chunk as a function;\notherwise, returns <span class=\"type\"> nil</span> plus the error message.\nThe environment of the returned function is the global environment.\nchunkname is used as the chunk name for error messages\nand debug information.\nWhen absent,\nit defaults to \"=(load)\".",
195
+ "returnvalues": [],
196
+ "parameters": [
197
+ {
198
+ "name": "func",
199
+ "doc": "",
200
+ "types": ["function"],
201
+ "is_optional": "False"
202
+ },
203
+ {
204
+ "name": "chunkname",
205
+ "doc": "",
206
+ "types": ["string"],
207
+ "is_optional": "True"
208
+ }
209
+ ],
210
+ "examples": "",
211
+ "replaces": "",
212
+ "error": "",
213
+ "tparams": [],
214
+ "members": [],
215
+ "notes": [],
216
+ "language": ""
217
+ },
218
+ {
219
+ "type": "FUNCTION",
220
+ "name": "loadfile",
221
+ "brief": "loads a Lua file and parses it",
222
+ "description": "Similar to load,\nbut gets the chunk from file filename\nor from the standard input,\nif no file name is given.",
223
+ "returnvalues": [],
224
+ "parameters": [
225
+ {
226
+ "name": "filename",
227
+ "doc": "",
228
+ "types": ["string"],
229
+ "is_optional": "True"
230
+ }
231
+ ],
232
+ "examples": "",
233
+ "replaces": "",
234
+ "error": "",
235
+ "tparams": [],
236
+ "members": [],
237
+ "notes": [],
238
+ "language": ""
239
+ },
240
+ {
241
+ "type": "FUNCTION",
242
+ "name": "loadstring",
243
+ "brief": "compiles a string of Lua code",
244
+ "description": "Similar to load,\nbut gets the chunk from the given string.\nTo load and run a given string, use the idiom\n<div class=\"codehilite\"><pre><span></span><code><span class=\"nb\">assert</span><span class=\"p\">(</span><span class=\"n\">loadstring</span><span class=\"p\">(</span><span class=\"n\">s</span><span class=\"p\">))()</span>\n</code></pre></div>\n\nWhen absent,\nchunkname defaults to the given string.",
245
+ "returnvalues": [],
246
+ "parameters": [
247
+ {
248
+ "name": "string",
249
+ "doc": "",
250
+ "types": ["string"],
251
+ "is_optional": "False"
252
+ },
253
+ {
254
+ "name": "chunkname",
255
+ "doc": "",
256
+ "types": ["string"],
257
+ "is_optional": "True"
258
+ }
259
+ ],
260
+ "examples": "",
261
+ "replaces": "",
262
+ "error": "",
263
+ "tparams": [],
264
+ "members": [],
265
+ "notes": [],
266
+ "language": ""
267
+ },
268
+ {
269
+ "type": "FUNCTION",
270
+ "name": "next",
271
+ "brief": "returns next key / value pair in a table",
272
+ "description": "Allows a program to traverse all fields of a table.\nIts first argument is a table and its second argument\nis an index in this table.\nnext returns the next index of the table\nand its associated value.\nWhen called with <span class=\"type\"> nil</span> as its second argument,\nnext returns an initial index\nand its associated value.\nWhen called with the last index,\nor with <span class=\"type\"> nil</span> in an empty table,\nnext returns <span class=\"type\"> nil</span>.\nIf the second argument is absent, then it is interpreted as <span class=\"type\"> nil</span>.\nIn particular,\nyou can use <code>next(t)</code> to check whether a table is empty.\nThe order in which the indices are enumerated is not specified,\n<em>even for numeric indices</em>.\n(To traverse a table in numeric order,\nuse a numerical for or the ipairs function.)\nThe behavior of next is <em>undefined</em> if,\nduring the traversal,\nyou assign any value to a non-existent field in the table.\nYou may however modify existing fields.\nIn particular, you may clear existing fields.",
273
+ "returnvalues": [],
274
+ "parameters": [
275
+ {
276
+ "name": "table",
277
+ "doc": "",
278
+ "types": ["table<any, any>"],
279
+ "is_optional": "False"
280
+ },
281
+ {
282
+ "name": "index",
283
+ "doc": "",
284
+ "types": ["any"],
285
+ "is_optional": "True"
286
+ }
287
+ ],
288
+ "examples": "",
289
+ "replaces": "",
290
+ "error": "",
291
+ "tparams": [],
292
+ "members": [],
293
+ "notes": [],
294
+ "language": ""
295
+ },
296
+ {
297
+ "type": "FUNCTION",
298
+ "name": "pairs",
299
+ "brief": "traverse all items in a table",
300
+ "description": "Returns three values: the next function, the table t, and <span class=\"type\"> nil</span>,\nso that the construction\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">for</span> <span class=\"n\">k</span><span class=\"p\">,</span><span class=\"n\">v</span> <span class=\"kr\">in</span> <span class=\"nb\">pairs</span><span class=\"p\">(</span><span class=\"n\">t</span><span class=\"p\">)</span> <span class=\"kr\">do</span> <span class=\"n\">body</span> <span class=\"kr\">end</span>\n</code></pre></div>\n\nwill iterate over all key-{}value pairs of table t.\nSee function next for the caveats of modifying\nthe table during its traversal.",
301
+ "returnvalues": [],
302
+ "parameters": [
303
+ {
304
+ "name": "t",
305
+ "doc": "",
306
+ "types": ["string"],
307
+ "is_optional": "False"
308
+ }
309
+ ],
310
+ "examples": "",
311
+ "replaces": "",
312
+ "error": "",
313
+ "tparams": [],
314
+ "members": [],
315
+ "notes": [],
316
+ "language": ""
317
+ },
318
+ {
319
+ "type": "FUNCTION",
320
+ "name": "pcall",
321
+ "brief": "calls a function in protected mode",
322
+ "description": "Calls function f with\nthe given arguments in <em>protected mode</em>.\nThis means that any error inside <code>f</code> is not propagated;\ninstead, pcall catches the error\nand returns a status code.\nIts first result is the status code (a boolean),\nwhich is true if the call succeeds without errors.\nIn such case, pcall also returns all results from the call,\nafter this first result.\nIn case of any error, pcall returns <span class=\"type\"> false</span> plus the error message.",
323
+ "returnvalues": [],
324
+ "parameters": [
325
+ {
326
+ "name": "f",
327
+ "doc": "",
328
+ "types": ["function"],
329
+ "is_optional": "False"
330
+ },
331
+ {
332
+ "name": "arg1",
333
+ "doc": "",
334
+ "types": ["any"],
335
+ "is_optional": "False"
336
+ },
337
+ {
338
+ "name": "...",
339
+ "doc": "",
340
+ "types": ["..."],
341
+ "is_optional": "False"
342
+ }
343
+ ],
344
+ "examples": "",
345
+ "replaces": "",
346
+ "error": "",
347
+ "tparams": [],
348
+ "members": [],
349
+ "notes": [],
350
+ "language": ""
351
+ },
352
+ {
353
+ "type": "FUNCTION",
354
+ "name": "print",
355
+ "brief": "prints its arguments",
356
+ "description": "Receives any number of arguments,\nand prints their values to stdout,\nusing the tostring function to convert them to strings.\nprint is not intended for formatted output,\nbut only as a quick way to show a value,\ntypically for debugging.\nFor formatted output, use string.format.",
357
+ "returnvalues": [],
358
+ "parameters": [
359
+ {
360
+ "name": "...",
361
+ "doc": "",
362
+ "types": ["..."],
363
+ "is_optional": "False"
364
+ }
365
+ ],
366
+ "examples": "",
367
+ "replaces": "",
368
+ "error": "",
369
+ "tparams": [],
370
+ "members": [],
371
+ "notes": [],
372
+ "language": ""
373
+ },
374
+ {
375
+ "type": "FUNCTION",
376
+ "name": "rawequal",
377
+ "brief": "compares two values for equality without invoking metamethods",
378
+ "description": "Checks whether v1 is equal to v2,\nwithout invoking any metamethod.\nReturns a boolean.",
379
+ "returnvalues": [],
380
+ "parameters": [
381
+ {
382
+ "name": "v1",
383
+ "doc": "",
384
+ "types": ["any"],
385
+ "is_optional": "False"
386
+ },
387
+ {
388
+ "name": "v2",
389
+ "doc": "",
390
+ "types": ["any"],
391
+ "is_optional": "False"
392
+ }
393
+ ],
394
+ "examples": "",
395
+ "replaces": "",
396
+ "error": "",
397
+ "tparams": [],
398
+ "members": [],
399
+ "notes": [],
400
+ "language": ""
401
+ },
402
+ {
403
+ "type": "FUNCTION",
404
+ "name": "rawget",
405
+ "brief": "gets the value of a table item without invoking metamethods",
406
+ "description": "Gets the real value of <code>table[index]</code>,\nwithout invoking any metamethod.\ntable must be a table;\nindex may be any value.",
407
+ "returnvalues": [],
408
+ "parameters": [
409
+ {
410
+ "name": "table",
411
+ "doc": "",
412
+ "types": ["table<any, any>"],
413
+ "is_optional": "False"
414
+ },
415
+ {
416
+ "name": "index",
417
+ "doc": "",
418
+ "types": ["any"],
419
+ "is_optional": "False"
420
+ }
421
+ ],
422
+ "examples": "",
423
+ "replaces": "",
424
+ "error": "",
425
+ "tparams": [],
426
+ "members": [],
427
+ "notes": [],
428
+ "language": ""
429
+ },
430
+ {
431
+ "type": "FUNCTION",
432
+ "name": "rawset",
433
+ "brief": "sets the value of a table item without invoking metamethods",
434
+ "description": "Sets the real value of <code>table[index]</code> to value,\nwithout invoking any metamethod.\ntable must be a table,\nindex any value different from <span class=\"type\"> nil</span>,\nand value any Lua value.\nThis function returns table.",
435
+ "returnvalues": [],
436
+ "parameters": [
437
+ {
438
+ "name": "table",
439
+ "doc": "",
440
+ "types": ["table<any, any>"],
441
+ "is_optional": "False"
442
+ },
443
+ {
444
+ "name": "index",
445
+ "doc": "",
446
+ "types": ["any"],
447
+ "is_optional": "False"
448
+ },
449
+ {
450
+ "name": "value",
451
+ "doc": "",
452
+ "types": ["any"],
453
+ "is_optional": "False"
454
+ }
455
+ ],
456
+ "examples": "",
457
+ "replaces": "",
458
+ "error": "",
459
+ "tparams": [],
460
+ "members": [],
461
+ "notes": [],
462
+ "language": ""
463
+ },
464
+ {
465
+ "type": "FUNCTION",
466
+ "name": "select",
467
+ "brief": "returns items in a list",
468
+ "description": "If index is a number,\nreturns all arguments after argument number index.\nOtherwise, index must be the string <code>\"#\"</code>,\nand select returns the total number of extra arguments it received.",
469
+ "returnvalues": [],
470
+ "parameters": [
471
+ {
472
+ "name": "index",
473
+ "doc": "",
474
+ "types": ["number"],
475
+ "is_optional": "False"
476
+ },
477
+ {
478
+ "name": "...",
479
+ "doc": "",
480
+ "types": ["..."],
481
+ "is_optional": "False"
482
+ }
483
+ ],
484
+ "examples": "",
485
+ "replaces": "",
486
+ "error": "",
487
+ "tparams": [],
488
+ "members": [],
489
+ "notes": [],
490
+ "language": ""
491
+ },
492
+ {
493
+ "type": "FUNCTION",
494
+ "name": "setfenv",
495
+ "brief": "sets a function's environment",
496
+ "description": "Sets the environment to be used by the given function.\nf can be a Lua function or a number\nthat specifies the function at that stack level:\nLevel 1 is the function calling setfenv.\nsetfenv returns the given function.\nAs a special case, when f is 0 setfenv changes\nthe environment of the running thread.\nIn this case, setfenv returns no values.",
497
+ "returnvalues": [],
498
+ "parameters": [
499
+ {
500
+ "name": "f",
501
+ "doc": "",
502
+ "types": ["function"],
503
+ "is_optional": "False"
504
+ },
505
+ {
506
+ "name": "table",
507
+ "doc": "",
508
+ "types": ["table<any, any>"],
509
+ "is_optional": "False"
510
+ }
511
+ ],
512
+ "examples": "",
513
+ "replaces": "",
514
+ "error": "",
515
+ "tparams": [],
516
+ "members": [],
517
+ "notes": [],
518
+ "language": ""
519
+ },
520
+ {
521
+ "type": "FUNCTION",
522
+ "name": "setmetatable",
523
+ "brief": "sets the metatable for a table",
524
+ "description": "Sets the metatable for the given table.\n(You cannot change the metatable of other types from Lua, only from C.)\nIf metatable is <span class=\"type\"> nil</span>,\nremoves the metatable of the given table.\nIf the original metatable has a <code>\"__metatable\"</code> field,\nraises an error.\nThis function returns table.",
525
+ "returnvalues": [],
526
+ "parameters": [
527
+ {
528
+ "name": "table",
529
+ "doc": "",
530
+ "types": ["table<any, any>"],
531
+ "is_optional": "False"
532
+ },
533
+ {
534
+ "name": "metatable",
535
+ "doc": "",
536
+ "types": ["table<any, any>", "nil"],
537
+ "is_optional": "False"
538
+ }
539
+ ],
540
+ "examples": "",
541
+ "replaces": "",
542
+ "error": "",
543
+ "tparams": [],
544
+ "members": [],
545
+ "notes": [],
546
+ "language": ""
547
+ },
548
+ {
549
+ "type": "FUNCTION",
550
+ "name": "tonumber",
551
+ "brief": "converts a string (of the given base) to a number",
552
+ "description": "Tries to convert its argument to a number.\nIf the argument is already a number or a string convertible\nto a number, then tonumber returns this number;\notherwise, it returns <span class=\"type\"> nil</span>.\nAn optional argument specifies the base to interpret the numeral.\nThe base may be any integer between 2 and 36, inclusive.\nIn bases above 10, the letter 'A' (in either upper or lower case)\nrepresents 10, 'B' represents 11, and so forth,\nwith 'Z' representing 35.\nIn base 10 (the default), the number can have a decimal part,\nas well as an optional exponent part .\nIn other bases, only unsigned integers are accepted.",
553
+ "returnvalues": [],
554
+ "parameters": [
555
+ {
556
+ "name": "e",
557
+ "doc": "",
558
+ "types": ["string"],
559
+ "is_optional": "False"
560
+ },
561
+ {
562
+ "name": "base",
563
+ "doc": "",
564
+ "types": ["number"],
565
+ "is_optional": "True"
566
+ }
567
+ ],
568
+ "examples": "",
569
+ "replaces": "",
570
+ "error": "",
571
+ "tparams": [],
572
+ "members": [],
573
+ "notes": [],
574
+ "language": ""
575
+ },
576
+ {
577
+ "type": "FUNCTION",
578
+ "name": "tostring",
579
+ "brief": "converts its argument to a string",
580
+ "description": "Receives an argument of any type and\nconverts it to a string in a reasonable format.\nFor complete control of how numbers are converted,\nuse string.format.\nIf the metatable of e has a <code>\"__tostring\"</code> field,\nthen tostring calls the corresponding value\nwith e as argument,\nand uses the result of the call as its result.",
581
+ "returnvalues": [],
582
+ "parameters": [
583
+ {
584
+ "name": "e",
585
+ "doc": "",
586
+ "types": ["any"],
587
+ "is_optional": "False"
588
+ }
589
+ ],
590
+ "examples": "",
591
+ "replaces": "",
592
+ "error": "",
593
+ "tparams": [],
594
+ "members": [],
595
+ "notes": [],
596
+ "language": ""
597
+ },
598
+ {
599
+ "type": "FUNCTION",
600
+ "name": "type",
601
+ "brief": "returns the type of a variable",
602
+ "description": "Returns the type of its only argument, coded as a string.\nThe possible results of this function are\n\"nil\" (a string, not the value <span class=\"type\"> nil</span>),\n\"number\",\n\"string\",\n\"boolean\",\n\"table\",\n\"function\",\n\"thread\",\nand \"userdata\".",
603
+ "returnvalues": [],
604
+ "parameters": [
605
+ {
606
+ "name": "v",
607
+ "doc": "",
608
+ "types": ["any"],
609
+ "is_optional": "False"
610
+ }
611
+ ],
612
+ "examples": "",
613
+ "replaces": "",
614
+ "error": "",
615
+ "tparams": [],
616
+ "members": [],
617
+ "notes": [],
618
+ "language": ""
619
+ },
620
+ {
621
+ "type": "FUNCTION",
622
+ "name": "unpack",
623
+ "brief": "unpacks a table into individual items",
624
+ "description": "Returns the elements from the given table.\nThis function is equivalent to\n<div class=\"codehilite\"><pre><span></span><code><span class=\"kr\">return</span> <span class=\"n\">list</span><span class=\"p\">[</span><span class=\"n\">i</span><span class=\"p\">],</span> <span class=\"n\">list</span><span class=\"p\">[</span><span class=\"n\">i</span><span class=\"o\">+</span><span class=\"mi\">1</span><span class=\"p\">],</span> <span class=\"p\">...,</span> <span class=\"n\">list</span><span class=\"p\">[</span><span class=\"n\">j</span><span class=\"p\">]</span>\n</code></pre></div>\n\nexcept that the above code can be written only for a fixed number\nof elements.\nBy default, i is 1 and j is the length of the list,\nas defined by the length operator .",
625
+ "returnvalues": [],
626
+ "parameters": [
627
+ {
628
+ "name": "list",
629
+ "doc": "",
630
+ "types": ["any[]"],
631
+ "is_optional": "False"
632
+ },
633
+ {
634
+ "name": "i",
635
+ "doc": "",
636
+ "types": ["integer"],
637
+ "is_optional": "True"
638
+ },
639
+ {
640
+ "name": "j",
641
+ "doc": "",
642
+ "types": ["integer"],
643
+ "is_optional": "True"
644
+ }
645
+ ],
646
+ "examples": "",
647
+ "replaces": "",
648
+ "error": "",
649
+ "tparams": [],
650
+ "members": [],
651
+ "notes": [],
652
+ "language": ""
653
+ },
654
+ {
655
+ "type": "VARIABLE",
656
+ "name": "_VERSION",
657
+ "brief": "global variable containing the running Lua version",
658
+ "description": "A global variable (not a function) that\nholds a string containing the current interpreter version.\nThe current contents of this variable is \"Lua 5.1\".",
659
+ "returnvalues": [],
660
+ "parameters": [],
661
+ "examples": "",
662
+ "replaces": "",
663
+ "error": "",
664
+ "tparams": [],
665
+ "members": [],
666
+ "notes": [],
667
+ "language": ""
668
+ },
669
+ {
670
+ "type": "FUNCTION",
671
+ "name": "xpcall",
672
+ "brief": "calls a function with a custom error handler",
673
+ "description": "This function is similar to pcall,\nexcept that you can set a new error handler.\nxpcall calls function f in protected mode,\nusing err as the error handler.\nAny error inside f is not propagated;\ninstead, xpcall catches the error,\ncalls the err function with the original error object,\nand returns a status code.\nIts first result is the status code (a boolean),\nwhich is true if the call succeeds without errors.\nIn this case, xpcall also returns all results from the call,\nafter this first result.\nIn case of any error,\nxpcall returns <span class=\"type\"> false</span> plus the result from err.",
674
+ "returnvalues": [],
675
+ "parameters": [
676
+ {
677
+ "name": "f",
678
+ "doc": "",
679
+ "types": ["function"],
680
+ "is_optional": "False"
681
+ },
682
+ {
683
+ "name": "err",
684
+ "doc": "",
685
+ "types": ["string"],
686
+ "is_optional": "False"
687
+ }
688
+ ],
689
+ "examples": "",
690
+ "replaces": "",
691
+ "error": "",
692
+ "tparams": [],
693
+ "members": [],
694
+ "notes": [],
695
+ "language": ""
696
+ },
697
+ {
698
+ "type": "FUNCTION",
699
+ "name": "module",
700
+ "brief": "creates a Lua module",
701
+ "description": "Creates a module.\nIf there is a table in <code>package.loaded[name]</code>,\nthis table is the module.\nOtherwise, if there is a global table t with the given name,\nthis table is the module.\nOtherwise creates a new table t and\nsets it as the value of the global name and\nthe value of <code>package.loaded[name]</code>.\nThis function also initializes t._NAME with the given name,\nt._M with the module (t itself),\nand t._PACKAGE with the package name\n(the full module name minus last component; see below).\nFinally, module sets t as the new environment\nof the current function and the new value of <code>package.loaded[name]</code>,\nso that require returns t.\nIf name is a compound name\n(that is, one with components separated by dots),\nmodule creates (or reuses, if they already exist)\ntables for each component.\nFor instance, if name is a.b.c,\nthen module stores the module table in field c of\nfield b of global a.\nThis function can receive optional <em>options</em> after\nthe module name,\nwhere each option is a function to be applied over the module.",
702
+ "returnvalues": [],
703
+ "parameters": [
704
+ {
705
+ "name": "name",
706
+ "doc": "",
707
+ "types": ["string"],
708
+ "is_optional": "False"
709
+ },
710
+ {
711
+ "name": "...",
712
+ "doc": "",
713
+ "types": ["..."],
714
+ "is_optional": "True"
715
+ }
716
+ ],
717
+ "examples": "",
718
+ "replaces": "",
719
+ "error": "",
720
+ "tparams": [],
721
+ "members": [],
722
+ "notes": [],
723
+ "language": ""
724
+ },
725
+ {
726
+ "type": "FUNCTION",
727
+ "name": "require",
728
+ "brief": "loads a module",
729
+ "description": "Loads the given module.\nThe function starts by looking into the package.loaded table\nto determine whether modname is already loaded.\nIf it is, then require returns the value stored\nat <code>package.loaded[modname]</code>.\nOtherwise, it tries to find a <em>loader</em> for the module.\nTo find a loader,\nrequire is guided by the package.loaders array.\nBy changing this array,\nwe can change how require looks for a module.\nThe following explanation is based on the default configuration\nfor package.loaders.\nFirst require queries <code>package.preload[modname]</code>.\nIf it has a value,\nthis value (which should be a function) is the loader.\nOtherwise require searches for a Lua loader using the\npath stored in package.path.\nIf that also fails, it searches for a C loader using the\npath stored in package.cpath.\nIf that also fails,\nit tries an <em>all-in-one</em> loader .\nOnce a loader is found,\nrequire calls the loader with a single argument, modname.\nIf the loader returns any value,\nrequire assigns the returned value to <code>package.loaded[modname]</code>.\nIf the loader returns no value and\nhas not assigned any value to <code>package.loaded[modname]</code>,\nthen require assigns true to this entry.\nIn any case, require returns the\nfinal value of <code>package.loaded[modname]</code>.\nIf there is any error loading or running the module,\nor if it cannot find any loader for the module,\nthen require signals an error.",
730
+ "returnvalues": [],
731
+ "parameters": [
732
+ {
733
+ "name": "modname",
734
+ "doc": "",
735
+ "types": ["string"],
736
+ "is_optional": "False"
737
+ }
738
+ ],
739
+ "examples": "",
740
+ "replaces": "",
741
+ "error": "",
742
+ "tparams": [],
743
+ "members": [],
744
+ "notes": [],
745
+ "language": ""
746
+ }
747
+ ],
748
+ "info": {
749
+ "namespace": "base",
750
+ "name": "Base",
751
+ "brief": "Lua base standard library",
752
+ "description": "Documentation for the Lua base standard library.\n\nFrom [Lua 5.1 Reference Manual](https://www.lua.org/manual/5.1/)\nby Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes.\n\nCopyright &copy; 2006-2012 Lua.org, PUC-Rio.\n\nFreely available under the terms of the [Lua license](https://www.lua.org/license.html).",
753
+ "path": "engine/lua/src/lua_base.doc_h",
754
+ "file": "",
755
+ "notes": [],
756
+ "language": "Lua"
757
+ },
758
+ "format_version": 2
759
+ }