@defold-typescript/types 0.34.0 → 0.35.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 (62) hide show
  1. package/api-signatures.json +156 -183
  2. package/api-targets.json +9 -66
  3. package/generated/buffer.d.ts +2 -2
  4. package/generated/collectionfactory.d.ts +2 -2
  5. package/generated/factory.d.ts +2 -2
  6. package/generated/gui.d.ts +23 -23
  7. package/generated/kinds/gui-script.d.ts +0 -4
  8. package/generated/kinds/render-script.d.ts +1 -4
  9. package/generated/kinds/script.d.ts +0 -4
  10. package/generated/model.d.ts +2 -2
  11. package/generated/profiler.d.ts +2 -4
  12. package/generated/render.d.ts +2 -150
  13. package/generated/sys.d.ts +1 -1
  14. package/generated/versions/defold-1.12.4/buffer.d.ts +2 -2
  15. package/generated/versions/defold-1.12.4/collectionfactory.d.ts +2 -2
  16. package/generated/versions/defold-1.12.4/factory.d.ts +2 -2
  17. package/generated/versions/defold-1.12.4/gui.d.ts +23 -23
  18. package/generated/versions/defold-1.12.4/index.d.ts +9 -4
  19. package/generated/versions/defold-1.12.4/model.d.ts +2 -2
  20. package/generated/versions/defold-1.12.4/profiler.d.ts +2 -4
  21. package/generated/versions/defold-1.12.4/render.d.ts +2 -150
  22. package/generated/versions/defold-1.12.4/sys.d.ts +1 -1
  23. package/generated/versions/defold-1.12.4/vmath.d.ts +0 -19
  24. package/generated/versions/defold-1.12.4/window.d.ts +2 -4
  25. package/generated/versions/defold-1.13.0/buffer.d.ts +2 -2
  26. package/generated/versions/defold-1.13.0/collectionfactory.d.ts +2 -2
  27. package/generated/versions/defold-1.13.0/factory.d.ts +2 -2
  28. package/generated/versions/defold-1.13.0/gui.d.ts +23 -23
  29. package/generated/versions/defold-1.13.0/index.d.ts +9 -4
  30. package/generated/versions/defold-1.13.0/model.d.ts +2 -2
  31. package/generated/versions/defold-1.13.0/profiler.d.ts +2 -4
  32. package/generated/versions/defold-1.13.0/render.d.ts +2 -150
  33. package/generated/versions/defold-1.13.0/sys.d.ts +1 -1
  34. package/generated/versions/defold-1.13.0/vmath.d.ts +0 -19
  35. package/generated/versions/defold-1.13.0/window.d.ts +2 -4
  36. package/generated/vmath.d.ts +0 -19
  37. package/generated/window.d.ts +2 -4
  38. package/index.d.ts +1 -4
  39. package/package.json +4 -2
  40. package/scripts/extension-goldens.ts +23 -0
  41. package/scripts/generate-api-signatures.ts +40 -1
  42. package/scripts/materialize-version.ts +15 -1
  43. package/scripts/regen.ts +109 -27
  44. package/scripts/signature-store-fs.ts +1 -0
  45. package/scripts/sync-api-docs.ts +5 -61
  46. package/src/emit-dts.ts +212 -21
  47. package/src/optional-correction-provenance.ts +13 -2
  48. package/src/render-overloads.d.ts +29 -0
  49. package/src/vmath-overloads.d.ts +19 -0
  50. package/generated/iac.d.ts +0 -18
  51. package/generated/iap.d.ts +0 -60
  52. package/generated/push.d.ts +0 -66
  53. package/generated/versions/defold-1.12.4/iac.d.ts +0 -18
  54. package/generated/versions/defold-1.12.4/iap.d.ts +0 -60
  55. package/generated/versions/defold-1.12.4/push.d.ts +0 -66
  56. package/generated/versions/defold-1.12.4/webview.d.ts +0 -71
  57. package/generated/versions/defold-1.13.0/iac.d.ts +0 -18
  58. package/generated/versions/defold-1.13.0/iap.d.ts +0 -60
  59. package/generated/versions/defold-1.13.0/push.d.ts +0 -66
  60. package/generated/versions/defold-1.13.0/webview.d.ts +0 -71
  61. package/generated/webview.d.ts +0 -71
  62. package/scripts/fidelity-audit.ts +0 -684
@@ -321,9 +321,9 @@
321
321
  "buffer\u0000FUNCTION\u0000buffer.copy_stream\u0000[{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_stream(dst: Opaque<\"bufferstream\"> & { [index: number]: number }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number }, srcoffset: number, count: number): void;",
322
322
  "buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function create(element_count: number, declaration: { name?: Hash | string; type?: Opaque<\"constant\">; count?: number }): Opaque<\"buffer\">;",
323
323
  "buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_bytes(buffer: Opaque<\"buffer\">, stream_name: Hash): string;",
324
- "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, Opaque<\"constant\"> | undefined]>;",
324
+ "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" } | undefined]>;",
325
325
  "buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": "function get_stream(buffer: Opaque<\"buffer\">, stream_name: Hash | string): Opaque<\"bufferstream\"> & { [index: number]: number };",
326
- "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: Opaque<\"constant\">): void;",
326
+ "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" }): void;",
327
327
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
328
328
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_FIT\u0000": "const ORTHO_MODE_AUTO_FIT: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_FIT\" };",
329
329
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_FIXED\u0000": "const ORTHO_MODE_FIXED: number & { readonly __brand: \"camera.ORTHO_MODE_FIXED\" };",
@@ -361,7 +361,7 @@
361
361
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
362
362
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
363
363
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
364
- "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
364
+ "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
365
365
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
366
366
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
367
367
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -405,7 +405,7 @@
405
405
  "factory\u0000CONSTANT\u0000factory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"factory.STATUS_LOADING\" };",
406
406
  "factory\u0000CONSTANT\u0000factory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"factory.STATUS_UNLOADED\" };",
407
407
  "factory\u0000FUNCTION\u0000factory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): Hash;",
408
- "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
408
+ "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"factory.STATUS_UNLOADED\" } | number & { readonly __brand: \"factory.STATUS_LOADING\" } | number & { readonly __brand: \"factory.STATUS_LOADED\" };",
409
409
  "factory\u0000FUNCTION\u0000factory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
410
410
  "factory\u0000FUNCTION\u0000factory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
411
411
  "factory\u0000FUNCTION\u0000factory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -467,6 +467,7 @@
467
467
  "go\u0000FUNCTION\u0000go.cancel_animations\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(url: SceneAddress | Hash | Url, property?: string | Hash): void;",
468
468
  "go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function _delete(id?: SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[], recursive?: boolean): void;",
469
469
  "go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
470
+ "go\u0000FUNCTION\u0000go.get\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "go.get<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions) => P[K]\ngo.get<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions): go.properties[K]\ngo.get(url: SceneAddress | Hash | Url, property: string | Hash, options?: GoPropertyOptions): number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion",
470
471
  "go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
471
472
  "go\u0000FUNCTION\u0000go.get_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"hash\",\"nil\"],\"isOptional\":false}]": "function get_parent(id?: SceneGameObjectAddress | Hash | Url): Hash | undefined;",
472
473
  "go\u0000FUNCTION\u0000go.get_position\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
@@ -478,6 +479,8 @@
478
479
  "go\u0000FUNCTION\u0000go.get_world_scale\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_world_scale(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
479
480
  "go\u0000FUNCTION\u0000go.get_world_scale_uniform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_world_scale_uniform(id?: SceneGameObjectAddress | Hash | Url): number;",
480
481
  "go\u0000FUNCTION\u0000go.get_world_transform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function get_world_transform(id?: SceneGameObjectAddress | Hash | Url): Matrix4;",
482
+ "go\u0000FUNCTION\u0000go.property\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "go.property(name: string, value: number): ScriptProperty<number>\ngo.property(name: string, value: boolean): ScriptProperty<boolean>\ngo.property(name: string, value: Hash): ScriptProperty<Hash>\ngo.property(name: string, value: Url): ScriptProperty<Url>\ngo.property(name: string, value: Vector3): ScriptProperty<Vector3>\ngo.property(name: string, value: Vector4): ScriptProperty<Vector4>\ngo.property(name: string, value: Quaternion): ScriptProperty<Quaternion>",
483
+ "go\u0000FUNCTION\u0000go.set\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "go.set<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, value: P[K], options?: GoPropertyOptions) => void\ngo.set<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, value: go.properties[K], options?: GoPropertyOptions): void\ngo.set(url: SceneAddress | Hash | Url, property: string | Hash, value: number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion, options?: GoPropertyOptions): void",
481
484
  "go\u0000FUNCTION\u0000go.set_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(id?: SceneGameObjectAddress | Hash | Url, parent_id?: SceneGameObjectAddress | Hash | Url, keep_world_transform?: boolean): void;",
482
485
  "go\u0000FUNCTION\u0000go.set_position\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_position(position: Vector3, id?: SceneGameObjectAddress | Hash | Url): void;",
483
486
  "go\u0000FUNCTION\u0000go.set_rotation\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_rotation(rotation: Quaternion, id?: SceneGameObjectAddress | Hash | Url): void;",
@@ -725,19 +728,19 @@
725
728
  "gui\u0000CONSTANT\u0000gui.TYPE_PIE\u0000": "const TYPE_PIE: number & { readonly __brand: \"gui.TYPE_PIE\" };",
726
729
  "gui\u0000CONSTANT\u0000gui.TYPE_TEXT\u0000": "const TYPE_TEXT: number & { readonly __brand: \"gui.TYPE_TEXT\" };",
727
730
  "gui\u0000FUNCTION\u0000final\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function final(self: Opaque<\"userdata\">): void;",
728
- "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | Opaque<\"constant\">, to: number | Vector3 | Vector4 | Quaternion, easing: Opaque<\"constant\"> | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: Opaque<\"constant\">): void;",
729
- "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | Opaque<\"constant\">): void;",
731
+ "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, to: number | Vector3 | Vector4 | Quaternion, easing: number & { readonly __brand: \"gui.EASING_INBACK\" } | number & { readonly __brand: \"gui.EASING_INBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INCIRC\" } | number & { readonly __brand: \"gui.EASING_INCUBIC\" } | number & { readonly __brand: \"gui.EASING_INELASTIC\" } | number & { readonly __brand: \"gui.EASING_INEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTBACK\" } | number & { readonly __brand: \"gui.EASING_INOUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INOUTCIRC\" } | number & { readonly __brand: \"gui.EASING_INOUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_INOUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_INOUTEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTQUAD\" } | number & { readonly __brand: \"gui.EASING_INOUTQUART\" } | number & { readonly __brand: \"gui.EASING_INOUTQUINT\" } | number & { readonly __brand: \"gui.EASING_INOUTSINE\" } | number & { readonly __brand: \"gui.EASING_INQUAD\" } | number & { readonly __brand: \"gui.EASING_INQUART\" } | number & { readonly __brand: \"gui.EASING_INQUINT\" } | number & { readonly __brand: \"gui.EASING_INSINE\" } | number & { readonly __brand: \"gui.EASING_LINEAR\" } | number & { readonly __brand: \"gui.EASING_OUTBACK\" } | number & { readonly __brand: \"gui.EASING_OUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINBACK\" } | number & { readonly __brand: \"gui.EASING_OUTINBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTINCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTINCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTINELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTINEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTINQUART\" } | number & { readonly __brand: \"gui.EASING_OUTINQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTINSINE\" } | number & { readonly __brand: \"gui.EASING_OUTQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTQUART\" } | number & { readonly __brand: \"gui.EASING_OUTQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTSINE\" } | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: number & { readonly __brand: \"gui.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_PINGPONG\" }): void;",
732
+ "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }): void;",
730
733
  "gui\u0000FUNCTION\u0000gui.cancel_flipbook\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function cancel_flipbook(node: Opaque<\"node\">): void;",
731
734
  "gui\u0000FUNCTION\u0000gui.clone\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function clone(node: Opaque<\"node\">): Opaque<\"node\">;",
732
735
  "gui\u0000FUNCTION\u0000gui.clone_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function clone_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
733
736
  "gui\u0000FUNCTION\u0000gui.delete_node\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function delete_node(node: Opaque<\"node\">): void;",
734
737
  "gui\u0000FUNCTION\u0000gui.delete_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function delete_texture(texture: string | Hash): void;",
735
- "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | Opaque<\"constant\">, options?: { index?: number }): unknown;",
736
- "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
738
+ "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, options?: { index?: number }): unknown;",
739
+ "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" };",
737
740
  "gui\u0000FUNCTION\u0000gui.get_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_alpha(node: Opaque<\"node\">): number;",
738
- "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
741
+ "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" };",
739
742
  "gui\u0000FUNCTION\u0000gui.get_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_inverted(node: Opaque<\"node\">): boolean;",
740
- "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
743
+ "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" };",
741
744
  "gui\u0000FUNCTION\u0000gui.get_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_visible(node: Opaque<\"node\">): boolean;",
742
745
  "gui\u0000FUNCTION\u0000gui.get_color\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_color(node: Opaque<\"node\">): Vector4;",
743
746
  "gui\u0000FUNCTION\u0000gui.get_euler\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_euler(node: Opaque<\"node\">): Vector3;",
@@ -759,29 +762,29 @@
759
762
  "gui\u0000FUNCTION\u0000gui.get_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_line_break(node: Opaque<\"node\">): boolean;",
760
763
  "gui\u0000FUNCTION\u0000gui.get_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_material(node: Opaque<\"node\">): Hash;",
761
764
  "gui\u0000FUNCTION\u0000gui.get_node\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function get_node(id: string | Hash): Opaque<\"node\">;",
762
- "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): Opaque<\"constant\">;",
765
+ "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" };",
763
766
  "gui\u0000FUNCTION\u0000gui.get_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_outline(node: Opaque<\"node\">): Vector4;",
764
767
  "gui\u0000FUNCTION\u0000gui.get_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]": "function get_parent(node: Opaque<\"node\">): Opaque<\"node\"> | undefined;",
765
768
  "gui\u0000FUNCTION\u0000gui.get_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_particlefx(node: Opaque<\"node\">): Hash;",
766
769
  "gui\u0000FUNCTION\u0000gui.get_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_perimeter_vertices(node: Opaque<\"node\">): number;",
767
- "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): Opaque<\"constant\">;",
770
+ "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" };",
768
771
  "gui\u0000FUNCTION\u0000gui.get_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(node: Opaque<\"node\">): Vector3;",
769
772
  "gui\u0000FUNCTION\u0000gui.get_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function get_rotation(node: Opaque<\"node\">): Quaternion;",
770
773
  "gui\u0000FUNCTION\u0000gui.get_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_scale(node: Opaque<\"node\">): Vector3;",
771
774
  "gui\u0000FUNCTION\u0000gui.get_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_screen_position(node: Opaque<\"node\">): Vector3;",
772
775
  "gui\u0000FUNCTION\u0000gui.get_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_shadow(node: Opaque<\"node\">): Vector4;",
773
776
  "gui\u0000FUNCTION\u0000gui.get_size\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_size(node: Opaque<\"node\">): Vector3;",
774
- "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
777
+ "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" };",
775
778
  "gui\u0000FUNCTION\u0000gui.get_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_slice9(node: Opaque<\"node\">): Vector4;",
776
779
  "gui\u0000FUNCTION\u0000gui.get_text\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_text(node: Opaque<\"node\">): string;",
777
780
  "gui\u0000FUNCTION\u0000gui.get_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_texture(node: Opaque<\"node\">): Hash;",
778
781
  "gui\u0000FUNCTION\u0000gui.get_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_tracking(node: Opaque<\"node\">): number;",
779
782
  "gui\u0000FUNCTION\u0000gui.get_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
780
- "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[Opaque<\"constant\">, number | undefined]>;",
783
+ "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[number & { readonly __brand: \"gui.TYPE_BOX\" } | number & { readonly __brand: \"gui.TYPE_TEXT\" } | number & { readonly __brand: \"gui.TYPE_PIE\" } | number & { readonly __brand: \"gui.TYPE_PARTICLEFX\" } | number & { readonly __brand: \"gui.TYPE_CUSTOM\" }, number | undefined]>;",
781
784
  "gui\u0000FUNCTION\u0000gui.get_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_visible(node: Opaque<\"node\">): boolean;",
782
785
  "gui\u0000FUNCTION\u0000gui.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
783
- "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
784
- "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
786
+ "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" };",
787
+ "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" };",
785
788
  "gui\u0000FUNCTION\u0000gui.hide_keyboard\u0000[]->[]": "function hide_keyboard(): void;",
786
789
  "gui\u0000FUNCTION\u0000gui.is_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_enabled(node: Opaque<\"node\">, recursive?: boolean): boolean;",
787
790
  "gui\u0000FUNCTION\u0000gui.move_above\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]->[]": "function move_above(node: Opaque<\"node\">, reference?: Opaque<\"node\">): void;",
@@ -798,12 +801,12 @@
798
801
  "gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
799
802
  "gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
800
803
  "gui\u0000FUNCTION\u0000gui.screen_to_local\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function screen_to_local(node: Opaque<\"node\">, screen_position: Vector3): Vector3;",
801
- "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | Opaque<\"constant\">, value?: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
802
- "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: Opaque<\"constant\">): void;",
804
+ "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, value?: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
805
+ "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" }): void;",
803
806
  "gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
804
- "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: Opaque<\"constant\">): void;",
807
+ "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" }): void;",
805
808
  "gui\u0000FUNCTION\u0000gui.set_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_inverted(node: Opaque<\"node\">, inverted: boolean): void;",
806
- "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: Opaque<\"constant\">): void;",
809
+ "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" }): void;",
807
810
  "gui\u0000FUNCTION\u0000gui.set_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_visible(node: Opaque<\"node\">, visible: boolean): void;",
808
811
  "gui\u0000FUNCTION\u0000gui.set_color\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_color(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
809
812
  "gui\u0000FUNCTION\u0000gui.set_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_enabled(node: Opaque<\"node\">, enabled: boolean): void;",
@@ -820,30 +823,30 @@
820
823
  "gui\u0000FUNCTION\u0000gui.set_leading\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_leading(node: Opaque<\"node\">, leading: number): void;",
821
824
  "gui\u0000FUNCTION\u0000gui.set_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_line_break(node: Opaque<\"node\">, line_break: boolean): void;",
822
825
  "gui\u0000FUNCTION\u0000gui.set_material\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_material(node: Opaque<\"node\">, material: string | Hash): void;",
823
- "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: Opaque<\"constant\">): void;",
826
+ "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" }): void;",
824
827
  "gui\u0000FUNCTION\u0000gui.set_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_outline(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
825
828
  "gui\u0000FUNCTION\u0000gui.set_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"node\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(node: Opaque<\"node\">, parent?: Opaque<\"node\">, keep_scene_transform?: boolean): void;",
826
829
  "gui\u0000FUNCTION\u0000gui.set_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_particlefx(node: Opaque<\"node\">, particlefx: Hash | string): void;",
827
830
  "gui\u0000FUNCTION\u0000gui.set_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_perimeter_vertices(node: Opaque<\"node\">, vertices: number): void;",
828
- "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: Opaque<\"constant\">): void;",
831
+ "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" }): void;",
829
832
  "gui\u0000FUNCTION\u0000gui.set_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_position(node: Opaque<\"node\">, position: Vector3 | Vector4): void;",
830
833
  "gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
831
834
  "gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4): void;",
832
- "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: Opaque<\"constant\">): void;",
835
+ "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: number & { readonly __brand: \"gui.SAFE_AREA_NONE\" } | number & { readonly __brand: \"gui.SAFE_AREA_LONG\" } | number & { readonly __brand: \"gui.SAFE_AREA_SHORT\" } | number & { readonly __brand: \"gui.SAFE_AREA_BOTH\" }): void;",
833
836
  "gui\u0000FUNCTION\u0000gui.set_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_scale(node: Opaque<\"node\">, scale: Vector3 | Vector4): void;",
834
837
  "gui\u0000FUNCTION\u0000gui.set_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[]": "function set_screen_position(node: Opaque<\"node\">, screen_position: Vector3): void;",
835
838
  "gui\u0000FUNCTION\u0000gui.set_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_shadow(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
836
839
  "gui\u0000FUNCTION\u0000gui.set_size\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_size(node: Opaque<\"node\">, size: Vector3 | Vector4): void;",
837
- "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: Opaque<\"constant\">): void;",
840
+ "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" }): void;",
838
841
  "gui\u0000FUNCTION\u0000gui.set_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector4\"],\"isOptional\":false}]->[]": "function set_slice9(node: Opaque<\"node\">, values: Vector4): void;",
839
842
  "gui\u0000FUNCTION\u0000gui.set_text\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\",\"string\"],\"isOptional\":false}]->[]": "function set_text(node: Opaque<\"node\">, text: string | number): void;",
840
843
  "gui\u0000FUNCTION\u0000gui.set_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_texture(node: Opaque<\"node\">, texture: string | Hash): void;",
841
844
  "gui\u0000FUNCTION\u0000gui.set_texture_data\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function set_texture_data(texture: string | Hash, width: number, height: number, type: string | Opaque<\"constant\">, buffer: string, flip?: boolean): boolean;",
842
845
  "gui\u0000FUNCTION\u0000gui.set_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_tracking(node: Opaque<\"node\">, tracking: number): void;",
843
846
  "gui\u0000FUNCTION\u0000gui.set_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_visible(node: Opaque<\"node\">, visible: boolean): void;",
844
- "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
845
- "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
846
- "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: Opaque<\"constant\">, autoclose: boolean): void;",
847
+ "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" }): void;",
848
+ "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" }): void;",
849
+ "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: number & { readonly __brand: \"gui.KEYBOARD_TYPE_DEFAULT\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_EMAIL\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_NUMBER_PAD\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_PASSWORD\" }, autoclose: boolean): void;",
847
850
  "gui\u0000FUNCTION\u0000gui.stop_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function stop_particlefx(node: Opaque<\"node\">, options?: { clear?: boolean }): void;",
848
851
  "gui\u0000FUNCTION\u0000init\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function init(self: Opaque<\"userdata\">): void;",
849
852
  "gui\u0000FUNCTION\u0000on_input\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"boolean\",\"nil\"],\"isOptional\":false}]": "function on_input(self: Opaque<\"userdata\">, action_id: Hash, action: { value?: number; pressed?: boolean; released?: boolean; repeated?: boolean; x?: number; y?: number; screen_x?: number; screen_y?: number; dx?: number; dy?: number; screen_dx?: number; screen_dy?: number; gamepad?: number; gamepad_axis?: Vector3; touch?: { id?: number; pressed?: boolean; released?: boolean; tap_count?: number; x?: number; y?: number; dx?: number; dy?: number; acc_x?: number; acc_y?: number; acc_z?: number }[]; text?: string }): boolean | undefined;",
@@ -857,14 +860,6 @@
857
860
  "html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
858
861
  "html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
859
862
  "http\u0000FUNCTION\u0000http.request\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"function(self, id, response)\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function request(url: string, method: string, callback: (self: unknown, id: unknown, response: unknown) => void, headers?: LuaMap<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
860
- "iac\u0000FUNCTION\u0000iac.set_listener\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_listener(payload: Record<string | number, unknown>, type: number): void;",
861
- "iap\u0000FUNCTION\u0000iap.acknowledge\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function acknowledge(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
862
- "iap\u0000FUNCTION\u0000iap.buy\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function buy(id: string, options?: { request_id?: string; token?: string }): void;",
863
- "iap\u0000FUNCTION\u0000iap.finish\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function finish(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
864
- "iap\u0000FUNCTION\u0000iap.get_provider_id\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_provider_id(): Opaque<\"constant\">;",
865
- "iap\u0000FUNCTION\u0000iap.list\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function list(ids: string[], callback: (...args: unknown[]) => unknown): void;",
866
- "iap\u0000FUNCTION\u0000iap.restore\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function restore(): boolean;",
867
- "iap\u0000FUNCTION\u0000iap.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
868
863
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
869
864
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
870
865
  "image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
@@ -918,7 +913,7 @@
918
913
  "model\u0000FUNCTION\u0000model.get_go\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_go(url: string | Hash | Url, bone_id: string | Hash): Hash;",
919
914
  "model\u0000FUNCTION\u0000model.get_mesh_aabb\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mesh_aabb(url: string | Hash | Url): LuaMap<Hash, { min: Vector3; max: Vector3 }>;",
920
915
  "model\u0000FUNCTION\u0000model.get_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url): boolean;",
921
- "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: Opaque<\"constant\">, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
916
+ "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: number & { readonly __brand: \"go.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_PINGPONG\" }, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
922
917
  "model\u0000FUNCTION\u0000model.reset_constant\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function reset_constant(url: string | Hash | Url, constant: string | Hash): void;",
923
918
  "model\u0000FUNCTION\u0000model.set_blend_weights\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":false}]->[]": "function set_blend_weights(url: string | Hash | Url, weights?: number[]): void;",
924
919
  "model\u0000FUNCTION\u0000model.set_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url, enabled: boolean): void;",
@@ -926,6 +921,10 @@
926
921
  "model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
927
922
  "model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
928
923
  "model\u0000PROPERTY\u0000textureN\u0000": "textureN: Hash;",
924
+ "msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<K extends string>(receiver: SceneAddress | Url | Hash, message_id: K, message?: MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
925
+ "msg\u0000FUNCTION\u0000msg.url\u0000[]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
926
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
927
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
929
928
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_POSTSPAWN\u0000": "const EMITTER_STATE_POSTSPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_POSTSPAWN\" };",
930
929
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_PRESPAWN\u0000": "const EMITTER_STATE_PRESPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_PRESPAWN\" };",
931
930
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_SLEEPING\u0000": "const EMITTER_STATE_SLEEPING: number & { readonly __brand: \"particlefx.EMITTER_STATE_SLEEPING\" };",
@@ -988,18 +987,10 @@
988
987
  "profiler\u0000FUNCTION\u0000profiler.recorded_frame_count\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function recorded_frame_count(): number;",
989
988
  "profiler\u0000FUNCTION\u0000profiler.scope_begin\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function scope_begin(name: string): void;",
990
989
  "profiler\u0000FUNCTION\u0000profiler.scope_end\u0000[]->[]": "function scope_end(): void;",
991
- "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: Opaque<\"constant\">): void;",
992
- "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: Opaque<\"constant\">): void;",
990
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: number & { readonly __brand: \"profiler.MODE_RUN\" } | number & { readonly __brand: \"profiler.MODE_PAUSE\" } | number & { readonly __brand: \"profiler.MODE_SHOW_PEAK_FRAME\" } | number & { readonly __brand: \"profiler.MODE_RECORD\" }): void;",
991
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: number & { readonly __brand: \"profiler.VIEW_MODE_FULL\" } | number & { readonly __brand: \"profiler.VIEW_MODE_MINIMIZED\" }): void;",
993
992
  "profiler\u0000FUNCTION\u0000profiler.set_ui_vsync_wait_visible\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_ui_vsync_wait_visible(visible: boolean): void;",
994
993
  "profiler\u0000FUNCTION\u0000profiler.view_recorded_frame\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function view_recorded_frame(frame_index: { distance?: number; frame?: number }): void;",
995
- "push\u0000FUNCTION\u0000push.cancel\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function cancel(id: number): void;",
996
- "push\u0000FUNCTION\u0000push.cancel_all_issued\u0000[]->[]": "function cancel_all_issued(): void;",
997
- "push\u0000FUNCTION\u0000push.get_all_scheduled\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_all_scheduled(): Record<string | number, unknown>;",
998
- "push\u0000FUNCTION\u0000push.get_scheduled\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_scheduled(id: number): Record<string | number, unknown>;",
999
- "push\u0000FUNCTION\u0000push.register\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function register(notifications: number[], callback: (...args: unknown[]) => unknown): void;",
1000
- "push\u0000FUNCTION\u0000push.schedule\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]": "function schedule(time: number, title: string, alert: string, payload: string, notification_settings: { action?: string; badge_count?: number; priority?: number }): LuaMultiReturn<[number, string]>;",
1001
- "push\u0000FUNCTION\u0000push.set_badge_count\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_badge_count(count: number): void;",
1002
- "push\u0000FUNCTION\u0000push.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
1003
994
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_ALL\u0000": "const FRUSTUM_PLANES_ALL: number & { readonly __brand: \"render.FRUSTUM_PLANES_ALL\" };",
1004
995
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_SIDES\u0000": "const FRUSTUM_PLANES_SIDES: number & { readonly __brand: \"render.FRUSTUM_PLANES_SIDES\" };",
1005
996
  "render\u0000CONSTANT\u0000render.RENDER_TARGET_DEFAULT\u0000": "const RENDER_TARGET_DEFAULT: number & { readonly __brand: \"render.RENDER_TARGET_DEFAULT\" };",
@@ -1010,13 +1001,13 @@
1010
1001
  "render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\">;",
1011
1002
  "render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
1012
1003
  "render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
1013
- "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: Opaque<\"constant\">): void;",
1004
+ "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
1014
1005
  "render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
1015
1006
  "render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function dispatch_compute(x: number, y: number, z: number, options?: { constants?: Opaque<\"constant_buffer\"> }): void;",
1016
1007
  "render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw(predicate: number, options?: { frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\">; sort_order?: number }): void;",
1017
1008
  "render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
1018
1009
  "render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
1019
- "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: Opaque<\"constant\">): void;",
1010
+ "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
1020
1011
  "render\u0000FUNCTION\u0000render.enable_texture\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":true}]->[]": "function enable_texture(binding: number | string | Hash, handle_or_name: Opaque<\"texture\"> | string | Hash, buffer_type?: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): void;",
1021
1012
  "render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
1022
1013
  "render\u0000FUNCTION\u0000render.get_render_target_height\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_render_target_height(render_target: Opaque<\"render_target\">, buffer_type: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): number;",
@@ -1025,7 +1016,7 @@
1025
1016
  "render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
1026
1017
  "render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
1027
1018
  "render\u0000FUNCTION\u0000render.predicate\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function predicate(tags: (string | Hash)[]): number;",
1028
- "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "function render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">;",
1019
+ "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "render.render_target(parameters: Record<string | number, unknown>): Opaque<\"render_target\">\nrender.render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">",
1029
1020
  "render\u0000FUNCTION\u0000render.set_blend_equation_separate\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_equation_separate(equation_color: number, equation_alpha: number): void;",
1030
1021
  "render\u0000FUNCTION\u0000render.set_blend_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_func(source_factor: number, destination_factor: number): void;",
1031
1022
  "render\u0000FUNCTION\u0000render.set_blend_func_separate\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_func_separate(source_factor_color: number, destination_factor_color: number, source_factor_alpha: number, destination_factor_alpha: number): void;",
@@ -1190,7 +1181,7 @@
1190
1181
  "sys\u0000FUNCTION\u0000sys.get_config_int\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_int(key: string, default_value?: number): number;",
1191
1182
  "sys\u0000FUNCTION\u0000sys.get_config_number\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_number(key: string, default_value?: number): number;",
1192
1183
  "sys\u0000FUNCTION\u0000sys.get_config_string\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_config_string(key: string, default_value?: string): string;",
1193
- "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): Opaque<\"constant\">;",
1184
+ "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): number & { readonly __brand: \"sys.NETWORK_DISCONNECTED\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED_CELLULAR\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED\" };",
1194
1185
  "sys\u0000FUNCTION\u0000sys.get_engine_info\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_engine_info(): { version: string; version_sha1: string; is_debug: boolean };",
1195
1186
  "sys\u0000FUNCTION\u0000sys.get_host_path\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_host_path(filename: string): string;",
1196
1187
  "sys\u0000FUNCTION\u0000sys.get_ifaddrs\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_ifaddrs(): { name: string; address: string; mac: string; up: boolean; running: boolean }[];",
@@ -1236,13 +1227,17 @@
1236
1227
  "types\u0000FUNCTION\u0000types.is_vector\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector(var_: unknown): var_ is Vector;",
1237
1228
  "types\u0000FUNCTION\u0000types.is_vector3\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector3(var_: unknown): var_ is Vector3;",
1238
1229
  "types\u0000FUNCTION\u0000types.is_vector4\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector4(var_: unknown): var_ is Vector4;",
1230
+ "vmath\u0000FUNCTION\u0000vmath.clamp\u0000[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.clamp<T extends number | Vector3 | Vector4>(value: T, min: number | T, max: number | T): T",
1239
1231
  "vmath\u0000FUNCTION\u0000vmath.conj\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function conj(q1: Quaternion): Quaternion;",
1240
1232
  "vmath\u0000FUNCTION\u0000vmath.cross\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function cross(v1: Vector3, v2: Vector3): Vector3;",
1241
1233
  "vmath\u0000FUNCTION\u0000vmath.dot\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function dot(v1: Vector3 | Vector4, v2: Vector3 | Vector4): number;",
1242
- "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function euler_to_quat(x: number | Vector3, y: number, z: number): Quaternion;",
1234
+ "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.euler_to_quat(v: Vector3): Quaternion\nvmath.euler_to_quat(x: number, y: number, z: number): Quaternion",
1243
1235
  "vmath\u0000FUNCTION\u0000vmath.inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function inv(m1: Matrix4): Matrix4;",
1244
1236
  "vmath\u0000FUNCTION\u0000vmath.length\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length(v: Vector3 | Vector4 | Quaternion): number;",
1245
1237
  "vmath\u0000FUNCTION\u0000vmath.length_sqr\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length_sqr(v: Vector3 | Vector4 | Quaternion): number;",
1238
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
1239
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
1240
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
1246
1241
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(): Matrix4;",
1247
1242
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(m1: Matrix4): Matrix4;",
1248
1243
  "vmath\u0000FUNCTION\u0000vmath.matrix4_axis_angle\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_axis_angle(v: Vector3, angle: number): Matrix4;",
@@ -1259,6 +1254,8 @@
1259
1254
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: number): Matrix4;",
1260
1255
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: Vector3): Matrix4;",
1261
1256
  "vmath\u0000FUNCTION\u0000vmath.matrix4_translation\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_translation(position: Vector3 | Vector4): Matrix4;",
1257
+ "vmath\u0000FUNCTION\u0000vmath.mul_per_elem\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.mul_per_elem<T extends Vector3 | Vector4>(v1: T, v2: T): T",
1258
+ "vmath\u0000FUNCTION\u0000vmath.normalize\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.normalize<T extends Vector3 | Vector4 | Quaternion>(v1: T): T",
1262
1259
  "vmath\u0000FUNCTION\u0000vmath.ortho_inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function ortho_inv(m1: Matrix4): Matrix4;",
1263
1260
  "vmath\u0000FUNCTION\u0000vmath.project\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function project(v1: Vector3, v2: Vector3): number;",
1264
1261
  "vmath\u0000FUNCTION\u0000vmath.quat\u0000[]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat(): Quaternion;",
@@ -1273,6 +1270,8 @@
1273
1270
  "vmath\u0000FUNCTION\u0000vmath.quat_rotation_z\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat_rotation_z(angle: number): Quaternion;",
1274
1271
  "vmath\u0000FUNCTION\u0000vmath.quat_to_euler\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function quat_to_euler(q: Quaternion): LuaMultiReturn<[number, number, number]>;",
1275
1272
  "vmath\u0000FUNCTION\u0000vmath.rotate\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function rotate(q: Quaternion, v1: Vector3): Vector3;",
1273
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
1274
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
1276
1275
  "vmath\u0000FUNCTION\u0000vmath.vector\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"vector\"],\"isOptional\":false}]": "function vector(t: number[]): Vector;",
1277
1276
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(): Vector3;",
1278
1277
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(x: number, y: number, z: number): Vector3;",
@@ -1282,14 +1281,6 @@
1282
1281
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(x: number, y: number, z: number, w: number): Vector4;",
1283
1282
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(n: number): Vector4;",
1284
1283
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(v1: Vector4): Vector4;",
1285
- "webview\u0000FUNCTION\u0000webview.create\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function create(callback: (...args: unknown[]) => unknown): number;",
1286
- "webview\u0000FUNCTION\u0000webview.destroy\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function destroy(webview_id: number): void;",
1287
- "webview\u0000FUNCTION\u0000webview.eval\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function eval(webview_id: number, code: string): number;",
1288
- "webview\u0000FUNCTION\u0000webview.is_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function is_visible(webview_id: number): number;",
1289
- "webview\u0000FUNCTION\u0000webview.open_raw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function open_raw(webview_id: number, html: string, options: Record<string | number, unknown>): void;",
1290
- "webview\u0000FUNCTION\u0000webview.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(webview_id: number, x: number, y: number, width: number, height: number): void;",
1291
- "webview\u0000FUNCTION\u0000webview.set_transparent\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_transparent(webview_id: number, transparent: boolean): void;",
1292
- "webview\u0000FUNCTION\u0000webview.set_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_visible(webview_id: number, visible: number): void;",
1293
1284
  "window\u0000CONSTANT\u0000window.DIMMING_OFF\u0000": "const DIMMING_OFF: number & { readonly __brand: \"window.DIMMING_OFF\" };",
1294
1285
  "window\u0000CONSTANT\u0000window.DIMMING_ON\u0000": "const DIMMING_ON: number & { readonly __brand: \"window.DIMMING_ON\" };",
1295
1286
  "window\u0000CONSTANT\u0000window.DIMMING_UNKNOWN\u0000": "const DIMMING_UNKNOWN: number & { readonly __brand: \"window.DIMMING_UNKNOWN\" };",
@@ -1298,12 +1289,12 @@
1298
1289
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_FOCUS_LOST\u0000": "const WINDOW_EVENT_FOCUS_LOST: number & { readonly __brand: \"window.WINDOW_EVENT_FOCUS_LOST\" };",
1299
1290
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_ICONFIED\u0000": "const WINDOW_EVENT_ICONFIED: number & { readonly __brand: \"window.WINDOW_EVENT_ICONFIED\" };",
1300
1291
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_RESIZED\u0000": "const WINDOW_EVENT_RESIZED: number & { readonly __brand: \"window.WINDOW_EVENT_RESIZED\" };",
1301
- "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): Opaque<\"constant\">;",
1292
+ "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): number & { readonly __brand: \"window.DIMMING_UNKNOWN\" } | number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" };",
1302
1293
  "window\u0000FUNCTION\u0000window.get_display_scale\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_display_scale(): number;",
1303
1294
  "window\u0000FUNCTION\u0000window.get_mouse_lock\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mouse_lock(): boolean;",
1304
1295
  "window\u0000FUNCTION\u0000window.get_safe_area\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_safe_area(): { safe_area: { x: number; y: number; width: number; height: number; inset_left: number; inset_top: number; inset_right: number; inset_bottom: number } };",
1305
1296
  "window\u0000FUNCTION\u0000window.get_size\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function get_size(): LuaMultiReturn<[number, number]>;",
1306
- "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: Opaque<\"constant\">): void;",
1297
+ "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" }): void;",
1307
1298
  "window\u0000FUNCTION\u0000window.set_listener\u0000[{\"types\":[\"function(self, event, data)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event: typeof WINDOW_EVENT_FOCUS_LOST | typeof WINDOW_EVENT_FOCUS_GAINED | typeof WINDOW_EVENT_RESIZED | typeof WINDOW_EVENT_ICONFIED | typeof WINDOW_EVENT_DEICONIFIED, data: Record<string | number, unknown>) => void): void;",
1308
1299
  "window\u0000FUNCTION\u0000window.set_mouse_lock\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mouse_lock(flag: boolean): void;",
1309
1300
  "window\u0000FUNCTION\u0000window.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(x: number, y: number): void;",
@@ -1633,9 +1624,9 @@
1633
1624
  "buffer\u0000FUNCTION\u0000buffer.copy_stream\u0000[{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_stream(dst: Opaque<\"bufferstream\"> & { [index: number]: number }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number }, srcoffset: number, count: number): void;",
1634
1625
  "buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function create(element_count: number, declaration: { name?: Hash | string; type?: Opaque<\"constant\">; count?: number }): Opaque<\"buffer\">;",
1635
1626
  "buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_bytes(buffer: Opaque<\"buffer\">, stream_name: Hash): string;",
1636
- "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, Opaque<\"constant\"> | undefined]>;",
1627
+ "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" } | undefined]>;",
1637
1628
  "buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": "function get_stream(buffer: Opaque<\"buffer\">, stream_name: Hash | string): Opaque<\"bufferstream\"> & { [index: number]: number };",
1638
- "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: Opaque<\"constant\">): void;",
1629
+ "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" }): void;",
1639
1630
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
1640
1631
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_FIT\u0000": "const ORTHO_MODE_AUTO_FIT: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_FIT\" };",
1641
1632
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_FIXED\u0000": "const ORTHO_MODE_FIXED: number & { readonly __brand: \"camera.ORTHO_MODE_FIXED\" };",
@@ -1673,7 +1664,7 @@
1673
1664
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
1674
1665
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
1675
1666
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
1676
- "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
1667
+ "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
1677
1668
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
1678
1669
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
1679
1670
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -1716,7 +1707,7 @@
1716
1707
  "factory\u0000CONSTANT\u0000factory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"factory.STATUS_LOADING\" };",
1717
1708
  "factory\u0000CONSTANT\u0000factory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"factory.STATUS_UNLOADED\" };",
1718
1709
  "factory\u0000FUNCTION\u0000factory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): Hash;",
1719
- "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
1710
+ "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"factory.STATUS_UNLOADED\" } | number & { readonly __brand: \"factory.STATUS_LOADING\" } | number & { readonly __brand: \"factory.STATUS_LOADED\" };",
1720
1711
  "factory\u0000FUNCTION\u0000factory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
1721
1712
  "factory\u0000FUNCTION\u0000factory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
1722
1713
  "factory\u0000FUNCTION\u0000factory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -1778,6 +1769,7 @@
1778
1769
  "go\u0000FUNCTION\u0000go.cancel_animations\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(url: SceneAddress | Hash | Url, property?: string | Hash): void;",
1779
1770
  "go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function _delete(id?: SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[], recursive?: boolean): void;",
1780
1771
  "go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
1772
+ "go\u0000FUNCTION\u0000go.get\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "go.get<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions) => P[K]\ngo.get<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions): go.properties[K]\ngo.get(url: SceneAddress | Hash | Url, property: string | Hash, options?: GoPropertyOptions): number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion",
1781
1773
  "go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
1782
1774
  "go\u0000FUNCTION\u0000go.get_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"hash\",\"nil\"],\"isOptional\":false}]": "function get_parent(id?: SceneGameObjectAddress | Hash | Url): Hash | undefined;",
1783
1775
  "go\u0000FUNCTION\u0000go.get_position\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
@@ -1789,6 +1781,8 @@
1789
1781
  "go\u0000FUNCTION\u0000go.get_world_scale\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_world_scale(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
1790
1782
  "go\u0000FUNCTION\u0000go.get_world_scale_uniform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_world_scale_uniform(id?: SceneGameObjectAddress | Hash | Url): number;",
1791
1783
  "go\u0000FUNCTION\u0000go.get_world_transform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function get_world_transform(id?: SceneGameObjectAddress | Hash | Url): Matrix4;",
1784
+ "go\u0000FUNCTION\u0000go.property\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "go.property(name: string, value: number): ScriptProperty<number>\ngo.property(name: string, value: boolean): ScriptProperty<boolean>\ngo.property(name: string, value: Hash): ScriptProperty<Hash>\ngo.property(name: string, value: Url): ScriptProperty<Url>\ngo.property(name: string, value: Vector3): ScriptProperty<Vector3>\ngo.property(name: string, value: Vector4): ScriptProperty<Vector4>\ngo.property(name: string, value: Quaternion): ScriptProperty<Quaternion>",
1785
+ "go\u0000FUNCTION\u0000go.set\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "go.set<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, value: P[K], options?: GoPropertyOptions) => void\ngo.set<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, value: go.properties[K], options?: GoPropertyOptions): void\ngo.set(url: SceneAddress | Hash | Url, property: string | Hash, value: number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion, options?: GoPropertyOptions): void",
1792
1786
  "go\u0000FUNCTION\u0000go.set_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(id?: SceneGameObjectAddress | Hash | Url, parent_id?: SceneGameObjectAddress | Hash | Url, keep_world_transform?: boolean): void;",
1793
1787
  "go\u0000FUNCTION\u0000go.set_position\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_position(position: Vector3, id?: SceneGameObjectAddress | Hash | Url): void;",
1794
1788
  "go\u0000FUNCTION\u0000go.set_rotation\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_rotation(rotation: Quaternion, id?: SceneGameObjectAddress | Hash | Url): void;",
@@ -2036,19 +2030,19 @@
2036
2030
  "gui\u0000CONSTANT\u0000gui.TYPE_PIE\u0000": "const TYPE_PIE: number & { readonly __brand: \"gui.TYPE_PIE\" };",
2037
2031
  "gui\u0000CONSTANT\u0000gui.TYPE_TEXT\u0000": "const TYPE_TEXT: number & { readonly __brand: \"gui.TYPE_TEXT\" };",
2038
2032
  "gui\u0000FUNCTION\u0000final\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function final(self: Opaque<\"userdata\">): void;",
2039
- "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | Opaque<\"constant\">, to: number | Vector3 | Vector4 | Quaternion, easing: Opaque<\"constant\"> | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: Opaque<\"constant\">): void;",
2040
- "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | Opaque<\"constant\">): void;",
2033
+ "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, to: number | Vector3 | Vector4 | Quaternion, easing: number & { readonly __brand: \"gui.EASING_INBACK\" } | number & { readonly __brand: \"gui.EASING_INBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INCIRC\" } | number & { readonly __brand: \"gui.EASING_INCUBIC\" } | number & { readonly __brand: \"gui.EASING_INELASTIC\" } | number & { readonly __brand: \"gui.EASING_INEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTBACK\" } | number & { readonly __brand: \"gui.EASING_INOUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INOUTCIRC\" } | number & { readonly __brand: \"gui.EASING_INOUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_INOUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_INOUTEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTQUAD\" } | number & { readonly __brand: \"gui.EASING_INOUTQUART\" } | number & { readonly __brand: \"gui.EASING_INOUTQUINT\" } | number & { readonly __brand: \"gui.EASING_INOUTSINE\" } | number & { readonly __brand: \"gui.EASING_INQUAD\" } | number & { readonly __brand: \"gui.EASING_INQUART\" } | number & { readonly __brand: \"gui.EASING_INQUINT\" } | number & { readonly __brand: \"gui.EASING_INSINE\" } | number & { readonly __brand: \"gui.EASING_LINEAR\" } | number & { readonly __brand: \"gui.EASING_OUTBACK\" } | number & { readonly __brand: \"gui.EASING_OUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINBACK\" } | number & { readonly __brand: \"gui.EASING_OUTINBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTINCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTINCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTINELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTINEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTINQUART\" } | number & { readonly __brand: \"gui.EASING_OUTINQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTINSINE\" } | number & { readonly __brand: \"gui.EASING_OUTQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTQUART\" } | number & { readonly __brand: \"gui.EASING_OUTQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTSINE\" } | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: number & { readonly __brand: \"gui.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_PINGPONG\" }): void;",
2034
+ "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }): void;",
2041
2035
  "gui\u0000FUNCTION\u0000gui.cancel_flipbook\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function cancel_flipbook(node: Opaque<\"node\">): void;",
2042
2036
  "gui\u0000FUNCTION\u0000gui.clone\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function clone(node: Opaque<\"node\">): Opaque<\"node\">;",
2043
2037
  "gui\u0000FUNCTION\u0000gui.clone_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function clone_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
2044
2038
  "gui\u0000FUNCTION\u0000gui.delete_node\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function delete_node(node: Opaque<\"node\">): void;",
2045
2039
  "gui\u0000FUNCTION\u0000gui.delete_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function delete_texture(texture: string | Hash): void;",
2046
- "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | Opaque<\"constant\">, options?: { index?: number }): unknown;",
2047
- "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
2040
+ "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, options?: { index?: number }): unknown;",
2041
+ "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" };",
2048
2042
  "gui\u0000FUNCTION\u0000gui.get_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_alpha(node: Opaque<\"node\">): number;",
2049
- "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
2043
+ "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" };",
2050
2044
  "gui\u0000FUNCTION\u0000gui.get_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_inverted(node: Opaque<\"node\">): boolean;",
2051
- "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
2045
+ "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" };",
2052
2046
  "gui\u0000FUNCTION\u0000gui.get_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_visible(node: Opaque<\"node\">): boolean;",
2053
2047
  "gui\u0000FUNCTION\u0000gui.get_color\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_color(node: Opaque<\"node\">): Vector4;",
2054
2048
  "gui\u0000FUNCTION\u0000gui.get_euler\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_euler(node: Opaque<\"node\">): Vector3;",
@@ -2070,29 +2064,29 @@
2070
2064
  "gui\u0000FUNCTION\u0000gui.get_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_line_break(node: Opaque<\"node\">): boolean;",
2071
2065
  "gui\u0000FUNCTION\u0000gui.get_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_material(node: Opaque<\"node\">): Hash;",
2072
2066
  "gui\u0000FUNCTION\u0000gui.get_node\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function get_node(id: string | Hash): Opaque<\"node\">;",
2073
- "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): Opaque<\"constant\">;",
2067
+ "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" };",
2074
2068
  "gui\u0000FUNCTION\u0000gui.get_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_outline(node: Opaque<\"node\">): Vector4;",
2075
2069
  "gui\u0000FUNCTION\u0000gui.get_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]": "function get_parent(node: Opaque<\"node\">): Opaque<\"node\"> | undefined;",
2076
2070
  "gui\u0000FUNCTION\u0000gui.get_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_particlefx(node: Opaque<\"node\">): Hash;",
2077
2071
  "gui\u0000FUNCTION\u0000gui.get_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_perimeter_vertices(node: Opaque<\"node\">): number;",
2078
- "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): Opaque<\"constant\">;",
2072
+ "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" };",
2079
2073
  "gui\u0000FUNCTION\u0000gui.get_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(node: Opaque<\"node\">): Vector3;",
2080
2074
  "gui\u0000FUNCTION\u0000gui.get_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function get_rotation(node: Opaque<\"node\">): Quaternion;",
2081
2075
  "gui\u0000FUNCTION\u0000gui.get_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_scale(node: Opaque<\"node\">): Vector3;",
2082
2076
  "gui\u0000FUNCTION\u0000gui.get_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_screen_position(node: Opaque<\"node\">): Vector3;",
2083
2077
  "gui\u0000FUNCTION\u0000gui.get_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_shadow(node: Opaque<\"node\">): Vector4;",
2084
2078
  "gui\u0000FUNCTION\u0000gui.get_size\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_size(node: Opaque<\"node\">): Vector3;",
2085
- "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
2079
+ "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" };",
2086
2080
  "gui\u0000FUNCTION\u0000gui.get_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_slice9(node: Opaque<\"node\">): Vector4;",
2087
2081
  "gui\u0000FUNCTION\u0000gui.get_text\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_text(node: Opaque<\"node\">): string;",
2088
2082
  "gui\u0000FUNCTION\u0000gui.get_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_texture(node: Opaque<\"node\">): Hash;",
2089
2083
  "gui\u0000FUNCTION\u0000gui.get_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_tracking(node: Opaque<\"node\">): number;",
2090
2084
  "gui\u0000FUNCTION\u0000gui.get_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
2091
- "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[Opaque<\"constant\">, number | undefined]>;",
2085
+ "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[number & { readonly __brand: \"gui.TYPE_BOX\" } | number & { readonly __brand: \"gui.TYPE_TEXT\" } | number & { readonly __brand: \"gui.TYPE_PIE\" } | number & { readonly __brand: \"gui.TYPE_PARTICLEFX\" } | number & { readonly __brand: \"gui.TYPE_CUSTOM\" }, number | undefined]>;",
2092
2086
  "gui\u0000FUNCTION\u0000gui.get_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_visible(node: Opaque<\"node\">): boolean;",
2093
2087
  "gui\u0000FUNCTION\u0000gui.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
2094
- "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
2095
- "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
2088
+ "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" };",
2089
+ "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" };",
2096
2090
  "gui\u0000FUNCTION\u0000gui.hide_keyboard\u0000[]->[]": "function hide_keyboard(): void;",
2097
2091
  "gui\u0000FUNCTION\u0000gui.is_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_enabled(node: Opaque<\"node\">, recursive?: boolean): boolean;",
2098
2092
  "gui\u0000FUNCTION\u0000gui.move_above\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]->[]": "function move_above(node: Opaque<\"node\">, reference?: Opaque<\"node\">): void;",
@@ -2109,12 +2103,12 @@
2109
2103
  "gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
2110
2104
  "gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
2111
2105
  "gui\u0000FUNCTION\u0000gui.screen_to_local\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function screen_to_local(node: Opaque<\"node\">, screen_position: Vector3): Vector3;",
2112
- "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | Opaque<\"constant\">, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
2113
- "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: Opaque<\"constant\">): void;",
2106
+ "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
2107
+ "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" }): void;",
2114
2108
  "gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
2115
- "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: Opaque<\"constant\">): void;",
2109
+ "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" }): void;",
2116
2110
  "gui\u0000FUNCTION\u0000gui.set_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_inverted(node: Opaque<\"node\">, inverted: boolean): void;",
2117
- "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: Opaque<\"constant\">): void;",
2111
+ "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" }): void;",
2118
2112
  "gui\u0000FUNCTION\u0000gui.set_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_visible(node: Opaque<\"node\">, visible: boolean): void;",
2119
2113
  "gui\u0000FUNCTION\u0000gui.set_color\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_color(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
2120
2114
  "gui\u0000FUNCTION\u0000gui.set_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_enabled(node: Opaque<\"node\">, enabled: boolean): void;",
@@ -2131,30 +2125,30 @@
2131
2125
  "gui\u0000FUNCTION\u0000gui.set_leading\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_leading(node: Opaque<\"node\">, leading: number): void;",
2132
2126
  "gui\u0000FUNCTION\u0000gui.set_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_line_break(node: Opaque<\"node\">, line_break: boolean): void;",
2133
2127
  "gui\u0000FUNCTION\u0000gui.set_material\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_material(node: Opaque<\"node\">, material: string | Hash): void;",
2134
- "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: Opaque<\"constant\">): void;",
2128
+ "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" }): void;",
2135
2129
  "gui\u0000FUNCTION\u0000gui.set_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_outline(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
2136
2130
  "gui\u0000FUNCTION\u0000gui.set_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"node\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(node: Opaque<\"node\">, parent?: Opaque<\"node\">, keep_scene_transform?: boolean): void;",
2137
2131
  "gui\u0000FUNCTION\u0000gui.set_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_particlefx(node: Opaque<\"node\">, particlefx: Hash | string): void;",
2138
2132
  "gui\u0000FUNCTION\u0000gui.set_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_perimeter_vertices(node: Opaque<\"node\">, vertices: number): void;",
2139
- "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: Opaque<\"constant\">): void;",
2133
+ "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" }): void;",
2140
2134
  "gui\u0000FUNCTION\u0000gui.set_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_position(node: Opaque<\"node\">, position: Vector3 | Vector4): void;",
2141
2135
  "gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
2142
2136
  "gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4): void;",
2143
- "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: Opaque<\"constant\">): void;",
2137
+ "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: number & { readonly __brand: \"gui.SAFE_AREA_NONE\" } | number & { readonly __brand: \"gui.SAFE_AREA_LONG\" } | number & { readonly __brand: \"gui.SAFE_AREA_SHORT\" } | number & { readonly __brand: \"gui.SAFE_AREA_BOTH\" }): void;",
2144
2138
  "gui\u0000FUNCTION\u0000gui.set_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_scale(node: Opaque<\"node\">, scale: Vector3 | Vector4): void;",
2145
2139
  "gui\u0000FUNCTION\u0000gui.set_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[]": "function set_screen_position(node: Opaque<\"node\">, screen_position: Vector3): void;",
2146
2140
  "gui\u0000FUNCTION\u0000gui.set_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_shadow(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
2147
2141
  "gui\u0000FUNCTION\u0000gui.set_size\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_size(node: Opaque<\"node\">, size: Vector3 | Vector4): void;",
2148
- "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: Opaque<\"constant\">): void;",
2142
+ "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" }): void;",
2149
2143
  "gui\u0000FUNCTION\u0000gui.set_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector4\"],\"isOptional\":false}]->[]": "function set_slice9(node: Opaque<\"node\">, values: Vector4): void;",
2150
2144
  "gui\u0000FUNCTION\u0000gui.set_text\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\",\"string\"],\"isOptional\":false}]->[]": "function set_text(node: Opaque<\"node\">, text: string | number): void;",
2151
2145
  "gui\u0000FUNCTION\u0000gui.set_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_texture(node: Opaque<\"node\">, texture: string | Hash): void;",
2152
2146
  "gui\u0000FUNCTION\u0000gui.set_texture_data\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function set_texture_data(texture: string | Hash, width: number, height: number, type: string | Opaque<\"constant\">, buffer: string, flip?: boolean): boolean;",
2153
2147
  "gui\u0000FUNCTION\u0000gui.set_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_tracking(node: Opaque<\"node\">, tracking: number): void;",
2154
2148
  "gui\u0000FUNCTION\u0000gui.set_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_visible(node: Opaque<\"node\">, visible: boolean): void;",
2155
- "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
2156
- "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
2157
- "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: Opaque<\"constant\">, autoclose: boolean): void;",
2149
+ "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" }): void;",
2150
+ "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" }): void;",
2151
+ "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: number & { readonly __brand: \"gui.KEYBOARD_TYPE_DEFAULT\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_EMAIL\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_NUMBER_PAD\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_PASSWORD\" }, autoclose: boolean): void;",
2158
2152
  "gui\u0000FUNCTION\u0000gui.stop_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function stop_particlefx(node: Opaque<\"node\">, options?: { clear?: boolean }): void;",
2159
2153
  "gui\u0000FUNCTION\u0000init\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function init(self: Opaque<\"userdata\">): void;",
2160
2154
  "gui\u0000FUNCTION\u0000on_input\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"boolean\",\"nil\"],\"isOptional\":false}]": "function on_input(self: Opaque<\"userdata\">, action_id: Hash, action: { value?: number; pressed?: boolean; released?: boolean; repeated?: boolean; x?: number; y?: number; screen_x?: number; screen_y?: number; dx?: number; dy?: number; screen_dx?: number; screen_dy?: number; gamepad?: number; gamepad_axis?: Vector3; touch?: { id?: number; pressed?: boolean; released?: boolean; tap_count?: number; x?: number; y?: number; dx?: number; dy?: number; acc_x?: number; acc_y?: number; acc_z?: number }[]; text?: string }): boolean | undefined;",
@@ -2168,14 +2162,6 @@
2168
2162
  "html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
2169
2163
  "html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
2170
2164
  "http\u0000FUNCTION\u0000http.request\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"function(self, id, response)\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function request(url: string, method: string, callback: (self: unknown, id: unknown, response: unknown) => void, headers?: LuaMap<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
2171
- "iac\u0000FUNCTION\u0000iac.set_listener\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_listener(payload: Record<string | number, unknown>, type: number): void;",
2172
- "iap\u0000FUNCTION\u0000iap.acknowledge\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function acknowledge(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
2173
- "iap\u0000FUNCTION\u0000iap.buy\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function buy(id: string, options?: { request_id?: string; token?: string }): void;",
2174
- "iap\u0000FUNCTION\u0000iap.finish\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function finish(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
2175
- "iap\u0000FUNCTION\u0000iap.get_provider_id\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_provider_id(): Opaque<\"constant\">;",
2176
- "iap\u0000FUNCTION\u0000iap.list\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function list(ids: string[], callback: (...args: unknown[]) => unknown): void;",
2177
- "iap\u0000FUNCTION\u0000iap.restore\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function restore(): boolean;",
2178
- "iap\u0000FUNCTION\u0000iap.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
2179
2165
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
2180
2166
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
2181
2167
  "image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
@@ -2229,7 +2215,7 @@
2229
2215
  "model\u0000FUNCTION\u0000model.get_go\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_go(url: string | Hash | Url, bone_id: string | Hash): Hash;",
2230
2216
  "model\u0000FUNCTION\u0000model.get_mesh_aabb\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mesh_aabb(url: string | Hash | Url): LuaMap<Hash, { min: Vector3; max: Vector3 }>;",
2231
2217
  "model\u0000FUNCTION\u0000model.get_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url): boolean;",
2232
- "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: Opaque<\"constant\">, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
2218
+ "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: number & { readonly __brand: \"go.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_PINGPONG\" }, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
2233
2219
  "model\u0000FUNCTION\u0000model.reset_constant\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function reset_constant(url: string | Hash | Url, constant: string | Hash): void;",
2234
2220
  "model\u0000FUNCTION\u0000model.set_blend_weights\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":false}]->[]": "function set_blend_weights(url: string | Hash | Url, weights?: number[]): void;",
2235
2221
  "model\u0000FUNCTION\u0000model.set_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url, enabled: boolean): void;",
@@ -2237,6 +2223,10 @@
2237
2223
  "model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
2238
2224
  "model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
2239
2225
  "model\u0000PROPERTY\u0000textureN\u0000": "textureN: Hash;",
2226
+ "msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<K extends string>(receiver: SceneAddress | Url | Hash, message_id: K, message?: MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
2227
+ "msg\u0000FUNCTION\u0000msg.url\u0000[]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
2228
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
2229
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
2240
2230
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_POSTSPAWN\u0000": "const EMITTER_STATE_POSTSPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_POSTSPAWN\" };",
2241
2231
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_PRESPAWN\u0000": "const EMITTER_STATE_PRESPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_PRESPAWN\" };",
2242
2232
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_SLEEPING\u0000": "const EMITTER_STATE_SLEEPING: number & { readonly __brand: \"particlefx.EMITTER_STATE_SLEEPING\" };",
@@ -2299,18 +2289,10 @@
2299
2289
  "profiler\u0000FUNCTION\u0000profiler.recorded_frame_count\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function recorded_frame_count(): number;",
2300
2290
  "profiler\u0000FUNCTION\u0000profiler.scope_begin\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function scope_begin(name: string): void;",
2301
2291
  "profiler\u0000FUNCTION\u0000profiler.scope_end\u0000[]->[]": "function scope_end(): void;",
2302
- "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: Opaque<\"constant\">): void;",
2303
- "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: Opaque<\"constant\">): void;",
2292
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: number & { readonly __brand: \"profiler.MODE_RUN\" } | number & { readonly __brand: \"profiler.MODE_PAUSE\" } | number & { readonly __brand: \"profiler.MODE_SHOW_PEAK_FRAME\" } | number & { readonly __brand: \"profiler.MODE_RECORD\" }): void;",
2293
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: number & { readonly __brand: \"profiler.VIEW_MODE_FULL\" } | number & { readonly __brand: \"profiler.VIEW_MODE_MINIMIZED\" }): void;",
2304
2294
  "profiler\u0000FUNCTION\u0000profiler.set_ui_vsync_wait_visible\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_ui_vsync_wait_visible(visible: boolean): void;",
2305
2295
  "profiler\u0000FUNCTION\u0000profiler.view_recorded_frame\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function view_recorded_frame(frame_index: { distance?: number; frame?: number }): void;",
2306
- "push\u0000FUNCTION\u0000push.cancel\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function cancel(id: number): void;",
2307
- "push\u0000FUNCTION\u0000push.cancel_all_issued\u0000[]->[]": "function cancel_all_issued(): void;",
2308
- "push\u0000FUNCTION\u0000push.get_all_scheduled\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_all_scheduled(): Record<string | number, unknown>;",
2309
- "push\u0000FUNCTION\u0000push.get_scheduled\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_scheduled(id: number): Record<string | number, unknown>;",
2310
- "push\u0000FUNCTION\u0000push.register\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function register(notifications: number[], callback: (...args: unknown[]) => unknown): void;",
2311
- "push\u0000FUNCTION\u0000push.schedule\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]": "function schedule(time: number, title: string, alert: string, payload: string, notification_settings: { action?: string; badge_count?: number; priority?: number }): LuaMultiReturn<[number, string]>;",
2312
- "push\u0000FUNCTION\u0000push.set_badge_count\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_badge_count(count: number): void;",
2313
- "push\u0000FUNCTION\u0000push.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
2314
2296
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_ALL\u0000": "const FRUSTUM_PLANES_ALL: number & { readonly __brand: \"render.FRUSTUM_PLANES_ALL\" };",
2315
2297
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_SIDES\u0000": "const FRUSTUM_PLANES_SIDES: number & { readonly __brand: \"render.FRUSTUM_PLANES_SIDES\" };",
2316
2298
  "render\u0000CONSTANT\u0000render.RENDER_TARGET_DEFAULT\u0000": "const RENDER_TARGET_DEFAULT: number & { readonly __brand: \"render.RENDER_TARGET_DEFAULT\" };",
@@ -2321,13 +2303,13 @@
2321
2303
  "render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\">;",
2322
2304
  "render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
2323
2305
  "render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
2324
- "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: Opaque<\"constant\">): void;",
2306
+ "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
2325
2307
  "render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
2326
2308
  "render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function dispatch_compute(x: number, y: number, z: number, options?: { constants?: Opaque<\"constant_buffer\"> }): void;",
2327
2309
  "render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw(predicate: number, options?: { frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\">; sort_order?: number }): void;",
2328
2310
  "render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
2329
2311
  "render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
2330
- "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: Opaque<\"constant\">): void;",
2312
+ "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
2331
2313
  "render\u0000FUNCTION\u0000render.enable_texture\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":true}]->[]": "function enable_texture(binding: number | string | Hash, handle_or_name: Opaque<\"texture\"> | string | Hash, buffer_type?: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): void;",
2332
2314
  "render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
2333
2315
  "render\u0000FUNCTION\u0000render.get_render_target_height\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_render_target_height(render_target: Opaque<\"render_target\">, buffer_type: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): number;",
@@ -2336,7 +2318,7 @@
2336
2318
  "render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
2337
2319
  "render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
2338
2320
  "render\u0000FUNCTION\u0000render.predicate\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function predicate(tags: (string | Hash)[]): number;",
2339
- "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "function render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">;",
2321
+ "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "render.render_target(parameters: Record<string | number, unknown>): Opaque<\"render_target\">\nrender.render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">",
2340
2322
  "render\u0000FUNCTION\u0000render.set_blend_equation_separate\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_equation_separate(equation_color: number, equation_alpha: number): void;",
2341
2323
  "render\u0000FUNCTION\u0000render.set_blend_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_func(source_factor: number, destination_factor: number): void;",
2342
2324
  "render\u0000FUNCTION\u0000render.set_blend_func_separate\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_func_separate(source_factor_color: number, destination_factor_color: number, source_factor_alpha: number, destination_factor_alpha: number): void;",
@@ -2501,7 +2483,7 @@
2501
2483
  "sys\u0000FUNCTION\u0000sys.get_config_int\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_int(key: string, default_value?: number): number;",
2502
2484
  "sys\u0000FUNCTION\u0000sys.get_config_number\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_number(key: string, default_value?: number): number;",
2503
2485
  "sys\u0000FUNCTION\u0000sys.get_config_string\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_config_string(key: string, default_value?: string): string;",
2504
- "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): Opaque<\"constant\">;",
2486
+ "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): number & { readonly __brand: \"sys.NETWORK_DISCONNECTED\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED_CELLULAR\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED\" };",
2505
2487
  "sys\u0000FUNCTION\u0000sys.get_engine_info\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_engine_info(): { version: string; version_sha1: string; is_debug: boolean };",
2506
2488
  "sys\u0000FUNCTION\u0000sys.get_host_path\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_host_path(filename: string): string;",
2507
2489
  "sys\u0000FUNCTION\u0000sys.get_ifaddrs\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_ifaddrs(): { name: string; address: string; mac: string; up: boolean; running: boolean }[];",
@@ -2547,13 +2529,17 @@
2547
2529
  "types\u0000FUNCTION\u0000types.is_vector\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector(var_: unknown): var_ is Vector;",
2548
2530
  "types\u0000FUNCTION\u0000types.is_vector3\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector3(var_: unknown): var_ is Vector3;",
2549
2531
  "types\u0000FUNCTION\u0000types.is_vector4\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector4(var_: unknown): var_ is Vector4;",
2532
+ "vmath\u0000FUNCTION\u0000vmath.clamp\u0000[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.clamp<T extends number | Vector3 | Vector4>(value: T, min: number | T, max: number | T): T",
2550
2533
  "vmath\u0000FUNCTION\u0000vmath.conj\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function conj(q1: Quaternion): Quaternion;",
2551
2534
  "vmath\u0000FUNCTION\u0000vmath.cross\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function cross(v1: Vector3, v2: Vector3): Vector3;",
2552
2535
  "vmath\u0000FUNCTION\u0000vmath.dot\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function dot(v1: Vector3 | Vector4, v2: Vector3 | Vector4): number;",
2553
- "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function euler_to_quat(x: number | Vector3, y: number, z: number): Quaternion;",
2536
+ "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.euler_to_quat(v: Vector3): Quaternion\nvmath.euler_to_quat(x: number, y: number, z: number): Quaternion",
2554
2537
  "vmath\u0000FUNCTION\u0000vmath.inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function inv(m1: Matrix4): Matrix4;",
2555
2538
  "vmath\u0000FUNCTION\u0000vmath.length\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length(v: Vector3 | Vector4 | Quaternion): number;",
2556
2539
  "vmath\u0000FUNCTION\u0000vmath.length_sqr\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length_sqr(v: Vector3 | Vector4 | Quaternion): number;",
2540
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
2541
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
2542
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
2557
2543
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(): Matrix4;",
2558
2544
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(m1: Matrix4): Matrix4;",
2559
2545
  "vmath\u0000FUNCTION\u0000vmath.matrix4_axis_angle\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_axis_angle(v: Vector3, angle: number): Matrix4;",
@@ -2570,6 +2556,8 @@
2570
2556
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: number): Matrix4;",
2571
2557
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: Vector3): Matrix4;",
2572
2558
  "vmath\u0000FUNCTION\u0000vmath.matrix4_translation\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_translation(position: Vector3 | Vector4): Matrix4;",
2559
+ "vmath\u0000FUNCTION\u0000vmath.mul_per_elem\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.mul_per_elem<T extends Vector3 | Vector4>(v1: T, v2: T): T",
2560
+ "vmath\u0000FUNCTION\u0000vmath.normalize\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.normalize<T extends Vector3 | Vector4 | Quaternion>(v1: T): T",
2573
2561
  "vmath\u0000FUNCTION\u0000vmath.ortho_inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function ortho_inv(m1: Matrix4): Matrix4;",
2574
2562
  "vmath\u0000FUNCTION\u0000vmath.project\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function project(v1: Vector3, v2: Vector3): number;",
2575
2563
  "vmath\u0000FUNCTION\u0000vmath.quat\u0000[]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat(): Quaternion;",
@@ -2584,6 +2572,8 @@
2584
2572
  "vmath\u0000FUNCTION\u0000vmath.quat_rotation_z\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat_rotation_z(angle: number): Quaternion;",
2585
2573
  "vmath\u0000FUNCTION\u0000vmath.quat_to_euler\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function quat_to_euler(q: Quaternion): LuaMultiReturn<[number, number, number]>;",
2586
2574
  "vmath\u0000FUNCTION\u0000vmath.rotate\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function rotate(q: Quaternion, v1: Vector3): Vector3;",
2575
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
2576
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
2587
2577
  "vmath\u0000FUNCTION\u0000vmath.vector\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"vector\"],\"isOptional\":false}]": "function vector(t: number[]): Vector;",
2588
2578
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(): Vector3;",
2589
2579
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(x: number, y: number, z: number): Vector3;",
@@ -2593,14 +2583,6 @@
2593
2583
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(x: number, y: number, z: number, w: number): Vector4;",
2594
2584
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(n: number): Vector4;",
2595
2585
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(v1: Vector4): Vector4;",
2596
- "webview\u0000FUNCTION\u0000webview.create\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function create(callback: (...args: unknown[]) => unknown): number;",
2597
- "webview\u0000FUNCTION\u0000webview.destroy\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function destroy(webview_id: number): void;",
2598
- "webview\u0000FUNCTION\u0000webview.eval\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function eval(webview_id: number, code: string): number;",
2599
- "webview\u0000FUNCTION\u0000webview.is_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function is_visible(webview_id: number): number;",
2600
- "webview\u0000FUNCTION\u0000webview.open_raw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function open_raw(webview_id: number, html: string, options: Record<string | number, unknown>): void;",
2601
- "webview\u0000FUNCTION\u0000webview.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(webview_id: number, x: number, y: number, width: number, height: number): void;",
2602
- "webview\u0000FUNCTION\u0000webview.set_transparent\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_transparent(webview_id: number, transparent: boolean): void;",
2603
- "webview\u0000FUNCTION\u0000webview.set_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_visible(webview_id: number, visible: number): void;",
2604
2586
  "window\u0000CONSTANT\u0000window.DIMMING_OFF\u0000": "const DIMMING_OFF: number & { readonly __brand: \"window.DIMMING_OFF\" };",
2605
2587
  "window\u0000CONSTANT\u0000window.DIMMING_ON\u0000": "const DIMMING_ON: number & { readonly __brand: \"window.DIMMING_ON\" };",
2606
2588
  "window\u0000CONSTANT\u0000window.DIMMING_UNKNOWN\u0000": "const DIMMING_UNKNOWN: number & { readonly __brand: \"window.DIMMING_UNKNOWN\" };",
@@ -2609,12 +2591,12 @@
2609
2591
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_FOCUS_LOST\u0000": "const WINDOW_EVENT_FOCUS_LOST: number & { readonly __brand: \"window.WINDOW_EVENT_FOCUS_LOST\" };",
2610
2592
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_ICONFIED\u0000": "const WINDOW_EVENT_ICONFIED: number & { readonly __brand: \"window.WINDOW_EVENT_ICONFIED\" };",
2611
2593
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_RESIZED\u0000": "const WINDOW_EVENT_RESIZED: number & { readonly __brand: \"window.WINDOW_EVENT_RESIZED\" };",
2612
- "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): Opaque<\"constant\">;",
2594
+ "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): number & { readonly __brand: \"window.DIMMING_UNKNOWN\" } | number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" };",
2613
2595
  "window\u0000FUNCTION\u0000window.get_display_scale\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_display_scale(): number;",
2614
2596
  "window\u0000FUNCTION\u0000window.get_mouse_lock\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mouse_lock(): boolean;",
2615
2597
  "window\u0000FUNCTION\u0000window.get_safe_area\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_safe_area(): { safe_area: { x: number; y: number; width: number; height: number; inset_left: number; inset_top: number; inset_right: number; inset_bottom: number } };",
2616
2598
  "window\u0000FUNCTION\u0000window.get_size\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function get_size(): LuaMultiReturn<[number, number]>;",
2617
- "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: Opaque<\"constant\">): void;",
2599
+ "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" }): void;",
2618
2600
  "window\u0000FUNCTION\u0000window.set_listener\u0000[{\"types\":[\"function(self, event, data)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event: typeof WINDOW_EVENT_FOCUS_LOST | typeof WINDOW_EVENT_FOCUS_GAINED | typeof WINDOW_EVENT_RESIZED | typeof WINDOW_EVENT_ICONFIED | typeof WINDOW_EVENT_DEICONIFIED, data: Record<string | number, unknown>) => void): void;",
2619
2601
  "window\u0000FUNCTION\u0000window.set_mouse_lock\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mouse_lock(flag: boolean): void;",
2620
2602
  "window\u0000FUNCTION\u0000window.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(x: number, y: number): void;",
@@ -2688,9 +2670,9 @@
2688
2670
  "buffer\u0000FUNCTION\u0000buffer.copy_stream\u0000[{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"bufferstream\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_stream(dst: Opaque<\"bufferstream\"> & { [index: number]: number }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number }, srcoffset: number, count: number): void;",
2689
2671
  "buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function create(element_count: number, declaration: { name?: Hash | string; type?: Opaque<\"constant\">; count?: number }): Opaque<\"buffer\">;",
2690
2672
  "buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_bytes(buffer: Opaque<\"buffer\">, stream_name: Hash): string;",
2691
- "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, Opaque<\"constant\"> | undefined]>;",
2673
+ "buffer\u0000FUNCTION\u0000buffer.get_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\"],\"isOptional\":false}]": "function get_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string): LuaMultiReturn<[number[] | undefined, number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" } | undefined]>;",
2692
2674
  "buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": "function get_stream(buffer: Opaque<\"buffer\">, stream_name: Hash | string): Opaque<\"bufferstream\"> & { [index: number]: number };",
2693
- "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: Opaque<\"constant\">): void;",
2675
+ "buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_metadata(buf: Opaque<\"buffer\">, metadata_name: Hash | string, values: number[], value_type: number & { readonly __brand: \"buffer.VALUE_TYPE_FLOAT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_INT8\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT16\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT32\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" } | number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" }): void;",
2694
2676
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
2695
2677
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_FIT\u0000": "const ORTHO_MODE_AUTO_FIT: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_FIT\" };",
2696
2678
  "camera\u0000CONSTANT\u0000camera.ORTHO_MODE_FIXED\u0000": "const ORTHO_MODE_FIXED: number & { readonly __brand: \"camera.ORTHO_MODE_FIXED\" };",
@@ -2719,7 +2701,7 @@
2719
2701
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
2720
2702
  "collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
2721
2703
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
2722
- "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
2704
+ "collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" } | number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
2723
2705
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
2724
2706
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
2725
2707
  "collectionfactory\u0000FUNCTION\u0000collectionfactory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -2756,7 +2738,7 @@
2756
2738
  "factory\u0000CONSTANT\u0000factory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"factory.STATUS_LOADING\" };",
2757
2739
  "factory\u0000CONSTANT\u0000factory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"factory.STATUS_UNLOADED\" };",
2758
2740
  "factory\u0000FUNCTION\u0000factory.create\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":true},{\"types\":[\"quaternion\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"number\",\"vector3\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create(url: string | Hash | Url, position?: Vector3, rotation?: Quaternion, properties?: Record<string | number, unknown>, scale?: number | Vector3): Hash;",
2759
- "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): Opaque<\"constant\">;",
2741
+ "factory\u0000FUNCTION\u0000factory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): number & { readonly __brand: \"factory.STATUS_UNLOADED\" } | number & { readonly __brand: \"factory.STATUS_LOADING\" } | number & { readonly __brand: \"factory.STATUS_LOADED\" };",
2760
2742
  "factory\u0000FUNCTION\u0000factory.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"function(self, url, result)\"],\"isOptional\":true}]->[]": "function load(url?: string | Hash | Url, complete_function?: (self: unknown, url: unknown, result: unknown) => void): void;",
2761
2743
  "factory\u0000FUNCTION\u0000factory.set_prototype\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[]": "function set_prototype(url?: string | Hash | Url, prototype?: string): void;",
2762
2744
  "factory\u0000FUNCTION\u0000factory.unload\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function unload(url?: string | Hash | Url): void;",
@@ -2818,6 +2800,7 @@
2818
2800
  "go\u0000FUNCTION\u0000go.cancel_animations\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(url: SceneAddress | Hash | Url, property?: string | Hash): void;",
2819
2801
  "go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function _delete(id?: SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[], recursive?: boolean): void;",
2820
2802
  "go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
2803
+ "go\u0000FUNCTION\u0000go.get\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "go.get<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions) => P[K]\ngo.get<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, options?: GoPropertyOptions): go.properties[K]\ngo.get(url: SceneAddress | Hash | Url, property: string | Hash, options?: GoPropertyOptions): number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion",
2821
2804
  "go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
2822
2805
  "go\u0000FUNCTION\u0000go.get_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"hash\",\"nil\"],\"isOptional\":false}]": "function get_parent(id?: SceneGameObjectAddress | Hash | Url): Hash | undefined;",
2823
2806
  "go\u0000FUNCTION\u0000go.get_position\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
@@ -2829,6 +2812,8 @@
2829
2812
  "go\u0000FUNCTION\u0000go.get_world_scale\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_world_scale(id?: SceneGameObjectAddress | Hash | Url): Vector3;",
2830
2813
  "go\u0000FUNCTION\u0000go.get_world_scale_uniform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_world_scale_uniform(id?: SceneGameObjectAddress | Hash | Url): number;",
2831
2814
  "go\u0000FUNCTION\u0000go.get_world_transform\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function get_world_transform(id?: SceneGameObjectAddress | Hash | Url): Matrix4;",
2815
+ "go\u0000FUNCTION\u0000go.property\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "go.property(name: string, value: number): ScriptProperty<number>\ngo.property(name: string, value: boolean): ScriptProperty<boolean>\ngo.property(name: string, value: Hash): ScriptProperty<Hash>\ngo.property(name: string, value: Url): ScriptProperty<Url>\ngo.property(name: string, value: Vector3): ScriptProperty<Vector3>\ngo.property(name: string, value: Vector4): ScriptProperty<Vector4>\ngo.property(name: string, value: Quaternion): ScriptProperty<Quaternion>",
2816
+ "go\u0000FUNCTION\u0000go.set\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"boolean\",\"hash\",\"number\",\"quaternion\",\"resource\",\"url\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "go.set<P>(): <K extends keyof P>(url: SceneAddress | Hash | Url, property: K, value: P[K], options?: GoPropertyOptions) => void\ngo.set<K extends keyof go.properties>(url: SceneAddress | Hash | Url, property: K, value: go.properties[K], options?: GoPropertyOptions): void\ngo.set(url: SceneAddress | Hash | Url, property: string | Hash, value: number | boolean | Hash | Url | Vector3 | Vector4 | Quaternion, options?: GoPropertyOptions): void",
2832
2817
  "go\u0000FUNCTION\u0000go.set_parent\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(id?: SceneGameObjectAddress | Hash | Url, parent_id?: SceneGameObjectAddress | Hash | Url, keep_world_transform?: boolean): void;",
2833
2818
  "go\u0000FUNCTION\u0000go.set_position\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_position(position: Vector3, id?: SceneGameObjectAddress | Hash | Url): void;",
2834
2819
  "go\u0000FUNCTION\u0000go.set_rotation\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[]": "function set_rotation(rotation: Quaternion, id?: SceneGameObjectAddress | Hash | Url): void;",
@@ -3060,19 +3045,19 @@
3060
3045
  "gui\u0000CONSTANT\u0000gui.TYPE_PIE\u0000": "const TYPE_PIE: number & { readonly __brand: \"gui.TYPE_PIE\" };",
3061
3046
  "gui\u0000CONSTANT\u0000gui.TYPE_TEXT\u0000": "const TYPE_TEXT: number & { readonly __brand: \"gui.TYPE_TEXT\" };",
3062
3047
  "gui\u0000FUNCTION\u0000final\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function final(self: Opaque<\"userdata\">): void;",
3063
- "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | Opaque<\"constant\">, to: number | Vector3 | Vector4 | Quaternion, easing: Opaque<\"constant\"> | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: Opaque<\"constant\">): void;",
3064
- "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | Opaque<\"constant\">): void;",
3048
+ "gui\u0000FUNCTION\u0000gui.animate\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"constant\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, node)\"],\"isOptional\":true},{\"types\":[\"constant\"],\"isOptional\":true}]->[]": "function animate(node: Opaque<\"node\">, property: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, to: number | Vector3 | Vector4 | Quaternion, easing: number & { readonly __brand: \"gui.EASING_INBACK\" } | number & { readonly __brand: \"gui.EASING_INBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INCIRC\" } | number & { readonly __brand: \"gui.EASING_INCUBIC\" } | number & { readonly __brand: \"gui.EASING_INELASTIC\" } | number & { readonly __brand: \"gui.EASING_INEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTBACK\" } | number & { readonly __brand: \"gui.EASING_INOUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_INOUTCIRC\" } | number & { readonly __brand: \"gui.EASING_INOUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_INOUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_INOUTEXPO\" } | number & { readonly __brand: \"gui.EASING_INOUTQUAD\" } | number & { readonly __brand: \"gui.EASING_INOUTQUART\" } | number & { readonly __brand: \"gui.EASING_INOUTQUINT\" } | number & { readonly __brand: \"gui.EASING_INOUTSINE\" } | number & { readonly __brand: \"gui.EASING_INQUAD\" } | number & { readonly __brand: \"gui.EASING_INQUART\" } | number & { readonly __brand: \"gui.EASING_INQUINT\" } | number & { readonly __brand: \"gui.EASING_INSINE\" } | number & { readonly __brand: \"gui.EASING_LINEAR\" } | number & { readonly __brand: \"gui.EASING_OUTBACK\" } | number & { readonly __brand: \"gui.EASING_OUTBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINBACK\" } | number & { readonly __brand: \"gui.EASING_OUTINBOUNCE\" } | number & { readonly __brand: \"gui.EASING_OUTINCIRC\" } | number & { readonly __brand: \"gui.EASING_OUTINCUBIC\" } | number & { readonly __brand: \"gui.EASING_OUTINELASTIC\" } | number & { readonly __brand: \"gui.EASING_OUTINEXPO\" } | number & { readonly __brand: \"gui.EASING_OUTINQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTINQUART\" } | number & { readonly __brand: \"gui.EASING_OUTINQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTINSINE\" } | number & { readonly __brand: \"gui.EASING_OUTQUAD\" } | number & { readonly __brand: \"gui.EASING_OUTQUART\" } | number & { readonly __brand: \"gui.EASING_OUTQUINT\" } | number & { readonly __brand: \"gui.EASING_OUTSINE\" } | Vector, duration: number, delay?: number, complete_function?: (self: unknown, node: unknown) => void, playback?: number & { readonly __brand: \"gui.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"gui.PLAYBACK_LOOP_PINGPONG\" }): void;",
3049
+ "gui\u0000FUNCTION\u0000gui.cancel_animations\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"nil\",\"string\"],\"isOptional\":true}]->[]": "function cancel_animations(node: Opaque<\"node\">, property?: string | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }): void;",
3065
3050
  "gui\u0000FUNCTION\u0000gui.cancel_flipbook\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function cancel_flipbook(node: Opaque<\"node\">): void;",
3066
3051
  "gui\u0000FUNCTION\u0000gui.clone\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function clone(node: Opaque<\"node\">): Opaque<\"node\">;",
3067
3052
  "gui\u0000FUNCTION\u0000gui.clone_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function clone_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
3068
3053
  "gui\u0000FUNCTION\u0000gui.delete_node\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function delete_node(node: Opaque<\"node\">): void;",
3069
3054
  "gui\u0000FUNCTION\u0000gui.delete_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function delete_texture(texture: string | Hash): void;",
3070
- "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | Opaque<\"constant\">, options?: { index?: number }): unknown;",
3071
- "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
3055
+ "gui\u0000FUNCTION\u0000gui.get\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function get(node: Opaque<\"node\">, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, options?: { index?: number }): unknown;",
3056
+ "gui\u0000FUNCTION\u0000gui.get_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_adjust_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" };",
3072
3057
  "gui\u0000FUNCTION\u0000gui.get_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_alpha(node: Opaque<\"node\">): number;",
3073
- "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
3058
+ "gui\u0000FUNCTION\u0000gui.get_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_blend_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" };",
3074
3059
  "gui\u0000FUNCTION\u0000gui.get_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_inverted(node: Opaque<\"node\">): boolean;",
3075
- "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
3060
+ "gui\u0000FUNCTION\u0000gui.get_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_clipping_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" };",
3076
3061
  "gui\u0000FUNCTION\u0000gui.get_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_clipping_visible(node: Opaque<\"node\">): boolean;",
3077
3062
  "gui\u0000FUNCTION\u0000gui.get_color\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_color(node: Opaque<\"node\">): Vector4;",
3078
3063
  "gui\u0000FUNCTION\u0000gui.get_euler\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_euler(node: Opaque<\"node\">): Vector3;",
@@ -3094,29 +3079,29 @@
3094
3079
  "gui\u0000FUNCTION\u0000gui.get_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_line_break(node: Opaque<\"node\">): boolean;",
3095
3080
  "gui\u0000FUNCTION\u0000gui.get_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_material(node: Opaque<\"node\">): Hash;",
3096
3081
  "gui\u0000FUNCTION\u0000gui.get_node\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"node\"],\"isOptional\":false}]": "function get_node(id: string | Hash): Opaque<\"node\">;",
3097
- "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): Opaque<\"constant\">;",
3082
+ "gui\u0000FUNCTION\u0000gui.get_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_outer_bounds(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" };",
3098
3083
  "gui\u0000FUNCTION\u0000gui.get_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_outline(node: Opaque<\"node\">): Vector4;",
3099
3084
  "gui\u0000FUNCTION\u0000gui.get_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]": "function get_parent(node: Opaque<\"node\">): Opaque<\"node\"> | undefined;",
3100
3085
  "gui\u0000FUNCTION\u0000gui.get_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_particlefx(node: Opaque<\"node\">): Hash;",
3101
3086
  "gui\u0000FUNCTION\u0000gui.get_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_perimeter_vertices(node: Opaque<\"node\">): number;",
3102
- "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): Opaque<\"constant\">;",
3087
+ "gui\u0000FUNCTION\u0000gui.get_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_pivot(node: Opaque<\"node\">): number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" };",
3103
3088
  "gui\u0000FUNCTION\u0000gui.get_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_position(node: Opaque<\"node\">): Vector3;",
3104
3089
  "gui\u0000FUNCTION\u0000gui.get_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function get_rotation(node: Opaque<\"node\">): Quaternion;",
3105
3090
  "gui\u0000FUNCTION\u0000gui.get_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_scale(node: Opaque<\"node\">): Vector3;",
3106
3091
  "gui\u0000FUNCTION\u0000gui.get_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_screen_position(node: Opaque<\"node\">): Vector3;",
3107
3092
  "gui\u0000FUNCTION\u0000gui.get_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_shadow(node: Opaque<\"node\">): Vector4;",
3108
3093
  "gui\u0000FUNCTION\u0000gui.get_size\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_size(node: Opaque<\"node\">): Vector3;",
3109
- "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): Opaque<\"constant\">;",
3094
+ "gui\u0000FUNCTION\u0000gui.get_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_size_mode(node: Opaque<\"node\">): number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" };",
3110
3095
  "gui\u0000FUNCTION\u0000gui.get_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function get_slice9(node: Opaque<\"node\">): Vector4;",
3111
3096
  "gui\u0000FUNCTION\u0000gui.get_text\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_text(node: Opaque<\"node\">): string;",
3112
3097
  "gui\u0000FUNCTION\u0000gui.get_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_texture(node: Opaque<\"node\">): Hash;",
3113
3098
  "gui\u0000FUNCTION\u0000gui.get_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_tracking(node: Opaque<\"node\">): number;",
3114
3099
  "gui\u0000FUNCTION\u0000gui.get_tree\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_tree(node: Opaque<\"node\">): LuaMap<Hash, Opaque<\"node\">>;",
3115
- "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[Opaque<\"constant\">, number | undefined]>;",
3100
+ "gui\u0000FUNCTION\u0000gui.get_type\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"nil\",\"number\"],\"isOptional\":false}]": "function get_type(node: Opaque<\"node\">): LuaMultiReturn<[number & { readonly __brand: \"gui.TYPE_BOX\" } | number & { readonly __brand: \"gui.TYPE_TEXT\" } | number & { readonly __brand: \"gui.TYPE_PIE\" } | number & { readonly __brand: \"gui.TYPE_PARTICLEFX\" } | number & { readonly __brand: \"gui.TYPE_CUSTOM\" }, number | undefined]>;",
3116
3101
  "gui\u0000FUNCTION\u0000gui.get_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_visible(node: Opaque<\"node\">): boolean;",
3117
3102
  "gui\u0000FUNCTION\u0000gui.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
3118
- "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
3119
- "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): Opaque<\"constant\">;",
3103
+ "gui\u0000FUNCTION\u0000gui.get_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_xanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" };",
3104
+ "gui\u0000FUNCTION\u0000gui.get_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_yanchor(node: Opaque<\"node\">): number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" };",
3120
3105
  "gui\u0000FUNCTION\u0000gui.hide_keyboard\u0000[]->[]": "function hide_keyboard(): void;",
3121
3106
  "gui\u0000FUNCTION\u0000gui.is_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_enabled(node: Opaque<\"node\">, recursive?: boolean): boolean;",
3122
3107
  "gui\u0000FUNCTION\u0000gui.move_above\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"nil\",\"node\"],\"isOptional\":false}]->[]": "function move_above(node: Opaque<\"node\">, reference?: Opaque<\"node\">): void;",
@@ -3133,12 +3118,12 @@
3133
3118
  "gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
3134
3119
  "gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
3135
3120
  "gui\u0000FUNCTION\u0000gui.screen_to_local\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function screen_to_local(node: Opaque<\"node\">, screen_position: Vector3): Vector3;",
3136
- "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | Opaque<\"constant\">, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
3137
- "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: Opaque<\"constant\">): void;",
3121
+ "gui\u0000FUNCTION\u0000gui.set\u0000[{\"types\":[\"node\",\"url\"],\"isOptional\":false},{\"types\":[\"constant\",\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set(node: Opaque<\"node\"> | Url, property: string | Hash | number & { readonly __brand: \"gui.PROP_POSITION\" } | number & { readonly __brand: \"gui.PROP_ROTATION\" } | number & { readonly __brand: \"gui.PROP_EULER\" } | number & { readonly __brand: \"gui.PROP_SCALE\" } | number & { readonly __brand: \"gui.PROP_COLOR\" } | number & { readonly __brand: \"gui.PROP_OUTLINE\" } | number & { readonly __brand: \"gui.PROP_SHADOW\" } | number & { readonly __brand: \"gui.PROP_SIZE\" } | number & { readonly __brand: \"gui.PROP_FILL_ANGLE\" } | number & { readonly __brand: \"gui.PROP_INNER_RADIUS\" } | number & { readonly __brand: \"gui.PROP_LEADING\" } | number & { readonly __brand: \"gui.PROP_TRACKING\" } | number & { readonly __brand: \"gui.PROP_SLICE9\" }, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
3122
+ "gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: number & { readonly __brand: \"gui.ADJUST_FIT\" } | number & { readonly __brand: \"gui.ADJUST_ZOOM\" } | number & { readonly __brand: \"gui.ADJUST_STRETCH\" }): void;",
3138
3123
  "gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
3139
- "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: Opaque<\"constant\">): void;",
3124
+ "gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: number & { readonly __brand: \"gui.BLEND_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_ADD\" } | number & { readonly __brand: \"gui.BLEND_ADD_ALPHA\" } | number & { readonly __brand: \"gui.BLEND_MULT\" } | number & { readonly __brand: \"gui.BLEND_SCREEN\" }): void;",
3140
3125
  "gui\u0000FUNCTION\u0000gui.set_clipping_inverted\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_inverted(node: Opaque<\"node\">, inverted: boolean): void;",
3141
- "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: Opaque<\"constant\">): void;",
3126
+ "gui\u0000FUNCTION\u0000gui.set_clipping_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_clipping_mode(node: Opaque<\"node\">, clipping_mode: number & { readonly __brand: \"gui.CLIPPING_MODE_NONE\" } | number & { readonly __brand: \"gui.CLIPPING_MODE_STENCIL\" }): void;",
3142
3127
  "gui\u0000FUNCTION\u0000gui.set_clipping_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_clipping_visible(node: Opaque<\"node\">, visible: boolean): void;",
3143
3128
  "gui\u0000FUNCTION\u0000gui.set_color\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_color(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
3144
3129
  "gui\u0000FUNCTION\u0000gui.set_enabled\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_enabled(node: Opaque<\"node\">, enabled: boolean): void;",
@@ -3155,30 +3140,30 @@
3155
3140
  "gui\u0000FUNCTION\u0000gui.set_leading\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_leading(node: Opaque<\"node\">, leading: number): void;",
3156
3141
  "gui\u0000FUNCTION\u0000gui.set_line_break\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_line_break(node: Opaque<\"node\">, line_break: boolean): void;",
3157
3142
  "gui\u0000FUNCTION\u0000gui.set_material\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_material(node: Opaque<\"node\">, material: string | Hash): void;",
3158
- "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: Opaque<\"constant\">): void;",
3143
+ "gui\u0000FUNCTION\u0000gui.set_outer_bounds\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_outer_bounds(node: Opaque<\"node\">, bounds_mode: number & { readonly __brand: \"gui.PIEBOUNDS_RECTANGLE\" } | number & { readonly __brand: \"gui.PIEBOUNDS_ELLIPSE\" }): void;",
3159
3144
  "gui\u0000FUNCTION\u0000gui.set_outline\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_outline(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
3160
3145
  "gui\u0000FUNCTION\u0000gui.set_parent\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"node\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": "function set_parent(node: Opaque<\"node\">, parent?: Opaque<\"node\">, keep_scene_transform?: boolean): void;",
3161
3146
  "gui\u0000FUNCTION\u0000gui.set_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_particlefx(node: Opaque<\"node\">, particlefx: Hash | string): void;",
3162
3147
  "gui\u0000FUNCTION\u0000gui.set_perimeter_vertices\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_perimeter_vertices(node: Opaque<\"node\">, vertices: number): void;",
3163
- "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: Opaque<\"constant\">): void;",
3148
+ "gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: number & { readonly __brand: \"gui.PIVOT_CENTER\" } | number & { readonly __brand: \"gui.PIVOT_N\" } | number & { readonly __brand: \"gui.PIVOT_NE\" } | number & { readonly __brand: \"gui.PIVOT_E\" } | number & { readonly __brand: \"gui.PIVOT_SE\" } | number & { readonly __brand: \"gui.PIVOT_S\" } | number & { readonly __brand: \"gui.PIVOT_SW\" } | number & { readonly __brand: \"gui.PIVOT_W\" } | number & { readonly __brand: \"gui.PIVOT_NW\" }): void;",
3164
3149
  "gui\u0000FUNCTION\u0000gui.set_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_position(node: Opaque<\"node\">, position: Vector3 | Vector4): void;",
3165
3150
  "gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
3166
3151
  "gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4): void;",
3167
- "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: Opaque<\"constant\">): void;",
3152
+ "gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: number & { readonly __brand: \"gui.SAFE_AREA_NONE\" } | number & { readonly __brand: \"gui.SAFE_AREA_LONG\" } | number & { readonly __brand: \"gui.SAFE_AREA_SHORT\" } | number & { readonly __brand: \"gui.SAFE_AREA_BOTH\" }): void;",
3168
3153
  "gui\u0000FUNCTION\u0000gui.set_scale\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_scale(node: Opaque<\"node\">, scale: Vector3 | Vector4): void;",
3169
3154
  "gui\u0000FUNCTION\u0000gui.set_screen_position\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[]": "function set_screen_position(node: Opaque<\"node\">, screen_position: Vector3): void;",
3170
3155
  "gui\u0000FUNCTION\u0000gui.set_shadow\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_shadow(node: Opaque<\"node\">, color: Vector3 | Vector4): void;",
3171
3156
  "gui\u0000FUNCTION\u0000gui.set_size\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[]": "function set_size(node: Opaque<\"node\">, size: Vector3 | Vector4): void;",
3172
- "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: Opaque<\"constant\">): void;",
3157
+ "gui\u0000FUNCTION\u0000gui.set_size_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_size_mode(node: Opaque<\"node\">, size_mode: number & { readonly __brand: \"gui.SIZE_MODE_MANUAL\" } | number & { readonly __brand: \"gui.SIZE_MODE_AUTO\" }): void;",
3173
3158
  "gui\u0000FUNCTION\u0000gui.set_slice9\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"vector4\"],\"isOptional\":false}]->[]": "function set_slice9(node: Opaque<\"node\">, values: Vector4): void;",
3174
3159
  "gui\u0000FUNCTION\u0000gui.set_text\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\",\"string\"],\"isOptional\":false}]->[]": "function set_text(node: Opaque<\"node\">, text: string | number): void;",
3175
3160
  "gui\u0000FUNCTION\u0000gui.set_texture\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function set_texture(node: Opaque<\"node\">, texture: string | Hash): void;",
3176
3161
  "gui\u0000FUNCTION\u0000gui.set_texture_data\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"constant\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function set_texture_data(texture: string | Hash, width: number, height: number, type: string | Opaque<\"constant\">, buffer: string, flip?: boolean): boolean;",
3177
3162
  "gui\u0000FUNCTION\u0000gui.set_tracking\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_tracking(node: Opaque<\"node\">, tracking: number): void;",
3178
3163
  "gui\u0000FUNCTION\u0000gui.set_visible\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_visible(node: Opaque<\"node\">, visible: boolean): void;",
3179
- "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
3180
- "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: Opaque<\"constant\">): void;",
3181
- "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: Opaque<\"constant\">, autoclose: boolean): void;",
3164
+ "gui\u0000FUNCTION\u0000gui.set_xanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_xanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_LEFT\" } | number & { readonly __brand: \"gui.ANCHOR_RIGHT\" }): void;",
3165
+ "gui\u0000FUNCTION\u0000gui.set_yanchor\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_yanchor(node: Opaque<\"node\">, anchor: number & { readonly __brand: \"gui.ANCHOR_NONE\" } | number & { readonly __brand: \"gui.ANCHOR_TOP\" } | number & { readonly __brand: \"gui.ANCHOR_BOTTOM\" }): void;",
3166
+ "gui\u0000FUNCTION\u0000gui.show_keyboard\u0000[{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function show_keyboard(type: number & { readonly __brand: \"gui.KEYBOARD_TYPE_DEFAULT\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_EMAIL\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_NUMBER_PAD\" } | number & { readonly __brand: \"gui.KEYBOARD_TYPE_PASSWORD\" }, autoclose: boolean): void;",
3182
3167
  "gui\u0000FUNCTION\u0000gui.stop_particlefx\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function stop_particlefx(node: Opaque<\"node\">, options?: { clear?: boolean }): void;",
3183
3168
  "gui\u0000FUNCTION\u0000init\u0000[{\"types\":[\"userdata\"],\"isOptional\":false}]->[]": "function init(self: Opaque<\"userdata\">): void;",
3184
3169
  "gui\u0000FUNCTION\u0000on_input\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"boolean\",\"nil\"],\"isOptional\":false}]": "function on_input(self: Opaque<\"userdata\">, action_id: Hash, action: { value?: number; pressed?: boolean; released?: boolean; repeated?: boolean; x?: number; y?: number; screen_x?: number; screen_y?: number; dx?: number; dy?: number; screen_dx?: number; screen_dy?: number; gamepad?: number; gamepad_axis?: Vector3; touch?: { id?: number; pressed?: boolean; released?: boolean; tap_count?: number; x?: number; y?: number; dx?: number; dy?: number; acc_x?: number; acc_y?: number; acc_z?: number }[]; text?: string }): boolean | undefined;",
@@ -3192,14 +3177,6 @@
3192
3177
  "html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
3193
3178
  "html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
3194
3179
  "http\u0000FUNCTION\u0000http.request\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"function(self, id, response)\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function request(url: string, method: string, callback: (self: unknown, id: unknown, response: unknown) => void, headers?: LuaMap<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
3195
- "iac\u0000FUNCTION\u0000iac.set_listener\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_listener(payload: Record<string | number, unknown>, type: number): void;",
3196
- "iap\u0000FUNCTION\u0000iap.acknowledge\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function acknowledge(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
3197
- "iap\u0000FUNCTION\u0000iap.buy\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function buy(id: string, options?: { request_id?: string; token?: string }): void;",
3198
- "iap\u0000FUNCTION\u0000iap.finish\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function finish(transaction: { ident?: string; state?: number; trans_ident?: string; date?: string; original_trans?: string; receipt?: string; signature?: string; user_id?: string }): void;",
3199
- "iap\u0000FUNCTION\u0000iap.get_provider_id\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_provider_id(): Opaque<\"constant\">;",
3200
- "iap\u0000FUNCTION\u0000iap.list\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function list(ids: string[], callback: (...args: unknown[]) => unknown): void;",
3201
- "iap\u0000FUNCTION\u0000iap.restore\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function restore(): boolean;",
3202
- "iap\u0000FUNCTION\u0000iap.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
3203
3180
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
3204
3181
  "image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
3205
3182
  "image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
@@ -3243,13 +3220,17 @@
3243
3220
  "model\u0000FUNCTION\u0000model.get_go\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_go(url: string | Hash | Url, bone_id: string | Hash): Hash;",
3244
3221
  "model\u0000FUNCTION\u0000model.get_mesh_aabb\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mesh_aabb(url: string | Hash | Url): LuaMap<Hash, { min: Vector3; max: Vector3 }>;",
3245
3222
  "model\u0000FUNCTION\u0000model.get_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url): boolean;",
3246
- "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: Opaque<\"constant\">, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
3223
+ "model\u0000FUNCTION\u0000model.play_anim\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true}]->[]": "function play_anim(url: string | Hash | Url, anim_id: string | Hash, playback: number & { readonly __brand: \"go.PLAYBACK_ONCE_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_ONCE_PINGPONG\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_FORWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_BACKWARD\" } | number & { readonly __brand: \"go.PLAYBACK_LOOP_PINGPONG\" }, play_properties?: { blend_duration?: number; offset?: number; playback_rate?: number }, complete_function?: (self: unknown, message_id: unknown, message: unknown, sender: unknown) => void): void;",
3247
3224
  "model\u0000FUNCTION\u0000model.set_mesh_enabled\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mesh_enabled(url: string | Hash | Url, mesh_id: string | Hash | Url, enabled: boolean): void;",
3248
3225
  "model\u0000PROPERTY\u0000animation\u0000": "animation: Hash;",
3249
3226
  "model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
3250
3227
  "model\u0000PROPERTY\u0000material\u0000": "material: Hash;",
3251
3228
  "model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
3252
3229
  "model\u0000PROPERTY\u0000textureN\u0000": "textureN: Hash;",
3230
+ "msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<K extends string>(receiver: SceneAddress | Url | Hash, message_id: K, message?: MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
3231
+ "msg\u0000FUNCTION\u0000msg.url\u0000[]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
3232
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true},{\"types\":[\"hash\",\"string\"],\"isOptional\":true}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
3233
+ "msg\u0000FUNCTION\u0000msg.url\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"url\"],\"isOptional\":false}]": "msg.url(): Url\nmsg.url(urlstring: SceneAddress | undefined): Url\nmsg.url(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): Url",
3253
3234
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_POSTSPAWN\u0000": "const EMITTER_STATE_POSTSPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_POSTSPAWN\" };",
3254
3235
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_PRESPAWN\u0000": "const EMITTER_STATE_PRESPAWN: number & { readonly __brand: \"particlefx.EMITTER_STATE_PRESPAWN\" };",
3255
3236
  "particlefx\u0000CONSTANT\u0000particlefx.EMITTER_STATE_SLEEPING\u0000": "const EMITTER_STATE_SLEEPING: number & { readonly __brand: \"particlefx.EMITTER_STATE_SLEEPING\" };",
@@ -3312,18 +3293,10 @@
3312
3293
  "profiler\u0000FUNCTION\u0000profiler.recorded_frame_count\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function recorded_frame_count(): number;",
3313
3294
  "profiler\u0000FUNCTION\u0000profiler.scope_begin\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function scope_begin(name: string): void;",
3314
3295
  "profiler\u0000FUNCTION\u0000profiler.scope_end\u0000[]->[]": "function scope_end(): void;",
3315
- "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: Opaque<\"constant\">): void;",
3316
- "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: Opaque<\"constant\">): void;",
3296
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_mode(mode: number & { readonly __brand: \"profiler.MODE_RUN\" } | number & { readonly __brand: \"profiler.MODE_PAUSE\" } | number & { readonly __brand: \"profiler.MODE_SHOW_PEAK_FRAME\" } | number & { readonly __brand: \"profiler.MODE_RECORD\" }): void;",
3297
+ "profiler\u0000FUNCTION\u0000profiler.set_ui_view_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_ui_view_mode(mode: number & { readonly __brand: \"profiler.VIEW_MODE_FULL\" } | number & { readonly __brand: \"profiler.VIEW_MODE_MINIMIZED\" }): void;",
3317
3298
  "profiler\u0000FUNCTION\u0000profiler.set_ui_vsync_wait_visible\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_ui_vsync_wait_visible(visible: boolean): void;",
3318
3299
  "profiler\u0000FUNCTION\u0000profiler.view_recorded_frame\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function view_recorded_frame(frame_index: { distance?: number; frame?: number }): void;",
3319
- "push\u0000FUNCTION\u0000push.cancel\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function cancel(id: number): void;",
3320
- "push\u0000FUNCTION\u0000push.cancel_all_issued\u0000[]->[]": "function cancel_all_issued(): void;",
3321
- "push\u0000FUNCTION\u0000push.get_all_scheduled\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_all_scheduled(): Record<string | number, unknown>;",
3322
- "push\u0000FUNCTION\u0000push.get_scheduled\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_scheduled(id: number): Record<string | number, unknown>;",
3323
- "push\u0000FUNCTION\u0000push.register\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function register(notifications: number[], callback: (...args: unknown[]) => unknown): void;",
3324
- "push\u0000FUNCTION\u0000push.schedule\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]": "function schedule(time: number, title: string, alert: string, payload: string, notification_settings: { action?: string; badge_count?: number; priority?: number }): LuaMultiReturn<[number, string]>;",
3325
- "push\u0000FUNCTION\u0000push.set_badge_count\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_badge_count(count: number): void;",
3326
- "push\u0000FUNCTION\u0000push.set_listener\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[]": "function set_listener(listener: (...args: unknown[]) => unknown): void;",
3327
3300
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_ALL\u0000": "const FRUSTUM_PLANES_ALL: number & { readonly __brand: \"render.FRUSTUM_PLANES_ALL\" };",
3328
3301
  "render\u0000CONSTANT\u0000render.FRUSTUM_PLANES_SIDES\u0000": "const FRUSTUM_PLANES_SIDES: number & { readonly __brand: \"render.FRUSTUM_PLANES_SIDES\" };",
3329
3302
  "render\u0000CONSTANT\u0000render.RENDER_TARGET_DEFAULT\u0000": "const RENDER_TARGET_DEFAULT: number & { readonly __brand: \"render.RENDER_TARGET_DEFAULT\" };",
@@ -3334,13 +3307,13 @@
3334
3307
  "render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\">;",
3335
3308
  "render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
3336
3309
  "render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
3337
- "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: Opaque<\"constant\">): void;",
3310
+ "render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
3338
3311
  "render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
3339
3312
  "render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function dispatch_compute(x: number, y: number, z: number, options?: { constants?: Opaque<\"constant_buffer\"> }): void;",
3340
3313
  "render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw(predicate: number, options?: { frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\">; sort_order?: number }): void;",
3341
3314
  "render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
3342
3315
  "render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
3343
- "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: Opaque<\"constant\">): void;",
3316
+ "render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: number & { readonly __brand: \"graphics.STATE_DEPTH_TEST\" } | number & { readonly __brand: \"graphics.STATE_STENCIL_TEST\" } | number & { readonly __brand: \"graphics.STATE_BLEND\" } | number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" } | number & { readonly __brand: \"graphics.STATE_CULL_FACE\" } | number & { readonly __brand: \"graphics.STATE_POLYGON_OFFSET_FILL\" }): void;",
3344
3317
  "render\u0000FUNCTION\u0000render.enable_texture\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":true}]->[]": "function enable_texture(binding: number | string | Hash, handle_or_name: Opaque<\"texture\"> | string | Hash, buffer_type?: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): void;",
3345
3318
  "render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
3346
3319
  "render\u0000FUNCTION\u0000render.get_render_target_height\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"graphics.BUFFER_TYPE_COLOR0_BIT\",\"graphics.BUFFER_TYPE_COLOR1_BIT\",\"graphics.BUFFER_TYPE_COLOR2_BIT\",\"graphics.BUFFER_TYPE_COLOR3_BIT\",\"graphics.BUFFER_TYPE_DEPTH_BIT\",\"graphics.BUFFER_TYPE_STENCIL_BIT\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_render_target_height(render_target: Opaque<\"render_target\">, buffer_type: number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR0_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR1_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR2_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_COLOR3_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_DEPTH_BIT\" } | number & { readonly __brand: \"graphics.BUFFER_TYPE_STENCIL_BIT\" }): number;",
@@ -3349,7 +3322,7 @@
3349
3322
  "render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
3350
3323
  "render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
3351
3324
  "render\u0000FUNCTION\u0000render.predicate\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function predicate(tags: (string | Hash)[]): number;",
3352
- "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "function render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">;",
3325
+ "render\u0000FUNCTION\u0000render.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"render_target\"],\"isOptional\":false}]": "render.render_target(parameters: Record<string | number, unknown>): Opaque<\"render_target\">\nrender.render_target(name: string, parameters: Record<string | number, unknown>): Opaque<\"render_target\">",
3353
3326
  "render\u0000FUNCTION\u0000render.set_blend_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_blend_func(source_factor: number, destination_factor: number): void;",
3354
3327
  "render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_camera(camera?: Url | number, options?: { use_frustum?: boolean }): void;",
3355
3328
  "render\u0000FUNCTION\u0000render.set_color_mask\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_color_mask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void;",
@@ -3511,7 +3484,7 @@
3511
3484
  "sys\u0000FUNCTION\u0000sys.get_config_int\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_int(key: string, default_value?: number): number;",
3512
3485
  "sys\u0000FUNCTION\u0000sys.get_config_number\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_config_number(key: string, default_value?: number): number;",
3513
3486
  "sys\u0000FUNCTION\u0000sys.get_config_string\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_config_string(key: string, default_value?: string): string;",
3514
- "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): Opaque<\"constant\">;",
3487
+ "sys\u0000FUNCTION\u0000sys.get_connectivity\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_connectivity(): number & { readonly __brand: \"sys.NETWORK_DISCONNECTED\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED_CELLULAR\" } | number & { readonly __brand: \"sys.NETWORK_CONNECTED\" };",
3515
3488
  "sys\u0000FUNCTION\u0000sys.get_engine_info\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_engine_info(): { version: string; version_sha1: string; is_debug: boolean };",
3516
3489
  "sys\u0000FUNCTION\u0000sys.get_host_path\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function get_host_path(filename: string): string;",
3517
3490
  "sys\u0000FUNCTION\u0000sys.get_ifaddrs\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_ifaddrs(): { name: string; address: string; mac: string; up: boolean; running: boolean }[];",
@@ -3556,13 +3529,17 @@
3556
3529
  "types\u0000FUNCTION\u0000types.is_vector\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector(var_: unknown): var_ is Vector;",
3557
3530
  "types\u0000FUNCTION\u0000types.is_vector3\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector3(var_: unknown): var_ is Vector3;",
3558
3531
  "types\u0000FUNCTION\u0000types.is_vector4\u0000[{\"types\":[\"any\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_vector4(var_: unknown): var_ is Vector4;",
3532
+ "vmath\u0000FUNCTION\u0000vmath.clamp\u0000[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.clamp<T extends number | Vector3 | Vector4>(value: T, min: number | T, max: number | T): T",
3559
3533
  "vmath\u0000FUNCTION\u0000vmath.conj\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function conj(q1: Quaternion): Quaternion;",
3560
3534
  "vmath\u0000FUNCTION\u0000vmath.cross\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function cross(v1: Vector3, v2: Vector3): Vector3;",
3561
3535
  "vmath\u0000FUNCTION\u0000vmath.dot\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function dot(v1: Vector3 | Vector4, v2: Vector3 | Vector4): number;",
3562
- "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function euler_to_quat(x: number | Vector3, y: number, z: number): Quaternion;",
3536
+ "vmath\u0000FUNCTION\u0000vmath.euler_to_quat\u0000[{\"types\":[\"number\",\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.euler_to_quat(v: Vector3): Quaternion\nvmath.euler_to_quat(x: number, y: number, z: number): Quaternion",
3563
3537
  "vmath\u0000FUNCTION\u0000vmath.inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function inv(m1: Matrix4): Matrix4;",
3564
3538
  "vmath\u0000FUNCTION\u0000vmath.length\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length(v: Vector3 | Vector4 | Quaternion): number;",
3565
3539
  "vmath\u0000FUNCTION\u0000vmath.length_sqr\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function length_sqr(v: Vector3 | Vector4 | Quaternion): number;",
3540
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
3541
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
3542
+ "vmath\u0000FUNCTION\u0000vmath.lerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.lerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.lerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion\nvmath.lerp(t: number, n1: number, n2: number): number",
3566
3543
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(): Matrix4;",
3567
3544
  "vmath\u0000FUNCTION\u0000vmath.matrix4\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4(m1: Matrix4): Matrix4;",
3568
3545
  "vmath\u0000FUNCTION\u0000vmath.matrix4_axis_angle\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_axis_angle(v: Vector3, angle: number): Matrix4;",
@@ -3579,6 +3556,8 @@
3579
3556
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: number): Matrix4;",
3580
3557
  "vmath\u0000FUNCTION\u0000vmath.matrix4_scale\u0000[{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_scale(scale: Vector3): Matrix4;",
3581
3558
  "vmath\u0000FUNCTION\u0000vmath.matrix4_translation\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function matrix4_translation(position: Vector3 | Vector4): Matrix4;",
3559
+ "vmath\u0000FUNCTION\u0000vmath.mul_per_elem\u0000[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.mul_per_elem<T extends Vector3 | Vector4>(v1: T, v2: T): T",
3560
+ "vmath\u0000FUNCTION\u0000vmath.normalize\u0000[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.normalize<T extends Vector3 | Vector4 | Quaternion>(v1: T): T",
3582
3561
  "vmath\u0000FUNCTION\u0000vmath.ortho_inv\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[{\"types\":[\"matrix4\"],\"isOptional\":false}]": "function ortho_inv(m1: Matrix4): Matrix4;",
3583
3562
  "vmath\u0000FUNCTION\u0000vmath.project\u0000[{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function project(v1: Vector3, v2: Vector3): number;",
3584
3563
  "vmath\u0000FUNCTION\u0000vmath.quat\u0000[]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat(): Quaternion;",
@@ -3593,6 +3572,8 @@
3593
3572
  "vmath\u0000FUNCTION\u0000vmath.quat_rotation_z\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "function quat_rotation_z(angle: number): Quaternion;",
3594
3573
  "vmath\u0000FUNCTION\u0000vmath.quat_to_euler\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function quat_to_euler(q: Quaternion): LuaMultiReturn<[number, number, number]>;",
3595
3574
  "vmath\u0000FUNCTION\u0000vmath.rotate\u0000[{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function rotate(q: Quaternion, v1: Vector3): Vector3;",
3575
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false},{\"types\":[\"quaternion\"],\"isOptional\":false}]->[{\"types\":[\"quaternion\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
3576
+ "vmath\u0000FUNCTION\u0000vmath.slerp\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector3\",\"vector4\"],\"isOptional\":false}]": "vmath.slerp<T extends Vector3 | Vector4>(t: number, v1: T, v2: T): T\nvmath.slerp(t: number, q1: Quaternion, q2: Quaternion): Quaternion",
3596
3577
  "vmath\u0000FUNCTION\u0000vmath.vector\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"vector\"],\"isOptional\":false}]": "function vector(t: number[]): Vector;",
3597
3578
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(): Vector3;",
3598
3579
  "vmath\u0000FUNCTION\u0000vmath.vector3\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function vector3(x: number, y: number, z: number): Vector3;",
@@ -3602,14 +3583,6 @@
3602
3583
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(x: number, y: number, z: number, w: number): Vector4;",
3603
3584
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(n: number): Vector4;",
3604
3585
  "vmath\u0000FUNCTION\u0000vmath.vector4\u0000[{\"types\":[\"vector4\"],\"isOptional\":false}]->[{\"types\":[\"vector4\"],\"isOptional\":false}]": "function vector4(v1: Vector4): Vector4;",
3605
- "webview\u0000FUNCTION\u0000webview.create\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function create(callback: (...args: unknown[]) => unknown): number;",
3606
- "webview\u0000FUNCTION\u0000webview.destroy\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function destroy(webview_id: number): void;",
3607
- "webview\u0000FUNCTION\u0000webview.eval\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function eval(webview_id: number, code: string): number;",
3608
- "webview\u0000FUNCTION\u0000webview.is_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function is_visible(webview_id: number): number;",
3609
- "webview\u0000FUNCTION\u0000webview.open_raw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function open_raw(webview_id: number, html: string, options: Record<string | number, unknown>): void;",
3610
- "webview\u0000FUNCTION\u0000webview.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(webview_id: number, x: number, y: number, width: number, height: number): void;",
3611
- "webview\u0000FUNCTION\u0000webview.set_transparent\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_transparent(webview_id: number, transparent: boolean): void;",
3612
- "webview\u0000FUNCTION\u0000webview.set_visible\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_visible(webview_id: number, visible: number): void;",
3613
3586
  "window\u0000CONSTANT\u0000window.DIMMING_OFF\u0000": "const DIMMING_OFF: number & { readonly __brand: \"window.DIMMING_OFF\" };",
3614
3587
  "window\u0000CONSTANT\u0000window.DIMMING_ON\u0000": "const DIMMING_ON: number & { readonly __brand: \"window.DIMMING_ON\" };",
3615
3588
  "window\u0000CONSTANT\u0000window.DIMMING_UNKNOWN\u0000": "const DIMMING_UNKNOWN: number & { readonly __brand: \"window.DIMMING_UNKNOWN\" };",
@@ -3618,12 +3591,12 @@
3618
3591
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_FOCUS_LOST\u0000": "const WINDOW_EVENT_FOCUS_LOST: number & { readonly __brand: \"window.WINDOW_EVENT_FOCUS_LOST\" };",
3619
3592
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_ICONFIED\u0000": "const WINDOW_EVENT_ICONFIED: number & { readonly __brand: \"window.WINDOW_EVENT_ICONFIED\" };",
3620
3593
  "window\u0000CONSTANT\u0000window.WINDOW_EVENT_RESIZED\u0000": "const WINDOW_EVENT_RESIZED: number & { readonly __brand: \"window.WINDOW_EVENT_RESIZED\" };",
3621
- "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): Opaque<\"constant\">;",
3594
+ "window\u0000FUNCTION\u0000window.get_dim_mode\u0000[]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_dim_mode(): number & { readonly __brand: \"window.DIMMING_UNKNOWN\" } | number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" };",
3622
3595
  "window\u0000FUNCTION\u0000window.get_display_scale\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_display_scale(): number;",
3623
3596
  "window\u0000FUNCTION\u0000window.get_mouse_lock\u0000[]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function get_mouse_lock(): boolean;",
3624
3597
  "window\u0000FUNCTION\u0000window.get_safe_area\u0000[]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_safe_area(): { safe_area: { x: number; y: number; width: number; height: number; inset_left: number; inset_top: number; inset_right: number; inset_bottom: number } };",
3625
3598
  "window\u0000FUNCTION\u0000window.get_size\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function get_size(): LuaMultiReturn<[number, number]>;",
3626
- "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: Opaque<\"constant\">): void;",
3599
+ "window\u0000FUNCTION\u0000window.set_dim_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_dim_mode(mode: number & { readonly __brand: \"window.DIMMING_ON\" } | number & { readonly __brand: \"window.DIMMING_OFF\" }): void;",
3627
3600
  "window\u0000FUNCTION\u0000window.set_listener\u0000[{\"types\":[\"function(self, event, data)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event: typeof WINDOW_EVENT_FOCUS_LOST | typeof WINDOW_EVENT_FOCUS_GAINED | typeof WINDOW_EVENT_RESIZED | typeof WINDOW_EVENT_ICONFIED | typeof WINDOW_EVENT_DEICONIFIED, data: Record<string | number, unknown>) => void): void;",
3628
3601
  "window\u0000FUNCTION\u0000window.set_mouse_lock\u0000[{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_mouse_lock(flag: boolean): void;",
3629
3602
  "window\u0000FUNCTION\u0000window.set_position\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_position(x: number, y: number): void;",