@defold-typescript/library-types 0.22.0 → 0.24.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 (145) hide show
  1. package/api-doc/boom.json +3870 -0
  2. package/api-doc/{bridge.bridge.json → bridge.json} +754 -844
  3. package/api-doc/bzAnim.json +338 -0
  4. package/api-doc/decore.json +23 -23
  5. package/api-doc/defcon.json +150 -0
  6. package/api-doc/{defmath.defmath.json → defmath.json} +6 -46
  7. package/api-doc/defsave.json +518 -0
  8. package/api-doc/deftest.json +741 -0
  9. package/api-doc/{dicebag.dicebag.json → dicebag.json} +19 -1
  10. package/api-doc/druid.json +249 -1846
  11. package/api-doc/event.json +1074 -0
  12. package/api-doc/gooey.json +2050 -0
  13. package/api-doc/immutable.json +65 -0
  14. package/api-doc/in.accelerometer.json +75 -1
  15. package/api-doc/in.button.json +17 -10
  16. package/api-doc/in.cursor.json +26 -0
  17. package/api-doc/in.gesture.json +401 -6
  18. package/api-doc/in.keyboard.json +2 -0
  19. package/api-doc/in.mapper.json +12 -8
  20. package/api-doc/in.onscreen.json +61 -5
  21. package/api-doc/in.state.json +61 -13
  22. package/api-doc/in.textbox.json +23 -12
  23. package/api-doc/in.triggers.json +336 -0
  24. package/api-doc/lang.json +528 -0
  25. package/api-doc/{event.event.json → log.json} +96 -101
  26. package/api-doc/metrics.fps.json +61 -2
  27. package/api-doc/metrics.mem.json +61 -2
  28. package/api-doc/monarch.monarch.json +249 -7
  29. package/api-doc/monarch.transitions.easings.json +19 -26
  30. package/api-doc/monarch.transitions.gui.json +782 -79
  31. package/api-doc/nakama.engine.defold.json +31 -18
  32. package/api-doc/{nakama.nakama.json → nakama.json} +4752 -2554
  33. package/api-doc/nakama.util.log.json +32 -4
  34. package/api-doc/narrator.json +647 -0
  35. package/api-doc/openapi/nakama.nakama.json +7680 -0
  36. package/api-doc/orthographic.camera.json +96 -98
  37. package/api-doc/orthographic.json +602 -0
  38. package/api-doc/panthera.json +1183 -0
  39. package/api-doc/{persist.persist.json → persist.json} +26 -1
  40. package/api-doc/{platypus.platypus.json → platypus.json} +68 -14
  41. package/api-doc/proto.json +995 -0
  42. package/api-doc/{rendy.rendy.json → rendy.json} +46 -99
  43. package/api-doc/richtext.color.json +77 -0
  44. package/api-doc/richtext.richtext.json +375 -5
  45. package/api-doc/saver.saver.json +714 -263
  46. package/api-doc/saver.storage.json +283 -52
  47. package/api-doc/squid.json +846 -0
  48. package/api-doc/{starly.starly.json → starly.json} +1 -1
  49. package/api-doc/tweener.json +277 -0
  50. package/api-doc/{yagames.yagames.json → yagames.json} +784 -189
  51. package/api-doc/{zzfx.api.json → zzfx.json} +9 -9
  52. package/authored-targets.json +403 -0
  53. package/generated/{boom.boom.d.ts → boom.d.ts} +14 -0
  54. package/generated/bridge.d.ts +468 -0
  55. package/generated/{bzAnim.bzLibrary.d.ts → bzAnim.d.ts} +6 -0
  56. package/generated/decore.d.ts +37 -37
  57. package/generated/defcon.d.ts +43 -0
  58. package/generated/{defmath.defmath.d.ts → defmath.d.ts} +3 -2
  59. package/generated/defsave.d.ts +144 -0
  60. package/generated/{dicebag.dicebag.d.ts → dicebag.d.ts} +25 -0
  61. package/generated/druid.d.ts +198 -502
  62. package/generated/event.d.ts +318 -0
  63. package/generated/{gooey.gooey.d.ts → gooey.d.ts} +61 -6
  64. package/generated/immutable.d.ts +13 -0
  65. package/generated/in.onscreen.d.ts +5 -0
  66. package/generated/in.textbox.d.ts +4 -0
  67. package/generated/lang.d.ts +101 -0
  68. package/generated/log.d.ts +36 -0
  69. package/generated/metrics.fps.d.ts +19 -1
  70. package/generated/metrics.mem.d.ts +19 -1
  71. package/generated/monarch.monarch.d.ts +44 -1
  72. package/generated/monarch.transitions.easings.d.ts +0 -1
  73. package/generated/monarch.transitions.gui.d.ts +96 -12
  74. package/generated/nakama.d.ts +1158 -0
  75. package/generated/nakama.engine.defold.d.ts +3 -1
  76. package/generated/nakama.util.log.d.ts +6 -0
  77. package/generated/narrator.d.ts +121 -0
  78. package/generated/openapi/nakama.nakama.d.ts +884 -0
  79. package/generated/orthographic.camera.d.ts +24 -38
  80. package/generated/orthographic.d.ts +155 -0
  81. package/generated/panthera.d.ts +170 -0
  82. package/generated/{persist.persist.d.ts → persist.d.ts} +3 -0
  83. package/generated/{platypus.platypus.d.ts → platypus.d.ts} +9 -0
  84. package/generated/proto.d.ts +146 -0
  85. package/generated/{rendy.rendy.d.ts → rendy.d.ts} +33 -80
  86. package/generated/richtext.color.d.ts +15 -0
  87. package/generated/saver.saver.d.ts +289 -42
  88. package/generated/saver.storage.d.ts +79 -14
  89. package/generated/squid.d.ts +127 -0
  90. package/generated/tweener.d.ts +42 -0
  91. package/generated/{yagames.yagames.d.ts → yagames.d.ts} +151 -29
  92. package/generated/{zzfx.api.d.ts → zzfx.d.ts} +7 -0
  93. package/library-classification.json +0 -227
  94. package/library-targets.json +1 -284
  95. package/luals-targets.json +168 -1
  96. package/openapi-targets.json +17 -0
  97. package/package.json +9 -88
  98. package/script-api-targets.json +15 -0
  99. package/scripts/__snapshots__/parse-luals.test.ts.snap +504 -85
  100. package/scripts/apply-luals-overrides.ts +95 -0
  101. package/scripts/authored-parity.ts +718 -0
  102. package/scripts/emit-library-dts.ts +177 -19
  103. package/scripts/extract-api-doc.ts +189 -38
  104. package/scripts/fidelity-floor.ts +178 -0
  105. package/scripts/import-upstream-docs.ts +125 -0
  106. package/scripts/lower-api-doc.ts +69 -19
  107. package/scripts/luals-fidelity.ts +22 -10
  108. package/scripts/map-luals-types.ts +86 -22
  109. package/scripts/parse-lua-surface.ts +187 -0
  110. package/scripts/parse-luals.ts +473 -22
  111. package/scripts/parse-markdown-api.ts +247 -0
  112. package/scripts/parse-openapi-api.ts +313 -0
  113. package/scripts/sync-authored-types.ts +249 -0
  114. package/scripts/sync-library-types.ts +99 -3
  115. package/scripts/sync-luals-types.ts +29 -2
  116. package/scripts/sync-markdown-types.ts +761 -0
  117. package/scripts/sync-openapi-types.ts +308 -0
  118. package/scripts/sync-script-api-types.ts +367 -0
  119. package/api-doc/boom.boom.json +0 -26
  120. package/api-doc/bzAnim.bzLibrary.json +0 -156
  121. package/api-doc/defcon.console.json +0 -109
  122. package/api-doc/defsave.defsave.json +0 -175
  123. package/api-doc/deftest.deftest.json +0 -71
  124. package/api-doc/gooey.gooey.json +0 -963
  125. package/api-doc/immutable.immutable.json +0 -63
  126. package/api-doc/lang.lang.json +0 -411
  127. package/api-doc/log.log.json +0 -50
  128. package/api-doc/narrator.narrator.json +0 -150
  129. package/api-doc/proto.proto.json +0 -355
  130. package/api-doc/squid.squid.json +0 -660
  131. package/api-doc/tweener.tweener.json +0 -419
  132. package/generated/bridge.bridge.d.ts +0 -533
  133. package/generated/defcon.console.d.ts +0 -24
  134. package/generated/defsave.defsave.d.ts +0 -31
  135. package/generated/event.event.d.ts +0 -54
  136. package/generated/immutable.immutable.d.ts +0 -13
  137. package/generated/lang.lang.d.ts +0 -33
  138. package/generated/log.log.d.ts +0 -40
  139. package/generated/nakama.nakama.d.ts +0 -594
  140. package/generated/narrator.narrator.d.ts +0 -66
  141. package/generated/proto.proto.d.ts +0 -36
  142. package/generated/squid.squid.d.ts +0 -106
  143. package/generated/tweener.tweener.d.ts +0 -151
  144. /package/generated/{deftest.deftest.d.ts → deftest.d.ts} +0 -0
  145. /package/generated/{starly.starly.d.ts → starly.d.ts} +0 -0
@@ -56,7 +56,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
56
56
  },
57
57
  {
58
58
  "doc": "Custom args to pass in the callback",
59
- "isOptional": false,
59
+ "isOptional": true,
60
60
  "name": "params",
61
61
  "types": [
62
62
  "any?",
@@ -72,6 +72,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
72
72
  "params": [
73
73
  {
74
74
  "doc": "The callback to call when the back handler is triggered",
75
+ "isNilable": true,
75
76
  "isOptional": false,
76
77
  "isVararg": false,
77
78
  "name": "callback",
@@ -81,6 +82,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
81
82
  },
82
83
  {
83
84
  "doc": "Custom args to pass in the callback",
85
+ "isNilable": true,
84
86
  "isOptional": false,
85
87
  "isVararg": false,
86
88
  "name": "params",
@@ -126,6 +128,7 @@ Create back handler component with druid: \`druid:new_back_handler(callback)\`
126
128
  ],
127
129
  },
128
130
  ],
131
+ "visibility": "private",
129
132
  },
130
133
  ],
131
134
  "name": "druid.back_handler",
@@ -216,6 +219,7 @@ Create blocker component with druid: \`druid:new_blocker(node_name)\`
216
219
  ],
217
220
  },
218
221
  ],
222
+ "visibility": "private",
219
223
  },
220
224
  {
221
225
  "brief": "Set blocker enabled state",
@@ -272,7 +276,7 @@ You can override this component styles params in Druid styles table or create yo
272
276
  "fields": [
273
277
  {
274
278
  "doc": "Minimum time to trigger on_hold_callback. Default: 0.4",
275
- "isOptional": false,
279
+ "isOptional": true,
276
280
  "name": "LONGTAP_TIME",
277
281
  "types": [
278
282
  "number|nil",
@@ -280,7 +284,7 @@ You can override this component styles params in Druid styles table or create yo
280
284
  },
281
285
  {
282
286
  "doc": "Maximum hold time to trigger button release while holding. Default: 0.8",
283
- "isOptional": false,
287
+ "isOptional": true,
284
288
  "name": "AUTOHOLD_TRIGGER",
285
289
  "types": [
286
290
  "number|nil",
@@ -288,7 +292,7 @@ You can override this component styles params in Druid styles table or create yo
288
292
  },
289
293
  {
290
294
  "doc": "Time between double taps. Default: 0.4",
291
- "isOptional": false,
295
+ "isOptional": true,
292
296
  "name": "DOUBLETAP_TIME",
293
297
  "types": [
294
298
  "number|nil",
@@ -296,7 +300,7 @@ You can override this component styles params in Druid styles table or create yo
296
300
  },
297
301
  {
298
302
  "doc": "",
299
- "isOptional": false,
303
+ "isOptional": true,
300
304
  "name": "on_init",
301
305
  "types": [
302
306
  "fun(self)|nil",
@@ -304,7 +308,7 @@ You can override this component styles params in Druid styles table or create yo
304
308
  },
305
309
  {
306
310
  "doc": "",
307
- "isOptional": false,
311
+ "isOptional": true,
308
312
  "name": "on_click",
309
313
  "types": [
310
314
  "fun(self, node)|nil",
@@ -312,7 +316,7 @@ You can override this component styles params in Druid styles table or create yo
312
316
  },
313
317
  {
314
318
  "doc": "",
315
- "isOptional": false,
319
+ "isOptional": true,
316
320
  "name": "on_click_disabled",
317
321
  "types": [
318
322
  "fun(self, node)|nil",
@@ -320,7 +324,7 @@ You can override this component styles params in Druid styles table or create yo
320
324
  },
321
325
  {
322
326
  "doc": "",
323
- "isOptional": false,
327
+ "isOptional": true,
324
328
  "name": "on_hover",
325
329
  "types": [
326
330
  "fun(self, node, hover_state)|nil",
@@ -328,7 +332,7 @@ You can override this component styles params in Druid styles table or create yo
328
332
  },
329
333
  {
330
334
  "doc": "",
331
- "isOptional": false,
335
+ "isOptional": true,
332
336
  "name": "on_mouse_hover",
333
337
  "types": [
334
338
  "fun(self, node, hover_state)|nil",
@@ -336,7 +340,7 @@ You can override this component styles params in Druid styles table or create yo
336
340
  },
337
341
  {
338
342
  "doc": "",
339
- "isOptional": false,
343
+ "isOptional": true,
340
344
  "name": "on_set_enabled",
341
345
  "types": [
342
346
  "fun(self, node, enabled_state)|nil",
@@ -466,7 +470,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
466
470
  },
467
471
  {
468
472
  "doc": "Click zone node to restrict click area",
469
- "isOptional": false,
473
+ "isOptional": true,
470
474
  "name": "click_zone",
471
475
  "types": [
472
476
  "node|nil",
@@ -531,6 +535,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
531
535
  },
532
536
  {
533
537
  "doc": "Callback on button click",
538
+ "isNilable": true,
534
539
  "isOptional": false,
535
540
  "isVararg": false,
536
541
  "name": "callback",
@@ -540,6 +545,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
540
545
  },
541
546
  {
542
547
  "doc": "Custom args for any Button event, will be passed to callbacks",
548
+ "isNilable": true,
543
549
  "isOptional": false,
544
550
  "isVararg": false,
545
551
  "name": "custom_args",
@@ -549,6 +555,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
549
555
  },
550
556
  {
551
557
  "doc": "Node to animate instead of trigger node, useful for animating small icons on big panels",
558
+ "isNilable": true,
552
559
  "isOptional": false,
553
560
  "isVararg": false,
554
561
  "name": "anim_node",
@@ -575,6 +582,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
575
582
  },
576
583
  ],
577
584
  "returns": [],
585
+ "visibility": "private",
578
586
  },
579
587
  {
580
588
  "brief": "Remove default button style animations",
@@ -599,6 +607,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
599
607
  "name": "on_late_init",
600
608
  "params": [],
601
609
  "returns": [],
610
+ "visibility": "private",
602
611
  },
603
612
  {
604
613
  "brief": "",
@@ -635,6 +644,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
635
644
  ],
636
645
  },
637
646
  ],
647
+ "visibility": "private",
638
648
  },
639
649
  {
640
650
  "brief": "",
@@ -642,6 +652,7 @@ Where node_name is name of node from GUI scene. You can use \`node_name\` as inp
642
652
  "name": "on_input_interrupt",
643
653
  "params": [],
644
654
  "returns": [],
655
+ "visibility": "private",
645
656
  },
646
657
  {
647
658
  "brief":
@@ -654,6 +665,7 @@ Disabled button is not clickable."
654
665
  "params": [
655
666
  {
656
667
  "doc": "Enabled state",
668
+ "isNilable": true,
657
669
  "isOptional": false,
658
670
  "isVararg": false,
659
671
  "name": "state",
@@ -705,6 +717,7 @@ If button node placed inside stencil node, it will be automatically set to this
705
717
  "params": [
706
718
  {
707
719
  "doc": "Gui node",
720
+ "isNilable": true,
708
721
  "isOptional": false,
709
722
  "isVararg": false,
710
723
  "name": "zone",
@@ -776,6 +789,7 @@ If button node placed inside stencil node, it will be automatically set to this
776
789
  "params": [
777
790
  {
778
791
  "doc": "Should return true or false. If true - button can be pressed.",
792
+ "isNilable": true,
779
793
  "isOptional": false,
780
794
  "isVararg": false,
781
795
  "name": "check_function",
@@ -785,6 +799,7 @@ If button node placed inside stencil node, it will be automatically set to this
785
799
  },
786
800
  {
787
801
  "doc": "Function will be called on button click, if check function returns false",
802
+ "isNilable": true,
788
803
  "isOptional": false,
789
804
  "isVararg": false,
790
805
  "name": "failure_callback",
@@ -819,6 +834,7 @@ If the game is not HTML, html mode will be not enabled"
819
834
  "params": [
820
835
  {
821
836
  "doc": "If true - button will be called inside html5 callback",
837
+ "isNilable": true,
822
838
  "isOptional": false,
823
839
  "isVararg": false,
824
840
  "name": "is_web_mode",
@@ -1041,7 +1057,7 @@ If the game is not HTML, html mode will be not enabled"
1041
1057
  },
1042
1058
  {
1043
1059
  "doc": "The click zone of Drag component",
1044
- "isOptional": false,
1060
+ "isOptional": true,
1045
1061
  "name": "click_zone",
1046
1062
  "types": [
1047
1063
  "node|nil",
@@ -1215,6 +1231,7 @@ If the game is not HTML, html mode will be not enabled"
1215
1231
  },
1216
1232
  ],
1217
1233
  "returns": [],
1234
+ "visibility": "private",
1218
1235
  },
1219
1236
  {
1220
1237
  "brief": "Set Drag component enabled state.",
@@ -1239,6 +1256,7 @@ If the game is not HTML, html mode will be not enabled"
1239
1256
  "name": "on_late_init",
1240
1257
  "params": [],
1241
1258
  "returns": [],
1259
+ "visibility": "private",
1242
1260
  },
1243
1261
  {
1244
1262
  "brief": "",
@@ -1246,6 +1264,7 @@ If the game is not HTML, html mode will be not enabled"
1246
1264
  "name": "on_window_resized",
1247
1265
  "params": [],
1248
1266
  "returns": [],
1267
+ "visibility": "private",
1249
1268
  },
1250
1269
  {
1251
1270
  "brief": "",
@@ -1253,6 +1272,7 @@ If the game is not HTML, html mode will be not enabled"
1253
1272
  "name": "on_input_interrupt",
1254
1273
  "params": [],
1255
1274
  "returns": [],
1275
+ "visibility": "private",
1256
1276
  },
1257
1277
  {
1258
1278
  "brief": "",
@@ -1289,6 +1309,7 @@ If the game is not HTML, html mode will be not enabled"
1289
1309
  ],
1290
1310
  },
1291
1311
  ],
1312
+ "visibility": "private",
1292
1313
  },
1293
1314
  {
1294
1315
  "brief": "Set Drag click zone",
@@ -1297,6 +1318,7 @@ If the game is not HTML, html mode will be not enabled"
1297
1318
  "params": [
1298
1319
  {
1299
1320
  "doc": "Node or node id",
1321
+ "isNilable": true,
1300
1322
  "isOptional": false,
1301
1323
  "isVararg": false,
1302
1324
  "name": "node",
@@ -1375,6 +1397,7 @@ If the game is not HTML, html mode will be not enabled"
1375
1397
  "params": [
1376
1398
  {
1377
1399
  "doc": "",
1400
+ "isNilable": true,
1378
1401
  "isOptional": false,
1379
1402
  "isVararg": false,
1380
1403
  "name": "touch",
@@ -1496,7 +1519,7 @@ touches exists to switch to another touch."
1496
1519
  "fields": [
1497
1520
  {
1498
1521
  "doc": "Mouse hover style on node hover",
1499
- "isOptional": false,
1522
+ "isOptional": true,
1500
1523
  "name": "ON_HOVER_CURSOR",
1501
1524
  "types": [
1502
1525
  "string|number|nil",
@@ -1504,7 +1527,7 @@ touches exists to switch to another touch."
1504
1527
  },
1505
1528
  {
1506
1529
  "doc": "Mouse hover style on node mouse hover",
1507
- "isOptional": false,
1530
+ "isOptional": true,
1508
1531
  "name": "ON_MOUSE_HOVER_CURSOR",
1509
1532
  "types": [
1510
1533
  "string|number|nil",
@@ -1561,7 +1584,7 @@ touches exists to switch to another touch."
1561
1584
  },
1562
1585
  {
1563
1586
  "doc": "True if the node is hovered",
1564
- "isOptional": false,
1587
+ "isOptional": true,
1565
1588
  "name": "_is_hovered",
1566
1589
  "types": [
1567
1590
  "boolean|nil",
@@ -1570,7 +1593,7 @@ touches exists to switch to another touch."
1570
1593
  },
1571
1594
  {
1572
1595
  "doc": "True if the node is mouse hovered",
1573
- "isOptional": false,
1596
+ "isOptional": true,
1574
1597
  "name": "_is_mouse_hovered",
1575
1598
  "types": [
1576
1599
  "boolean|nil",
@@ -1579,7 +1602,7 @@ touches exists to switch to another touch."
1579
1602
  },
1580
1603
  {
1581
1604
  "doc": "True if the hover component is enabled",
1582
- "isOptional": false,
1605
+ "isOptional": true,
1583
1606
  "name": "_is_enabled",
1584
1607
  "types": [
1585
1608
  "boolean|nil",
@@ -1639,6 +1662,7 @@ touches exists to switch to another touch."
1639
1662
  "name": "on_late_init",
1640
1663
  "params": [],
1641
1664
  "returns": [],
1665
+ "visibility": "private",
1642
1666
  },
1643
1667
  {
1644
1668
  "brief": "",
@@ -1656,6 +1680,7 @@ touches exists to switch to another touch."
1656
1680
  },
1657
1681
  ],
1658
1682
  "returns": [],
1683
+ "visibility": "private",
1659
1684
  },
1660
1685
  {
1661
1686
  "brief": "",
@@ -1692,6 +1717,7 @@ touches exists to switch to another touch."
1692
1717
  ],
1693
1718
  },
1694
1719
  ],
1720
+ "visibility": "private",
1695
1721
  },
1696
1722
  {
1697
1723
  "brief": "",
@@ -1699,6 +1725,7 @@ touches exists to switch to another touch."
1699
1725
  "name": "on_input_interrupt",
1700
1726
  "params": [],
1701
1727
  "returns": [],
1728
+ "visibility": "private",
1702
1729
  },
1703
1730
  {
1704
1731
  "brief": "Set hover state",
@@ -1707,6 +1734,7 @@ touches exists to switch to another touch."
1707
1734
  "params": [
1708
1735
  {
1709
1736
  "doc": "The hover state",
1737
+ "isNilable": true,
1710
1738
  "isOptional": false,
1711
1739
  "isVararg": false,
1712
1740
  "name": "state",
@@ -1741,6 +1769,7 @@ touches exists to switch to another touch."
1741
1769
  "params": [
1742
1770
  {
1743
1771
  "doc": "The mouse hover state",
1772
+ "isNilable": true,
1744
1773
  "isOptional": false,
1745
1774
  "isVararg": false,
1746
1775
  "name": "state",
@@ -1775,6 +1804,7 @@ touches exists to switch to another touch."
1775
1804
  "params": [
1776
1805
  {
1777
1806
  "doc": "Gui node",
1807
+ "isNilable": true,
1778
1808
  "isOptional": false,
1779
1809
  "isVararg": false,
1780
1810
  "name": "zone",
@@ -1796,6 +1826,7 @@ any hover events"
1796
1826
  "params": [
1797
1827
  {
1798
1828
  "doc": "The hover enabled state",
1829
+ "isNilable": true,
1799
1830
  "isOptional": false,
1800
1831
  "isVararg": false,
1801
1832
  "name": "state",
@@ -1829,6 +1860,7 @@ any hover events"
1829
1860
  "name": "on_remove",
1830
1861
  "params": [],
1831
1862
  "returns": [],
1863
+ "visibility": "private",
1832
1864
  },
1833
1865
  {
1834
1866
  "brief": "",
@@ -1836,6 +1868,7 @@ any hover events"
1836
1868
  "name": "_set_cursor",
1837
1869
  "params": [],
1838
1870
  "returns": [],
1871
+ "visibility": "local",
1839
1872
  },
1840
1873
  ],
1841
1874
  "name": "druid.hover",
@@ -1845,7 +1878,7 @@ any hover events"
1845
1878
  "fields": [
1846
1879
  {
1847
1880
  "doc": "Multiplier for free inertion. Default: 0",
1848
- "isOptional": false,
1881
+ "isOptional": true,
1849
1882
  "name": "FRICT",
1850
1883
  "types": [
1851
1884
  "number|nil",
@@ -1853,7 +1886,7 @@ any hover events"
1853
1886
  },
1854
1887
  {
1855
1888
  "doc": "Multiplier for inertion, while touching. Default: 0",
1856
- "isOptional": false,
1889
+ "isOptional": true,
1857
1890
  "name": "FRICT_HOLD",
1858
1891
  "types": [
1859
1892
  "number|nil",
@@ -1861,7 +1894,7 @@ any hover events"
1861
1894
  },
1862
1895
  {
1863
1896
  "doc": "Scroll speed to stop inertion. Default: 3",
1864
- "isOptional": false,
1897
+ "isOptional": true,
1865
1898
  "name": "INERT_THRESHOLD",
1866
1899
  "types": [
1867
1900
  "number|nil",
@@ -1869,7 +1902,7 @@ any hover events"
1869
1902
  },
1870
1903
  {
1871
1904
  "doc": "Multiplier for inertion speed. Default: 30",
1872
- "isOptional": false,
1905
+ "isOptional": true,
1873
1906
  "name": "INERT_SPEED",
1874
1907
  "types": [
1875
1908
  "number|nil",
@@ -1877,7 +1910,7 @@ any hover events"
1877
1910
  },
1878
1911
  {
1879
1912
  "doc": "Speed to check points of interests in no_inertion mode. Default: 20",
1880
- "isOptional": false,
1913
+ "isOptional": true,
1881
1914
  "name": "POINTS_DEADZONE",
1882
1915
  "types": [
1883
1916
  "number|nil",
@@ -1885,7 +1918,7 @@ any hover events"
1885
1918
  },
1886
1919
  {
1887
1920
  "doc": "Scroll back returning lerp speed. Default: 35",
1888
- "isOptional": false,
1921
+ "isOptional": true,
1889
1922
  "name": "BACK_SPEED",
1890
1923
  "types": [
1891
1924
  "number|nil",
@@ -1893,7 +1926,7 @@ any hover events"
1893
1926
  },
1894
1927
  {
1895
1928
  "doc": "Scroll gui.animation speed for scroll_to function. Default: 2",
1896
- "isOptional": false,
1929
+ "isOptional": true,
1897
1930
  "name": "ANIM_SPEED",
1898
1931
  "types": [
1899
1932
  "number|nil",
@@ -1901,7 +1934,7 @@ any hover events"
1901
1934
  },
1902
1935
  {
1903
1936
  "doc": "extra size in pixels outside of scroll (stretch effect). Default: 0",
1904
- "isOptional": false,
1937
+ "isOptional": true,
1905
1938
  "name": "EXTRA_STRETCH_SIZE",
1906
1939
  "types": [
1907
1940
  "number|nil",
@@ -1909,7 +1942,7 @@ any hover events"
1909
1942
  },
1910
1943
  {
1911
1944
  "doc": "If true, content node with size less than view node size can be scrolled. Default: false",
1912
- "isOptional": false,
1945
+ "isOptional": true,
1913
1946
  "name": "SMALL_CONTENT_SCROLL",
1914
1947
  "types": [
1915
1948
  "boolean|nil",
@@ -1917,7 +1950,7 @@ any hover events"
1917
1950
  },
1918
1951
  {
1919
1952
  "doc": "The scroll speed via mouse wheel scroll or touchpad. Set to 0 to disable wheel scrolling. Default: 0",
1920
- "isOptional": false,
1953
+ "isOptional": true,
1921
1954
  "name": "WHEEL_SCROLL_SPEED",
1922
1955
  "types": [
1923
1956
  "number|nil",
@@ -1925,7 +1958,7 @@ any hover events"
1925
1958
  },
1926
1959
  {
1927
1960
  "doc": "If true, invert direction for touchpad and mouse wheel scroll. Default: false",
1928
- "isOptional": false,
1961
+ "isOptional": true,
1929
1962
  "name": "WHEEL_SCROLL_INVERTED",
1930
1963
  "types": [
1931
1964
  "boolean|nil",
@@ -1933,7 +1966,7 @@ any hover events"
1933
1966
  },
1934
1967
  {
1935
1968
  "doc": "If true, wheel will add inertion to scroll. Direct set position otherwise.. Default: false",
1936
- "isOptional": false,
1969
+ "isOptional": true,
1937
1970
  "name": "WHEEL_SCROLL_BY_INERTION",
1938
1971
  "types": [
1939
1972
  "boolean|nil",
@@ -1976,7 +2009,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
1976
2009
  },
1977
2010
  {
1978
2011
  "doc": "Optional click zone to restrict scroll area",
1979
- "isOptional": false,
2012
+ "isOptional": true,
1980
2013
  "name": "click_zone",
1981
2014
  "types": [
1982
2015
  "node|nil",
@@ -2080,7 +2113,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2080
2113
  },
2081
2114
  {
2082
2115
  "doc": "Current selected point of interest index",
2083
- "isOptional": false,
2116
+ "isOptional": true,
2084
2117
  "name": "selected",
2085
2118
  "types": [
2086
2119
  "number|nil",
@@ -2219,6 +2252,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2219
2252
  },
2220
2253
  ],
2221
2254
  "returns": [],
2255
+ "visibility": "private",
2222
2256
  },
2223
2257
  {
2224
2258
  "brief": "",
@@ -2226,6 +2260,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2226
2260
  "name": "on_late_init",
2227
2261
  "params": [],
2228
2262
  "returns": [],
2263
+ "visibility": "private",
2229
2264
  },
2230
2265
  {
2231
2266
  "brief": "",
@@ -2233,6 +2268,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2233
2268
  "name": "on_layout_change",
2234
2269
  "params": [],
2235
2270
  "returns": [],
2271
+ "visibility": "private",
2236
2272
  },
2237
2273
  {
2238
2274
  "brief": "",
@@ -2240,6 +2276,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2240
2276
  "name": "update",
2241
2277
  "params": [],
2242
2278
  "returns": [],
2279
+ "visibility": "private",
2243
2280
  },
2244
2281
  {
2245
2282
  "brief": "",
@@ -2247,6 +2284,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2247
2284
  "name": "on_input",
2248
2285
  "params": [],
2249
2286
  "returns": [],
2287
+ "visibility": "private",
2250
2288
  },
2251
2289
  {
2252
2290
  "brief": "",
@@ -2254,6 +2292,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2254
2292
  "name": "on_remove",
2255
2293
  "params": [],
2256
2294
  "returns": [],
2295
+ "visibility": "private",
2257
2296
  },
2258
2297
  {
2259
2298
  "brief": "Start scroll to target point.",
@@ -2271,6 +2310,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2271
2310
  },
2272
2311
  {
2273
2312
  "doc": "Instant scroll flag",
2313
+ "isNilable": true,
2274
2314
  "isOptional": false,
2275
2315
  "isVararg": false,
2276
2316
  "name": "is_instant",
@@ -2297,6 +2337,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2297
2337
  },
2298
2338
  {
2299
2339
  "doc": "Instant scroll flag",
2340
+ "isNilable": true,
2300
2341
  "isOptional": false,
2301
2342
  "isVararg": false,
2302
2343
  "name": "is_instant",
@@ -2323,6 +2364,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2323
2364
  },
2324
2365
  {
2325
2366
  "doc": "If true, skip the point callback",
2367
+ "isNilable": true,
2326
2368
  "isOptional": false,
2327
2369
  "isVararg": false,
2328
2370
  "name": "is_silent",
@@ -2332,6 +2374,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2332
2374
  },
2333
2375
  {
2334
2376
  "doc": "Instant scroll flag",
2377
+ "isNilable": true,
2335
2378
  "isOptional": false,
2336
2379
  "isVararg": false,
2337
2380
  "name": "is_instant",
@@ -2358,6 +2401,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2358
2401
  },
2359
2402
  {
2360
2403
  "doc": "instant scroll flag",
2404
+ "isNilable": true,
2361
2405
  "isOptional": false,
2362
2406
  "isVararg": false,
2363
2407
  "name": "is_instant",
@@ -2401,6 +2445,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2401
2445
  },
2402
2446
  {
2403
2447
  "doc": "Offset value to set, where content is starts",
2448
+ "isNilable": true,
2404
2449
  "isOptional": false,
2405
2450
  "isVararg": false,
2406
2451
  "name": "offset",
@@ -2516,6 +2561,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2516
2561
  "params": [
2517
2562
  {
2518
2563
  "doc": "Size in pixels of additional scroll area",
2564
+ "isNilable": true,
2519
2565
  "isOptional": false,
2520
2566
  "isVararg": false,
2521
2567
  "name": "stretch_size",
@@ -2668,6 +2714,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2668
2714
  "params": [
2669
2715
  {
2670
2716
  "doc": "Druid grid component",
2717
+ "isNilable": true,
2671
2718
  "isOptional": false,
2672
2719
  "isVararg": false,
2673
2720
  "name": "grid",
@@ -2695,6 +2742,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2695
2742
  "params": [
2696
2743
  {
2697
2744
  "doc": "Druid layout component",
2745
+ "isNilable": true,
2698
2746
  "isOptional": false,
2699
2747
  "isVararg": false,
2700
2748
  "name": "layout",
@@ -2766,6 +2814,7 @@ Create scroll component with druid: \`druid:new_scroll(view_node, content_node)\
2766
2814
  "name": "_check_points",
2767
2815
  "params": [],
2768
2816
  "returns": [],
2817
+ "visibility": "private",
2769
2818
  },
2770
2819
  {
2771
2820
  "brief": "",
@@ -2905,7 +2954,7 @@ Field y have to <= field w"
2905
2954
  "fields": [
2906
2955
  {
2907
2956
  "doc": "If true, always center grid content as grid pivot sets. Default: false",
2908
- "isOptional": false,
2957
+ "isOptional": true,
2909
2958
  "name": "IS_DYNAMIC_NODE_POSES",
2910
2959
  "types": [
2911
2960
  "boolean|nil",
@@ -2913,7 +2962,7 @@ Field y have to <= field w"
2913
2962
  },
2914
2963
  {
2915
2964
  "doc": "If true, always align last row of the grid as grid pivot sets. Default: false",
2916
- "isOptional": false,
2965
+ "isOptional": true,
2917
2966
  "name": "IS_ALIGN_LAST_ROW",
2918
2967
  "types": [
2919
2968
  "boolean|nil",
@@ -3076,6 +3125,7 @@ Field y have to <= field w"
3076
3125
  },
3077
3126
  {
3078
3127
  "doc": "How many nodes in row can be placed. By default 1",
3128
+ "isNilable": true,
3079
3129
  "isOptional": false,
3080
3130
  "isVararg": false,
3081
3131
  "name": "in_row",
@@ -3102,6 +3152,7 @@ Field y have to <= field w"
3102
3152
  },
3103
3153
  ],
3104
3154
  "returns": [],
3155
+ "visibility": "private",
3105
3156
  },
3106
3157
  {
3107
3158
  "brief": "Return pos for grid node index",
@@ -3226,6 +3277,7 @@ Field y have to <= field w"
3226
3277
  "name": "on_layout_change",
3227
3278
  "params": [],
3228
3279
  "returns": [],
3280
+ "visibility": "private",
3229
3281
  },
3230
3282
  {
3231
3283
  "brief": "Set grid anchor. Default anchor is equal to anchor of grid parent node",
@@ -3304,6 +3356,7 @@ Field y have to <= field w"
3304
3356
  },
3305
3357
  {
3306
3358
  "doc": "The item position. By default add as last item",
3359
+ "isNilable": true,
3307
3360
  "isOptional": false,
3308
3361
  "isVararg": false,
3309
3362
  "name": "index",
@@ -3313,6 +3366,7 @@ Field y have to <= field w"
3313
3366
  },
3314
3367
  {
3315
3368
  "doc": "How shift nodes, if required. Default: const.SHIFT.RIGHT",
3369
+ "isNilable": true,
3316
3370
  "isOptional": false,
3317
3371
  "isVararg": false,
3318
3372
  "name": "shift_policy",
@@ -3322,6 +3376,7 @@ Field y have to <= field w"
3322
3376
  },
3323
3377
  {
3324
3378
  "doc": "If true, update node positions instantly",
3379
+ "isNilable": true,
3325
3380
  "isOptional": false,
3326
3381
  "isVararg": false,
3327
3382
  "name": "is_instant",
@@ -3358,6 +3413,7 @@ Field y have to <= field w"
3358
3413
  },
3359
3414
  {
3360
3415
  "doc": "If true, update node positions instantly",
3416
+ "isNilable": true,
3361
3417
  "isOptional": false,
3362
3418
  "isVararg": false,
3363
3419
  "name": "is_instant",
@@ -3394,6 +3450,7 @@ Field y have to <= field w"
3394
3450
  },
3395
3451
  {
3396
3452
  "doc": "How shift nodes, if required. Default: const.SHIFT.RIGHT",
3453
+ "isNilable": true,
3397
3454
  "isOptional": false,
3398
3455
  "isVararg": false,
3399
3456
  "name": "shift_policy",
@@ -3403,6 +3460,7 @@ Field y have to <= field w"
3403
3460
  },
3404
3461
  {
3405
3462
  "doc": "If true, update node positions instantly",
3463
+ "isNilable": true,
3406
3464
  "isOptional": false,
3407
3465
  "isVararg": false,
3408
3466
  "name": "is_instant",
@@ -3613,6 +3671,7 @@ Field y have to <= field w"
3613
3671
  "params": [
3614
3672
  {
3615
3673
  "doc": "The new node width",
3674
+ "isNilable": true,
3616
3675
  "isOptional": false,
3617
3676
  "isVararg": false,
3618
3677
  "name": "width",
@@ -3622,6 +3681,7 @@ Field y have to <= field w"
3622
3681
  },
3623
3682
  {
3624
3683
  "doc": "The new node height",
3684
+ "isNilable": true,
3625
3685
  "isOptional": false,
3626
3686
  "isVararg": false,
3627
3687
  "name": "height",
@@ -3676,6 +3736,7 @@ Field y have to <= field w"
3676
3736
  "params": [
3677
3737
  {
3678
3738
  "doc": "If true, node position update instantly, otherwise with set_position_function callback",
3739
+ "isNilable": true,
3679
3740
  "isOptional": false,
3680
3741
  "isVararg": false,
3681
3742
  "name": "is_instant",
@@ -3685,6 +3746,7 @@ Field y have to <= field w"
3685
3746
  },
3686
3747
  ],
3687
3748
  "returns": [],
3749
+ "visibility": "private",
3688
3750
  },
3689
3751
  {
3690
3752
  "brief": "Update first and last indexes of grid nodes",
@@ -3692,6 +3754,7 @@ Field y have to <= field w"
3692
3754
  "name": "_update_indexes",
3693
3755
  "params": [],
3694
3756
  "returns": [],
3757
+ "visibility": "private",
3695
3758
  },
3696
3759
  {
3697
3760
  "brief": "Update grid content borders, recalculate min and max values",
@@ -3699,6 +3762,7 @@ Field y have to <= field w"
3699
3762
  "name": "_update_borders",
3700
3763
  "params": [],
3701
3764
  "returns": [],
3765
+ "visibility": "private",
3702
3766
  },
3703
3767
  {
3704
3768
  "brief": "Update grid nodes position",
@@ -3707,6 +3771,7 @@ Field y have to <= field w"
3707
3771
  "params": [
3708
3772
  {
3709
3773
  "doc": "If true, node position update instantly, otherwise with set_position_function callback",
3774
+ "isNilable": true,
3710
3775
  "isOptional": false,
3711
3776
  "isVararg": false,
3712
3777
  "name": "is_instant",
@@ -3716,6 +3781,7 @@ Field y have to <= field w"
3716
3781
  },
3717
3782
  ],
3718
3783
  "returns": [],
3784
+ "visibility": "private",
3719
3785
  },
3720
3786
  {
3721
3787
  "brief":
@@ -3745,6 +3811,7 @@ centers grid content according to pivot within its current borders."
3745
3811
  ],
3746
3812
  },
3747
3813
  ],
3814
+ "visibility": "private",
3748
3815
  },
3749
3816
  {
3750
3817
  "brief":
@@ -3765,6 +3832,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
3765
3832
  ],
3766
3833
  },
3767
3834
  ],
3835
+ "visibility": "private",
3768
3836
  },
3769
3837
  {
3770
3838
  "brief": "",
@@ -3818,7 +3886,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
3818
3886
  "fields": [
3819
3887
  {
3820
3888
  "doc": "The postfix for TRIM adjust type. Default: ...",
3821
- "isOptional": false,
3889
+ "isOptional": true,
3822
3890
  "name": "TRIM_POSTFIX",
3823
3891
  "types": [
3824
3892
  "string|nil",
@@ -3826,7 +3894,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
3826
3894
  },
3827
3895
  {
3828
3896
  "doc": "The default adjust type for any text component. Default: DOWNSCALE",
3829
- "isOptional": false,
3897
+ "isOptional": true,
3830
3898
  "name": "DEFAULT_ADJUST",
3831
3899
  "types": [
3832
3900
  "string|nil",
@@ -3834,7 +3902,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
3834
3902
  },
3835
3903
  {
3836
3904
  "doc": "Amount of iterations for text adjust by height. Default: 20",
3837
- "isOptional": false,
3905
+ "isOptional": true,
3838
3906
  "name": "ADJUST_STEPS",
3839
3907
  "types": [
3840
3908
  "number|nil",
@@ -3842,7 +3910,7 @@ but when IS_ALIGN_LAST_ROW is enabled, the last row gets a different offset."
3842
3910
  },
3843
3911
  {
3844
3912
  "doc": "Scale step on each height adjust step. Default: 0.02",
3845
- "isOptional": false,
3913
+ "isOptional": true,
3846
3914
  "name": "ADJUST_SCALE_DELTA",
3847
3915
  "types": [
3848
3916
  "number|nil",
@@ -3959,6 +4027,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
3959
4027
  },
3960
4028
  {
3961
4029
  "doc": "Initial text. Default value is node text from GUI scene. Default: nil",
4030
+ "isNilable": true,
3962
4031
  "isOptional": false,
3963
4032
  "isVararg": false,
3964
4033
  "name": "value",
@@ -3968,6 +4037,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
3968
4037
  },
3969
4038
  {
3970
4039
  "doc": "Adjust type for text. By default is "downscale". Options: "downscale", "trim", "no_adjust", "downscale_limited", "scroll", "scale_then_scroll", "trim_left", "scale_then_trim", "scale_then_trim_left"",
4040
+ "isNilable": true,
3971
4041
  "isOptional": false,
3972
4042
  "isVararg": false,
3973
4043
  "name": "adjust_type",
@@ -3994,6 +4064,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
3994
4064
  },
3995
4065
  ],
3996
4066
  "returns": [],
4067
+ "visibility": "private",
3997
4068
  },
3998
4069
  {
3999
4070
  "brief": "",
@@ -4001,6 +4072,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4001
4072
  "name": "on_layout_change",
4002
4073
  "params": [],
4003
4074
  "returns": [],
4075
+ "visibility": "private",
4004
4076
  },
4005
4077
  {
4006
4078
  "brief": "Calculate text width with font with respect to trailing space",
@@ -4009,6 +4081,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4009
4081
  "params": [
4010
4082
  {
4011
4083
  "doc": "The text to calculate the size of, if nil - use current text",
4084
+ "isNilable": true,
4012
4085
  "isOptional": false,
4013
4086
  "isVararg": false,
4014
4087
  "name": "text",
@@ -4067,6 +4140,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4067
4140
  },
4068
4141
  {
4069
4142
  "brief": "Set text to text field",
4143
+ "deprecated": "",
4070
4144
  "generics": [],
4071
4145
  "name": "set_to",
4072
4146
  "params": [
@@ -4265,6 +4339,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4265
4339
  "params": [
4266
4340
  {
4267
4341
  "doc": "The adjust type to set, values: "downscale", "trim", "no_adjust", "downscale_limited", "scroll", "scale_then_scroll", "trim_left", "scale_then_trim", "scale_then_trim_left"",
4342
+ "isNilable": true,
4268
4343
  "isOptional": false,
4269
4344
  "isVararg": false,
4270
4345
  "name": "adjust_type",
@@ -4274,6 +4349,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4274
4349
  },
4275
4350
  {
4276
4351
  "doc": "To remove minimal scale, use \`text:set_minimal_scale(nil)\`, if pass nil - not change minimal scale",
4352
+ "isNilable": true,
4277
4353
  "isOptional": false,
4278
4354
  "isVararg": false,
4279
4355
  "name": "minimal_scale",
@@ -4344,6 +4420,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4344
4420
  "name": "_update_text_size",
4345
4421
  "params": [],
4346
4422
  "returns": [],
4423
+ "visibility": "private",
4347
4424
  },
4348
4425
  {
4349
4426
  "brief": "Reset initial scale for text",
@@ -4351,6 +4428,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4351
4428
  "name": "_reset_default_scale",
4352
4429
  "params": [],
4353
4430
  "returns": [],
4431
+ "visibility": "private",
4354
4432
  },
4355
4433
  {
4356
4434
  "brief": "",
@@ -4378,6 +4456,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4378
4456
  ],
4379
4457
  },
4380
4458
  ],
4459
+ "visibility": "private",
4381
4460
  },
4382
4461
  {
4383
4462
  "brief": "Setup scale x, but can only be smaller, than start text scale",
@@ -4385,6 +4464,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4385
4464
  "name": "_update_text_area_size",
4386
4465
  "params": [],
4387
4466
  "returns": [],
4467
+ "visibility": "private",
4388
4468
  },
4389
4469
  {
4390
4470
  "brief": "",
@@ -4402,6 +4482,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4402
4482
  },
4403
4483
  ],
4404
4484
  "returns": [],
4485
+ "visibility": "private",
4405
4486
  },
4406
4487
  {
4407
4488
  "brief": "",
@@ -4419,6 +4500,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4419
4500
  },
4420
4501
  ],
4421
4502
  "returns": [],
4503
+ "visibility": "private",
4422
4504
  },
4423
4505
  {
4424
4506
  "brief": "",
@@ -4426,6 +4508,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4426
4508
  "name": "_update_text_with_anchor_shift",
4427
4509
  "params": [],
4428
4510
  "returns": [],
4511
+ "visibility": "private",
4429
4512
  },
4430
4513
  {
4431
4514
  "brief": "",
@@ -4433,6 +4516,7 @@ Create text node with druid: \`text = druid:new_text(node_name, [initial_value],
4433
4516
  "name": "_update_adjust",
4434
4517
  "params": [],
4435
4518
  "returns": [],
4519
+ "visibility": "private",
4436
4520
  },
4437
4521
  ],
4438
4522
  "name": "druid.text",
@@ -4468,7 +4552,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4468
4552
  },
4469
4553
  {
4470
4554
  "doc": "",
4471
- "isOptional": false,
4555
+ "isOptional": true,
4472
4556
  "name": "nodes",
4473
4557
  "types": [
4474
4558
  "table<hash, node>|nil",
@@ -4476,7 +4560,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4476
4560
  },
4477
4561
  {
4478
4562
  "doc": "",
4479
- "isOptional": false,
4563
+ "isOptional": true,
4480
4564
  "name": "style",
4481
4565
  "types": [
4482
4566
  "table|nil",
@@ -4508,7 +4592,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4508
4592
  },
4509
4593
  {
4510
4594
  "doc": "",
4511
- "isOptional": false,
4595
+ "isOptional": true,
4512
4596
  "name": "parent",
4513
4597
  "types": [
4514
4598
  "druid.component|nil",
@@ -4589,7 +4673,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4589
4673
  },
4590
4674
  {
4591
4675
  "doc": "Called when component is created",
4592
- "isOptional": false,
4676
+ "isOptional": true,
4593
4677
  "name": "init",
4594
4678
  "types": [
4595
4679
  "fun(self:druid.component, ...)|nil",
@@ -4598,7 +4682,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4598
4682
  },
4599
4683
  {
4600
4684
  "doc": "Called every frame",
4601
- "isOptional": false,
4685
+ "isOptional": true,
4602
4686
  "name": "update",
4603
4687
  "types": [
4604
4688
  "fun(self:druid.component, dt:number)|nil",
@@ -4607,7 +4691,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4607
4691
  },
4608
4692
  {
4609
4693
  "doc": "Called when component is removed",
4610
- "isOptional": false,
4694
+ "isOptional": true,
4611
4695
  "name": "on_remove",
4612
4696
  "types": [
4613
4697
  "fun(self:druid.component)|nil",
@@ -4616,7 +4700,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4616
4700
  },
4617
4701
  {
4618
4702
  "doc": "Called when input event is triggered",
4619
- "isOptional": false,
4703
+ "isOptional": true,
4620
4704
  "name": "on_input",
4621
4705
  "types": [
4622
4706
  "fun(self:druid.component, action_id:hash, action:table)|nil",
@@ -4625,7 +4709,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4625
4709
  },
4626
4710
  {
4627
4711
  "doc": "Called when input event is consumed before",
4628
- "isOptional": false,
4712
+ "isOptional": true,
4629
4713
  "name": "on_input_interrupt",
4630
4714
  "types": [
4631
4715
  "fun(self:druid.component, action_id:hash, action:table)|nil",
@@ -4634,7 +4718,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4634
4718
  },
4635
4719
  {
4636
4720
  "doc": "Called when message is received",
4637
- "isOptional": false,
4721
+ "isOptional": true,
4638
4722
  "name": "on_message",
4639
4723
  "types": [
4640
4724
  "fun(self:druid.component, message_id:hash, message:table, sender:url)|nil",
@@ -4643,7 +4727,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4643
4727
  },
4644
4728
  {
4645
4729
  "doc": "Called before update once time after GUI init",
4646
- "isOptional": false,
4730
+ "isOptional": true,
4647
4731
  "name": "on_late_init",
4648
4732
  "types": [
4649
4733
  "fun(self:druid.component)|nil",
@@ -4652,7 +4736,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4652
4736
  },
4653
4737
  {
4654
4738
  "doc": "Called when app lost focus",
4655
- "isOptional": false,
4739
+ "isOptional": true,
4656
4740
  "name": "on_focus_lost",
4657
4741
  "types": [
4658
4742
  "fun(self:druid.component)|nil",
@@ -4661,7 +4745,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4661
4745
  },
4662
4746
  {
4663
4747
  "doc": "Called when app gained focus",
4664
- "isOptional": false,
4748
+ "isOptional": true,
4665
4749
  "name": "on_focus_gained",
4666
4750
  "types": [
4667
4751
  "fun(self:druid.component)|nil",
@@ -4670,7 +4754,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4670
4754
  },
4671
4755
  {
4672
4756
  "doc": "Called when style is changed",
4673
- "isOptional": false,
4757
+ "isOptional": true,
4674
4758
  "name": "on_style_change",
4675
4759
  "types": [
4676
4760
  "fun(self:druid.component, style: table)|nil",
@@ -4679,7 +4763,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4679
4763
  },
4680
4764
  {
4681
4765
  "doc": "Called when GUI layout is changed",
4682
- "isOptional": false,
4766
+ "isOptional": true,
4683
4767
  "name": "on_layout_change",
4684
4768
  "types": [
4685
4769
  "fun(self:druid.component)|nil",
@@ -4688,7 +4772,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4688
4772
  },
4689
4773
  {
4690
4774
  "doc": "Called when window is resized",
4691
- "isOptional": false,
4775
+ "isOptional": true,
4692
4776
  "name": "on_window_resized",
4693
4777
  "types": [
4694
4778
  "fun(self:druid.component)|nil",
@@ -4697,7 +4781,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4697
4781
  },
4698
4782
  {
4699
4783
  "doc": "Called when language is changed",
4700
- "isOptional": false,
4784
+ "isOptional": true,
4701
4785
  "name": "on_language_change",
4702
4786
  "types": [
4703
4787
  "fun(self:druid.component)|nil",
@@ -4745,6 +4829,7 @@ Supports palette management, hex conversion, RGB/HSB conversion, and color inter
4745
4829
  },
4746
4830
  {
4747
4831
  "doc": "",
4832
+ "isNilable": true,
4748
4833
  "isOptional": false,
4749
4834
  "isVararg": false,
4750
4835
  "name": "druid_style",
@@ -4789,6 +4874,7 @@ Parent template will be added automatically if exist."
4789
4874
  },
4790
4875
  {
4791
4876
  "doc": "",
4877
+ "isNilable": true,
4792
4878
  "isOptional": false,
4793
4879
  "isVararg": false,
4794
4880
  "name": "template",
@@ -4833,6 +4919,7 @@ Parent template will be added automatically if exist."
4833
4919
  "params": [
4834
4920
  {
4835
4921
  "doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
4922
+ "isNilable": true,
4836
4923
  "isOptional": false,
4837
4924
  "isVararg": false,
4838
4925
  "name": "nodes",
@@ -4869,6 +4956,7 @@ Parent template will be added automatically if exist."
4869
4956
  ],
4870
4957
  },
4871
4958
  ],
4959
+ "visibility": "protected",
4872
4960
  },
4873
4961
  {
4874
4962
  "brief": "Get component node by node_id. Respect to current template and nodes.",
@@ -4904,6 +4992,7 @@ Parent template will be added automatically if exist."
4904
4992
  "params": [
4905
4993
  {
4906
4994
  "doc": "",
4995
+ "isNilable": true,
4907
4996
  "isOptional": false,
4908
4997
  "isVararg": false,
4909
4998
  "name": "template",
@@ -4913,6 +5002,7 @@ Parent template will be added automatically if exist."
4913
5002
  },
4914
5003
  {
4915
5004
  "doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
5005
+ "isNilable": true,
4916
5006
  "isOptional": false,
4917
5007
  "isVararg": false,
4918
5008
  "name": "nodes",
@@ -4932,6 +5022,7 @@ Parent template will be added automatically if exist."
4932
5022
  ],
4933
5023
  },
4934
5024
  ],
5025
+ "visibility": "protected",
4935
5026
  },
4936
5027
  {
4937
5028
  "brief": "Get component name",
@@ -4966,6 +5057,7 @@ Parent template will be added automatically if exist."
4966
5057
  ],
4967
5058
  },
4968
5059
  ],
5060
+ "visibility": "protected",
4969
5061
  },
4970
5062
  {
4971
5063
  "brief": "Get component input priority, the bigger number processed first. Default value: 10",
@@ -5000,6 +5092,7 @@ Parent template will be added automatically if exist."
5000
5092
  },
5001
5093
  {
5002
5094
  "doc": "If true, the reset input priority will return to previous value",
5095
+ "isNilable": true,
5003
5096
  "isOptional": false,
5004
5097
  "isVararg": false,
5005
5098
  "name": "is_temporary",
@@ -5053,6 +5146,7 @@ Parent template will be added automatically if exist."
5053
5146
  ],
5054
5147
  },
5055
5148
  ],
5149
+ "visibility": "protected",
5056
5150
  },
5057
5151
  {
5058
5152
  "brief":
@@ -5172,6 +5266,7 @@ Recursive for all children components."
5172
5266
  ],
5173
5267
  },
5174
5268
  ],
5269
+ "visibility": "private",
5175
5270
  },
5176
5271
  {
5177
5272
  "brief": "Return true, if input priority was changed",
@@ -5179,6 +5274,7 @@ Recursive for all children components."
5179
5274
  "name": "_is_input_priority_changed",
5180
5275
  "params": [],
5181
5276
  "returns": [],
5277
+ "visibility": "private",
5182
5278
  },
5183
5279
  {
5184
5280
  "brief": "Reset is_input_priority_changed field",
@@ -5186,6 +5282,7 @@ Recursive for all children components."
5186
5282
  "name": "_reset_input_priority_changed",
5187
5283
  "params": [],
5188
5284
  "returns": [],
5285
+ "visibility": "private",
5189
5286
  },
5190
5287
  {
5191
5288
  "brief": "Get current component nodes",
@@ -5203,6 +5300,7 @@ Recursive for all children components."
5203
5300
  ],
5204
5301
  },
5205
5302
  ],
5303
+ "visibility": "protected",
5206
5304
  },
5207
5305
  {
5208
5306
  "brief": "Add child to component children list",
@@ -5235,6 +5333,7 @@ Recursive for all children components."
5235
5333
  ],
5236
5334
  },
5237
5335
  ],
5336
+ "visibility": "private",
5238
5337
  },
5239
5338
  {
5240
5339
  "brief": "Remove child from component children list",
@@ -5267,6 +5366,7 @@ Recursive for all children components."
5267
5366
  ],
5268
5367
  },
5269
5368
  ],
5369
+ "visibility": "private",
5270
5370
  },
5271
5371
  {
5272
5372
  "brief": "Return all children components, recursive",
@@ -5284,6 +5384,7 @@ Recursive for all children components."
5284
5384
  ],
5285
5385
  },
5286
5386
  ],
5387
+ "visibility": "protected",
5287
5388
  },
5288
5389
  ],
5289
5390
  "name": "druid.component",
@@ -5403,6 +5504,7 @@ Recursive for all children components."
5403
5504
  ],
5404
5505
  },
5405
5506
  ],
5507
+ "visibility": "private",
5406
5508
  },
5407
5509
  {
5408
5510
  "brief": "Set placeholder text",
@@ -5984,7 +6086,7 @@ Recursive for all children components."
5984
6086
  },
5985
6087
  {
5986
6088
  "doc": "",
5987
- "isOptional": false,
6089
+ "isOptional": true,
5988
6090
  "name": "offset_x",
5989
6091
  "types": [
5990
6092
  "number|nil",
@@ -5992,7 +6094,7 @@ Recursive for all children components."
5992
6094
  },
5993
6095
  {
5994
6096
  "doc": "",
5995
- "isOptional": false,
6097
+ "isOptional": true,
5996
6098
  "name": "offset_y",
5997
6099
  "types": [
5998
6100
  "number|nil",
@@ -6000,7 +6102,7 @@ Recursive for all children components."
6000
6102
  },
6001
6103
  {
6002
6104
  "doc": "",
6003
- "isOptional": false,
6105
+ "isOptional": true,
6004
6106
  "name": "node_size",
6005
6107
  "types": [
6006
6108
  "vector3|nil",
@@ -6060,7 +6162,7 @@ Recursive for all children components."
6060
6162
  },
6061
6163
  {
6062
6164
  "doc": "Anchor position when pivot is set (keeps content in place on resize)",
6063
- "isOptional": false,
6165
+ "isOptional": true,
6064
6166
  "name": "_anchor",
6065
6167
  "types": [
6066
6168
  "vector3|nil",
@@ -6086,6 +6188,7 @@ Recursive for all children components."
6086
6188
  },
6087
6189
  {
6088
6190
  "doc": "The initial text value. Default will be gui.get_text(text_node)",
6191
+ "isNilable": true,
6089
6192
  "isOptional": false,
6090
6193
  "isVararg": false,
6091
6194
  "name": "value",
@@ -6102,6 +6205,7 @@ Recursive for all children components."
6102
6205
  "name": "on_layout_change",
6103
6206
  "params": [],
6104
6207
  "returns": [],
6208
+ "visibility": "private",
6105
6209
  },
6106
6210
  {
6107
6211
  "brief": "",
@@ -6119,6 +6223,7 @@ Recursive for all children components."
6119
6223
  },
6120
6224
  ],
6121
6225
  "returns": [],
6226
+ "visibility": "private",
6122
6227
  },
6123
6228
  {
6124
6229
  "brief":
@@ -6156,6 +6261,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
6156
6261
  "params": [
6157
6262
  {
6158
6263
  "doc": "The text to set",
6264
+ "isNilable": true,
6159
6265
  "isOptional": false,
6160
6266
  "isVararg": false,
6161
6267
  "name": "text",
@@ -6235,6 +6341,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
6235
6341
  "name": "on_remove",
6236
6342
  "params": [],
6237
6343
  "returns": [],
6344
+ "visibility": "private",
6238
6345
  },
6239
6346
  {
6240
6347
  "brief": "Clear all created words.",
@@ -6347,6 +6454,7 @@ rich_text:set_text("<img=texture:image,width,height>Display image with width
6347
6454
  ],
6348
6455
  },
6349
6456
  ],
6457
+ "visibility": "private",
6350
6458
  },
6351
6459
  {
6352
6460
  "brief": "Set the width of the rich text, not affects the size of current spawned words",
@@ -6547,7 +6655,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6547
6655
  },
6548
6656
  {
6549
6657
  "doc": "The minimum size x",
6550
- "isOptional": false,
6658
+ "isOptional": true,
6551
6659
  "name": "min_size_x",
6552
6660
  "types": [
6553
6661
  "number|nil",
@@ -6555,7 +6663,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6555
6663
  },
6556
6664
  {
6557
6665
  "doc": "The minimum size y",
6558
- "isOptional": false,
6666
+ "isOptional": true,
6559
6667
  "name": "min_size_y",
6560
6668
  "types": [
6561
6669
  "number|nil",
@@ -6563,7 +6671,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6563
6671
  },
6564
6672
  {
6565
6673
  "doc": "The maximum size x",
6566
- "isOptional": false,
6674
+ "isOptional": true,
6567
6675
  "name": "max_size_x",
6568
6676
  "types": [
6569
6677
  "number|nil",
@@ -6571,7 +6679,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6571
6679
  },
6572
6680
  {
6573
6681
  "doc": "The maximum size y",
6574
- "isOptional": false,
6682
+ "isOptional": true,
6575
6683
  "name": "max_size_y",
6576
6684
  "types": [
6577
6685
  "number|nil",
@@ -6637,6 +6745,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6637
6745
  },
6638
6746
  {
6639
6747
  "doc": "Callback on size changed",
6748
+ "isNilable": true,
6640
6749
  "isOptional": false,
6641
6750
  "isVararg": false,
6642
6751
  "name": "callback",
@@ -6653,6 +6762,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6653
6762
  "name": "on_late_init",
6654
6763
  "params": [],
6655
6764
  "returns": [],
6765
+ "visibility": "private",
6656
6766
  },
6657
6767
  {
6658
6768
  "brief": "",
@@ -6660,6 +6770,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6660
6770
  "name": "on_remove",
6661
6771
  "params": [],
6662
6772
  "returns": [],
6773
+ "visibility": "private",
6663
6774
  },
6664
6775
  {
6665
6776
  "brief": "Refresh the origins of the container, origins is the size and position of the container when it was created",
@@ -6701,6 +6812,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6701
6812
  },
6702
6813
  ],
6703
6814
  "returns": [],
6815
+ "visibility": "private",
6704
6816
  },
6705
6817
  {
6706
6818
  "brief": "Set new size of layout node",
@@ -6709,6 +6821,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6709
6821
  "params": [
6710
6822
  {
6711
6823
  "doc": "The width to set",
6824
+ "isNilable": true,
6712
6825
  "isOptional": false,
6713
6826
  "isVararg": false,
6714
6827
  "name": "width",
@@ -6718,6 +6831,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6718
6831
  },
6719
6832
  {
6720
6833
  "doc": "The height to set",
6834
+ "isNilable": true,
6721
6835
  "isOptional": false,
6722
6836
  "isVararg": false,
6723
6837
  "name": "height",
@@ -6727,6 +6841,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6727
6841
  },
6728
6842
  {
6729
6843
  "doc": "If set will keep the corner position relative to the new size",
6844
+ "isNilable": true,
6730
6845
  "isOptional": false,
6731
6846
  "isVararg": false,
6732
6847
  "name": "anchor_pivot",
@@ -6874,6 +6989,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6874
6989
  "name": "on_window_resized",
6875
6990
  "params": [],
6876
6991
  "returns": [],
6992
+ "visibility": "private",
6877
6993
  },
6878
6994
  {
6879
6995
  "brief": "",
@@ -6891,6 +7007,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6891
7007
  },
6892
7008
  {
6893
7009
  "doc": "stretch, fit, stretch_x, stretch_y. Default: Pick from node, "fit" or "stretch"",
7010
+ "isNilable": true,
6894
7011
  "isOptional": false,
6895
7012
  "isVararg": false,
6896
7013
  "name": "mode",
@@ -6900,6 +7017,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6900
7017
  },
6901
7018
  {
6902
7019
  "doc": "",
7020
+ "isNilable": true,
6903
7021
  "isOptional": false,
6904
7022
  "isVararg": false,
6905
7023
  "name": "on_resize_callback",
@@ -6944,6 +7062,7 @@ Create container component with druid: \`container = druid:new_container(node, m
6944
7062
  "params": [
6945
7063
  {
6946
7064
  "doc": "",
7065
+ "isNilable": true,
6947
7066
  "isOptional": false,
6948
7067
  "isVararg": false,
6949
7068
  "name": "parent_container",
@@ -7050,6 +7169,7 @@ Create container component with druid: \`container = druid:new_container(node, m
7050
7169
  "params": [
7051
7170
  {
7052
7171
  "doc": "The minimum size x",
7172
+ "isNilable": true,
7053
7173
  "isOptional": false,
7054
7174
  "isVararg": false,
7055
7175
  "name": "min_size_x",
@@ -7059,6 +7179,7 @@ Create container component with druid: \`container = druid:new_container(node, m
7059
7179
  },
7060
7180
  {
7061
7181
  "doc": "The minimum size y",
7182
+ "isNilable": true,
7062
7183
  "isOptional": false,
7063
7184
  "isVararg": false,
7064
7185
  "name": "min_size_y",
@@ -7086,6 +7207,7 @@ Create container component with druid: \`container = druid:new_container(node, m
7086
7207
  "params": [
7087
7208
  {
7088
7209
  "doc": "The maximum size x",
7210
+ "isNilable": true,
7089
7211
  "isOptional": false,
7090
7212
  "isVararg": false,
7091
7213
  "name": "max_size_x",
@@ -7095,6 +7217,7 @@ Create container component with druid: \`container = druid:new_container(node, m
7095
7217
  },
7096
7218
  {
7097
7219
  "doc": "The maximum size y",
7220
+ "isNilable": true,
7098
7221
  "isOptional": false,
7099
7222
  "isVararg": false,
7100
7223
  "name": "max_size_y",
@@ -7288,6 +7411,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7288
7411
  "name": "on_remove",
7289
7412
  "params": [],
7290
7413
  "returns": [],
7414
+ "visibility": "private",
7291
7415
  },
7292
7416
  {
7293
7417
  "brief": "Set use cache version of DataList. Requires make setup of components in on_element_add callback and clean in on_element_remove",
@@ -7376,6 +7500,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7376
7500
  },
7377
7501
  {
7378
7502
  "doc": "The index to add the data at",
7503
+ "isNilable": true,
7379
7504
  "isOptional": false,
7380
7505
  "isVararg": false,
7381
7506
  "name": "index",
@@ -7385,6 +7510,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7385
7510
  },
7386
7511
  {
7387
7512
  "doc": "The constant from const.SHIFT.*",
7513
+ "isNilable": true,
7388
7514
  "isOptional": false,
7389
7515
  "isVararg": false,
7390
7516
  "name": "shift_policy",
@@ -7412,6 +7538,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7412
7538
  "params": [
7413
7539
  {
7414
7540
  "doc": "The index to remove the data at",
7541
+ "isNilable": true,
7415
7542
  "isOptional": false,
7416
7543
  "isVararg": false,
7417
7544
  "name": "index",
@@ -7421,6 +7548,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7421
7548
  },
7422
7549
  {
7423
7550
  "doc": "The constant from const.SHIFT.*",
7551
+ "isNilable": true,
7424
7552
  "isOptional": false,
7425
7553
  "isVararg": false,
7426
7554
  "name": "shift_policy",
@@ -7457,6 +7585,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7457
7585
  },
7458
7586
  {
7459
7587
  "doc": "The constant from const.SHIFT.*",
7588
+ "isNilable": true,
7460
7589
  "isOptional": false,
7461
7590
  "isVararg": false,
7462
7591
  "name": "shift_policy",
@@ -7578,6 +7707,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7578
7707
  },
7579
7708
  ],
7580
7709
  "returns": [],
7710
+ "visibility": "private",
7581
7711
  },
7582
7712
  {
7583
7713
  "brief": "Remove element from passed index and add it to cache if applicable",
@@ -7595,6 +7725,7 @@ Create data list component with druid: \`data_list = druid:new_data_list(scroll,
7595
7725
  },
7596
7726
  ],
7597
7727
  "returns": [],
7728
+ "visibility": "private",
7598
7729
  },
7599
7730
  {
7600
7731
  "brief":
@@ -7642,6 +7773,7 @@ clamped to the grid coordinate range so get_index_xy produces valid results."
7642
7773
  ],
7643
7774
  },
7644
7775
  ],
7776
+ "visibility": "private",
7645
7777
  },
7646
7778
  {
7647
7779
  "brief": "Refresh all elements in DataList",
@@ -7649,6 +7781,7 @@ clamped to the grid coordinate range so get_index_xy produces valid results."
7649
7781
  "name": "_refresh",
7650
7782
  "params": [],
7651
7783
  "returns": [],
7784
+ "visibility": "private",
7652
7785
  },
7653
7786
  ],
7654
7787
  "name": "druid.data_list",
@@ -7747,7 +7880,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7747
7880
  },
7748
7881
  {
7749
7882
  "doc": "The node to bind the hotkey to",
7750
- "isOptional": false,
7883
+ "isOptional": true,
7751
7884
  "name": "_node",
7752
7885
  "types": [
7753
7886
  "node|nil",
@@ -7782,6 +7915,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7782
7915
  },
7783
7916
  {
7784
7917
  "doc": "The argument to pass into the callback function",
7918
+ "isNilable": true,
7785
7919
  "isOptional": false,
7786
7920
  "isVararg": false,
7787
7921
  "name": "callback_argument",
@@ -7808,6 +7942,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7808
7942
  },
7809
7943
  ],
7810
7944
  "returns": [],
7945
+ "visibility": "private",
7811
7946
  },
7812
7947
  {
7813
7948
  "brief": "Add hotkey for component callback",
@@ -7825,6 +7960,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7825
7960
  },
7826
7961
  {
7827
7962
  "doc": "The argument to pass into the callback function",
7963
+ "isNilable": true,
7828
7964
  "isOptional": false,
7829
7965
  "isVararg": false,
7830
7966
  "name": "callback_argument",
@@ -7858,6 +7994,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7858
7994
  "name": "on_focus_gained",
7859
7995
  "params": [],
7860
7996
  "returns": [],
7997
+ "visibility": "private",
7861
7998
  },
7862
7999
  {
7863
8000
  "brief": "",
@@ -7894,6 +8031,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7894
8031
  ],
7895
8032
  },
7896
8033
  ],
8034
+ "visibility": "private",
7897
8035
  },
7898
8036
  {
7899
8037
  "brief": "",
@@ -7902,6 +8040,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7902
8040
  "params": [
7903
8041
  {
7904
8042
  "doc": "The action id",
8043
+ "isNilable": true,
7905
8044
  "isOptional": false,
7906
8045
  "isVararg": false,
7907
8046
  "name": "action_id",
@@ -7930,6 +8069,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7930
8069
  ],
7931
8070
  },
7932
8071
  ],
8072
+ "visibility": "private",
7933
8073
  },
7934
8074
  {
7935
8075
  "brief": "If true, the callback will be triggered on action.repeated",
@@ -7965,6 +8105,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
7965
8105
  "params": [
7966
8106
  {
7967
8107
  "doc": "The node to bind the hotkey to. Nil to unbind the node",
8108
+ "isNilable": true,
7968
8109
  "isOptional": false,
7969
8110
  "isVararg": false,
7970
8111
  "name": "node",
@@ -8017,7 +8158,7 @@ Create hotkey component with druid: \`hotkey = druid:new_hotkey(keys, callback,
8017
8158
  },
8018
8159
  {
8019
8160
  "doc": "Callback when input is initialized, use to set custom properties on self",
8020
- "isOptional": false,
8161
+ "isOptional": true,
8021
8162
  "name": "on_init",
8022
8163
  "types": [
8023
8164
  "fun(self: druid.input)|nil",
@@ -8161,6 +8302,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8161
8302
  },
8162
8303
  {
8163
8304
  "doc": "Gui keyboard type for input field",
8305
+ "isNilable": true,
8164
8306
  "isOptional": false,
8165
8307
  "isVararg": false,
8166
8308
  "name": "keyboard_type",
@@ -8187,6 +8329,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8187
8329
  },
8188
8330
  ],
8189
8331
  "returns": [],
8332
+ "visibility": "private",
8190
8333
  },
8191
8334
  {
8192
8335
  "brief": "",
@@ -8195,6 +8338,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8195
8338
  "params": [
8196
8339
  {
8197
8340
  "doc": "The action id",
8341
+ "isNilable": true,
8198
8342
  "isOptional": false,
8199
8343
  "isVararg": false,
8200
8344
  "name": "action_id",
@@ -8223,6 +8367,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8223
8367
  ],
8224
8368
  },
8225
8369
  ],
8370
+ "visibility": "private",
8226
8371
  },
8227
8372
  {
8228
8373
  "brief": "",
@@ -8230,6 +8375,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8230
8375
  "name": "on_focus_lost",
8231
8376
  "params": [],
8232
8377
  "returns": [],
8378
+ "visibility": "private",
8233
8379
  },
8234
8380
  {
8235
8381
  "brief": "",
@@ -8272,6 +8418,7 @@ Create input component with druid: \`input = druid:new_input(button_node_name, t
8272
8418
  "params": [
8273
8419
  {
8274
8420
  "doc": "The string to apply for input field, if nil - will be set to empty string",
8421
+ "isNilable": true,
8275
8422
  "isOptional": false,
8276
8423
  "isVararg": false,
8277
8424
  "name": "input_text",
@@ -8400,6 +8547,7 @@ ex: [^%s] to allow only non-space characters"
8400
8547
  "params": [
8401
8548
  {
8402
8549
  "doc": "Cursor index for cursor position, if nil - will be set to the end of the text",
8550
+ "isNilable": true,
8403
8551
  "isOptional": false,
8404
8552
  "isVararg": false,
8405
8553
  "name": "cursor_index",
@@ -8409,6 +8557,7 @@ ex: [^%s] to allow only non-space characters"
8409
8557
  },
8410
8558
  {
8411
8559
  "doc": "Start index for cursor position, if nil - will be set to the end of the text",
8560
+ "isNilable": true,
8412
8561
  "isOptional": false,
8413
8562
  "isVararg": false,
8414
8563
  "name": "start_index",
@@ -8418,6 +8567,7 @@ ex: [^%s] to allow only non-space characters"
8418
8567
  },
8419
8568
  {
8420
8569
  "doc": "End index for cursor position, if nil - will be set to the start_index",
8570
+ "isNilable": true,
8421
8571
  "isOptional": false,
8422
8572
  "isVararg": false,
8423
8573
  "name": "end_index",
@@ -8562,6 +8712,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
8562
8712
  },
8563
8713
  {
8564
8714
  "doc": "Default locale id or text from node as default. If not provided, will use text from the node",
8715
+ "isNilable": true,
8565
8716
  "isOptional": false,
8566
8717
  "isVararg": false,
8567
8718
  "name": "locale_id",
@@ -8571,6 +8722,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
8571
8722
  },
8572
8723
  {
8573
8724
  "doc": "Adjust type for text. By default is DOWNSCALE. Look const.TEXT_ADJUST for reference",
8725
+ "isNilable": true,
8574
8726
  "isOptional": false,
8575
8727
  "isVararg": false,
8576
8728
  "name": "adjust_type",
@@ -8587,6 +8739,7 @@ Create lang text component with druid: \`text = druid:new_lang_text(node_name, l
8587
8739
  "name": "on_language_change",
8588
8740
  "params": [],
8589
8741
  "returns": [],
8742
+ "visibility": "private",
8590
8743
  },
8591
8744
  {
8592
8745
  "brief": "Setup raw text to lang_text component. This will clear any locale settings.",
@@ -9030,6 +9183,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9030
9183
  "params": [
9031
9184
  {
9032
9185
  "doc": "The margin x",
9186
+ "isNilable": true,
9033
9187
  "isOptional": false,
9034
9188
  "isVararg": false,
9035
9189
  "name": "margin_x",
@@ -9039,6 +9193,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9039
9193
  },
9040
9194
  {
9041
9195
  "doc": "The margin y",
9196
+ "isNilable": true,
9042
9197
  "isOptional": false,
9043
9198
  "isVararg": false,
9044
9199
  "name": "margin_y",
@@ -9066,6 +9221,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9066
9221
  "params": [
9067
9222
  {
9068
9223
  "doc": "From Left",
9224
+ "isNilable": true,
9069
9225
  "isOptional": false,
9070
9226
  "isVararg": false,
9071
9227
  "name": "padding_x",
@@ -9075,6 +9231,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9075
9231
  },
9076
9232
  {
9077
9233
  "doc": "From Top",
9234
+ "isNilable": true,
9078
9235
  "isOptional": false,
9079
9236
  "isVararg": false,
9080
9237
  "name": "padding_y",
@@ -9084,6 +9241,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9084
9241
  },
9085
9242
  {
9086
9243
  "doc": "From Right",
9244
+ "isNilable": true,
9087
9245
  "isOptional": false,
9088
9246
  "isVararg": false,
9089
9247
  "name": "padding_z",
@@ -9093,6 +9251,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9093
9251
  },
9094
9252
  {
9095
9253
  "doc": "From Bottom",
9254
+ "isNilable": true,
9096
9255
  "isOptional": false,
9097
9256
  "isVararg": false,
9098
9257
  "name": "padding_w",
@@ -9303,7 +9462,16 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9303
9462
  "isVararg": false,
9304
9463
  "name": "",
9305
9464
  "types": [
9306
- "number, number",
9465
+ "number",
9466
+ ],
9467
+ },
9468
+ {
9469
+ "doc": "",
9470
+ "isOptional": false,
9471
+ "isVararg": false,
9472
+ "name": "",
9473
+ "types": [
9474
+ "number",
9307
9475
  ],
9308
9476
  },
9309
9477
  ],
@@ -9315,6 +9483,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9315
9483
  "params": [
9316
9484
  {
9317
9485
  "doc": "If true, node position update instantly, otherwise with set_position_function callback",
9486
+ "isNilable": true,
9318
9487
  "isOptional": false,
9319
9488
  "isVararg": false,
9320
9489
  "name": "is_instant",
@@ -9404,6 +9573,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9404
9573
  ],
9405
9574
  },
9406
9575
  ],
9576
+ "visibility": "local",
9407
9577
  },
9408
9578
  {
9409
9579
  "brief": "",
@@ -9485,7 +9655,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9485
9655
  "fields": [
9486
9656
  {
9487
9657
  "doc": "Progress bar fill rate. Higher value means faster fill. Default: 5",
9488
- "isOptional": false,
9658
+ "isOptional": true,
9489
9659
  "name": "SPEED",
9490
9660
  "types": [
9491
9661
  "number|nil",
@@ -9493,7 +9663,7 @@ Create layout component with druid: \`layout = druid:new_layout(node, layout_typ
9493
9663
  },
9494
9664
  {
9495
9665
  "doc": "Minimum step to fill progress bar. Default: 0.005",
9496
- "isOptional": false,
9666
+ "isOptional": true,
9497
9667
  "name": "MIN_DELTA",
9498
9668
  "types": [
9499
9669
  "number|nil",
@@ -9588,6 +9758,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9588
9758
  },
9589
9759
  {
9590
9760
  "doc": "Initial value of progress bar (0 to 1). Default: 1",
9761
+ "isNilable": true,
9591
9762
  "isOptional": false,
9592
9763
  "isVararg": false,
9593
9764
  "name": "init_value",
@@ -9614,6 +9785,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9614
9785
  },
9615
9786
  ],
9616
9787
  "returns": [],
9788
+ "visibility": "private",
9617
9789
  },
9618
9790
  {
9619
9791
  "brief": "",
@@ -9621,6 +9793,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9621
9793
  "name": "on_layout_change",
9622
9794
  "params": [],
9623
9795
  "returns": [],
9796
+ "visibility": "private",
9624
9797
  },
9625
9798
  {
9626
9799
  "brief": "",
@@ -9628,6 +9801,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9628
9801
  "name": "on_remove",
9629
9802
  "params": [],
9630
9803
  "returns": [],
9804
+ "visibility": "private",
9631
9805
  },
9632
9806
  {
9633
9807
  "brief": "",
@@ -9776,6 +9950,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9776
9950
  },
9777
9951
  {
9778
9952
  "doc": "Callback on animation ends",
9953
+ "isNilable": true,
9779
9954
  "isOptional": false,
9780
9955
  "isVararg": false,
9781
9956
  "name": "callback",
@@ -9848,6 +10023,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9848
10023
  },
9849
10024
  {
9850
10025
  "doc": "The exact value",
10026
+ "isNilable": true,
9851
10027
  "isOptional": false,
9852
10028
  "isVararg": false,
9853
10029
  "name": "exactly",
@@ -9857,6 +10033,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9857
10033
  },
9858
10034
  ],
9859
10035
  "returns": [],
10036
+ "visibility": "private",
9860
10037
  },
9861
10038
  {
9862
10039
  "brief": "",
@@ -9874,6 +10051,7 @@ Create progress bar component with druid: \`progress = druid:new_progress(node_n
9874
10051
  },
9875
10052
  ],
9876
10053
  "returns": [],
10054
+ "visibility": "private",
9877
10055
  },
9878
10056
  ],
9879
10057
  "name": "druid.progress",
@@ -9983,7 +10161,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
9983
10161
  },
9984
10162
  {
9985
10163
  "doc": "The steps of the slider",
9986
- "isOptional": false,
10164
+ "isOptional": true,
9987
10165
  "name": "steps",
9988
10166
  "types": [
9989
10167
  "number[]?",
@@ -10018,6 +10196,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10018
10196
  },
10019
10197
  {
10020
10198
  "doc": "On slider change callback",
10199
+ "isNilable": true,
10021
10200
  "isOptional": false,
10022
10201
  "isVararg": false,
10023
10202
  "name": "callback",
@@ -10034,6 +10213,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10034
10213
  "name": "on_layout_change",
10035
10214
  "params": [],
10036
10215
  "returns": [],
10216
+ "visibility": "private",
10037
10217
  },
10038
10218
  {
10039
10219
  "brief": "",
@@ -10041,6 +10221,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10041
10221
  "name": "on_remove",
10042
10222
  "params": [],
10043
10223
  "returns": [],
10224
+ "visibility": "private",
10044
10225
  },
10045
10226
  {
10046
10227
  "brief": "",
@@ -10058,6 +10239,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10058
10239
  },
10059
10240
  ],
10060
10241
  "returns": [],
10242
+ "visibility": "private",
10061
10243
  },
10062
10244
  {
10063
10245
  "brief": "",
@@ -10065,6 +10247,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10065
10247
  "name": "on_window_resized",
10066
10248
  "params": [],
10067
10249
  "returns": [],
10250
+ "visibility": "private",
10068
10251
  },
10069
10252
  {
10070
10253
  "brief": "",
@@ -10101,6 +10284,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10101
10284
  ],
10102
10285
  },
10103
10286
  ],
10287
+ "visibility": "private",
10104
10288
  },
10105
10289
  {
10106
10290
  "brief": "Set value for slider",
@@ -10118,6 +10302,7 @@ Create slider component with druid: \`slider = druid:new_slider(node_name, end_p
10118
10302
  },
10119
10303
  {
10120
10304
  "doc": "Don't trigger event if true",
10305
+ "isNilable": true,
10121
10306
  "isOptional": false,
10122
10307
  "isVararg": false,
10123
10308
  "name": "is_silent",
@@ -10207,6 +10392,7 @@ This function require the Defold version 1.3.0+"
10207
10392
  "params": [
10208
10393
  {
10209
10394
  "doc": "",
10395
+ "isNilable": true,
10210
10396
  "isOptional": false,
10211
10397
  "isVararg": false,
10212
10398
  "name": "input_node",
@@ -10277,6 +10463,7 @@ This function require the Defold version 1.3.0+"
10277
10463
  "name": "_on_change_value",
10278
10464
  "params": [],
10279
10465
  "returns": [],
10466
+ "visibility": "private",
10280
10467
  },
10281
10468
  {
10282
10469
  "brief": "",
@@ -10284,6 +10471,7 @@ This function require the Defold version 1.3.0+"
10284
10471
  "name": "_set_position",
10285
10472
  "params": [],
10286
10473
  "returns": [],
10474
+ "visibility": "private",
10287
10475
  },
10288
10476
  ],
10289
10477
  "name": "druid.slider",
@@ -10293,7 +10481,7 @@ This function require the Defold version 1.3.0+"
10293
10481
  "fields": [
10294
10482
  {
10295
10483
  "doc": "Maximum time for swipe trigger. Default: 0.4",
10296
- "isOptional": false,
10484
+ "isOptional": true,
10297
10485
  "name": "SWIPE_TIME",
10298
10486
  "types": [
10299
10487
  "number|nil",
@@ -10301,7 +10489,7 @@ This function require the Defold version 1.3.0+"
10301
10489
  },
10302
10490
  {
10303
10491
  "doc": "Minimum distance for swipe trigger. Default: 50",
10304
- "isOptional": false,
10492
+ "isOptional": true,
10305
10493
  "name": "SWIPE_THRESHOLD",
10306
10494
  "types": [
10307
10495
  "number|nil",
@@ -10309,7 +10497,7 @@ This function require the Defold version 1.3.0+"
10309
10497
  },
10310
10498
  {
10311
10499
  "doc": "If true, trigger on swipe moving, not only release action. Default: false",
10312
- "isOptional": false,
10500
+ "isOptional": true,
10313
10501
  "name": "SWIPE_TRIGGER_ON_MOVE",
10314
10502
  "types": [
10315
10503
  "boolean|nil",
@@ -10436,6 +10624,7 @@ This function require the Defold version 1.3.0+"
10436
10624
  "name": "on_late_init",
10437
10625
  "params": [],
10438
10626
  "returns": [],
10627
+ "visibility": "private",
10439
10628
  },
10440
10629
  {
10441
10630
  "brief": "",
@@ -10453,6 +10642,7 @@ This function require the Defold version 1.3.0+"
10453
10642
  },
10454
10643
  ],
10455
10644
  "returns": [],
10645
+ "visibility": "private",
10456
10646
  },
10457
10647
  {
10458
10648
  "brief": "",
@@ -10489,6 +10679,7 @@ This function require the Defold version 1.3.0+"
10489
10679
  ],
10490
10680
  },
10491
10681
  ],
10682
+ "visibility": "private",
10492
10683
  },
10493
10684
  {
10494
10685
  "brief": "",
@@ -10496,6 +10687,7 @@ This function require the Defold version 1.3.0+"
10496
10687
  "name": "on_input_interrupt",
10497
10688
  "params": [],
10498
10689
  "returns": [],
10690
+ "visibility": "private",
10499
10691
  },
10500
10692
  {
10501
10693
  "brief": "Set the click zone for the swipe, useful for restricting events outside stencil node",
@@ -10504,6 +10696,7 @@ This function require the Defold version 1.3.0+"
10504
10696
  "params": [
10505
10697
  {
10506
10698
  "doc": "Gui node",
10699
+ "isNilable": true,
10507
10700
  "isOptional": false,
10508
10701
  "isVararg": false,
10509
10702
  "name": "zone",
@@ -10639,7 +10832,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10639
10832
  },
10640
10833
  {
10641
10834
  "doc": "True if the timer is on",
10642
- "isOptional": false,
10835
+ "isOptional": true,
10643
10836
  "name": "is_on",
10644
10837
  "types": [
10645
10838
  "boolean|nil",
@@ -10664,6 +10857,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10664
10857
  },
10665
10858
  {
10666
10859
  "doc": "Start timer value in seconds",
10860
+ "isNilable": true,
10667
10861
  "isOptional": false,
10668
10862
  "isVararg": false,
10669
10863
  "name": "seconds_from",
@@ -10673,6 +10867,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10673
10867
  },
10674
10868
  {
10675
10869
  "doc": "End timer value in seconds",
10870
+ "isNilable": true,
10676
10871
  "isOptional": false,
10677
10872
  "isVararg": false,
10678
10873
  "name": "seconds_to",
@@ -10682,6 +10877,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10682
10877
  },
10683
10878
  {
10684
10879
  "doc": "Function that triggers when timer value equals to seconds_to",
10880
+ "isNilable": true,
10685
10881
  "isOptional": false,
10686
10882
  "isVararg": false,
10687
10883
  "name": "callback",
@@ -10698,6 +10894,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10698
10894
  "name": "update",
10699
10895
  "params": [],
10700
10896
  "returns": [],
10897
+ "visibility": "private",
10701
10898
  },
10702
10899
  {
10703
10900
  "brief": "",
@@ -10705,6 +10902,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10705
10902
  "name": "on_layout_change",
10706
10903
  "params": [],
10707
10904
  "returns": [],
10905
+ "visibility": "private",
10708
10906
  },
10709
10907
  {
10710
10908
  "brief": "Set the timer to a specific value",
@@ -10740,6 +10938,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10740
10938
  "params": [
10741
10939
  {
10742
10940
  "doc": "Timer enable state",
10941
+ "isNilable": true,
10743
10942
  "isOptional": false,
10744
10943
  "isVararg": false,
10745
10944
  "name": "is_on",
@@ -10822,6 +11021,7 @@ Create timer component with druid: \`timer = druid:new_timer(text_node, from_sec
10822
11021
  ],
10823
11022
  },
10824
11023
  ],
11024
+ "visibility": "private",
10825
11025
  },
10826
11026
  ],
10827
11027
  "name": "druid.timer",
@@ -11355,7 +11555,7 @@ You can use these functions in your projects as well."
11355
11555
  },
11356
11556
  {
11357
11557
  "doc": "Accelerometer x value (if present).",
11358
- "isOptional": false,
11558
+ "isOptional": true,
11359
11559
  "name": "acc_x",
11360
11560
  "types": [
11361
11561
  "number|nil",
@@ -11363,7 +11563,7 @@ You can use these functions in your projects as well."
11363
11563
  },
11364
11564
  {
11365
11565
  "doc": "Accelerometer y value (if present).",
11366
- "isOptional": false,
11566
+ "isOptional": true,
11367
11567
  "name": "acc_y",
11368
11568
  "types": [
11369
11569
  "number|nil",
@@ -11371,7 +11571,7 @@ You can use these functions in your projects as well."
11371
11571
  },
11372
11572
  {
11373
11573
  "doc": "Accelerometer z value (if present).",
11374
- "isOptional": false,
11574
+ "isOptional": true,
11375
11575
  "name": "acc_z",
11376
11576
  "types": [
11377
11577
  "number|nil",
@@ -11459,7 +11659,7 @@ You can use these functions in your projects as well."
11459
11659
  },
11460
11660
  {
11461
11661
  "doc": "Components that should not receive input",
11462
- "isOptional": false,
11662
+ "isOptional": true,
11463
11663
  "name": "_input_blacklist",
11464
11664
  "types": [
11465
11665
  "druid.component[]|nil",
@@ -11468,7 +11668,7 @@ You can use these functions in your projects as well."
11468
11668
  },
11469
11669
  {
11470
11670
  "doc": "Components that should receive input",
11471
- "isOptional": false,
11671
+ "isOptional": true,
11472
11672
  "name": "_input_whitelist",
11473
11673
  "types": [
11474
11674
  "druid.component[]|nil",
@@ -11605,6 +11805,7 @@ Component \`on_remove\` function will be invoked, if exist."
11605
11805
  ],
11606
11806
  },
11607
11807
  ],
11808
+ "visibility": "package",
11608
11809
  },
11609
11810
  {
11610
11811
  "brief": "Get a style of Druid instance",
@@ -11622,6 +11823,7 @@ Component \`on_remove\` function will be invoked, if exist."
11622
11823
  ],
11623
11824
  },
11624
11825
  ],
11826
+ "visibility": "package",
11625
11827
  },
11626
11828
  {
11627
11829
  "brief":
@@ -11633,6 +11835,7 @@ An example use case is performing an auto stencil check in the GUI hierarchy for
11633
11835
  "name": "late_init",
11634
11836
  "params": [],
11635
11837
  "returns": [],
11838
+ "visibility": "private",
11636
11839
  },
11637
11840
  {
11638
11841
  "brief": "Call this in gui_script update function.",
@@ -11748,6 +11951,7 @@ This one called by global druid.on_language_change, but can be called manually t
11748
11951
  "name": "on_language_change",
11749
11952
  "params": [],
11750
11953
  "returns": [],
11954
+ "visibility": "private",
11751
11955
  },
11752
11956
  {
11753
11957
  "brief":
@@ -11817,6 +12021,7 @@ component will be not processed on the input step DruidInstance"
11817
12021
  "name": "_clear_late_remove",
11818
12022
  "params": [],
11819
12023
  "returns": [],
12024
+ "visibility": "private",
11820
12025
  },
11821
12026
  {
11822
12027
  "brief": "Create new Druid widget instance",
@@ -11839,6 +12044,7 @@ component will be not processed on the input step DruidInstance"
11839
12044
  },
11840
12045
  {
11841
12046
  "doc": "The template name used by widget",
12047
+ "isNilable": true,
11842
12048
  "isOptional": false,
11843
12049
  "isVararg": false,
11844
12050
  "name": "template",
@@ -11848,6 +12054,7 @@ component will be not processed on the input step DruidInstance"
11848
12054
  },
11849
12055
  {
11850
12056
  "doc": "The nodes table from gui.clone_tree or prefab node to use for clone or node id to clone",
12057
+ "isNilable": true,
11851
12058
  "isOptional": false,
11852
12059
  "isVararg": false,
11853
12060
  "name": "nodes",
@@ -11893,6 +12100,7 @@ component will be not processed on the input step DruidInstance"
11893
12100
  },
11894
12101
  {
11895
12102
  "doc": "Button callback",
12103
+ "isNilable": true,
11896
12104
  "isOptional": false,
11897
12105
  "isVararg": false,
11898
12106
  "name": "callback",
@@ -11902,6 +12110,7 @@ component will be not processed on the input step DruidInstance"
11902
12110
  },
11903
12111
  {
11904
12112
  "doc": "Button callback params",
12113
+ "isNilable": true,
11905
12114
  "isOptional": false,
11906
12115
  "isVararg": false,
11907
12116
  "name": "params",
@@ -11911,6 +12120,7 @@ component will be not processed on the input step DruidInstance"
11911
12120
  },
11912
12121
  {
11913
12122
  "doc": "Button anim node (node, if not provided)",
12123
+ "isNilable": true,
11914
12124
  "isOptional": false,
11915
12125
  "isVararg": false,
11916
12126
  "name": "anim_node",
@@ -11965,6 +12175,7 @@ component will be not processed on the input step DruidInstance"
11965
12175
  "params": [
11966
12176
  {
11967
12177
  "doc": "The callback(self, custom_args) to call on back event",
12178
+ "isNilable": true,
11968
12179
  "isOptional": false,
11969
12180
  "isVararg": false,
11970
12181
  "name": "callback",
@@ -11974,6 +12185,7 @@ component will be not processed on the input step DruidInstance"
11974
12185
  },
11975
12186
  {
11976
12187
  "doc": "Callback argument",
12188
+ "isNilable": true,
11977
12189
  "isOptional": false,
11978
12190
  "isVararg": false,
11979
12191
  "name": "params",
@@ -12010,6 +12222,7 @@ component will be not processed on the input step DruidInstance"
12010
12222
  },
12011
12223
  {
12012
12224
  "doc": "Hover callback",
12225
+ "isNilable": true,
12013
12226
  "isOptional": false,
12014
12227
  "isVararg": false,
12015
12228
  "name": "on_hover_callback",
@@ -12019,6 +12232,7 @@ component will be not processed on the input step DruidInstance"
12019
12232
  },
12020
12233
  {
12021
12234
  "doc": "Mouse hover callback",
12235
+ "isNilable": true,
12022
12236
  "isOptional": false,
12023
12237
  "isVararg": false,
12024
12238
  "name": "on_mouse_hover_callback",
@@ -12055,6 +12269,7 @@ component will be not processed on the input step DruidInstance"
12055
12269
  },
12056
12270
  {
12057
12271
  "doc": "Initial text. Default value is node text from GUI scene.",
12272
+ "isNilable": true,
12058
12273
  "isOptional": false,
12059
12274
  "isVararg": false,
12060
12275
  "name": "value",
@@ -12064,6 +12279,7 @@ component will be not processed on the input step DruidInstance"
12064
12279
  },
12065
12280
  {
12066
12281
  "doc": "Adjust type for text. By default is DOWNSCALE. Look const.TEXT_ADJUST for reference",
12282
+ "isNilable": true,
12067
12283
  "isOptional": false,
12068
12284
  "isVararg": false,
12069
12285
  "name": "adjust_type",
@@ -12109,6 +12325,7 @@ component will be not processed on the input step DruidInstance"
12109
12325
  },
12110
12326
  {
12111
12327
  "doc": "How many nodes can be placed in a row",
12328
+ "isNilable": true,
12112
12329
  "isOptional": false,
12113
12330
  "isVararg": false,
12114
12331
  "name": "in_row",
@@ -12181,6 +12398,7 @@ component will be not processed on the input step DruidInstance"
12181
12398
  },
12182
12399
  {
12183
12400
  "doc": "Callback for on_drag_event(self, dx, dy)",
12401
+ "isNilable": true,
12184
12402
  "isOptional": false,
12185
12403
  "isVararg": false,
12186
12404
  "name": "on_drag_callback",
@@ -12217,6 +12435,7 @@ component will be not processed on the input step DruidInstance"
12217
12435
  },
12218
12436
  {
12219
12437
  "doc": "Swipe callback for on_swipe_end event",
12438
+ "isNilable": true,
12220
12439
  "isOptional": false,
12221
12440
  "isVararg": false,
12222
12441
  "name": "on_swipe_callback",
@@ -12253,6 +12472,7 @@ component will be not processed on the input step DruidInstance"
12253
12472
  },
12254
12473
  {
12255
12474
  "doc": "Default locale id or text from node as default",
12475
+ "isNilable": true,
12256
12476
  "isOptional": false,
12257
12477
  "isVararg": false,
12258
12478
  "name": "locale_id",
@@ -12262,6 +12482,7 @@ component will be not processed on the input step DruidInstance"
12262
12482
  },
12263
12483
  {
12264
12484
  "doc": "Adjust type for text node. Default: "downscale"",
12485
+ "isNilable": true,
12265
12486
  "isOptional": false,
12266
12487
  "isVararg": false,
12267
12488
  "name": "adjust_type",
@@ -12307,6 +12528,7 @@ component will be not processed on the input step DruidInstance"
12307
12528
  },
12308
12529
  {
12309
12530
  "doc": "On slider change callback",
12531
+ "isNilable": true,
12310
12532
  "isOptional": false,
12311
12533
  "isVararg": false,
12312
12534
  "name": "callback",
@@ -12352,6 +12574,7 @@ component will be not processed on the input step DruidInstance"
12352
12574
  },
12353
12575
  {
12354
12576
  "doc": "Gui keyboard type for input field",
12577
+ "isNilable": true,
12355
12578
  "isOptional": false,
12356
12579
  "isVararg": false,
12357
12580
  "name": "keyboard_type",
@@ -12433,6 +12656,7 @@ component will be not processed on the input step DruidInstance"
12433
12656
  },
12434
12657
  {
12435
12658
  "doc": "Start timer value in seconds",
12659
+ "isNilable": true,
12436
12660
  "isOptional": false,
12437
12661
  "isVararg": false,
12438
12662
  "name": "seconds_from",
@@ -12442,6 +12666,7 @@ component will be not processed on the input step DruidInstance"
12442
12666
  },
12443
12667
  {
12444
12668
  "doc": "End timer value in seconds",
12669
+ "isNilable": true,
12445
12670
  "isOptional": false,
12446
12671
  "isVararg": false,
12447
12672
  "name": "seconds_to",
@@ -12451,6 +12676,7 @@ component will be not processed on the input step DruidInstance"
12451
12676
  },
12452
12677
  {
12453
12678
  "doc": "Function on timer end",
12679
+ "isNilable": true,
12454
12680
  "isOptional": false,
12455
12681
  "isVararg": false,
12456
12682
  "name": "callback",
@@ -12496,6 +12722,7 @@ component will be not processed on the input step DruidInstance"
12496
12722
  },
12497
12723
  {
12498
12724
  "doc": "Initial value of progress bar. Default: 1",
12725
+ "isNilable": true,
12499
12726
  "isOptional": false,
12500
12727
  "isVararg": false,
12501
12728
  "name": "init_value",
@@ -12532,6 +12759,7 @@ component will be not processed on the input step DruidInstance"
12532
12759
  },
12533
12760
  {
12534
12761
  "doc": "vertical|horizontal|horizontal_wrap. Default: horizontal",
12762
+ "isNilable": true,
12535
12763
  "isOptional": false,
12536
12764
  "isVararg": false,
12537
12765
  "name": "mode",
@@ -12568,6 +12796,7 @@ component will be not processed on the input step DruidInstance"
12568
12796
  },
12569
12797
  {
12570
12798
  "doc": "Layout mode. Default Fit or Stretch depends from node adjust mode from GUI scene",
12799
+ "isNilable": true,
12571
12800
  "isOptional": false,
12572
12801
  "isVararg": false,
12573
12802
  "name": "mode",
@@ -12577,6 +12806,7 @@ component will be not processed on the input step DruidInstance"
12577
12806
  },
12578
12807
  {
12579
12808
  "doc": "Callback on size changed",
12809
+ "isNilable": true,
12580
12810
  "isOptional": false,
12581
12811
  "isVararg": false,
12582
12812
  "name": "callback",
@@ -12613,6 +12843,7 @@ component will be not processed on the input step DruidInstance"
12613
12843
  },
12614
12844
  {
12615
12845
  "doc": "The callback function",
12846
+ "isNilable": true,
12616
12847
  "isOptional": false,
12617
12848
  "isVararg": false,
12618
12849
  "name": "callback",
@@ -12622,6 +12853,7 @@ component will be not processed on the input step DruidInstance"
12622
12853
  },
12623
12854
  {
12624
12855
  "doc": "The argument to pass into the callback function",
12856
+ "isNilable": true,
12625
12857
  "isOptional": false,
12626
12858
  "isVararg": false,
12627
12859
  "name": "callback_argument",
@@ -12658,6 +12890,7 @@ component will be not processed on the input step DruidInstance"
12658
12890
  },
12659
12891
  {
12660
12892
  "doc": "The initial text value. Default will be gui.get_text(text_node)",
12893
+ "isNilable": true,
12661
12894
  "isOptional": false,
12662
12895
  "isVararg": false,
12663
12896
  "name": "value",
@@ -12697,6 +12930,7 @@ As a template please check rich_input.gui layout."
12697
12930
  },
12698
12931
  {
12699
12932
  "doc": "Nodes table from gui.clone_tree",
12933
+ "isNilable": true,
12700
12934
  "isOptional": false,
12701
12935
  "isVararg": false,
12702
12936
  "name": "nodes",
@@ -12735,6 +12969,7 @@ As a template please check rich_input.gui layout."
12735
12969
  "name": "_apply_cursor_stack",
12736
12970
  "params": [],
12737
12971
  "returns": [],
12972
+ "visibility": "local",
12738
12973
  },
12739
12974
  {
12740
12975
  "brief":
@@ -12893,7 +13128,25 @@ If color_id is not found in palette and not a hex string, returns white."
12893
13128
  "isVararg": false,
12894
13129
  "name": "",
12895
13130
  "types": [
12896
- "number, number, number",
13131
+ "number",
13132
+ ],
13133
+ },
13134
+ {
13135
+ "doc": "",
13136
+ "isOptional": false,
13137
+ "isVararg": false,
13138
+ "name": "",
13139
+ "types": [
13140
+ "number",
13141
+ ],
13142
+ },
13143
+ {
13144
+ "doc": "",
13145
+ "isOptional": false,
13146
+ "isVararg": false,
13147
+ "name": "",
13148
+ "types": [
13149
+ "number",
12897
13150
  ],
12898
13151
  },
12899
13152
  ],
@@ -12914,6 +13167,7 @@ If color_id is not found in palette and not a hex string, returns white."
12914
13167
  },
12915
13168
  {
12916
13169
  "doc": "Default is 1",
13170
+ "isNilable": true,
12917
13171
  "isOptional": false,
12918
13172
  "isVararg": false,
12919
13173
  "name": "alpha",
@@ -12968,6 +13222,7 @@ If color_id is not found in palette and not a hex string, returns white."
12968
13222
  },
12969
13223
  {
12970
13224
  "doc": "",
13225
+ "isNilable": true,
12971
13226
  "isOptional": false,
12972
13227
  "isVararg": false,
12973
13228
  "name": "alpha",
@@ -12983,7 +13238,34 @@ If color_id is not found in palette and not a hex string, returns white."
12983
13238
  "isVararg": false,
12984
13239
  "name": "",
12985
13240
  "types": [
12986
- "number, number, number, number",
13241
+ "number",
13242
+ ],
13243
+ },
13244
+ {
13245
+ "doc": "",
13246
+ "isOptional": false,
13247
+ "isVararg": false,
13248
+ "name": "",
13249
+ "types": [
13250
+ "number",
13251
+ ],
13252
+ },
13253
+ {
13254
+ "doc": "",
13255
+ "isOptional": false,
13256
+ "isVararg": false,
13257
+ "name": "",
13258
+ "types": [
13259
+ "number",
13260
+ ],
13261
+ },
13262
+ {
13263
+ "doc": "",
13264
+ "isOptional": false,
13265
+ "isVararg": false,
13266
+ "name": "",
13267
+ "types": [
13268
+ "number",
12987
13269
  ],
12988
13270
  },
12989
13271
  ],
@@ -13022,6 +13304,7 @@ If color_id is not found in palette and not a hex string, returns white."
13022
13304
  },
13023
13305
  {
13024
13306
  "doc": "",
13307
+ "isNilable": true,
13025
13308
  "isOptional": false,
13026
13309
  "isVararg": false,
13027
13310
  "name": "alpha",
@@ -13037,7 +13320,34 @@ If color_id is not found in palette and not a hex string, returns white."
13037
13320
  "isVararg": false,
13038
13321
  "name": "",
13039
13322
  "types": [
13040
- "number, number, number, number|nil",
13323
+ "number",
13324
+ ],
13325
+ },
13326
+ {
13327
+ "doc": "",
13328
+ "isOptional": false,
13329
+ "isVararg": false,
13330
+ "name": "",
13331
+ "types": [
13332
+ "number",
13333
+ ],
13334
+ },
13335
+ {
13336
+ "doc": "",
13337
+ "isOptional": false,
13338
+ "isVararg": false,
13339
+ "name": "",
13340
+ "types": [
13341
+ "number",
13342
+ ],
13343
+ },
13344
+ {
13345
+ "doc": "",
13346
+ "isOptional": false,
13347
+ "isVararg": false,
13348
+ "name": "",
13349
+ "types": [
13350
+ "number|nil",
13041
13351
  ],
13042
13352
  },
13043
13353
  ],
@@ -13093,6 +13403,7 @@ If color_id is not found in palette and not a hex string, returns white."
13093
13403
  "name": "create_uid",
13094
13404
  "params": [],
13095
13405
  "returns": [],
13406
+ "visibility": "private",
13096
13407
  },
13097
13408
  {
13098
13409
  "brief": "Сreate a new component class, which will inherit from the base Druid component.",
@@ -13101,6 +13412,7 @@ If color_id is not found in palette and not a hex string, returns white."
13101
13412
  "params": [
13102
13413
  {
13103
13414
  "doc": "The name of the component",
13415
+ "isNilable": true,
13104
13416
  "isOptional": false,
13105
13417
  "isVararg": false,
13106
13418
  "name": "name",
@@ -13110,6 +13422,7 @@ If color_id is not found in palette and not a hex string, returns white."
13110
13422
  },
13111
13423
  {
13112
13424
  "doc": "The input priority. The bigger number processed first. Default value: 10",
13425
+ "isNilable": true,
13113
13426
  "isOptional": false,
13114
13427
  "isVararg": false,
13115
13428
  "name": "input_priority",
@@ -13585,6 +13898,7 @@ which are treated as having a length of 1"
13585
13898
  },
13586
13899
  {
13587
13900
  "doc": "The tag to search for. Nil to search for words without a tag",
13901
+ "isNilable": true,
13588
13902
  "isOptional": false,
13589
13903
  "isVararg": false,
13590
13904
  "name": "tag",
@@ -13735,6 +14049,7 @@ which are treated as having a length of 1"
13735
14049
  },
13736
14050
  {
13737
14051
  "doc": "The Druid style table to override style parameters for this Druid instance.",
14052
+ "isNilable": true,
13738
14053
  "isOptional": false,
13739
14054
  "isVararg": false,
13740
14055
  "name": "style",
@@ -13912,6 +14227,7 @@ msg.url(nil, object_url, "gui_widget") -- other game object"
13912
14227
  },
13913
14228
  {
13914
14229
  "doc": "Additional parameters to pass to the widget's init function",
14230
+ "isNilable": true,
13915
14231
  "isOptional": false,
13916
14232
  "isVararg": false,
13917
14233
  "name": "params",
@@ -13967,6 +14283,7 @@ Only one widget can be set per game object."
13967
14283
  "params": [
13968
14284
  {
13969
14285
  "doc": "",
14286
+ "isNilable": true,
13970
14287
  "isOptional": false,
13971
14288
  "isVararg": false,
13972
14289
  "name": "logger_instance",
@@ -13984,6 +14301,7 @@ Only one widget can be set per game object."
13984
14301
  "params": [
13985
14302
  {
13986
14303
  "doc": "",
14304
+ "isNilable": true,
13987
14305
  "isOptional": false,
13988
14306
  "isVararg": false,
13989
14307
  "name": "name",
@@ -13993,6 +14311,7 @@ Only one widget can be set per game object."
13993
14311
  },
13994
14312
  {
13995
14313
  "doc": "",
14314
+ "isNilable": true,
13996
14315
  "isOptional": false,
13997
14316
  "isVararg": false,
13998
14317
  "name": "level",
@@ -14117,7 +14436,16 @@ Only one widget can be set per game object."
14117
14436
  "isVararg": false,
14118
14437
  "name": "",
14119
14438
  "types": [
14120
- "table|nil, string|nil",
14439
+ "table|nil",
14440
+ ],
14441
+ },
14442
+ {
14443
+ "doc": "",
14444
+ "isOptional": false,
14445
+ "isVararg": false,
14446
+ "name": "",
14447
+ "types": [
14448
+ "string|nil",
14121
14449
  ],
14122
14450
  },
14123
14451
  ],
@@ -14156,7 +14484,16 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
14156
14484
  "isVararg": false,
14157
14485
  "name": "",
14158
14486
  "types": [
14159
- "boolean, string|nil",
14487
+ "boolean",
14488
+ ],
14489
+ },
14490
+ {
14491
+ "doc": "",
14492
+ "isOptional": false,
14493
+ "isVararg": false,
14494
+ "name": "",
14495
+ "types": [
14496
+ "string|nil",
14160
14497
  ],
14161
14498
  },
14162
14499
  ],
@@ -14211,6 +14548,7 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
14211
14548
  },
14212
14549
  {
14213
14550
  "doc": "",
14551
+ "isNilable": true,
14214
14552
  "isOptional": false,
14215
14553
  "isVararg": false,
14216
14554
  "name": "property_name",
@@ -14426,13 +14764,22 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
14426
14764
  },
14427
14765
  ],
14428
14766
  "returns": [
14767
+ {
14768
+ "doc": "",
14769
+ "isOptional": false,
14770
+ "isVararg": false,
14771
+ "name": "",
14772
+ "types": [
14773
+ "string|nil",
14774
+ ],
14775
+ },
14429
14776
  {
14430
14777
  "doc": "@success, reason",
14431
14778
  "isOptional": false,
14432
14779
  "isVararg": false,
14433
14780
  "name": "",
14434
14781
  "types": [
14435
- "string|nil, string|nil",
14782
+ "string|nil",
14436
14783
  ],
14437
14784
  },
14438
14785
  ],
@@ -14462,13 +14809,22 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
14462
14809
  },
14463
14810
  ],
14464
14811
  "returns": [
14812
+ {
14813
+ "doc": "",
14814
+ "isOptional": false,
14815
+ "isVararg": false,
14816
+ "name": "",
14817
+ "types": [
14818
+ "boolean",
14819
+ ],
14820
+ },
14465
14821
  {
14466
14822
  "doc": "@success, reason",
14467
14823
  "isOptional": false,
14468
14824
  "isVararg": false,
14469
14825
  "name": "",
14470
14826
  "types": [
14471
- "boolean, string|nil",
14827
+ "string|nil",
14472
14828
  ],
14473
14829
  },
14474
14830
  ],
@@ -14506,13 +14862,40 @@ The path file extension will be used to determine the Defold format (*.atlas, *.
14506
14862
  },
14507
14863
  ],
14508
14864
  "returns": [
14865
+ {
14866
+ "doc": "",
14867
+ "isOptional": false,
14868
+ "isVararg": false,
14869
+ "name": "",
14870
+ "types": [
14871
+ "string",
14872
+ ],
14873
+ },
14874
+ {
14875
+ "doc": "",
14876
+ "isOptional": false,
14877
+ "isVararg": false,
14878
+ "name": "",
14879
+ "types": [
14880
+ "string",
14881
+ ],
14882
+ },
14883
+ {
14884
+ "doc": "",
14885
+ "isOptional": false,
14886
+ "isVararg": false,
14887
+ "name": "",
14888
+ "types": [
14889
+ "string",
14890
+ ],
14891
+ },
14509
14892
  {
14510
14893
  "doc": "@new_object_name, name, value, end_struct_flag",
14511
14894
  "isOptional": false,
14512
14895
  "isVararg": false,
14513
14896
  "name": "",
14514
14897
  "types": [
14515
- "string, string, string, boolean",
14898
+ "boolean",
14516
14899
  ],
14517
14900
  },
14518
14901
  ],
@@ -14598,6 +14981,7 @@ text_node will be first (at left side)"
14598
14981
  "params": [
14599
14982
  {
14600
14983
  "doc": "Gui text node",
14984
+ "isNilable": true,
14601
14985
  "isOptional": false,
14602
14986
  "isVararg": false,
14603
14987
  "name": "text_node",
@@ -14607,6 +14991,7 @@ text_node will be first (at left side)"
14607
14991
  },
14608
14992
  {
14609
14993
  "doc": "Gui box node",
14994
+ "isNilable": true,
14610
14995
  "isOptional": false,
14611
14996
  "isVararg": false,
14612
14997
  "name": "icon_node",
@@ -14635,6 +15020,7 @@ text_node will be first (at left side)"
14635
15020
  ],
14636
15021
  },
14637
15022
  ],
15023
+ "visibility": "local",
14638
15024
  },
14639
15025
  {
14640
15026
  "brief":
@@ -14647,6 +15033,7 @@ icon_node will be first (at left side)"
14647
15033
  "params": [
14648
15034
  {
14649
15035
  "doc": "Gui box node",
15036
+ "isNilable": true,
14650
15037
  "isOptional": false,
14651
15038
  "isVararg": false,
14652
15039
  "name": "icon_node",
@@ -14656,6 +15043,7 @@ icon_node will be first (at left side)"
14656
15043
  },
14657
15044
  {
14658
15045
  "doc": "Gui text node",
15046
+ "isNilable": true,
14659
15047
  "isOptional": false,
14660
15048
  "isVararg": false,
14661
15049
  "name": "text_node",
@@ -14665,6 +15053,7 @@ icon_node will be first (at left side)"
14665
15053
  },
14666
15054
  {
14667
15055
  "doc": "Offset between nodes",
15056
+ "isNilable": true,
14668
15057
  "isOptional": false,
14669
15058
  "isVararg": false,
14670
15059
  "name": "margin",
@@ -14684,6 +15073,7 @@ icon_node will be first (at left side)"
14684
15073
  ],
14685
15074
  },
14686
15075
  ],
15076
+ "visibility": "local",
14687
15077
  },
14688
15078
  {
14689
15079
  "brief":
@@ -14697,6 +15087,7 @@ The centrate will be around 0 x position."
14697
15087
  "params": [
14698
15088
  {
14699
15089
  "doc": "Offset between nodes",
15090
+ "isNilable": true,
14700
15091
  "isOptional": false,
14701
15092
  "isVararg": false,
14702
15093
  "name": "margin",
@@ -14742,6 +15133,7 @@ The centrate will be around 0 x position."
14742
15133
  },
14743
15134
  {
14744
15135
  "doc": "Full path to the template",
15136
+ "isNilable": true,
14745
15137
  "isOptional": false,
14746
15138
  "isVararg": false,
14747
15139
  "name": "template",
@@ -14751,6 +15143,7 @@ The centrate will be around 0 x position."
14751
15143
  },
14752
15144
  {
14753
15145
  "doc": "Nodes created with gui.clone_tree",
15146
+ "isNilable": true,
14754
15147
  "isOptional": false,
14755
15148
  "isVararg": false,
14756
15149
  "name": "nodes",
@@ -14875,6 +15268,7 @@ The centrate will be around 0 x position."
14875
15268
  },
14876
15269
  {
14877
15270
  "doc": "Min value. If nil, value will be clamped to positive infinity",
15271
+ "isNilable": true,
14878
15272
  "isOptional": false,
14879
15273
  "isVararg": false,
14880
15274
  "name": "v1",
@@ -14884,6 +15278,7 @@ The centrate will be around 0 x position."
14884
15278
  },
14885
15279
  {
14886
15280
  "doc": "Max value If nil, value will be clamped to negative infinity",
15281
+ "isNilable": true,
14887
15282
  "isOptional": false,
14888
15283
  "isVararg": false,
14889
15284
  "name": "v2",
@@ -15001,6 +15396,7 @@ The centrate will be around 0 x position."
15001
15396
  },
15002
15397
  {
15003
15398
  "doc": "Decimal places",
15399
+ "isNilable": true,
15004
15400
  "isOptional": false,
15005
15401
  "isVararg": false,
15006
15402
  "name": "num_decimal_places",
@@ -15145,6 +15541,7 @@ The centrate will be around 0 x position."
15145
15541
  },
15146
15542
  {
15147
15543
  "doc": "The source array to get elements from",
15544
+ "isNilable": true,
15148
15545
  "isOptional": false,
15149
15546
  "isVararg": false,
15150
15547
  "name": "source",
@@ -15199,6 +15596,7 @@ The centrate will be around 0 x position."
15199
15596
  },
15200
15597
  {
15201
15598
  "doc": "Additional node to check for click area. If nil, only node will be checked",
15599
+ "isNilable": true,
15202
15600
  "isOptional": false,
15203
15601
  "isVararg": false,
15204
15602
  "name": "node_click_area",
@@ -15208,6 +15606,7 @@ The centrate will be around 0 x position."
15208
15606
  },
15209
15607
  ],
15210
15608
  "returns": [],
15609
+ "visibility": "local",
15211
15610
  },
15212
15611
  {
15213
15612
  "brief": "Get size of node with scale multiplier",
@@ -15252,6 +15651,7 @@ The centrate will be around 0 x position."
15252
15651
  },
15253
15652
  {
15254
15653
  "doc": "True if add current node scale to result",
15654
+ "isNilable": true,
15255
15655
  "isOptional": false,
15256
15656
  "isVararg": false,
15257
15657
  "name": "include_passed_node_scale",
@@ -15430,6 +15830,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
15430
15830
  },
15431
15831
  {
15432
15832
  "doc": "",
15833
+ "isNilable": true,
15433
15834
  "isOptional": false,
15434
15835
  "isVararg": false,
15435
15836
  "name": "depth",
@@ -15439,6 +15840,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
15439
15840
  },
15440
15841
  {
15441
15842
  "doc": "Internal parameter",
15843
+ "isNilable": true,
15442
15844
  "isOptional": false,
15443
15845
  "isVararg": false,
15444
15846
  "name": "result",
@@ -15448,13 +15850,22 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
15448
15850
  },
15449
15851
  ],
15450
15852
  "returns": [
15853
+ {
15854
+ "doc": "",
15855
+ "isOptional": false,
15856
+ "isVararg": false,
15857
+ "name": "",
15858
+ "types": [
15859
+ "string",
15860
+ ],
15861
+ },
15451
15862
  {
15452
15863
  "doc": "String representation of table, Is max string length reached",
15453
15864
  "isOptional": false,
15454
15865
  "isVararg": false,
15455
15866
  "name": "result",
15456
15867
  "types": [
15457
- "string, boolean",
15868
+ "boolean",
15458
15869
  ],
15459
15870
  },
15460
15871
  ],
@@ -15475,6 +15886,7 @@ Offset shown in [-0.5 .. 0.5] range, where -0.5 is left or bottom, 0.5 is right
15475
15886
  },
15476
15887
  {
15477
15888
  "doc": "Offset from node position. Pass current node position to get non relative border values",
15889
+ "isNilable": true,
15478
15890
  "isOptional": false,
15479
15891
  "isVararg": false,
15480
15892
  "name": "offset",
@@ -15550,6 +15962,7 @@ Shift policy can be: left, right, no_shift"
15550
15962
  },
15551
15963
  {
15552
15964
  "doc": "Index to insert. If nil, item will be inserted at the end of array",
15965
+ "isNilable": true,
15553
15966
  "isOptional": false,
15554
15967
  "isVararg": false,
15555
15968
  "name": "index",
@@ -15559,6 +15972,7 @@ Shift policy can be: left, right, no_shift"
15559
15972
  },
15560
15973
  {
15561
15974
  "doc": "The druid_const.SHIFT.* constant",
15975
+ "isNilable": true,
15562
15976
  "isOptional": false,
15563
15977
  "isVararg": false,
15564
15978
  "name": "shift_policy",
@@ -15595,6 +16009,7 @@ Shift policy can be: left, right, no_shift"
15595
16009
  },
15596
16010
  {
15597
16011
  "doc": "Index to remove. If nil, item will be removed from the end of array",
16012
+ "isNilable": true,
15598
16013
  "isOptional": false,
15599
16014
  "isVararg": false,
15600
16015
  "name": "index",
@@ -15604,6 +16019,7 @@ Shift policy can be: left, right, no_shift"
15604
16019
  },
15605
16020
  {
15606
16021
  "doc": "The druid_const.SHIFT.* constant",
16022
+ "isNilable": true,
15607
16023
  "isOptional": false,
15608
16024
  "isVararg": false,
15609
16025
  "name": "shift_policy",
@@ -15640,6 +16056,7 @@ Shift policy can be: left, right, no_shift"
15640
16056
  },
15641
16057
  {
15642
16058
  "doc": "GUI root node to stop search",
16059
+ "isNilable": true,
15643
16060
  "isOptional": false,
15644
16061
  "isVararg": false,
15645
16062
  "name": "root",
@@ -15705,6 +16122,7 @@ Thanks to Dragosha! ( ・ω・ ) < Hey friend!"
15705
16122
  },
15706
16123
  {
15707
16124
  "doc": "Druid style table",
16125
+ "isNilable": true,
15708
16126
  "isOptional": false,
15709
16127
  "isVararg": false,
15710
16128
  "name": "style",
@@ -15732,6 +16150,7 @@ Thanks to Dragosha! ( ・ω・ ) < Hey friend!"
15732
16150
  "params": [
15733
16151
  {
15734
16152
  "doc": "",
16153
+ "isNilable": true,
15735
16154
  "isOptional": false,
15736
16155
  "isVararg": false,
15737
16156
  "name": "logger",