@defold-typescript/types 0.39.0 → 0.40.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.
- package/api-availability.json +117 -0
- package/api-signatures.json +262 -237
- package/examples/translations.json +81 -81
- package/generated/b2d_shape.d.ts +23 -1
- package/generated/buffer.d.ts +18 -15
- package/generated/camera.d.ts +2 -2
- package/generated/collectionfactory.d.ts +12 -10
- package/generated/collectionproxy.d.ts +1 -1
- package/generated/compute.d.ts +1 -1
- package/generated/go.d.ts +9 -5
- package/generated/graphics.d.ts +52 -0
- package/generated/gui.d.ts +53 -32
- package/generated/html5.d.ts +3 -1
- package/generated/http.d.ts +4 -2
- package/generated/image.d.ts +24 -15
- package/generated/kinds/gui-script.d.ts +1 -0
- package/generated/kinds/render-script.d.ts +1 -0
- package/generated/kinds/script.d.ts +1 -0
- package/generated/material.d.ts +1 -1
- package/generated/model.d.ts +32 -3
- package/generated/physics.d.ts +13 -11
- package/generated/profiler.d.ts +1 -1
- package/generated/render.d.ts +72 -15
- package/generated/resource.d.ts +100 -69
- package/generated/socket.d.ts +23 -13
- package/generated/sound.d.ts +3 -3
- package/generated/sprite.d.ts +9 -1
- package/generated/sys.d.ts +34 -23
- package/generated/versions/defold-1.12.4/buffer.d.ts +18 -15
- package/generated/versions/defold-1.12.4/camera.d.ts +2 -2
- package/generated/versions/defold-1.12.4/collectionfactory.d.ts +12 -10
- package/generated/versions/defold-1.12.4/go.d.ts +9 -5
- package/generated/versions/defold-1.12.4/gui.d.ts +47 -31
- package/generated/versions/defold-1.12.4/html5.d.ts +3 -1
- package/generated/versions/defold-1.12.4/http.d.ts +4 -2
- package/generated/versions/defold-1.12.4/image.d.ts +24 -15
- package/generated/versions/defold-1.12.4/index.d.ts +1 -0
- package/generated/versions/defold-1.12.4/model.d.ts +32 -3
- package/generated/versions/defold-1.12.4/physics.d.ts +13 -11
- package/generated/versions/defold-1.12.4/profiler.d.ts +1 -1
- package/generated/versions/defold-1.12.4/render.d.ts +72 -15
- package/generated/versions/defold-1.12.4/resource.d.ts +100 -69
- package/generated/versions/defold-1.12.4/socket.d.ts +23 -13
- package/generated/versions/defold-1.12.4/sound.d.ts +3 -3
- package/generated/versions/defold-1.12.4/sprite.d.ts +9 -1
- package/generated/versions/defold-1.12.4/sys.d.ts +34 -23
- package/generated/versions/defold-1.12.4/vmath.d.ts +5 -5
- package/generated/versions/defold-1.13.0/b2d_shape.d.ts +23 -1
- package/generated/versions/defold-1.13.0/buffer.d.ts +18 -15
- package/generated/versions/defold-1.13.0/camera.d.ts +2 -2
- package/generated/versions/defold-1.13.0/collectionfactory.d.ts +12 -10
- package/generated/versions/defold-1.13.0/compute.d.ts +1 -1
- package/generated/versions/defold-1.13.0/go.d.ts +9 -5
- package/generated/versions/defold-1.13.0/graphics.d.ts +48 -0
- package/generated/versions/defold-1.13.0/gui.d.ts +47 -31
- package/generated/versions/defold-1.13.0/html5.d.ts +3 -1
- package/generated/versions/defold-1.13.0/http.d.ts +4 -2
- package/generated/versions/defold-1.13.0/image.d.ts +24 -15
- package/generated/versions/defold-1.13.0/index.d.ts +1 -0
- package/generated/versions/defold-1.13.0/material.d.ts +1 -1
- package/generated/versions/defold-1.13.0/model.d.ts +32 -3
- package/generated/versions/defold-1.13.0/physics.d.ts +13 -11
- package/generated/versions/defold-1.13.0/profiler.d.ts +1 -1
- package/generated/versions/defold-1.13.0/render.d.ts +72 -15
- package/generated/versions/defold-1.13.0/resource.d.ts +100 -69
- package/generated/versions/defold-1.13.0/socket.d.ts +23 -13
- package/generated/versions/defold-1.13.0/sound.d.ts +3 -3
- package/generated/versions/defold-1.13.0/sprite.d.ts +9 -1
- package/generated/versions/defold-1.13.0/sys.d.ts +34 -23
- package/generated/versions/defold-1.13.0/vmath.d.ts +5 -5
- package/generated/vmath.d.ts +5 -5
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/scripts/generate-api-signatures.ts +2 -1
- package/scripts/prose-constants.ts +96 -0
- package/scripts/regen.ts +6 -2
- package/src/component-properties.d.ts +33 -0
- package/src/core-types.ts +4 -2
- package/src/custom-messages.d.ts +4 -3
- package/src/doc-comment.ts +35 -12
- package/src/emit-dts.ts +457 -47
- package/src/engine-globals.d.ts +2 -2
- package/src/go-overloads.d.ts +11 -10
- package/src/index.ts +4 -0
- package/src/param-correction-provenance.ts +67 -0
- package/src/render-overloads.d.ts +15 -0
- package/src/script-api.ts +3 -1
package/api-signatures.json
CHANGED
|
@@ -249,28 +249,28 @@
|
|
|
249
249
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_GRID\u0000": "const SHAPE_TYPE_GRID: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_GRID\" };",
|
|
250
250
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_POLYGON\u0000": "const SHAPE_TYPE_POLYGON: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_POLYGON\" };",
|
|
251
251
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_SEGMENT\u0000": "const SHAPE_TYPE_SEGMENT: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_SEGMENT\" };",
|
|
252
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_contact_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_contact_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
253
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_hit_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_hit_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
254
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_pre_solve_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_pre_solve_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
255
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_sensor_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_sensor_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
256
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_contact_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_contact_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
257
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_hit_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_hit_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
258
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_pre_solve_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_pre_solve_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
259
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_sensor_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_sensor_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
260
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_body\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2Body\"],\"isOptional\":false}]": "function get_body(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2Body\">;",
|
|
261
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_closest_point\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_closest_point(shape_id: Opaque<\"b2Shape\">, target: Vector3): Vector3;",
|
|
262
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_contact_capacity(shape_id: Opaque<\"b2Shape\">): number;",
|
|
263
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_contact_data(shape_id: Opaque<\"b2Shape\">): Record<string | number, unknown>;",
|
|
264
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_mass_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mass_data(shape_id: Opaque<\"b2Shape\">): { mass: number; center: Vector3; inertia: number };",
|
|
265
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_material(shape_id: Opaque<\"b2Shape\">): number;",
|
|
266
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_sensor_capacity(shape_id: Opaque<\"b2Shape\">): number;",
|
|
267
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_overlaps\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_sensor_overlaps(shape_id: Opaque<\"b2Shape\">): { shape_id: number }[];",
|
|
268
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_shape(shape_id: Opaque<\"b2Shape\">): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };",
|
|
269
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_world\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2World\"],\"isOptional\":false}]": "function get_world(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2World\">;",
|
|
270
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.is_valid\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_valid(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
271
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.ray_cast\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function ray_cast(shape_id: Opaque<\"b2Shape\">, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };",
|
|
272
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_material(shape_id: Opaque<\"b2Shape\">, material: number): void;",
|
|
273
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_shape(shape_id: Opaque<\"b2Shape\">, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass: boolean): void;",
|
|
252
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_contact_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_contact_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_contact_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
253
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_hit_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_hit_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_hit_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
254
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_pre_solve_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_pre_solve_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_pre_solve_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
255
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_sensor_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_sensor_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_sensor_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
256
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_contact_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_contact_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_contact_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
257
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_hit_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_hit_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_hit_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
258
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_pre_solve_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_pre_solve_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_pre_solve_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
259
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_sensor_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_sensor_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_sensor_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
260
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_body\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2Body\"],\"isOptional\":false}]": "function get_body(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2Body\">;\nfunction get_body(body: Opaque<\"b2Body\">, shape_index: number): Opaque<\"b2Body\">;",
|
|
261
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_closest_point\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_closest_point(shape_id: Opaque<\"b2Shape\">, target: Vector3): Vector3;\nfunction get_closest_point(body: Opaque<\"b2Body\">, shape_index: number, target: Vector3): Vector3;",
|
|
262
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_contact_capacity(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_contact_capacity(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
263
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_contact_data(shape_id: Opaque<\"b2Shape\">): Record<string | number, unknown>;\nfunction get_contact_data(body: Opaque<\"b2Body\">, shape_index: number): Record<string | number, unknown>;",
|
|
264
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_mass_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mass_data(shape_id: Opaque<\"b2Shape\">): { mass: number; center: Vector3; inertia: number };\nfunction get_mass_data(body: Opaque<\"b2Body\">, shape_index: number): { mass: number; center: Vector3; inertia: number };",
|
|
265
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_material(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_material(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
266
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_sensor_capacity(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_sensor_capacity(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
267
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_overlaps\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_sensor_overlaps(shape_id: Opaque<\"b2Shape\">): { shape_id: number }[];\nfunction get_sensor_overlaps(body: Opaque<\"b2Body\">, shape_index: number): { shape_id: number }[];",
|
|
268
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_shape(shape_id: Opaque<\"b2Shape\">): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };\nfunction get_shape(body: Opaque<\"b2Body\">, shape_index: number): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };",
|
|
269
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_world\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2World\"],\"isOptional\":false}]": "function get_world(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2World\">;\nfunction get_world(body: Opaque<\"b2Body\">, shape_index: number): Opaque<\"b2World\">;",
|
|
270
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.is_valid\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_valid(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction is_valid(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
271
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.ray_cast\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function ray_cast(shape_id: Opaque<\"b2Shape\">, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };\nfunction ray_cast(body: Opaque<\"b2Body\">, shape_index: number, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };",
|
|
272
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_material(shape_id: Opaque<\"b2Shape\">, material: number): void;\nfunction set_material(body: Opaque<\"b2Body\">, shape_index: number, material: number): void;",
|
|
273
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_shape(shape_id: Opaque<\"b2Shape\">, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass?: boolean): void;\nfunction set_shape(body: Opaque<\"b2Body\">, shape_index: number, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass?: boolean): void;",
|
|
274
274
|
"b2d.shape\u0000TYPEDEF\u0000b2Shape\u0000": "type b2Shape = Opaque<\"b2Shape\">;",
|
|
275
275
|
"b2d.world\u0000FUNCTION\u0000b2d.world.cast_mover\u0000[{\"types\":[\"b2World\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function cast_mover(world: Opaque<\"b2World\">, capsule: { center1?: Vector3; center2?: Vector3; radius?: number }, translation: Vector3, filter?: { category_bits?: number; mask_bits?: number }): number;",
|
|
276
276
|
"b2d.world\u0000FUNCTION\u0000b2d.world.cast_ray\u0000[{\"types\":[\"b2World\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]": "function cast_ray(world: Opaque<\"b2World\">, origin: Vector3, translation: Vector3, filter: { category_bits?: number; mask_bits?: number; group_index?: number }, max_results: number): LuaMultiReturn<[{ fixture: number; shape: number; point: Vector3; normal: Vector3; fraction: number }[], { node_visits: number; leaf_visits: number }]>;",
|
|
@@ -318,11 +318,11 @@
|
|
|
318
318
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT64\u0000": "const VALUE_TYPE_UINT64: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" };",
|
|
319
319
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT8\u0000": "const VALUE_TYPE_UINT8: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" };",
|
|
320
320
|
"buffer\u0000FUNCTION\u0000buffer.copy_buffer\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_buffer(dst: Opaque<\"buffer\">, dstoffset: number, src: Opaque<\"buffer\">, srcoffset: number, count: number): void;",
|
|
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
|
-
"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?:
|
|
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;",
|
|
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; length: LuaLengthMethod<number> }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }, srcoffset: number, count: number): void;",
|
|
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?: buffer.ValueType; count?: number }[]): Opaque<\"buffer\">;",
|
|
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): string;",
|
|
324
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, buffer.ValueType | undefined]>;",
|
|
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 };",
|
|
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; length: LuaLengthMethod<number> };",
|
|
326
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: buffer.ValueType): void;",
|
|
327
327
|
"buffer\u0000TYPEDEF\u0000ValueType\u0000": "type ValueType = typeof buffer.VALUE_TYPE_FLOAT32 | typeof buffer.VALUE_TYPE_INT16 | typeof buffer.VALUE_TYPE_INT32 | typeof buffer.VALUE_TYPE_INT64 | typeof buffer.VALUE_TYPE_INT8 | typeof buffer.VALUE_TYPE_UINT16 | typeof buffer.VALUE_TYPE_UINT32 | typeof buffer.VALUE_TYPE_UINT64 | typeof buffer.VALUE_TYPE_UINT8;",
|
|
328
328
|
"camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADED\u0000": "const STATUS_LOADED: number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
|
|
362
362
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
|
|
363
363
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
|
|
364
|
-
"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
|
|
364
|
+
"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?: LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
|
|
365
365
|
"collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): collectionfactory.Status;",
|
|
366
366
|
"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;",
|
|
367
367
|
"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;",
|
|
@@ -371,14 +371,14 @@
|
|
|
371
371
|
"collectionproxy\u0000CONSTANT\u0000collectionproxy.RESULT_LOADING\u0000": "const RESULT_LOADING: number & { readonly __brand: \"collectionproxy.RESULT_LOADING\" };",
|
|
372
372
|
"collectionproxy\u0000CONSTANT\u0000collectionproxy.RESULT_NOT_EXCLUDED\u0000": "const RESULT_NOT_EXCLUDED: number & { readonly __brand: \"collectionproxy.RESULT_NOT_EXCLUDED\" };",
|
|
373
373
|
"collectionproxy\u0000FUNCTION\u0000collectionproxy.get_resources\u0000[{\"types\":[\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_resources(collectionproxy: Url): Hash[];",
|
|
374
|
-
"collectionproxy\u0000FUNCTION\u0000collectionproxy.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":false}]->[]": "function load(url: string | Hash | Url, options: Record<string | number, unknown> | undefined, callback: (self: unknown, message_id:
|
|
374
|
+
"collectionproxy\u0000FUNCTION\u0000collectionproxy.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":false}]->[]": "function load(url: string | Hash | Url, options: Record<string | number, unknown> | undefined, callback: (self: unknown, message_id: Hash, message: Record<string | number, unknown>, sender: Url) => void): void;",
|
|
375
375
|
"collectionproxy\u0000FUNCTION\u0000collectionproxy.set_collection\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function set_collection(url?: string | Hash | Url, prototype?: string): LuaMultiReturn<[boolean, number]>;",
|
|
376
376
|
"compute\u0000FUNCTION\u0000compute.get_constants\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_constants(path: Hash | string): { name: Hash; type: number; value: Vector4 | Matrix4 }[];",
|
|
377
377
|
"compute\u0000FUNCTION\u0000compute.get_samplers\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_samplers(path: Hash | string): { name: Hash; u_wrap: number; v_wrap: number; min_filter: number; mag_filter: number; max_anisotropy: number }[];",
|
|
378
378
|
"compute\u0000FUNCTION\u0000compute.get_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_textures(path: Hash | string): { path: Hash; handle: Hash; width: number; height: number; depth: number; mipmaps: number; type: number; flags: number }[];",
|
|
379
379
|
"compute\u0000FUNCTION\u0000compute.set_constants\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_constants(path: Hash | string, constants: Record<string, { type?: number; value?: Vector4 | Vector3 | Matrix4 | number | (Vector4 | Matrix4)[] }>): void;",
|
|
380
380
|
"compute\u0000FUNCTION\u0000compute.set_samplers\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_samplers(path: Hash | string, samplers: Record<string, { u_wrap?: number; v_wrap?: number; min_filter?: number; mag_filter?: number; max_anisotropy?: number }>): void;",
|
|
381
|
-
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash>): void;",
|
|
381
|
+
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash> | Record<string, Hash>): void;",
|
|
382
382
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_ANDROID_BUILD_FINGERPRINT\u0000": "const SYSFIELD_ANDROID_BUILD_FINGERPRINT: number & { readonly __brand: \"crash.SYSFIELD_ANDROID_BUILD_FINGERPRINT\" };",
|
|
383
383
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_DEVICE_LANGUAGE\u0000": "const SYSFIELD_DEVICE_LANGUAGE: number & { readonly __brand: \"crash.SYSFIELD_DEVICE_LANGUAGE\" };",
|
|
384
384
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_DEVICE_MODEL\u0000": "const SYSFIELD_DEVICE_MODEL: number & { readonly __brand: \"crash.SYSFIELD_DEVICE_MODEL\" };",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"go\u0000FUNCTION\u0000fixed_update\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function fixed_update(self: Opaque<\"userdata\">, dt: number): void;",
|
|
469
469
|
"go\u0000FUNCTION\u0000go.animate\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"go.PLAYBACK_LOOP_BACKWARD\",\"go.PLAYBACK_LOOP_FORWARD\",\"go.PLAYBACK_LOOP_PINGPONG\",\"go.PLAYBACK_ONCE_BACKWARD\",\"go.PLAYBACK_ONCE_FORWARD\",\"go.PLAYBACK_ONCE_PINGPONG\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"go.EASING_INBACK\",\"go.EASING_INBOUNCE\",\"go.EASING_INCIRC\",\"go.EASING_INCUBIC\",\"go.EASING_INELASTIC\",\"go.EASING_INEXPO\",\"go.EASING_INOUTBACK\",\"go.EASING_INOUTBOUNCE\",\"go.EASING_INOUTCIRC\",\"go.EASING_INOUTCUBIC\",\"go.EASING_INOUTELASTIC\",\"go.EASING_INOUTEXPO\",\"go.EASING_INOUTQUAD\",\"go.EASING_INOUTQUART\",\"go.EASING_INOUTQUINT\",\"go.EASING_INOUTSINE\",\"go.EASING_INQUAD\",\"go.EASING_INQUART\",\"go.EASING_INQUINT\",\"go.EASING_INSINE\",\"go.EASING_LINEAR\",\"go.EASING_OUTBACK\",\"go.EASING_OUTBOUNCE\",\"go.EASING_OUTCIRC\",\"go.EASING_OUTCUBIC\",\"go.EASING_OUTELASTIC\",\"go.EASING_OUTEXPO\",\"go.EASING_OUTINBACK\",\"go.EASING_OUTINBOUNCE\",\"go.EASING_OUTINCIRC\",\"go.EASING_OUTINCUBIC\",\"go.EASING_OUTINELASTIC\",\"go.EASING_OUTINEXPO\",\"go.EASING_OUTINQUAD\",\"go.EASING_OUTINQUART\",\"go.EASING_OUTINQUINT\",\"go.EASING_OUTINSINE\",\"go.EASING_OUTQUAD\",\"go.EASING_OUTQUART\",\"go.EASING_OUTQUINT\",\"go.EASING_OUTSINE\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, url, property)\"],\"isOptional\":true}]->[]": "function animate(url: SceneAddress | Hash | Url, property: string | Hash, playback: go.Playback, to: number | Vector3 | Vector4 | Quaternion, easing: Vector | go.Easing, duration: number, delay?: number, complete_function?: (self: unknown, url: unknown, property: unknown) => void): void;",
|
|
470
470
|
"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;",
|
|
471
|
-
"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;",
|
|
471
|
+
"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)[] | boolean, recursive?: boolean): void;",
|
|
472
472
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
|
|
473
473
|
"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",
|
|
474
474
|
"go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
"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;",
|
|
484
484
|
"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;",
|
|
485
485
|
"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>",
|
|
486
|
-
"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",
|
|
486
|
+
"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 | Vector4[], options?: GoPropertyOptions): void",
|
|
487
487
|
"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;",
|
|
488
488
|
"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;",
|
|
489
489
|
"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;",
|
|
@@ -555,6 +555,19 @@
|
|
|
555
555
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_BACK\u0000": "const FACE_TYPE_BACK: number & { readonly __brand: \"graphics.FACE_TYPE_BACK\" };",
|
|
556
556
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_FRONT\u0000": "const FACE_TYPE_FRONT: number & { readonly __brand: \"graphics.FACE_TYPE_FRONT\" };",
|
|
557
557
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_FRONT_AND_BACK\u0000": "const FACE_TYPE_FRONT_AND_BACK: number & { readonly __brand: \"graphics.FACE_TYPE_FRONT_AND_BACK\" };",
|
|
558
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_BONE_INDICES\u0000": "const SEMANTIC_TYPE_BONE_INDICES: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_BONE_INDICES\" };",
|
|
559
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_BONE_WEIGHTS\u0000": "const SEMANTIC_TYPE_BONE_WEIGHTS: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_BONE_WEIGHTS\" };",
|
|
560
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_COLOR\u0000": "const SEMANTIC_TYPE_COLOR: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_COLOR\" };",
|
|
561
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_MORPH_TARGET_WEIGHTS\u0000": "const SEMANTIC_TYPE_MORPH_TARGET_WEIGHTS: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_MORPH_TARGET_WEIGHTS\" };",
|
|
562
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NONE\u0000": "const SEMANTIC_TYPE_NONE: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NONE\" };",
|
|
563
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NORMAL\u0000": "const SEMANTIC_TYPE_NORMAL: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NORMAL\" };",
|
|
564
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NORMAL_MATRIX\u0000": "const SEMANTIC_TYPE_NORMAL_MATRIX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NORMAL_MATRIX\" };",
|
|
565
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_PAGE_INDEX\u0000": "const SEMANTIC_TYPE_PAGE_INDEX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_PAGE_INDEX\" };",
|
|
566
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_POSITION\u0000": "const SEMANTIC_TYPE_POSITION: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_POSITION\" };",
|
|
567
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TANGENT\u0000": "const SEMANTIC_TYPE_TANGENT: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TANGENT\" };",
|
|
568
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TEXCOORD\u0000": "const SEMANTIC_TYPE_TEXCOORD: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TEXCOORD\" };",
|
|
569
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D\u0000": "const SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D\" };",
|
|
570
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_WORLD_MATRIX\u0000": "const SEMANTIC_TYPE_WORLD_MATRIX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_WORLD_MATRIX\" };",
|
|
558
571
|
"graphics\u0000CONSTANT\u0000graphics.STATE_ALPHA_TEST\u0000": "const STATE_ALPHA_TEST: number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" };",
|
|
559
572
|
"graphics\u0000CONSTANT\u0000graphics.STATE_ALPHA_TEST_SUPPORTED\u0000": "const STATE_ALPHA_TEST_SUPPORTED: number & { readonly __brand: \"graphics.STATE_ALPHA_TEST_SUPPORTED\" };",
|
|
560
573
|
"graphics\u0000CONSTANT\u0000graphics.STATE_BLEND\u0000": "const STATE_BLEND: number & { readonly __brand: \"graphics.STATE_BLEND\" };",
|
|
@@ -808,7 +821,7 @@
|
|
|
808
821
|
"gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
|
|
809
822
|
"gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
|
|
810
823
|
"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;",
|
|
811
|
-
"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 | gui.Property, value?: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
|
|
824
|
+
"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 | gui.Property, value?: number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash, options?: { index?: number; key?: string | Hash }): void;",
|
|
812
825
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: gui.AdjustMode): void;",
|
|
813
826
|
"gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
|
|
814
827
|
"gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: gui.BlendMode): void;",
|
|
@@ -838,7 +851,7 @@
|
|
|
838
851
|
"gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: gui.Pivot): void;",
|
|
839
852
|
"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;",
|
|
840
853
|
"gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
|
|
841
|
-
"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;",
|
|
854
|
+
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4 | Vector3): void;",
|
|
842
855
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: gui.SafeAreaMode): void;",
|
|
843
856
|
"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;",
|
|
844
857
|
"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;",
|
|
@@ -880,7 +893,7 @@
|
|
|
880
893
|
"gui\u0000TYPEDEF\u0000YAnchor\u0000": "type YAnchor = typeof gui.ANCHOR_NONE | typeof gui.ANCHOR_TOP | typeof gui.ANCHOR_BOTTOM;",
|
|
881
894
|
"html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
|
|
882
895
|
"html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
|
|
883
|
-
"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:
|
|
896
|
+
"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: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void, headers?: LuaMap<string, string> | Record<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
|
|
884
897
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
|
|
885
898
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
|
|
886
899
|
"image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
|
|
@@ -926,7 +939,7 @@
|
|
|
926
939
|
"material\u0000FUNCTION\u0000material.get_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_vertex_attributes(path: Hash | string): { name: Hash; value: Vector4 | Vector3 | Matrix4 | number | number[]; normalize: boolean; data_type: number; coordinate_space: number; semantic_type: number }[];",
|
|
927
940
|
"material\u0000FUNCTION\u0000material.set_constants\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_constants(path: Hash | string, constants: Record<string, { type?: number; value?: Vector4 | Vector3 | Matrix4 | number | (Vector4 | Matrix4)[] }>): void;",
|
|
928
941
|
"material\u0000FUNCTION\u0000material.set_samplers\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_samplers(path: Hash | string, samplers: Record<string, { u_wrap?: number; v_wrap?: number; min_filter?: number; mag_filter?: number; max_anisotropy?: number }>): void;",
|
|
929
|
-
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash>): void;",
|
|
942
|
+
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash> | Record<string, Hash>): void;",
|
|
930
943
|
"material\u0000FUNCTION\u0000material.set_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_vertex_attributes(path: Hash | string, attributes: Record<string, { value?: Vector4 | Vector3 | Matrix4 | number | number[]; normalize?: boolean; data_type?: number; coordinate_space?: number; semantic_type?: number }>): void;",
|
|
931
944
|
"model\u0000FUNCTION\u0000model.cancel\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[]": "function cancel(url: string | Hash | Url): void;",
|
|
932
945
|
"model\u0000FUNCTION\u0000model.get_aabb\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_aabb(url: string | Hash | Url): { min: Vector3; max: Vector3 };",
|
|
@@ -941,7 +954,7 @@
|
|
|
941
954
|
"model\u0000PROPERTY\u0000animation\u0000": "animation: Hash;",
|
|
942
955
|
"model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
|
|
943
956
|
"model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
|
|
944
|
-
"model\u0000PROPERTY\u0000textureN\u0000": "
|
|
957
|
+
"model\u0000PROPERTY\u0000textureN\u0000": "texture0: Hash;",
|
|
945
958
|
"msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<R extends SceneAddress | Hash | Url, K extends (keyof ReceiverMessages<R> & string) | MessageId | (string & {})>(receiver: R, message_id: K, message?: K extends BuiltinMessageId ? MessagePayload<K> : K extends keyof ReceiverMessages<R> ? ReceiverMessages<R>[K] : MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
|
|
946
959
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
947
960
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
@@ -1021,20 +1034,20 @@
|
|
|
1021
1034
|
"render\u0000CONSTANT\u0000render.SORT_FRONT_TO_BACK\u0000": "const SORT_FRONT_TO_BACK: number & { readonly __brand: \"render.SORT_FRONT_TO_BACK\" };",
|
|
1022
1035
|
"render\u0000CONSTANT\u0000render.SORT_NONE\u0000": "const SORT_NONE: number & { readonly __brand: \"render.SORT_NONE\" };",
|
|
1023
1036
|
"render\u0000FUNCTION\u0000render.clear\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function clear(buffers: LuaMap<render.ClearBufferKey, number | Vector4>): void;",
|
|
1024
|
-
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"
|
|
1037
|
+
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
1025
1038
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
|
|
1026
1039
|
"render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
|
|
1027
1040
|
"render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: graphics.State): void;",
|
|
1028
|
-
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
|
|
1029
|
-
"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;",
|
|
1030
|
-
"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\"
|
|
1041
|
+
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash | number): void;",
|
|
1042
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }): void;",
|
|
1043
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }): void;",
|
|
1031
1044
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
|
|
1032
1045
|
"render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
|
|
1033
1046
|
"render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: graphics.State): void;",
|
|
1034
|
-
"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?: graphics.BufferType): void;",
|
|
1047
|
+
"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 | Opaque<\"render_target\"> | number, buffer_type?: graphics.BufferType): void;",
|
|
1035
1048
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
|
|
1036
|
-
"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\"
|
|
1037
|
-
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"
|
|
1049
|
+
"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\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
1050
|
+
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
1038
1051
|
"render\u0000FUNCTION\u0000render.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
|
|
1039
1052
|
"render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
|
|
1040
1053
|
"render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
|
|
@@ -1043,7 +1056,7 @@
|
|
|
1043
1056
|
"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;",
|
|
1044
1057
|
"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;",
|
|
1045
1058
|
"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;",
|
|
1046
|
-
"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;",
|
|
1059
|
+
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_camera(camera?: Url | number | string, options?: { use_frustum?: boolean }): void;",
|
|
1047
1060
|
"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;",
|
|
1048
1061
|
"render\u0000FUNCTION\u0000render.set_compute\u0000[{\"types\":[\"hash\",\"nil\",\"string\"],\"isOptional\":false}]->[]": "function set_compute(compute?: string | Hash): void;",
|
|
1049
1062
|
"render\u0000FUNCTION\u0000render.set_cull_face\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_cull_face(face_type: number): void;",
|
|
@@ -1052,26 +1065,26 @@
|
|
|
1052
1065
|
"render\u0000FUNCTION\u0000render.set_listener\u0000[{\"types\":[\"function(self, event_type)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event_type: unknown) => void): void;",
|
|
1053
1066
|
"render\u0000FUNCTION\u0000render.set_polygon_offset\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_polygon_offset(factor: number, units: number): void;",
|
|
1054
1067
|
"render\u0000FUNCTION\u0000render.set_projection\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_projection(matrix: Matrix4): void;",
|
|
1055
|
-
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"
|
|
1056
|
-
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"
|
|
1068
|
+
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT, options?: { transient?: graphics.BufferType[] }): void;",
|
|
1069
|
+
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"> | string | Hash, width: number, height: number): void;",
|
|
1057
1070
|
"render\u0000FUNCTION\u0000render.set_stencil_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_func(func: number, ref: number, mask: number): void;",
|
|
1058
1071
|
"render\u0000FUNCTION\u0000render.set_stencil_mask\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_mask(mask: number): void;",
|
|
1059
1072
|
"render\u0000FUNCTION\u0000render.set_stencil_op\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_op(sfail: number, dpfail: number, dppass: number): void;",
|
|
1060
1073
|
"render\u0000FUNCTION\u0000render.set_view\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_view(matrix: Matrix4): void;",
|
|
1061
1074
|
"render\u0000FUNCTION\u0000render.set_viewport\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_viewport(x: number, y: number, width: number, height: number): void;",
|
|
1062
1075
|
"render\u0000TYPEDEF\u0000ClearBufferKey\u0000": "type ClearBufferKey = typeof graphics.BUFFER_TYPE_COLOR0_BIT | typeof graphics.BUFFER_TYPE_DEPTH_BIT | typeof graphics.BUFFER_TYPE_STENCIL_BIT;",
|
|
1063
|
-
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"
|
|
1076
|
+
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
1064
1077
|
"render\u0000TYPEDEF\u0000render_target\u0000": "type render_target = Opaque<\"render_target\">;",
|
|
1065
1078
|
"render\u0000TYPEDEF\u0000texture\u0000": "type texture = Opaque<\"texture\">;",
|
|
1066
1079
|
"resource\u0000FUNCTION\u0000resource.atlas\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function atlas(path?: string): Hash;",
|
|
1067
1080
|
"resource\u0000FUNCTION\u0000resource.buffer\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function buffer(path?: string): Hash;",
|
|
1068
|
-
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
1081
|
+
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): Hash;",
|
|
1069
1082
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_buffer(path: string, table?: { buffer?: Opaque<\"buffer\">; transfer_ownership?: boolean }): Hash;",
|
|
1070
1083
|
"resource\u0000FUNCTION\u0000resource.create_sound_data\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_sound_data(path: string, options?: { data?: string; filesize?: number; partial?: boolean }): Hash;",
|
|
1071
1084
|
"resource\u0000FUNCTION\u0000resource.create_texture\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_texture(path: string, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number; page_count?: number }, buffer?: Opaque<\"buffer\">): Hash;",
|
|
1072
1085
|
"resource\u0000FUNCTION\u0000resource.create_texture_async\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function create_texture_async(path: string | Hash, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number }, buffer?: Opaque<\"buffer\">, callback?: (...args: unknown[]) => unknown): LuaMultiReturn<[Hash, number]>;",
|
|
1073
1086
|
"resource\u0000FUNCTION\u0000resource.font\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function font(path?: string): Hash;",
|
|
1074
|
-
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
1087
|
+
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] };",
|
|
1075
1088
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function get_buffer(path: Hash | string): Opaque<\"buffer\">;",
|
|
1076
1089
|
"resource\u0000FUNCTION\u0000resource.get_render_target_info\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_render_target_info(path: Hash | string | number): { handle: number; attachments: { handle: number; width: number; height: number; depth: number; mipmaps: number; type: number; buffer_type: number; texture?: Hash }[] };",
|
|
1077
1090
|
"resource\u0000FUNCTION\u0000resource.get_text_metrics\u0000[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_text_metrics(url: Hash, text: string, options?: { width?: number; leading?: number; tracking?: number; line_break?: boolean }): { width: number; height: number; max_ascent: number; max_descent: number };",
|
|
@@ -1081,7 +1094,7 @@
|
|
|
1081
1094
|
"resource\u0000FUNCTION\u0000resource.release\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function release(path: Hash | string): void;",
|
|
1082
1095
|
"resource\u0000FUNCTION\u0000resource.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function render_target(path?: string): Hash;",
|
|
1083
1096
|
"resource\u0000FUNCTION\u0000resource.set\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set(path: string | Hash, buffer: Opaque<\"buffer\">): void;",
|
|
1084
|
-
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
1097
|
+
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): void;",
|
|
1085
1098
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_buffer(path: Hash | string, buffer: Opaque<\"buffer\">, table?: { transfer_ownership?: boolean }): void;",
|
|
1086
1099
|
"resource\u0000FUNCTION\u0000resource.set_sound\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_sound(path: Hash | string, buffer: string): void;",
|
|
1087
1100
|
"resource\u0000FUNCTION\u0000resource.set_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set_texture(path: Hash | string, table: { type?: number; width?: number; height?: number; format?: number; x?: number; y?: number; z?: number; page?: number; mipmap?: number; compression_type?: number }, buffer: Opaque<\"buffer\">): void;",
|
|
@@ -1141,8 +1154,8 @@
|
|
|
1141
1154
|
"socket\u0000FUNCTION\u0000socket.dns.tohostname\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function tohostname(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
1142
1155
|
"socket\u0000FUNCTION\u0000socket.dns.toip\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function toip(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
1143
1156
|
"socket\u0000FUNCTION\u0000socket.gettime\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function gettime(): number;",
|
|
1144
|
-
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer
|
|
1145
|
-
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (
|
|
1157
|
+
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer?: () => void): <T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T;",
|
|
1158
|
+
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>;",
|
|
1146
1159
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function select(recvt: (client | master | unconnected)[], sendt: (client | master | unconnected)[], timeout?: number): LuaMultiReturn<[(client | master | unconnected)[], (client | master | unconnected)[], string | undefined]>;",
|
|
1147
1160
|
"socket\u0000FUNCTION\u0000socket.skip\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true}]->[{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false}]": "function skip(d: number, ret1?: unknown, ret2?: unknown, retN?: unknown): LuaMultiReturn<[unknown, unknown, unknown]>;",
|
|
1148
1161
|
"socket\u0000FUNCTION\u0000socket.sleep\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function sleep(time: number): void;",
|
|
@@ -1177,7 +1190,7 @@
|
|
|
1177
1190
|
"sound\u0000PROPERTY\u0000pan\u0000": "pan: number;",
|
|
1178
1191
|
"sound\u0000PROPERTY\u0000sound\u0000": "sound: Hash;",
|
|
1179
1192
|
"sound\u0000PROPERTY\u0000speed\u0000": "speed: number;",
|
|
1180
|
-
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id:
|
|
1193
|
+
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void, play_properties?: { offset?: number; playback_rate?: number }): void;",
|
|
1181
1194
|
"sprite\u0000FUNCTION\u0000sprite.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;",
|
|
1182
1195
|
"sprite\u0000FUNCTION\u0000sprite.set_hflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_hflip(url: string | Hash | Url, flip: boolean): void;",
|
|
1183
1196
|
"sprite\u0000FUNCTION\u0000sprite.set_vflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_vflip(url: string | Hash | Url, flip: boolean): void;",
|
|
@@ -1217,8 +1230,8 @@
|
|
|
1217
1230
|
"sys\u0000FUNCTION\u0000sys.load_resource\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function load_resource(filename: string): LuaMultiReturn<[string | undefined, string | undefined]>;",
|
|
1218
1231
|
"sys\u0000FUNCTION\u0000sys.open_url\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function open_url(url: string, attributes?: { target?: string }): boolean;",
|
|
1219
1232
|
"sys\u0000FUNCTION\u0000sys.reboot\u0000[{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true}]->[]": "function reboot(arg1?: string, arg2?: string, arg3?: string, arg4?: string, arg5?: string, arg6?: string): void;",
|
|
1220
|
-
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown>): void;",
|
|
1221
|
-
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown>): string;",
|
|
1233
|
+
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown> | readonly unknown[]): void;",
|
|
1234
|
+
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown> | readonly unknown[]): string;",
|
|
1222
1235
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_connectivity_host(host: string): void;",
|
|
1223
1236
|
"sys\u0000FUNCTION\u0000sys.set_engine_throttle\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_engine_throttle(enable: boolean, cooldown?: number): void;",
|
|
1224
1237
|
"sys\u0000FUNCTION\u0000sys.set_error_handler\u0000[{\"types\":[\"function(source, message, traceback)\"],\"isOptional\":false}]->[]": "function set_error_handler(error_handler: (source: unknown, message: unknown, traceback: unknown) => void): void;",
|
|
@@ -1579,28 +1592,28 @@
|
|
|
1579
1592
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_GRID\u0000": "const SHAPE_TYPE_GRID: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_GRID\" };",
|
|
1580
1593
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_POLYGON\u0000": "const SHAPE_TYPE_POLYGON: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_POLYGON\" };",
|
|
1581
1594
|
"b2d.shape\u0000CONSTANT\u0000b2d.shape.SHAPE_TYPE_SEGMENT\u0000": "const SHAPE_TYPE_SEGMENT: number & { readonly __brand: \"b2d.shape.SHAPE_TYPE_SEGMENT\" };",
|
|
1582
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_contact_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_contact_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
1583
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_hit_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_hit_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
1584
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_pre_solve_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_pre_solve_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
1585
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_sensor_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_sensor_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
1586
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_contact_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_contact_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
1587
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_hit_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_hit_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
1588
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_pre_solve_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_pre_solve_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
1589
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_sensor_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_sensor_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;",
|
|
1590
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_body\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2Body\"],\"isOptional\":false}]": "function get_body(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2Body\">;",
|
|
1591
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_closest_point\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_closest_point(shape_id: Opaque<\"b2Shape\">, target: Vector3): Vector3;",
|
|
1592
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_contact_capacity(shape_id: Opaque<\"b2Shape\">): number;",
|
|
1593
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_contact_data(shape_id: Opaque<\"b2Shape\">): Record<string | number, unknown>;",
|
|
1594
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_mass_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mass_data(shape_id: Opaque<\"b2Shape\">): { mass: number; center: Vector3; inertia: number };",
|
|
1595
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_material(shape_id: Opaque<\"b2Shape\">): number;",
|
|
1596
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_sensor_capacity(shape_id: Opaque<\"b2Shape\">): number;",
|
|
1597
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_overlaps\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_sensor_overlaps(shape_id: Opaque<\"b2Shape\">): { shape_id: number }[];",
|
|
1598
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_shape(shape_id: Opaque<\"b2Shape\">): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };",
|
|
1599
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_world\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2World\"],\"isOptional\":false}]": "function get_world(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2World\">;",
|
|
1600
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.is_valid\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_valid(shape_id: Opaque<\"b2Shape\">): boolean;",
|
|
1601
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.ray_cast\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function ray_cast(shape_id: Opaque<\"b2Shape\">, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };",
|
|
1602
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_material(shape_id: Opaque<\"b2Shape\">, material: number): void;",
|
|
1603
|
-
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_shape(shape_id: Opaque<\"b2Shape\">, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass: boolean): void;",
|
|
1595
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_contact_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_contact_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_contact_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
1596
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_hit_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_hit_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_hit_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
1597
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_pre_solve_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_pre_solve_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_pre_solve_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
1598
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.are_sensor_events_enabled\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function are_sensor_events_enabled(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction are_sensor_events_enabled(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
1599
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_contact_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_contact_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_contact_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
1600
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_hit_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_hit_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_hit_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
1601
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_pre_solve_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_pre_solve_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_pre_solve_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
1602
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.enable_sensor_events\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function enable_sensor_events(shape_id: Opaque<\"b2Shape\">, enable: boolean): void;\nfunction enable_sensor_events(body: Opaque<\"b2Body\">, shape_index: number, enable: boolean): void;",
|
|
1603
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_body\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2Body\"],\"isOptional\":false}]": "function get_body(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2Body\">;\nfunction get_body(body: Opaque<\"b2Body\">, shape_index: number): Opaque<\"b2Body\">;",
|
|
1604
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_closest_point\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false}]->[{\"types\":[\"vector3\"],\"isOptional\":false}]": "function get_closest_point(shape_id: Opaque<\"b2Shape\">, target: Vector3): Vector3;\nfunction get_closest_point(body: Opaque<\"b2Body\">, shape_index: number, target: Vector3): Vector3;",
|
|
1605
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_contact_capacity(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_contact_capacity(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
1606
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_contact_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_contact_data(shape_id: Opaque<\"b2Shape\">): Record<string | number, unknown>;\nfunction get_contact_data(body: Opaque<\"b2Body\">, shape_index: number): Record<string | number, unknown>;",
|
|
1607
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_mass_data\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_mass_data(shape_id: Opaque<\"b2Shape\">): { mass: number; center: Vector3; inertia: number };\nfunction get_mass_data(body: Opaque<\"b2Body\">, shape_index: number): { mass: number; center: Vector3; inertia: number };",
|
|
1608
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_material(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_material(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
1609
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_capacity\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_sensor_capacity(shape_id: Opaque<\"b2Shape\">): number;\nfunction get_sensor_capacity(body: Opaque<\"b2Body\">, shape_index: number): number;",
|
|
1610
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_sensor_overlaps\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_sensor_overlaps(shape_id: Opaque<\"b2Shape\">): { shape_id: number }[];\nfunction get_sensor_overlaps(body: Opaque<\"b2Body\">, shape_index: number): { shape_id: number }[];",
|
|
1611
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_shape(shape_id: Opaque<\"b2Shape\">): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };\nfunction get_shape(body: Opaque<\"b2Body\">, shape_index: number): { type: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 };",
|
|
1612
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.get_world\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"b2World\"],\"isOptional\":false}]": "function get_world(shape_id: Opaque<\"b2Shape\">): Opaque<\"b2World\">;\nfunction get_world(body: Opaque<\"b2Body\">, shape_index: number): Opaque<\"b2World\">;",
|
|
1613
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.is_valid\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function is_valid(shape_id: Opaque<\"b2Shape\">): boolean;\nfunction is_valid(body: Opaque<\"b2Body\">, shape_index: number): boolean;",
|
|
1614
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.ray_cast\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function ray_cast(shape_id: Opaque<\"b2Shape\">, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };\nfunction ray_cast(body: Opaque<\"b2Body\">, shape_index: number, origin: Vector3, translation: Vector3, max_fraction?: number): { point: Vector3; normal: Vector3; fraction: number; iterations: number };",
|
|
1615
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_material\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_material(shape_id: Opaque<\"b2Shape\">, material: number): void;\nfunction set_material(body: Opaque<\"b2Body\">, shape_index: number, material: number): void;",
|
|
1616
|
+
"b2d.shape\u0000FUNCTION\u0000b2d.shape.set_shape\u0000[{\"types\":[\"b2Shape\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_shape(shape_id: Opaque<\"b2Shape\">, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass?: boolean): void;\nfunction set_shape(body: Opaque<\"b2Body\">, shape_index: number, definition: { type?: number; radius?: number; center?: Vector3; v0?: Vector3; v1?: Vector3; v2?: Vector3; v3?: Vector3; vertices?: Vector3[]; hx?: number; hy?: number; angle?: number; loop?: boolean; prev_vertex?: Vector3; next_vertex?: Vector3 }, update_mass?: boolean): void;",
|
|
1604
1617
|
"b2d.shape\u0000TYPEDEF\u0000b2Shape\u0000": "type b2Shape = Opaque<\"b2Shape\">;",
|
|
1605
1618
|
"b2d.world\u0000FUNCTION\u0000b2d.world.cast_mover\u0000[{\"types\":[\"b2World\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function cast_mover(world: Opaque<\"b2World\">, capsule: { center1?: Vector3; center2?: Vector3; radius?: number }, translation: Vector3, filter?: { category_bits?: number; mask_bits?: number }): number;",
|
|
1606
1619
|
"b2d.world\u0000FUNCTION\u0000b2d.world.cast_ray\u0000[{\"types\":[\"b2World\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"vector3\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]": "function cast_ray(world: Opaque<\"b2World\">, origin: Vector3, translation: Vector3, filter: { category_bits?: number; mask_bits?: number; group_index?: number }, max_results: number): LuaMultiReturn<[{ fixture: number; shape: number; point: Vector3; normal: Vector3; fraction: number }[], { node_visits: number; leaf_visits: number }]>;",
|
|
@@ -1648,11 +1661,11 @@
|
|
|
1648
1661
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT64\u0000": "const VALUE_TYPE_UINT64: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" };",
|
|
1649
1662
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT8\u0000": "const VALUE_TYPE_UINT8: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" };",
|
|
1650
1663
|
"buffer\u0000FUNCTION\u0000buffer.copy_buffer\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_buffer(dst: Opaque<\"buffer\">, dstoffset: number, src: Opaque<\"buffer\">, srcoffset: number, count: number): void;",
|
|
1651
|
-
"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;",
|
|
1652
|
-
"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?:
|
|
1653
|
-
"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;",
|
|
1664
|
+
"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; length: LuaLengthMethod<number> }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }, srcoffset: number, count: number): void;",
|
|
1665
|
+
"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?: buffer.ValueType; count?: number }[]): Opaque<\"buffer\">;",
|
|
1666
|
+
"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): string;",
|
|
1654
1667
|
"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, buffer.ValueType | undefined]>;",
|
|
1655
|
-
"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 };",
|
|
1668
|
+
"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; length: LuaLengthMethod<number> };",
|
|
1656
1669
|
"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: buffer.ValueType): void;",
|
|
1657
1670
|
"buffer\u0000TYPEDEF\u0000ValueType\u0000": "type ValueType = typeof buffer.VALUE_TYPE_FLOAT32 | typeof buffer.VALUE_TYPE_INT16 | typeof buffer.VALUE_TYPE_INT32 | typeof buffer.VALUE_TYPE_INT64 | typeof buffer.VALUE_TYPE_INT8 | typeof buffer.VALUE_TYPE_UINT16 | typeof buffer.VALUE_TYPE_UINT32 | typeof buffer.VALUE_TYPE_UINT64 | typeof buffer.VALUE_TYPE_UINT8;",
|
|
1658
1671
|
"camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
|
|
@@ -1691,7 +1704,7 @@
|
|
|
1691
1704
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADED\u0000": "const STATUS_LOADED: number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
|
|
1692
1705
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
|
|
1693
1706
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
|
|
1694
|
-
"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
|
|
1707
|
+
"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?: LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
|
|
1695
1708
|
"collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): collectionfactory.Status;",
|
|
1696
1709
|
"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;",
|
|
1697
1710
|
"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;",
|
|
@@ -1707,7 +1720,7 @@
|
|
|
1707
1720
|
"compute\u0000FUNCTION\u0000compute.get_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_textures(path: Hash | string): { path: Hash; handle: Hash; width: number; height: number; depth: number; mipmaps: number; type: number; flags: number }[];",
|
|
1708
1721
|
"compute\u0000FUNCTION\u0000compute.set_constants\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_constants(path: Hash | string, constants: Record<string, { type?: number; value?: Vector4 | Vector3 | Matrix4 | number | (Vector4 | Matrix4)[] }>): void;",
|
|
1709
1722
|
"compute\u0000FUNCTION\u0000compute.set_samplers\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_samplers(path: Hash | string, samplers: Record<string, { u_wrap?: number; v_wrap?: number; min_filter?: number; mag_filter?: number; max_anisotropy?: number }>): void;",
|
|
1710
|
-
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash>): void;",
|
|
1723
|
+
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash> | Record<string, Hash>): void;",
|
|
1711
1724
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_ANDROID_BUILD_FINGERPRINT\u0000": "const SYSFIELD_ANDROID_BUILD_FINGERPRINT: number & { readonly __brand: \"crash.SYSFIELD_ANDROID_BUILD_FINGERPRINT\" };",
|
|
1712
1725
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_DEVICE_LANGUAGE\u0000": "const SYSFIELD_DEVICE_LANGUAGE: number & { readonly __brand: \"crash.SYSFIELD_DEVICE_LANGUAGE\" };",
|
|
1713
1726
|
"crash\u0000CONSTANT\u0000crash.SYSFIELD_DEVICE_MODEL\u0000": "const SYSFIELD_DEVICE_MODEL: number & { readonly __brand: \"crash.SYSFIELD_DEVICE_MODEL\" };",
|
|
@@ -1797,7 +1810,7 @@
|
|
|
1797
1810
|
"go\u0000FUNCTION\u0000fixed_update\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function fixed_update(self: Opaque<\"userdata\">, dt: number): void;",
|
|
1798
1811
|
"go\u0000FUNCTION\u0000go.animate\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"go.PLAYBACK_LOOP_BACKWARD\",\"go.PLAYBACK_LOOP_FORWARD\",\"go.PLAYBACK_LOOP_PINGPONG\",\"go.PLAYBACK_ONCE_BACKWARD\",\"go.PLAYBACK_ONCE_FORWARD\",\"go.PLAYBACK_ONCE_PINGPONG\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"go.EASING_INBACK\",\"go.EASING_INBOUNCE\",\"go.EASING_INCIRC\",\"go.EASING_INCUBIC\",\"go.EASING_INELASTIC\",\"go.EASING_INEXPO\",\"go.EASING_INOUTBACK\",\"go.EASING_INOUTBOUNCE\",\"go.EASING_INOUTCIRC\",\"go.EASING_INOUTCUBIC\",\"go.EASING_INOUTELASTIC\",\"go.EASING_INOUTEXPO\",\"go.EASING_INOUTQUAD\",\"go.EASING_INOUTQUART\",\"go.EASING_INOUTQUINT\",\"go.EASING_INOUTSINE\",\"go.EASING_INQUAD\",\"go.EASING_INQUART\",\"go.EASING_INQUINT\",\"go.EASING_INSINE\",\"go.EASING_LINEAR\",\"go.EASING_OUTBACK\",\"go.EASING_OUTBOUNCE\",\"go.EASING_OUTCIRC\",\"go.EASING_OUTCUBIC\",\"go.EASING_OUTELASTIC\",\"go.EASING_OUTEXPO\",\"go.EASING_OUTINBACK\",\"go.EASING_OUTINBOUNCE\",\"go.EASING_OUTINCIRC\",\"go.EASING_OUTINCUBIC\",\"go.EASING_OUTINELASTIC\",\"go.EASING_OUTINEXPO\",\"go.EASING_OUTINQUAD\",\"go.EASING_OUTINQUART\",\"go.EASING_OUTINQUINT\",\"go.EASING_OUTINSINE\",\"go.EASING_OUTQUAD\",\"go.EASING_OUTQUART\",\"go.EASING_OUTQUINT\",\"go.EASING_OUTSINE\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, url, property)\"],\"isOptional\":true}]->[]": "function animate(url: SceneAddress | Hash | Url, property: string | Hash, playback: go.Playback, to: number | Vector3 | Vector4 | Quaternion, easing: Vector | go.Easing, duration: number, delay?: number, complete_function?: (self: unknown, url: unknown, property: unknown) => void): void;",
|
|
1799
1812
|
"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;",
|
|
1800
|
-
"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;",
|
|
1813
|
+
"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)[] | boolean, recursive?: boolean): void;",
|
|
1801
1814
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
|
|
1802
1815
|
"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",
|
|
1803
1816
|
"go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
|
|
@@ -1812,7 +1825,7 @@
|
|
|
1812
1825
|
"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;",
|
|
1813
1826
|
"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;",
|
|
1814
1827
|
"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>",
|
|
1815
|
-
"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",
|
|
1828
|
+
"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 | Vector4[], options?: GoPropertyOptions): void",
|
|
1816
1829
|
"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;",
|
|
1817
1830
|
"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;",
|
|
1818
1831
|
"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;",
|
|
@@ -1884,6 +1897,18 @@
|
|
|
1884
1897
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_BACK\u0000": "const FACE_TYPE_BACK: number & { readonly __brand: \"graphics.FACE_TYPE_BACK\" };",
|
|
1885
1898
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_FRONT\u0000": "const FACE_TYPE_FRONT: number & { readonly __brand: \"graphics.FACE_TYPE_FRONT\" };",
|
|
1886
1899
|
"graphics\u0000CONSTANT\u0000graphics.FACE_TYPE_FRONT_AND_BACK\u0000": "const FACE_TYPE_FRONT_AND_BACK: number & { readonly __brand: \"graphics.FACE_TYPE_FRONT_AND_BACK\" };",
|
|
1900
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_BONE_INDICES\u0000": "const SEMANTIC_TYPE_BONE_INDICES: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_BONE_INDICES\" };",
|
|
1901
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_BONE_WEIGHTS\u0000": "const SEMANTIC_TYPE_BONE_WEIGHTS: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_BONE_WEIGHTS\" };",
|
|
1902
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_COLOR\u0000": "const SEMANTIC_TYPE_COLOR: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_COLOR\" };",
|
|
1903
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NONE\u0000": "const SEMANTIC_TYPE_NONE: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NONE\" };",
|
|
1904
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NORMAL\u0000": "const SEMANTIC_TYPE_NORMAL: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NORMAL\" };",
|
|
1905
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_NORMAL_MATRIX\u0000": "const SEMANTIC_TYPE_NORMAL_MATRIX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_NORMAL_MATRIX\" };",
|
|
1906
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_PAGE_INDEX\u0000": "const SEMANTIC_TYPE_PAGE_INDEX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_PAGE_INDEX\" };",
|
|
1907
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_POSITION\u0000": "const SEMANTIC_TYPE_POSITION: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_POSITION\" };",
|
|
1908
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TANGENT\u0000": "const SEMANTIC_TYPE_TANGENT: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TANGENT\" };",
|
|
1909
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TEXCOORD\u0000": "const SEMANTIC_TYPE_TEXCOORD: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TEXCOORD\" };",
|
|
1910
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D\u0000": "const SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_TEXTURE_TRANSFORM_2D\" };",
|
|
1911
|
+
"graphics\u0000CONSTANT\u0000graphics.SEMANTIC_TYPE_WORLD_MATRIX\u0000": "const SEMANTIC_TYPE_WORLD_MATRIX: number & { readonly __brand: \"graphics.SEMANTIC_TYPE_WORLD_MATRIX\" };",
|
|
1887
1912
|
"graphics\u0000CONSTANT\u0000graphics.STATE_ALPHA_TEST\u0000": "const STATE_ALPHA_TEST: number & { readonly __brand: \"graphics.STATE_ALPHA_TEST\" };",
|
|
1888
1913
|
"graphics\u0000CONSTANT\u0000graphics.STATE_ALPHA_TEST_SUPPORTED\u0000": "const STATE_ALPHA_TEST_SUPPORTED: number & { readonly __brand: \"graphics.STATE_ALPHA_TEST_SUPPORTED\" };",
|
|
1889
1914
|
"graphics\u0000CONSTANT\u0000graphics.STATE_BLEND\u0000": "const STATE_BLEND: number & { readonly __brand: \"graphics.STATE_BLEND\" };",
|
|
@@ -2137,7 +2162,7 @@
|
|
|
2137
2162
|
"gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
|
|
2138
2163
|
"gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
|
|
2139
2164
|
"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;",
|
|
2140
|
-
"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 | gui.Property, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
|
|
2165
|
+
"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 | gui.Property, value: number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash, options?: { index?: number; key?: string | Hash }): void;",
|
|
2141
2166
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: gui.AdjustMode): void;",
|
|
2142
2167
|
"gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
|
|
2143
2168
|
"gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: gui.BlendMode): void;",
|
|
@@ -2167,7 +2192,7 @@
|
|
|
2167
2192
|
"gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: gui.Pivot): void;",
|
|
2168
2193
|
"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;",
|
|
2169
2194
|
"gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
|
|
2170
|
-
"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;",
|
|
2195
|
+
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4 | Vector3): void;",
|
|
2171
2196
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: gui.SafeAreaMode): void;",
|
|
2172
2197
|
"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;",
|
|
2173
2198
|
"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;",
|
|
@@ -2209,7 +2234,7 @@
|
|
|
2209
2234
|
"gui\u0000TYPEDEF\u0000YAnchor\u0000": "type YAnchor = typeof gui.ANCHOR_NONE | typeof gui.ANCHOR_TOP | typeof gui.ANCHOR_BOTTOM;",
|
|
2210
2235
|
"html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
|
|
2211
2236
|
"html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
|
|
2212
|
-
"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:
|
|
2237
|
+
"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: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void, headers?: LuaMap<string, string> | Record<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
|
|
2213
2238
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
|
|
2214
2239
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
|
|
2215
2240
|
"image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
|
|
@@ -2255,7 +2280,7 @@
|
|
|
2255
2280
|
"material\u0000FUNCTION\u0000material.get_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_vertex_attributes(path: Hash | string): { name: Hash; value: Vector4 | Vector3 | Matrix4 | number | number[]; normalize: boolean; data_type: number; coordinate_space: number; semantic_type: number }[];",
|
|
2256
2281
|
"material\u0000FUNCTION\u0000material.set_constants\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_constants(path: Hash | string, constants: Record<string, { type?: number; value?: Vector4 | Vector3 | Matrix4 | number | (Vector4 | Matrix4)[] }>): void;",
|
|
2257
2282
|
"material\u0000FUNCTION\u0000material.set_samplers\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_samplers(path: Hash | string, samplers: Record<string, { u_wrap?: number; v_wrap?: number; min_filter?: number; mag_filter?: number; max_anisotropy?: number }>): void;",
|
|
2258
|
-
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash>): void;",
|
|
2283
|
+
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_textures(path: Hash | string, textures: LuaMap<string, Hash> | Record<string, Hash>): void;",
|
|
2259
2284
|
"material\u0000FUNCTION\u0000material.set_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_vertex_attributes(path: Hash | string, attributes: Record<string, { value?: Vector4 | Vector3 | Matrix4 | number | number[]; normalize?: boolean; data_type?: number; coordinate_space?: number; semantic_type?: number }>): void;",
|
|
2260
2285
|
"model\u0000FUNCTION\u0000model.cancel\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[]": "function cancel(url: string | Hash | Url): void;",
|
|
2261
2286
|
"model\u0000FUNCTION\u0000model.get_aabb\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_aabb(url: string | Hash | Url): { min: Vector3; max: Vector3 };",
|
|
@@ -2270,7 +2295,7 @@
|
|
|
2270
2295
|
"model\u0000PROPERTY\u0000animation\u0000": "animation: Hash;",
|
|
2271
2296
|
"model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
|
|
2272
2297
|
"model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
|
|
2273
|
-
"model\u0000PROPERTY\u0000textureN\u0000": "
|
|
2298
|
+
"model\u0000PROPERTY\u0000textureN\u0000": "texture0: Hash;",
|
|
2274
2299
|
"msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<R extends SceneAddress | Hash | Url, K extends (keyof ReceiverMessages<R> & string) | MessageId | (string & {})>(receiver: R, message_id: K, message?: K extends BuiltinMessageId ? MessagePayload<K> : K extends keyof ReceiverMessages<R> ? ReceiverMessages<R>[K] : MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
|
|
2275
2300
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
2276
2301
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
@@ -2350,20 +2375,20 @@
|
|
|
2350
2375
|
"render\u0000CONSTANT\u0000render.SORT_FRONT_TO_BACK\u0000": "const SORT_FRONT_TO_BACK: number & { readonly __brand: \"render.SORT_FRONT_TO_BACK\" };",
|
|
2351
2376
|
"render\u0000CONSTANT\u0000render.SORT_NONE\u0000": "const SORT_NONE: number & { readonly __brand: \"render.SORT_NONE\" };",
|
|
2352
2377
|
"render\u0000FUNCTION\u0000render.clear\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function clear(buffers: LuaMap<render.ClearBufferKey, number | Vector4>): void;",
|
|
2353
|
-
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"
|
|
2378
|
+
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
2354
2379
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
|
|
2355
2380
|
"render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
|
|
2356
2381
|
"render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: graphics.State): void;",
|
|
2357
|
-
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
|
|
2358
|
-
"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;",
|
|
2359
|
-
"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\"
|
|
2382
|
+
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash | number): void;",
|
|
2383
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }): void;",
|
|
2384
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }): void;",
|
|
2360
2385
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
|
|
2361
2386
|
"render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
|
|
2362
2387
|
"render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: graphics.State): void;",
|
|
2363
|
-
"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?: graphics.BufferType): void;",
|
|
2388
|
+
"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 | Opaque<\"render_target\"> | number, buffer_type?: graphics.BufferType): void;",
|
|
2364
2389
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
|
|
2365
|
-
"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\"
|
|
2366
|
-
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"
|
|
2390
|
+
"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\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
2391
|
+
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
2367
2392
|
"render\u0000FUNCTION\u0000render.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
|
|
2368
2393
|
"render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
|
|
2369
2394
|
"render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
|
|
@@ -2372,7 +2397,7 @@
|
|
|
2372
2397
|
"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;",
|
|
2373
2398
|
"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;",
|
|
2374
2399
|
"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;",
|
|
2375
|
-
"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;",
|
|
2400
|
+
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_camera(camera?: Url | number | string, options?: { use_frustum?: boolean }): void;",
|
|
2376
2401
|
"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;",
|
|
2377
2402
|
"render\u0000FUNCTION\u0000render.set_compute\u0000[{\"types\":[\"hash\",\"nil\",\"string\"],\"isOptional\":false}]->[]": "function set_compute(compute?: string | Hash): void;",
|
|
2378
2403
|
"render\u0000FUNCTION\u0000render.set_cull_face\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_cull_face(face_type: number): void;",
|
|
@@ -2381,26 +2406,26 @@
|
|
|
2381
2406
|
"render\u0000FUNCTION\u0000render.set_listener\u0000[{\"types\":[\"function(self, event_type)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event_type: unknown) => void): void;",
|
|
2382
2407
|
"render\u0000FUNCTION\u0000render.set_polygon_offset\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_polygon_offset(factor: number, units: number): void;",
|
|
2383
2408
|
"render\u0000FUNCTION\u0000render.set_projection\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_projection(matrix: Matrix4): void;",
|
|
2384
|
-
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"
|
|
2385
|
-
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"
|
|
2409
|
+
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT, options?: { transient?: graphics.BufferType[] }): void;",
|
|
2410
|
+
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"> | string | Hash, width: number, height: number): void;",
|
|
2386
2411
|
"render\u0000FUNCTION\u0000render.set_stencil_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_func(func: number, ref: number, mask: number): void;",
|
|
2387
2412
|
"render\u0000FUNCTION\u0000render.set_stencil_mask\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_mask(mask: number): void;",
|
|
2388
2413
|
"render\u0000FUNCTION\u0000render.set_stencil_op\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_op(sfail: number, dpfail: number, dppass: number): void;",
|
|
2389
2414
|
"render\u0000FUNCTION\u0000render.set_view\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_view(matrix: Matrix4): void;",
|
|
2390
2415
|
"render\u0000FUNCTION\u0000render.set_viewport\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_viewport(x: number, y: number, width: number, height: number): void;",
|
|
2391
2416
|
"render\u0000TYPEDEF\u0000ClearBufferKey\u0000": "type ClearBufferKey = typeof graphics.BUFFER_TYPE_COLOR0_BIT | typeof graphics.BUFFER_TYPE_DEPTH_BIT | typeof graphics.BUFFER_TYPE_STENCIL_BIT;",
|
|
2392
|
-
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"
|
|
2417
|
+
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
2393
2418
|
"render\u0000TYPEDEF\u0000render_target\u0000": "type render_target = Opaque<\"render_target\">;",
|
|
2394
2419
|
"render\u0000TYPEDEF\u0000texture\u0000": "type texture = Opaque<\"texture\">;",
|
|
2395
2420
|
"resource\u0000FUNCTION\u0000resource.atlas\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function atlas(path?: string): Hash;",
|
|
2396
2421
|
"resource\u0000FUNCTION\u0000resource.buffer\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function buffer(path?: string): Hash;",
|
|
2397
|
-
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
2422
|
+
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): Hash;",
|
|
2398
2423
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_buffer(path: string, table?: { buffer?: Opaque<\"buffer\">; transfer_ownership?: boolean }): Hash;",
|
|
2399
2424
|
"resource\u0000FUNCTION\u0000resource.create_sound_data\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_sound_data(path: string, options?: { data?: string; filesize?: number; partial?: boolean }): Hash;",
|
|
2400
2425
|
"resource\u0000FUNCTION\u0000resource.create_texture\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_texture(path: string, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number; page_count?: number }, buffer?: Opaque<\"buffer\">): Hash;",
|
|
2401
2426
|
"resource\u0000FUNCTION\u0000resource.create_texture_async\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function create_texture_async(path: string | Hash, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number }, buffer?: Opaque<\"buffer\">, callback?: (...args: unknown[]) => unknown): LuaMultiReturn<[Hash, number]>;",
|
|
2402
2427
|
"resource\u0000FUNCTION\u0000resource.font\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function font(path?: string): Hash;",
|
|
2403
|
-
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
2428
|
+
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] };",
|
|
2404
2429
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function get_buffer(path: Hash | string): Opaque<\"buffer\">;",
|
|
2405
2430
|
"resource\u0000FUNCTION\u0000resource.get_render_target_info\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_render_target_info(path: Hash | string | number): { handle: number; attachments: { handle: number; width: number; height: number; depth: number; mipmaps: number; type: number; buffer_type: number; texture?: Hash }[] };",
|
|
2406
2431
|
"resource\u0000FUNCTION\u0000resource.get_text_metrics\u0000[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_text_metrics(url: Hash, text: string, options?: { width?: number; leading?: number; tracking?: number; line_break?: boolean }): { width: number; height: number; max_ascent: number; max_descent: number };",
|
|
@@ -2410,7 +2435,7 @@
|
|
|
2410
2435
|
"resource\u0000FUNCTION\u0000resource.release\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function release(path: Hash | string): void;",
|
|
2411
2436
|
"resource\u0000FUNCTION\u0000resource.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function render_target(path?: string): Hash;",
|
|
2412
2437
|
"resource\u0000FUNCTION\u0000resource.set\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set(path: string | Hash, buffer: Opaque<\"buffer\">): void;",
|
|
2413
|
-
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
2438
|
+
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): void;",
|
|
2414
2439
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_buffer(path: Hash | string, buffer: Opaque<\"buffer\">, table?: { transfer_ownership?: boolean }): void;",
|
|
2415
2440
|
"resource\u0000FUNCTION\u0000resource.set_sound\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_sound(path: Hash | string, buffer: string): void;",
|
|
2416
2441
|
"resource\u0000FUNCTION\u0000resource.set_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set_texture(path: Hash | string, table: { type?: number; width?: number; height?: number; format?: number; x?: number; y?: number; z?: number; page?: number; mipmap?: number; compression_type?: number }, buffer: Opaque<\"buffer\">): void;",
|
|
@@ -2470,8 +2495,8 @@
|
|
|
2470
2495
|
"socket\u0000FUNCTION\u0000socket.dns.tohostname\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function tohostname(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
2471
2496
|
"socket\u0000FUNCTION\u0000socket.dns.toip\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function toip(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
2472
2497
|
"socket\u0000FUNCTION\u0000socket.gettime\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function gettime(): number;",
|
|
2473
|
-
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer
|
|
2474
|
-
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (
|
|
2498
|
+
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer?: () => void): <T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T;",
|
|
2499
|
+
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>;",
|
|
2475
2500
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function select(recvt: (client | master | unconnected)[], sendt: (client | master | unconnected)[], timeout?: number): LuaMultiReturn<[(client | master | unconnected)[], (client | master | unconnected)[], string | undefined]>;",
|
|
2476
2501
|
"socket\u0000FUNCTION\u0000socket.skip\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true}]->[{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false}]": "function skip(d: number, ret1?: unknown, ret2?: unknown, retN?: unknown): LuaMultiReturn<[unknown, unknown, unknown]>;",
|
|
2477
2502
|
"socket\u0000FUNCTION\u0000socket.sleep\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function sleep(time: number): void;",
|
|
@@ -2506,7 +2531,7 @@
|
|
|
2506
2531
|
"sound\u0000PROPERTY\u0000pan\u0000": "pan: number;",
|
|
2507
2532
|
"sound\u0000PROPERTY\u0000sound\u0000": "sound: Hash;",
|
|
2508
2533
|
"sound\u0000PROPERTY\u0000speed\u0000": "speed: number;",
|
|
2509
|
-
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id:
|
|
2534
|
+
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void, play_properties?: { offset?: number; playback_rate?: number }): void;",
|
|
2510
2535
|
"sprite\u0000FUNCTION\u0000sprite.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;",
|
|
2511
2536
|
"sprite\u0000FUNCTION\u0000sprite.set_hflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_hflip(url: string | Hash | Url, flip: boolean): void;",
|
|
2512
2537
|
"sprite\u0000FUNCTION\u0000sprite.set_vflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_vflip(url: string | Hash | Url, flip: boolean): void;",
|
|
@@ -2546,8 +2571,8 @@
|
|
|
2546
2571
|
"sys\u0000FUNCTION\u0000sys.load_resource\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function load_resource(filename: string): LuaMultiReturn<[string | undefined, string | undefined]>;",
|
|
2547
2572
|
"sys\u0000FUNCTION\u0000sys.open_url\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function open_url(url: string, attributes?: { target?: string }): boolean;",
|
|
2548
2573
|
"sys\u0000FUNCTION\u0000sys.reboot\u0000[{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true}]->[]": "function reboot(arg1?: string, arg2?: string, arg3?: string, arg4?: string, arg5?: string, arg6?: string): void;",
|
|
2549
|
-
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown>): void;",
|
|
2550
|
-
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown>): string;",
|
|
2574
|
+
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown> | readonly unknown[]): void;",
|
|
2575
|
+
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown> | readonly unknown[]): string;",
|
|
2551
2576
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_connectivity_host(host: string): void;",
|
|
2552
2577
|
"sys\u0000FUNCTION\u0000sys.set_engine_throttle\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_engine_throttle(enable: boolean, cooldown?: number): void;",
|
|
2553
2578
|
"sys\u0000FUNCTION\u0000sys.set_error_handler\u0000[{\"types\":[\"function(source, message, traceback)\"],\"isOptional\":false}]->[]": "function set_error_handler(error_handler: (source: unknown, message: unknown, traceback: unknown) => void): void;",
|
|
@@ -2721,11 +2746,11 @@
|
|
|
2721
2746
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT64\u0000": "const VALUE_TYPE_UINT64: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT64\" };",
|
|
2722
2747
|
"buffer\u0000CONSTANT\u0000buffer.VALUE_TYPE_UINT8\u0000": "const VALUE_TYPE_UINT8: number & { readonly __brand: \"buffer.VALUE_TYPE_UINT8\" };",
|
|
2723
2748
|
"buffer\u0000FUNCTION\u0000buffer.copy_buffer\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function copy_buffer(dst: Opaque<\"buffer\">, dstoffset: number, src: Opaque<\"buffer\">, srcoffset: number, count: number): void;",
|
|
2724
|
-
"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;",
|
|
2725
|
-
"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?:
|
|
2726
|
-
"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;",
|
|
2749
|
+
"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; length: LuaLengthMethod<number> }, dstoffset: number, src: Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }, srcoffset: number, count: number): void;",
|
|
2750
|
+
"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?: buffer.ValueType; count?: number }[]): Opaque<\"buffer\">;",
|
|
2751
|
+
"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): string;",
|
|
2727
2752
|
"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, buffer.ValueType | undefined]>;",
|
|
2728
|
-
"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 };",
|
|
2753
|
+
"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; length: LuaLengthMethod<number> };",
|
|
2729
2754
|
"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: buffer.ValueType): void;",
|
|
2730
2755
|
"buffer\u0000TYPEDEF\u0000ValueType\u0000": "type ValueType = typeof buffer.VALUE_TYPE_FLOAT32 | typeof buffer.VALUE_TYPE_INT16 | typeof buffer.VALUE_TYPE_INT32 | typeof buffer.VALUE_TYPE_INT64 | typeof buffer.VALUE_TYPE_INT8 | typeof buffer.VALUE_TYPE_UINT16 | typeof buffer.VALUE_TYPE_UINT32 | typeof buffer.VALUE_TYPE_UINT64 | typeof buffer.VALUE_TYPE_UINT8;",
|
|
2731
2756
|
"camera\u0000CONSTANT\u0000camera.ORTHO_MODE_AUTO_COVER\u0000": "const ORTHO_MODE_AUTO_COVER: number & { readonly __brand: \"camera.ORTHO_MODE_AUTO_COVER\" };",
|
|
@@ -2755,7 +2780,7 @@
|
|
|
2755
2780
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADED\u0000": "const STATUS_LOADED: number & { readonly __brand: \"collectionfactory.STATUS_LOADED\" };",
|
|
2756
2781
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_LOADING\u0000": "const STATUS_LOADING: number & { readonly __brand: \"collectionfactory.STATUS_LOADING\" };",
|
|
2757
2782
|
"collectionfactory\u0000CONSTANT\u0000collectionfactory.STATUS_UNLOADED\u0000": "const STATUS_UNLOADED: number & { readonly __brand: \"collectionfactory.STATUS_UNLOADED\" };",
|
|
2758
|
-
"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
|
|
2783
|
+
"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?: LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>, scale?: number | Vector3): LuaMap<Hash, Hash>;",
|
|
2759
2784
|
"collectionfactory\u0000FUNCTION\u0000collectionfactory.get_status\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true}]->[{\"types\":[\"constant\"],\"isOptional\":false}]": "function get_status(url?: string | Hash | Url): collectionfactory.Status;",
|
|
2760
2785
|
"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;",
|
|
2761
2786
|
"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;",
|
|
@@ -2855,7 +2880,7 @@
|
|
|
2855
2880
|
"go\u0000FUNCTION\u0000fixed_update\u0000[{\"types\":[\"userdata\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function fixed_update(self: Opaque<\"userdata\">, dt: number): void;",
|
|
2856
2881
|
"go\u0000FUNCTION\u0000go.animate\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"go.PLAYBACK_LOOP_BACKWARD\",\"go.PLAYBACK_LOOP_FORWARD\",\"go.PLAYBACK_LOOP_PINGPONG\",\"go.PLAYBACK_ONCE_BACKWARD\",\"go.PLAYBACK_ONCE_FORWARD\",\"go.PLAYBACK_ONCE_PINGPONG\"],\"isOptional\":false},{\"types\":[\"number\",\"quaternion\",\"vector3\",\"vector4\"],\"isOptional\":false},{\"types\":[\"go.EASING_INBACK\",\"go.EASING_INBOUNCE\",\"go.EASING_INCIRC\",\"go.EASING_INCUBIC\",\"go.EASING_INELASTIC\",\"go.EASING_INEXPO\",\"go.EASING_INOUTBACK\",\"go.EASING_INOUTBOUNCE\",\"go.EASING_INOUTCIRC\",\"go.EASING_INOUTCUBIC\",\"go.EASING_INOUTELASTIC\",\"go.EASING_INOUTEXPO\",\"go.EASING_INOUTQUAD\",\"go.EASING_INOUTQUART\",\"go.EASING_INOUTQUINT\",\"go.EASING_INOUTSINE\",\"go.EASING_INQUAD\",\"go.EASING_INQUART\",\"go.EASING_INQUINT\",\"go.EASING_INSINE\",\"go.EASING_LINEAR\",\"go.EASING_OUTBACK\",\"go.EASING_OUTBOUNCE\",\"go.EASING_OUTCIRC\",\"go.EASING_OUTCUBIC\",\"go.EASING_OUTELASTIC\",\"go.EASING_OUTEXPO\",\"go.EASING_OUTINBACK\",\"go.EASING_OUTINBOUNCE\",\"go.EASING_OUTINCIRC\",\"go.EASING_OUTINCUBIC\",\"go.EASING_OUTINELASTIC\",\"go.EASING_OUTINEXPO\",\"go.EASING_OUTINQUAD\",\"go.EASING_OUTINQUART\",\"go.EASING_OUTINQUINT\",\"go.EASING_OUTINSINE\",\"go.EASING_OUTQUAD\",\"go.EASING_OUTQUART\",\"go.EASING_OUTQUINT\",\"go.EASING_OUTSINE\",\"vector\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true},{\"types\":[\"function(self, url, property)\"],\"isOptional\":true}]->[]": "function animate(url: SceneAddress | Hash | Url, property: string | Hash, playback: go.Playback, to: number | Vector3 | Vector4 | Quaternion, easing: Vector | go.Easing, duration: number, delay?: number, complete_function?: (self: unknown, url: unknown, property: unknown) => void): void;",
|
|
2857
2882
|
"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;",
|
|
2858
|
-
"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;",
|
|
2883
|
+
"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)[] | boolean, recursive?: boolean): void;",
|
|
2859
2884
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function exists(url: SceneGameObjectAddress | Hash | Url): boolean;",
|
|
2860
2885
|
"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",
|
|
2861
2886
|
"go\u0000FUNCTION\u0000go.get_id\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function get_id(path?: string): Hash;",
|
|
@@ -2870,7 +2895,7 @@
|
|
|
2870
2895
|
"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;",
|
|
2871
2896
|
"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;",
|
|
2872
2897
|
"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>",
|
|
2873
|
-
"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",
|
|
2898
|
+
"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 | Vector4[], options?: GoPropertyOptions): void",
|
|
2874
2899
|
"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;",
|
|
2875
2900
|
"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;",
|
|
2876
2901
|
"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;",
|
|
@@ -3179,7 +3204,7 @@
|
|
|
3179
3204
|
"gui\u0000FUNCTION\u0000gui.reset_material\u0000[{\"types\":[\"node\"],\"isOptional\":false}]->[]": "function reset_material(node: Opaque<\"node\">): void;",
|
|
3180
3205
|
"gui\u0000FUNCTION\u0000gui.reset_nodes\u0000[]->[]": "function reset_nodes(): void;",
|
|
3181
3206
|
"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;",
|
|
3182
|
-
"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 | gui.Property, value: number | Vector4 | Vector3 | Quaternion, options?: { index?: number; key?: Hash }): void;",
|
|
3207
|
+
"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 | gui.Property, value: number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash, options?: { index?: number; key?: string | Hash }): void;",
|
|
3183
3208
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_adjust_mode(node: Opaque<\"node\">, adjust_mode: gui.AdjustMode): void;",
|
|
3184
3209
|
"gui\u0000FUNCTION\u0000gui.set_alpha\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_alpha(node: Opaque<\"node\">, alpha: number): void;",
|
|
3185
3210
|
"gui\u0000FUNCTION\u0000gui.set_blend_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_blend_mode(node: Opaque<\"node\">, blend_mode: gui.BlendMode): void;",
|
|
@@ -3209,7 +3234,7 @@
|
|
|
3209
3234
|
"gui\u0000FUNCTION\u0000gui.set_pivot\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_pivot(node: Opaque<\"node\">, pivot: gui.Pivot): void;",
|
|
3210
3235
|
"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;",
|
|
3211
3236
|
"gui\u0000FUNCTION\u0000gui.set_render_order\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_order(order: number): void;",
|
|
3212
|
-
"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;",
|
|
3237
|
+
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": "function set_rotation(node: Opaque<\"node\">, rotation: Quaternion | Vector4 | Vector3): void;",
|
|
3213
3238
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function set_safe_area_mode(mode: gui.SafeAreaMode): void;",
|
|
3214
3239
|
"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;",
|
|
3215
3240
|
"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;",
|
|
@@ -3251,7 +3276,7 @@
|
|
|
3251
3276
|
"gui\u0000TYPEDEF\u0000YAnchor\u0000": "type YAnchor = typeof gui.ANCHOR_NONE | typeof gui.ANCHOR_TOP | typeof gui.ANCHOR_BOTTOM;",
|
|
3252
3277
|
"html5\u0000FUNCTION\u0000html5.run\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function run(code: string): string;",
|
|
3253
3278
|
"html5\u0000FUNCTION\u0000html5.set_interaction_listener\u0000[{\"types\":[\"function(self)\",\"nil\"],\"isOptional\":false}]->[]": "function set_interaction_listener(callback?: (self: unknown) => void): void;",
|
|
3254
|
-
"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:
|
|
3279
|
+
"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: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void, headers?: LuaMap<string, string> | Record<string, string>, post_data?: string, options?: { timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }): void;",
|
|
3255
3280
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE\u0000": "const TYPE_LUMINANCE: number & { readonly __brand: \"image.TYPE_LUMINANCE\" };",
|
|
3256
3281
|
"image\u0000CONSTANT\u0000image.TYPE_LUMINANCE_ALPHA\u0000": "const TYPE_LUMINANCE_ALPHA: number & { readonly __brand: \"image.TYPE_LUMINANCE_ALPHA\" };",
|
|
3257
3282
|
"image\u0000CONSTANT\u0000image.TYPE_RGB\u0000": "const TYPE_RGB: number & { readonly __brand: \"image.TYPE_RGB\" };",
|
|
@@ -3301,7 +3326,7 @@
|
|
|
3301
3326
|
"model\u0000PROPERTY\u0000cursor\u0000": "cursor: number;",
|
|
3302
3327
|
"model\u0000PROPERTY\u0000material\u0000": "material: Hash;",
|
|
3303
3328
|
"model\u0000PROPERTY\u0000playback_rate\u0000": "playback_rate: number;",
|
|
3304
|
-
"model\u0000PROPERTY\u0000textureN\u0000": "
|
|
3329
|
+
"model\u0000PROPERTY\u0000textureN\u0000": "texture0: Hash;",
|
|
3305
3330
|
"msg\u0000FUNCTION\u0000msg.post\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":true}]->[]": "msg.post<R extends SceneAddress | Hash | Url, K extends (keyof ReceiverMessages<R> & string) | MessageId | (string & {})>(receiver: R, message_id: K, message?: K extends BuiltinMessageId ? MessagePayload<K> : K extends keyof ReceiverMessages<R> ? ReceiverMessages<R>[K] : MessagePayload<K>): void\nmsg.post(receiver: SceneAddress | Url | Hash, message_id: Hash, message?: Record<string | number, unknown>): void",
|
|
3306
3331
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
3307
3332
|
"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\nmsg.url<M extends object>(): ReceiverUrl<M>\nmsg.url<M extends object>(urlstring: SceneAddress | undefined): ReceiverUrl<M>\nmsg.url<M extends object>(socket: string | Hash | undefined, path: string | Hash, fragment: string | Hash): ReceiverUrl<M>",
|
|
@@ -3381,27 +3406,27 @@
|
|
|
3381
3406
|
"render\u0000CONSTANT\u0000render.SORT_FRONT_TO_BACK\u0000": "const SORT_FRONT_TO_BACK: number & { readonly __brand: \"render.SORT_FRONT_TO_BACK\" };",
|
|
3382
3407
|
"render\u0000CONSTANT\u0000render.SORT_NONE\u0000": "const SORT_NONE: number & { readonly __brand: \"render.SORT_NONE\" };",
|
|
3383
3408
|
"render\u0000FUNCTION\u0000render.clear\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function clear(buffers: LuaMap<render.ClearBufferKey, number | Vector4>): void;",
|
|
3384
|
-
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"
|
|
3409
|
+
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": "function constant_buffer(): Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
3385
3410
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": "function delete_render_target(render_target: Opaque<\"render_target\">): void;",
|
|
3386
3411
|
"render\u0000FUNCTION\u0000render.disable_material\u0000[]->[]": "function disable_material(): void;",
|
|
3387
3412
|
"render\u0000FUNCTION\u0000render.disable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function disable_state(state: graphics.State): void;",
|
|
3388
|
-
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash): void;",
|
|
3389
|
-
"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;",
|
|
3390
|
-
"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\"
|
|
3413
|
+
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": "function disable_texture(binding: Opaque<\"texture\"> | string | Hash | number): void;",
|
|
3414
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }): void;",
|
|
3415
|
+
"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\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }): void;",
|
|
3391
3416
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function draw_debug3d(options?: { frustum?: Matrix4; frustum_planes?: number }): void;",
|
|
3392
3417
|
"render\u0000FUNCTION\u0000render.enable_material\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function enable_material(material_id: string | Hash): void;",
|
|
3393
3418
|
"render\u0000FUNCTION\u0000render.enable_state\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": "function enable_state(state: graphics.State): void;",
|
|
3394
|
-
"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?: graphics.BufferType): void;",
|
|
3419
|
+
"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 | Opaque<\"render_target\"> | number, buffer_type?: graphics.BufferType): void;",
|
|
3395
3420
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_height(): number;",
|
|
3396
|
-
"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\"
|
|
3397
|
-
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"
|
|
3421
|
+
"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\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
3422
|
+
"render\u0000FUNCTION\u0000render.get_render_target_width\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_width(render_target: Opaque<\"render_target\"> | string | Hash, buffer_type: graphics.BufferType): number;",
|
|
3398
3423
|
"render\u0000FUNCTION\u0000render.get_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_width(): number;",
|
|
3399
3424
|
"render\u0000FUNCTION\u0000render.get_window_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_height(): number;",
|
|
3400
3425
|
"render\u0000FUNCTION\u0000render.get_window_width\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function get_window_width(): number;",
|
|
3401
3426
|
"render\u0000FUNCTION\u0000render.predicate\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function predicate(tags: (string | Hash)[]): number;",
|
|
3402
3427
|
"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\">",
|
|
3403
3428
|
"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;",
|
|
3404
|
-
"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;",
|
|
3429
|
+
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_camera(camera?: Url | number | string, options?: { use_frustum?: boolean }): void;",
|
|
3405
3430
|
"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;",
|
|
3406
3431
|
"render\u0000FUNCTION\u0000render.set_compute\u0000[{\"types\":[\"hash\",\"nil\",\"string\"],\"isOptional\":false}]->[]": "function set_compute(compute?: string | Hash): void;",
|
|
3407
3432
|
"render\u0000FUNCTION\u0000render.set_cull_face\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_cull_face(face_type: number): void;",
|
|
@@ -3410,26 +3435,26 @@
|
|
|
3410
3435
|
"render\u0000FUNCTION\u0000render.set_listener\u0000[{\"types\":[\"function(self, event_type)\",\"nil\"],\"isOptional\":false}]->[]": "function set_listener(callback?: (self: unknown, event_type: unknown) => void): void;",
|
|
3411
3436
|
"render\u0000FUNCTION\u0000render.set_polygon_offset\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_polygon_offset(factor: number, units: number): void;",
|
|
3412
3437
|
"render\u0000FUNCTION\u0000render.set_projection\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_projection(matrix: Matrix4): void;",
|
|
3413
|
-
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"
|
|
3414
|
-
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"
|
|
3438
|
+
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_render_target(render_target: Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT, options?: { transient?: graphics.BufferType[] }): void;",
|
|
3439
|
+
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_render_target_size(render_target: Opaque<\"render_target\"> | string | Hash, width: number, height: number): void;",
|
|
3415
3440
|
"render\u0000FUNCTION\u0000render.set_stencil_func\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_func(func: number, ref: number, mask: number): void;",
|
|
3416
3441
|
"render\u0000FUNCTION\u0000render.set_stencil_mask\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_mask(mask: number): void;",
|
|
3417
3442
|
"render\u0000FUNCTION\u0000render.set_stencil_op\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_stencil_op(sfail: number, dpfail: number, dppass: number): void;",
|
|
3418
3443
|
"render\u0000FUNCTION\u0000render.set_view\u0000[{\"types\":[\"matrix4\"],\"isOptional\":false}]->[]": "function set_view(matrix: Matrix4): void;",
|
|
3419
3444
|
"render\u0000FUNCTION\u0000render.set_viewport\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_viewport(x: number, y: number, width: number, height: number): void;",
|
|
3420
3445
|
"render\u0000TYPEDEF\u0000ClearBufferKey\u0000": "type ClearBufferKey = typeof graphics.BUFFER_TYPE_COLOR0_BIT | typeof graphics.BUFFER_TYPE_DEPTH_BIT | typeof graphics.BUFFER_TYPE_STENCIL_BIT;",
|
|
3421
|
-
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"
|
|
3446
|
+
"render\u0000TYPEDEF\u0000constant_buffer\u0000": "type constant_buffer = Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] };",
|
|
3422
3447
|
"render\u0000TYPEDEF\u0000render_target\u0000": "type render_target = Opaque<\"render_target\">;",
|
|
3423
3448
|
"render\u0000TYPEDEF\u0000texture\u0000": "type texture = Opaque<\"texture\">;",
|
|
3424
3449
|
"resource\u0000FUNCTION\u0000resource.atlas\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function atlas(path?: string): Hash;",
|
|
3425
3450
|
"resource\u0000FUNCTION\u0000resource.buffer\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function buffer(path?: string): Hash;",
|
|
3426
|
-
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
3451
|
+
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_atlas(path: string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): Hash;",
|
|
3427
3452
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_buffer(path: string, table?: { buffer?: Opaque<\"buffer\">; transfer_ownership?: boolean }): Hash;",
|
|
3428
3453
|
"resource\u0000FUNCTION\u0000resource.create_sound_data\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_sound_data(path: string, options?: { data?: string; filesize?: number; partial?: boolean }): Hash;",
|
|
3429
3454
|
"resource\u0000FUNCTION\u0000resource.create_texture\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function create_texture(path: string, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number; page_count?: number }, buffer?: Opaque<\"buffer\">): Hash;",
|
|
3430
3455
|
"resource\u0000FUNCTION\u0000resource.create_texture_async\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": "function create_texture_async(path: string | Hash, table: { type?: number; width?: number; height?: number; depth?: number; format?: number; flags?: number; max_mipmaps?: number; compression_type?: number }, buffer?: Opaque<\"buffer\">, callback?: (...args: unknown[]) => unknown): LuaMultiReturn<[Hash, number]>;",
|
|
3431
3456
|
"resource\u0000FUNCTION\u0000resource.font\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function font(path?: string): Hash;",
|
|
3432
|
-
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
3457
|
+
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_atlas(path: Hash | string): { texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] };",
|
|
3433
3458
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": "function get_buffer(path: Hash | string): Opaque<\"buffer\">;",
|
|
3434
3459
|
"resource\u0000FUNCTION\u0000resource.get_render_target_info\u0000[{\"types\":[\"hash\",\"number\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_render_target_info(path: Hash | string | number): { handle: number; attachments: { handle: number; width: number; height: number; depth: number; mipmaps: number; type: number; buffer_type: number; texture?: Hash }[] };",
|
|
3435
3460
|
"resource\u0000FUNCTION\u0000resource.get_text_metrics\u0000[{\"types\":[\"hash\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false}]": "function get_text_metrics(url: Hash, text: string, options?: { width?: number; leading?: number; tracking?: number; line_break?: boolean }): { width: number; height: number; max_ascent: number; max_descent: number };",
|
|
@@ -3439,7 +3464,7 @@
|
|
|
3439
3464
|
"resource\u0000FUNCTION\u0000resource.release\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": "function release(path: Hash | string): void;",
|
|
3440
3465
|
"resource\u0000FUNCTION\u0000resource.render_target\u0000[{\"types\":[\"string\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": "function render_target(path?: string): Hash;",
|
|
3441
3466
|
"resource\u0000FUNCTION\u0000resource.set\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set(path: string | Hash, buffer: Opaque<\"buffer\">): void;",
|
|
3442
|
-
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
3467
|
+
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function set_atlas(path: Hash | string, table: { texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }): void;",
|
|
3443
3468
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function set_buffer(path: Hash | string, buffer: Opaque<\"buffer\">, table?: { transfer_ownership?: boolean }): void;",
|
|
3444
3469
|
"resource\u0000FUNCTION\u0000resource.set_sound\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_sound(path: Hash | string, buffer: string): void;",
|
|
3445
3470
|
"resource\u0000FUNCTION\u0000resource.set_texture\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false}]->[]": "function set_texture(path: Hash | string, table: { type?: number; width?: number; height?: number; format?: number; x?: number; y?: number; z?: number; page?: number; mipmap?: number; compression_type?: number }, buffer: Opaque<\"buffer\">): void;",
|
|
@@ -3499,8 +3524,8 @@
|
|
|
3499
3524
|
"socket\u0000FUNCTION\u0000socket.dns.tohostname\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function tohostname(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
3500
3525
|
"socket\u0000FUNCTION\u0000socket.dns.toip\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"string\",\"table\"],\"isOptional\":false}]": "function toip(address: string): LuaMultiReturn<[string | undefined, Record<string | number, unknown> | string]>;",
|
|
3501
3526
|
"socket\u0000FUNCTION\u0000socket.gettime\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": "function gettime(): number;",
|
|
3502
|
-
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer
|
|
3503
|
-
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (
|
|
3527
|
+
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": "function newtry(finalizer?: () => void): <T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T;",
|
|
3528
|
+
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": "function protect(func: (...args: unknown[]) => unknown): (...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>;",
|
|
3504
3529
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function select(recvt: (client | master | unconnected)[], sendt: (client | master | unconnected)[], timeout?: number): LuaMultiReturn<[(client | master | unconnected)[], (client | master | unconnected)[], string | undefined]>;",
|
|
3505
3530
|
"socket\u0000FUNCTION\u0000socket.skip\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true},{\"types\":[\"any\"],\"isOptional\":true}]->[{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false},{\"types\":[\"any\",\"nil\"],\"isOptional\":false}]": "function skip(d: number, ret1?: unknown, ret2?: unknown, retN?: unknown): LuaMultiReturn<[unknown, unknown, unknown]>;",
|
|
3506
3531
|
"socket\u0000FUNCTION\u0000socket.sleep\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function sleep(time: number): void;",
|
|
@@ -3535,7 +3560,7 @@
|
|
|
3535
3560
|
"sound\u0000PROPERTY\u0000pan\u0000": "pan: number;",
|
|
3536
3561
|
"sound\u0000PROPERTY\u0000sound\u0000": "sound: Hash;",
|
|
3537
3562
|
"sound\u0000PROPERTY\u0000speed\u0000": "speed: number;",
|
|
3538
|
-
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id:
|
|
3563
|
+
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": "function play_flipbook(url: string | Hash | Url, id: string | Hash, complete_function?: (self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void, play_properties?: { offset?: number; playback_rate?: number }): void;",
|
|
3539
3564
|
"sprite\u0000FUNCTION\u0000sprite.set_hflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_hflip(url: string | Hash | Url, flip: boolean): void;",
|
|
3540
3565
|
"sprite\u0000FUNCTION\u0000sprite.set_vflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": "function set_vflip(url: string | Hash | Url, flip: boolean): void;",
|
|
3541
3566
|
"sprite\u0000PROPERTY\u0000animation\u0000": "animation: Hash;",
|
|
@@ -3574,8 +3599,8 @@
|
|
|
3574
3599
|
"sys\u0000FUNCTION\u0000sys.load_resource\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[{\"types\":[\"nil\",\"string\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": "function load_resource(filename: string): LuaMultiReturn<[string | undefined, string | undefined]>;",
|
|
3575
3600
|
"sys\u0000FUNCTION\u0000sys.open_url\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": "function open_url(url: string, attributes?: { target?: string }): boolean;",
|
|
3576
3601
|
"sys\u0000FUNCTION\u0000sys.reboot\u0000[{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true},{\"types\":[\"string\"],\"isOptional\":true}]->[]": "function reboot(arg1?: string, arg2?: string, arg3?: string, arg4?: string, arg5?: string, arg6?: string): void;",
|
|
3577
|
-
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown>): void;",
|
|
3578
|
-
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown>): string;",
|
|
3602
|
+
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": "function save(filename: string, table: Record<string | number, unknown> | readonly unknown[]): void;",
|
|
3603
|
+
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": "function serialize(table: Record<string | number, unknown> | readonly unknown[]): string;",
|
|
3579
3604
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": "function set_connectivity_host(host: string): void;",
|
|
3580
3605
|
"sys\u0000FUNCTION\u0000sys.set_engine_throttle\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": "function set_engine_throttle(enable: boolean, cooldown?: number): void;",
|
|
3581
3606
|
"sys\u0000FUNCTION\u0000sys.set_error_handler\u0000[{\"types\":[\"function(source, message, traceback)\"],\"isOptional\":false}]->[]": "function set_error_handler(error_handler: (source: unknown, message: unknown, traceback: unknown) => void): void;",
|
|
@@ -4900,20 +4925,20 @@
|
|
|
4900
4925
|
"param:4:count": "number"
|
|
4901
4926
|
},
|
|
4902
4927
|
"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}]->[]": {
|
|
4903
|
-
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
4928
|
+
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
4904
4929
|
"param:1:dstoffset": "number",
|
|
4905
|
-
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
4930
|
+
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
4906
4931
|
"param:3:srcoffset": "number",
|
|
4907
4932
|
"param:4:count": "number"
|
|
4908
4933
|
},
|
|
4909
4934
|
"buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
4910
4935
|
"param:0:element_count": "number",
|
|
4911
|
-
"param:1:declaration": "{ name?: Hash | string; type?:
|
|
4936
|
+
"param:1:declaration": "{ name?: Hash | string; type?: buffer.ValueType; count?: number }[]",
|
|
4912
4937
|
"return:0:buffer": "Opaque<\"buffer\">"
|
|
4913
4938
|
},
|
|
4914
4939
|
"buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
4915
4940
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
4916
|
-
"param:1:stream_name": "Hash",
|
|
4941
|
+
"param:1:stream_name": "Hash | string",
|
|
4917
4942
|
"return:0:data": "string"
|
|
4918
4943
|
},
|
|
4919
4944
|
"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}]": {
|
|
@@ -4925,7 +4950,7 @@
|
|
|
4925
4950
|
"buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": {
|
|
4926
4951
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
4927
4952
|
"param:1:stream_name": "Hash | string",
|
|
4928
|
-
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number }"
|
|
4953
|
+
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }"
|
|
4929
4954
|
},
|
|
4930
4955
|
"buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
4931
4956
|
"param:0:buf": "Opaque<\"buffer\">",
|
|
@@ -5028,7 +5053,7 @@
|
|
|
5028
5053
|
"param:0:url": "string | Hash | Url",
|
|
5029
5054
|
"param:1:position": "Vector3",
|
|
5030
5055
|
"param:2:rotation": "Quaternion",
|
|
5031
|
-
"param:3:properties": "Record<string | number, unknown
|
|
5056
|
+
"param:3:properties": "LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>",
|
|
5032
5057
|
"param:4:scale": "number | Vector3",
|
|
5033
5058
|
"return:0:ids": "LuaMap<Hash, Hash>"
|
|
5034
5059
|
},
|
|
@@ -5054,7 +5079,7 @@
|
|
|
5054
5079
|
"collectionproxy\u0000FUNCTION\u0000collectionproxy.load\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"nil\",\"table\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":false}]->[]": {
|
|
5055
5080
|
"param:0:url": "string | Hash | Url",
|
|
5056
5081
|
"param:1:options": "Record<string | number, unknown>",
|
|
5057
|
-
"param:2:callback": "(self: unknown, message_id:
|
|
5082
|
+
"param:2:callback": "(self: unknown, message_id: Hash, message: Record<string | number, unknown>, sender: Url) => void"
|
|
5058
5083
|
},
|
|
5059
5084
|
"collectionproxy\u0000FUNCTION\u0000collectionproxy.set_collection\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":true},{\"types\":[\"nil\",\"string\"],\"isOptional\":true}]->[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]": {
|
|
5060
5085
|
"param:0:url": "string | Hash | Url",
|
|
@@ -5084,7 +5109,7 @@
|
|
|
5084
5109
|
},
|
|
5085
5110
|
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
5086
5111
|
"param:0:path": "Hash | string",
|
|
5087
|
-
"param:1:textures": "LuaMap<string, Hash>"
|
|
5112
|
+
"param:1:textures": "LuaMap<string, Hash> | Record<string, Hash>"
|
|
5088
5113
|
},
|
|
5089
5114
|
"crash\u0000FUNCTION\u0000crash.get_backtrace\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": {
|
|
5090
5115
|
"param:0:handle": "number",
|
|
@@ -5188,7 +5213,7 @@
|
|
|
5188
5213
|
"param:1:property": "string | Hash"
|
|
5189
5214
|
},
|
|
5190
5215
|
"go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": {
|
|
5191
|
-
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[]",
|
|
5216
|
+
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[] | boolean",
|
|
5192
5217
|
"param:1:recursive": "boolean"
|
|
5193
5218
|
},
|
|
5194
5219
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": {
|
|
@@ -5607,8 +5632,8 @@
|
|
|
5607
5632
|
"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}]->[]": {
|
|
5608
5633
|
"param:0:node": "Opaque<\"node\"> | Url",
|
|
5609
5634
|
"param:1:property": "string | Hash | gui.Property",
|
|
5610
|
-
"param:2:value": "number | Vector4 | Vector3 | Quaternion",
|
|
5611
|
-
"param:3:options": "{ index?: number; key?: Hash }"
|
|
5635
|
+
"param:2:value": "number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash",
|
|
5636
|
+
"param:3:options": "{ index?: number; key?: string | Hash }"
|
|
5612
5637
|
},
|
|
5613
5638
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
5614
5639
|
"param:0:node": "Opaque<\"node\">",
|
|
@@ -5728,7 +5753,7 @@
|
|
|
5728
5753
|
},
|
|
5729
5754
|
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": {
|
|
5730
5755
|
"param:0:node": "Opaque<\"node\">",
|
|
5731
|
-
"param:1:rotation": "Quaternion | Vector4"
|
|
5756
|
+
"param:1:rotation": "Quaternion | Vector4 | Vector3"
|
|
5732
5757
|
},
|
|
5733
5758
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
5734
5759
|
"param:0:mode": "gui.SafeAreaMode"
|
|
@@ -5829,8 +5854,8 @@
|
|
|
5829
5854
|
"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}]->[]": {
|
|
5830
5855
|
"param:0:url": "string",
|
|
5831
5856
|
"param:1:method": "string",
|
|
5832
|
-
"param:2:callback": "(self: unknown, id:
|
|
5833
|
-
"param:3:headers": "LuaMap<string, string>",
|
|
5857
|
+
"param:2:callback": "(self: unknown, id: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void",
|
|
5858
|
+
"param:3:headers": "LuaMap<string, string> | Record<string, string>",
|
|
5834
5859
|
"param:4:post_data": "string",
|
|
5835
5860
|
"param:5:options": "{ timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }"
|
|
5836
5861
|
},
|
|
@@ -5909,7 +5934,7 @@
|
|
|
5909
5934
|
},
|
|
5910
5935
|
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
5911
5936
|
"param:0:path": "Hash | string",
|
|
5912
|
-
"param:1:textures": "LuaMap<string, Hash>"
|
|
5937
|
+
"param:1:textures": "LuaMap<string, Hash> | Record<string, Hash>"
|
|
5913
5938
|
},
|
|
5914
5939
|
"material\u0000FUNCTION\u0000material.set_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
5915
5940
|
"param:0:path": "Hash | string",
|
|
@@ -6114,7 +6139,7 @@
|
|
|
6114
6139
|
"param:0:buffers": "LuaMap<render.ClearBufferKey, number | Vector4>"
|
|
6115
6140
|
},
|
|
6116
6141
|
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": {
|
|
6117
|
-
"return:0:buffer": "Opaque<\"constant_buffer\">"
|
|
6142
|
+
"return:0:buffer": "Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }"
|
|
6118
6143
|
},
|
|
6119
6144
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": {
|
|
6120
6145
|
"param:0:render_target": "Opaque<\"render_target\">"
|
|
@@ -6123,17 +6148,17 @@
|
|
|
6123
6148
|
"param:0:state": "graphics.State"
|
|
6124
6149
|
},
|
|
6125
6150
|
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": {
|
|
6126
|
-
"param:0:binding": "Opaque<\"texture\"> | string | Hash"
|
|
6151
|
+
"param:0:binding": "Opaque<\"texture\"> | string | Hash | number"
|
|
6127
6152
|
},
|
|
6128
6153
|
"render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6129
6154
|
"param:0:x": "number",
|
|
6130
6155
|
"param:1:y": "number",
|
|
6131
6156
|
"param:2:z": "number",
|
|
6132
|
-
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> }"
|
|
6157
|
+
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }"
|
|
6133
6158
|
},
|
|
6134
6159
|
"render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6135
6160
|
"param:0:predicate": "number",
|
|
6136
|
-
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"
|
|
6161
|
+
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }"
|
|
6137
6162
|
},
|
|
6138
6163
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6139
6164
|
"param:0:options": "{ frustum?: Matrix4; frustum_planes?: number }"
|
|
@@ -6146,19 +6171,19 @@
|
|
|
6146
6171
|
},
|
|
6147
6172
|
"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}]->[]": {
|
|
6148
6173
|
"param:0:binding": "number | string | Hash",
|
|
6149
|
-
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash",
|
|
6174
|
+
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash | Opaque<\"render_target\"> | number",
|
|
6150
6175
|
"param:2:buffer_type": "graphics.BufferType"
|
|
6151
6176
|
},
|
|
6152
6177
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": {
|
|
6153
6178
|
"return:0:height": "number"
|
|
6154
6179
|
},
|
|
6155
6180
|
"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}]": {
|
|
6156
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
6181
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
6157
6182
|
"param:1:buffer_type": "graphics.BufferType",
|
|
6158
6183
|
"return:0:height": "number"
|
|
6159
6184
|
},
|
|
6160
6185
|
"render\u0000FUNCTION\u0000render.get_render_target_width\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}]": {
|
|
6161
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
6186
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
6162
6187
|
"param:1:buffer_type": "graphics.BufferType",
|
|
6163
6188
|
"return:0:width": "number"
|
|
6164
6189
|
},
|
|
@@ -6190,7 +6215,7 @@
|
|
|
6190
6215
|
"param:3:destination_factor_alpha": "number"
|
|
6191
6216
|
},
|
|
6192
6217
|
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6193
|
-
"param:0:camera": "Url | number",
|
|
6218
|
+
"param:0:camera": "Url | number | string",
|
|
6194
6219
|
"param:1:options": "{ use_frustum?: boolean }"
|
|
6195
6220
|
},
|
|
6196
6221
|
"render\u0000FUNCTION\u0000render.set_color_mask\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": {
|
|
@@ -6222,11 +6247,11 @@
|
|
|
6222
6247
|
"param:0:matrix": "Matrix4"
|
|
6223
6248
|
},
|
|
6224
6249
|
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6225
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
6226
|
-
"param:1:options": "{ transient?:
|
|
6250
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT",
|
|
6251
|
+
"param:1:options": "{ transient?: graphics.BufferType[] }"
|
|
6227
6252
|
},
|
|
6228
6253
|
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": {
|
|
6229
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
6254
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
6230
6255
|
"param:1:width": "number",
|
|
6231
6256
|
"param:2:height": "number"
|
|
6232
6257
|
},
|
|
@@ -6262,7 +6287,7 @@
|
|
|
6262
6287
|
},
|
|
6263
6288
|
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
6264
6289
|
"param:0:path": "string",
|
|
6265
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
6290
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }",
|
|
6266
6291
|
"return:0:path": "Hash"
|
|
6267
6292
|
},
|
|
6268
6293
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
@@ -6295,7 +6320,7 @@
|
|
|
6295
6320
|
},
|
|
6296
6321
|
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": {
|
|
6297
6322
|
"param:0:path": "Hash | string",
|
|
6298
|
-
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
6323
|
+
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] }"
|
|
6299
6324
|
},
|
|
6300
6325
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
6301
6326
|
"param:0:path": "Hash | string",
|
|
@@ -6336,7 +6361,7 @@
|
|
|
6336
6361
|
},
|
|
6337
6362
|
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
6338
6363
|
"param:0:path": "Hash | string",
|
|
6339
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
6364
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }"
|
|
6340
6365
|
},
|
|
6341
6366
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6342
6367
|
"param:0:path": "Hash | string",
|
|
@@ -6572,11 +6597,11 @@
|
|
|
6572
6597
|
},
|
|
6573
6598
|
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": {
|
|
6574
6599
|
"param:0:finalizer": "() => void",
|
|
6575
|
-
"return:0:try": "(...
|
|
6600
|
+
"return:0:try": "<T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T"
|
|
6576
6601
|
},
|
|
6577
6602
|
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": {
|
|
6578
6603
|
"param:0:func": "(...args: unknown[]) => unknown",
|
|
6579
|
-
"return:0:safe_func": "(
|
|
6604
|
+
"return:0:safe_func": "(...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>"
|
|
6580
6605
|
},
|
|
6581
6606
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": {
|
|
6582
6607
|
"param:0:recvt": "(client | master | unconnected)[]",
|
|
@@ -6719,7 +6744,7 @@
|
|
|
6719
6744
|
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
6720
6745
|
"param:0:url": "string | Hash | Url",
|
|
6721
6746
|
"param:1:id": "string | Hash",
|
|
6722
|
-
"param:2:complete_function": "(self: unknown, message_id:
|
|
6747
|
+
"param:2:complete_function": "(self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void",
|
|
6723
6748
|
"param:3:play_properties": "{ offset?: number; playback_rate?: number }"
|
|
6724
6749
|
},
|
|
6725
6750
|
"sprite\u0000FUNCTION\u0000sprite.reset_constant\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": {
|
|
@@ -6827,10 +6852,10 @@
|
|
|
6827
6852
|
},
|
|
6828
6853
|
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
6829
6854
|
"param:0:filename": "string",
|
|
6830
|
-
"param:1:table": "Record<string | number, unknown>"
|
|
6855
|
+
"param:1:table": "Record<string | number, unknown> | readonly unknown[]"
|
|
6831
6856
|
},
|
|
6832
6857
|
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
6833
|
-
"param:0:table": "Record<string | number, unknown>",
|
|
6858
|
+
"param:0:table": "Record<string | number, unknown> | readonly unknown[]",
|
|
6834
6859
|
"return:0:buffer": "string"
|
|
6835
6860
|
},
|
|
6836
6861
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": {
|
|
@@ -8405,20 +8430,20 @@
|
|
|
8405
8430
|
"param:4:count": "number"
|
|
8406
8431
|
},
|
|
8407
8432
|
"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}]->[]": {
|
|
8408
|
-
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
8433
|
+
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
8409
8434
|
"param:1:dstoffset": "number",
|
|
8410
|
-
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
8435
|
+
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
8411
8436
|
"param:3:srcoffset": "number",
|
|
8412
8437
|
"param:4:count": "number"
|
|
8413
8438
|
},
|
|
8414
8439
|
"buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
8415
8440
|
"param:0:element_count": "number",
|
|
8416
|
-
"param:1:declaration": "{ name?: Hash | string; type?:
|
|
8441
|
+
"param:1:declaration": "{ name?: Hash | string; type?: buffer.ValueType; count?: number }[]",
|
|
8417
8442
|
"return:0:buffer": "Opaque<\"buffer\">"
|
|
8418
8443
|
},
|
|
8419
8444
|
"buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
8420
8445
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
8421
|
-
"param:1:stream_name": "Hash",
|
|
8446
|
+
"param:1:stream_name": "Hash | string",
|
|
8422
8447
|
"return:0:data": "string"
|
|
8423
8448
|
},
|
|
8424
8449
|
"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}]": {
|
|
@@ -8430,7 +8455,7 @@
|
|
|
8430
8455
|
"buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": {
|
|
8431
8456
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
8432
8457
|
"param:1:stream_name": "Hash | string",
|
|
8433
|
-
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number }"
|
|
8458
|
+
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }"
|
|
8434
8459
|
},
|
|
8435
8460
|
"buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
8436
8461
|
"param:0:buf": "Opaque<\"buffer\">",
|
|
@@ -8533,7 +8558,7 @@
|
|
|
8533
8558
|
"param:0:url": "string | Hash | Url",
|
|
8534
8559
|
"param:1:position": "Vector3",
|
|
8535
8560
|
"param:2:rotation": "Quaternion",
|
|
8536
|
-
"param:3:properties": "Record<string | number, unknown
|
|
8561
|
+
"param:3:properties": "LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>",
|
|
8537
8562
|
"param:4:scale": "number | Vector3",
|
|
8538
8563
|
"return:0:ids": "LuaMap<Hash, Hash>"
|
|
8539
8564
|
},
|
|
@@ -8584,7 +8609,7 @@
|
|
|
8584
8609
|
},
|
|
8585
8610
|
"compute\u0000FUNCTION\u0000compute.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
8586
8611
|
"param:0:path": "Hash | string",
|
|
8587
|
-
"param:1:textures": "LuaMap<string, Hash>"
|
|
8612
|
+
"param:1:textures": "LuaMap<string, Hash> | Record<string, Hash>"
|
|
8588
8613
|
},
|
|
8589
8614
|
"crash\u0000FUNCTION\u0000crash.get_backtrace\u0000[{\"types\":[\"number\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": {
|
|
8590
8615
|
"param:0:handle": "number",
|
|
@@ -8688,7 +8713,7 @@
|
|
|
8688
8713
|
"param:1:property": "string | Hash"
|
|
8689
8714
|
},
|
|
8690
8715
|
"go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": {
|
|
8691
|
-
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[]",
|
|
8716
|
+
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[] | boolean",
|
|
8692
8717
|
"param:1:recursive": "boolean"
|
|
8693
8718
|
},
|
|
8694
8719
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": {
|
|
@@ -9107,8 +9132,8 @@
|
|
|
9107
9132
|
"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}]->[]": {
|
|
9108
9133
|
"param:0:node": "Opaque<\"node\"> | Url",
|
|
9109
9134
|
"param:1:property": "string | Hash | gui.Property",
|
|
9110
|
-
"param:2:value": "number | Vector4 | Vector3 | Quaternion",
|
|
9111
|
-
"param:3:options": "{ index?: number; key?: Hash }"
|
|
9135
|
+
"param:2:value": "number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash",
|
|
9136
|
+
"param:3:options": "{ index?: number; key?: string | Hash }"
|
|
9112
9137
|
},
|
|
9113
9138
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
9114
9139
|
"param:0:node": "Opaque<\"node\">",
|
|
@@ -9228,7 +9253,7 @@
|
|
|
9228
9253
|
},
|
|
9229
9254
|
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": {
|
|
9230
9255
|
"param:0:node": "Opaque<\"node\">",
|
|
9231
|
-
"param:1:rotation": "Quaternion | Vector4"
|
|
9256
|
+
"param:1:rotation": "Quaternion | Vector4 | Vector3"
|
|
9232
9257
|
},
|
|
9233
9258
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
9234
9259
|
"param:0:mode": "gui.SafeAreaMode"
|
|
@@ -9329,8 +9354,8 @@
|
|
|
9329
9354
|
"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}]->[]": {
|
|
9330
9355
|
"param:0:url": "string",
|
|
9331
9356
|
"param:1:method": "string",
|
|
9332
|
-
"param:2:callback": "(self: unknown, id:
|
|
9333
|
-
"param:3:headers": "LuaMap<string, string>",
|
|
9357
|
+
"param:2:callback": "(self: unknown, id: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void",
|
|
9358
|
+
"param:3:headers": "LuaMap<string, string> | Record<string, string>",
|
|
9334
9359
|
"param:4:post_data": "string",
|
|
9335
9360
|
"param:5:options": "{ timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }"
|
|
9336
9361
|
},
|
|
@@ -9409,7 +9434,7 @@
|
|
|
9409
9434
|
},
|
|
9410
9435
|
"material\u0000FUNCTION\u0000material.set_textures\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
9411
9436
|
"param:0:path": "Hash | string",
|
|
9412
|
-
"param:1:textures": "LuaMap<string, Hash>"
|
|
9437
|
+
"param:1:textures": "LuaMap<string, Hash> | Record<string, Hash>"
|
|
9413
9438
|
},
|
|
9414
9439
|
"material\u0000FUNCTION\u0000material.set_vertex_attributes\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
9415
9440
|
"param:0:path": "Hash | string",
|
|
@@ -9614,7 +9639,7 @@
|
|
|
9614
9639
|
"param:0:buffers": "LuaMap<render.ClearBufferKey, number | Vector4>"
|
|
9615
9640
|
},
|
|
9616
9641
|
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": {
|
|
9617
|
-
"return:0:buffer": "Opaque<\"constant_buffer\">"
|
|
9642
|
+
"return:0:buffer": "Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }"
|
|
9618
9643
|
},
|
|
9619
9644
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": {
|
|
9620
9645
|
"param:0:render_target": "Opaque<\"render_target\">"
|
|
@@ -9623,17 +9648,17 @@
|
|
|
9623
9648
|
"param:0:state": "graphics.State"
|
|
9624
9649
|
},
|
|
9625
9650
|
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": {
|
|
9626
|
-
"param:0:binding": "Opaque<\"texture\"> | string | Hash"
|
|
9651
|
+
"param:0:binding": "Opaque<\"texture\"> | string | Hash | number"
|
|
9627
9652
|
},
|
|
9628
9653
|
"render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9629
9654
|
"param:0:x": "number",
|
|
9630
9655
|
"param:1:y": "number",
|
|
9631
9656
|
"param:2:z": "number",
|
|
9632
|
-
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> }"
|
|
9657
|
+
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }"
|
|
9633
9658
|
},
|
|
9634
9659
|
"render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9635
9660
|
"param:0:predicate": "number",
|
|
9636
|
-
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"
|
|
9661
|
+
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }"
|
|
9637
9662
|
},
|
|
9638
9663
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9639
9664
|
"param:0:options": "{ frustum?: Matrix4; frustum_planes?: number }"
|
|
@@ -9646,19 +9671,19 @@
|
|
|
9646
9671
|
},
|
|
9647
9672
|
"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}]->[]": {
|
|
9648
9673
|
"param:0:binding": "number | string | Hash",
|
|
9649
|
-
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash",
|
|
9674
|
+
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash | Opaque<\"render_target\"> | number",
|
|
9650
9675
|
"param:2:buffer_type": "graphics.BufferType"
|
|
9651
9676
|
},
|
|
9652
9677
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": {
|
|
9653
9678
|
"return:0:height": "number"
|
|
9654
9679
|
},
|
|
9655
9680
|
"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}]": {
|
|
9656
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
9681
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
9657
9682
|
"param:1:buffer_type": "graphics.BufferType",
|
|
9658
9683
|
"return:0:height": "number"
|
|
9659
9684
|
},
|
|
9660
9685
|
"render\u0000FUNCTION\u0000render.get_render_target_width\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}]": {
|
|
9661
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
9686
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
9662
9687
|
"param:1:buffer_type": "graphics.BufferType",
|
|
9663
9688
|
"return:0:width": "number"
|
|
9664
9689
|
},
|
|
@@ -9690,7 +9715,7 @@
|
|
|
9690
9715
|
"param:3:destination_factor_alpha": "number"
|
|
9691
9716
|
},
|
|
9692
9717
|
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9693
|
-
"param:0:camera": "Url | number",
|
|
9718
|
+
"param:0:camera": "Url | number | string",
|
|
9694
9719
|
"param:1:options": "{ use_frustum?: boolean }"
|
|
9695
9720
|
},
|
|
9696
9721
|
"render\u0000FUNCTION\u0000render.set_color_mask\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": {
|
|
@@ -9722,11 +9747,11 @@
|
|
|
9722
9747
|
"param:0:matrix": "Matrix4"
|
|
9723
9748
|
},
|
|
9724
9749
|
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9725
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
9726
|
-
"param:1:options": "{ transient?:
|
|
9750
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT",
|
|
9751
|
+
"param:1:options": "{ transient?: graphics.BufferType[] }"
|
|
9727
9752
|
},
|
|
9728
9753
|
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": {
|
|
9729
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
9754
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
9730
9755
|
"param:1:width": "number",
|
|
9731
9756
|
"param:2:height": "number"
|
|
9732
9757
|
},
|
|
@@ -9762,7 +9787,7 @@
|
|
|
9762
9787
|
},
|
|
9763
9788
|
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
9764
9789
|
"param:0:path": "string",
|
|
9765
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
9790
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }",
|
|
9766
9791
|
"return:0:path": "Hash"
|
|
9767
9792
|
},
|
|
9768
9793
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
@@ -9795,7 +9820,7 @@
|
|
|
9795
9820
|
},
|
|
9796
9821
|
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": {
|
|
9797
9822
|
"param:0:path": "Hash | string",
|
|
9798
|
-
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
9823
|
+
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] }"
|
|
9799
9824
|
},
|
|
9800
9825
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
9801
9826
|
"param:0:path": "Hash | string",
|
|
@@ -9836,7 +9861,7 @@
|
|
|
9836
9861
|
},
|
|
9837
9862
|
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
9838
9863
|
"param:0:path": "Hash | string",
|
|
9839
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
9864
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }"
|
|
9840
9865
|
},
|
|
9841
9866
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
9842
9867
|
"param:0:path": "Hash | string",
|
|
@@ -10072,11 +10097,11 @@
|
|
|
10072
10097
|
},
|
|
10073
10098
|
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": {
|
|
10074
10099
|
"param:0:finalizer": "() => void",
|
|
10075
|
-
"return:0:try": "(...
|
|
10100
|
+
"return:0:try": "<T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T"
|
|
10076
10101
|
},
|
|
10077
10102
|
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": {
|
|
10078
10103
|
"param:0:func": "(...args: unknown[]) => unknown",
|
|
10079
|
-
"return:0:safe_func": "(
|
|
10104
|
+
"return:0:safe_func": "(...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>"
|
|
10080
10105
|
},
|
|
10081
10106
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": {
|
|
10082
10107
|
"param:0:recvt": "(client | master | unconnected)[]",
|
|
@@ -10219,7 +10244,7 @@
|
|
|
10219
10244
|
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
10220
10245
|
"param:0:url": "string | Hash | Url",
|
|
10221
10246
|
"param:1:id": "string | Hash",
|
|
10222
|
-
"param:2:complete_function": "(self: unknown, message_id:
|
|
10247
|
+
"param:2:complete_function": "(self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void",
|
|
10223
10248
|
"param:3:play_properties": "{ offset?: number; playback_rate?: number }"
|
|
10224
10249
|
},
|
|
10225
10250
|
"sprite\u0000FUNCTION\u0000sprite.reset_constant\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[]": {
|
|
@@ -10327,10 +10352,10 @@
|
|
|
10327
10352
|
},
|
|
10328
10353
|
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
10329
10354
|
"param:0:filename": "string",
|
|
10330
|
-
"param:1:table": "Record<string | number, unknown>"
|
|
10355
|
+
"param:1:table": "Record<string | number, unknown> | readonly unknown[]"
|
|
10331
10356
|
},
|
|
10332
10357
|
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
10333
|
-
"param:0:table": "Record<string | number, unknown>",
|
|
10358
|
+
"param:0:table": "Record<string | number, unknown> | readonly unknown[]",
|
|
10334
10359
|
"return:0:buffer": "string"
|
|
10335
10360
|
},
|
|
10336
10361
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": {
|
|
@@ -10885,20 +10910,20 @@
|
|
|
10885
10910
|
"param:4:count": "number"
|
|
10886
10911
|
},
|
|
10887
10912
|
"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}]->[]": {
|
|
10888
|
-
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
10913
|
+
"param:0:dst": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
10889
10914
|
"param:1:dstoffset": "number",
|
|
10890
|
-
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number }",
|
|
10915
|
+
"param:2:src": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }",
|
|
10891
10916
|
"param:3:srcoffset": "number",
|
|
10892
10917
|
"param:4:count": "number"
|
|
10893
10918
|
},
|
|
10894
10919
|
"buffer\u0000FUNCTION\u0000buffer.create\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
10895
10920
|
"param:0:element_count": "number",
|
|
10896
|
-
"param:1:declaration": "{ name?: Hash | string; type?:
|
|
10921
|
+
"param:1:declaration": "{ name?: Hash | string; type?: buffer.ValueType; count?: number }[]",
|
|
10897
10922
|
"return:0:buffer": "Opaque<\"buffer\">"
|
|
10898
10923
|
},
|
|
10899
10924
|
"buffer\u0000FUNCTION\u0000buffer.get_bytes\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
10900
10925
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
10901
|
-
"param:1:stream_name": "Hash",
|
|
10926
|
+
"param:1:stream_name": "Hash | string",
|
|
10902
10927
|
"return:0:data": "string"
|
|
10903
10928
|
},
|
|
10904
10929
|
"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}]": {
|
|
@@ -10910,7 +10935,7 @@
|
|
|
10910
10935
|
"buffer\u0000FUNCTION\u0000buffer.get_stream\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"bufferstream\"],\"isOptional\":false}]": {
|
|
10911
10936
|
"param:0:buffer": "Opaque<\"buffer\">",
|
|
10912
10937
|
"param:1:stream_name": "Hash | string",
|
|
10913
|
-
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number }"
|
|
10938
|
+
"return:0:stream": "Opaque<\"bufferstream\"> & { [index: number]: number; length: LuaLengthMethod<number> }"
|
|
10914
10939
|
},
|
|
10915
10940
|
"buffer\u0000FUNCTION\u0000buffer.set_metadata\u0000[{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
10916
10941
|
"param:0:buf": "Opaque<\"buffer\">",
|
|
@@ -11009,7 +11034,7 @@
|
|
|
11009
11034
|
"param:0:url": "string | Hash | Url",
|
|
11010
11035
|
"param:1:position": "Vector3",
|
|
11011
11036
|
"param:2:rotation": "Quaternion",
|
|
11012
|
-
"param:3:properties": "Record<string | number, unknown
|
|
11037
|
+
"param:3:properties": "LuaMap<Hash, Record<string | number, unknown>> | Record<string, Record<string | number, unknown>>",
|
|
11013
11038
|
"param:4:scale": "number | Vector3",
|
|
11014
11039
|
"return:0:ids": "LuaMap<Hash, Hash>"
|
|
11015
11040
|
},
|
|
@@ -11140,7 +11165,7 @@
|
|
|
11140
11165
|
"param:1:property": "string | Hash"
|
|
11141
11166
|
},
|
|
11142
11167
|
"go\u0000FUNCTION\u0000go.delete\u0000[{\"types\":[\"hash\",\"string\",\"table\",\"url\"],\"isOptional\":true},{\"types\":[\"boolean\"],\"isOptional\":true}]->[]": {
|
|
11143
|
-
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[]",
|
|
11168
|
+
"param:0:id": "SceneGameObjectAddress | Hash | Url | (SceneGameObjectAddress | Hash | Url)[] | boolean",
|
|
11144
11169
|
"param:1:recursive": "boolean"
|
|
11145
11170
|
},
|
|
11146
11171
|
"go\u0000FUNCTION\u0000go.exists\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false}]->[{\"types\":[\"boolean\"],\"isOptional\":false}]": {
|
|
@@ -11553,8 +11578,8 @@
|
|
|
11553
11578
|
"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}]->[]": {
|
|
11554
11579
|
"param:0:node": "Opaque<\"node\"> | Url",
|
|
11555
11580
|
"param:1:property": "string | Hash | gui.Property",
|
|
11556
|
-
"param:2:value": "number | Vector4 | Vector3 | Quaternion",
|
|
11557
|
-
"param:3:options": "{ index?: number; key?: Hash }"
|
|
11581
|
+
"param:2:value": "number | Vector4 | Vector3 | Quaternion | Matrix4 | Hash",
|
|
11582
|
+
"param:3:options": "{ index?: number; key?: string | Hash }"
|
|
11558
11583
|
},
|
|
11559
11584
|
"gui\u0000FUNCTION\u0000gui.set_adjust_mode\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
11560
11585
|
"param:0:node": "Opaque<\"node\">",
|
|
@@ -11674,7 +11699,7 @@
|
|
|
11674
11699
|
},
|
|
11675
11700
|
"gui\u0000FUNCTION\u0000gui.set_rotation\u0000[{\"types\":[\"node\"],\"isOptional\":false},{\"types\":[\"quaternion\",\"vector4\"],\"isOptional\":false}]->[]": {
|
|
11676
11701
|
"param:0:node": "Opaque<\"node\">",
|
|
11677
|
-
"param:1:rotation": "Quaternion | Vector4"
|
|
11702
|
+
"param:1:rotation": "Quaternion | Vector4 | Vector3"
|
|
11678
11703
|
},
|
|
11679
11704
|
"gui\u0000FUNCTION\u0000gui.set_safe_area_mode\u0000[{\"types\":[\"constant\"],\"isOptional\":false}]->[]": {
|
|
11680
11705
|
"param:0:mode": "gui.SafeAreaMode"
|
|
@@ -11775,8 +11800,8 @@
|
|
|
11775
11800
|
"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}]->[]": {
|
|
11776
11801
|
"param:0:url": "string",
|
|
11777
11802
|
"param:1:method": "string",
|
|
11778
|
-
"param:2:callback": "(self: unknown, id:
|
|
11779
|
-
"param:3:headers": "LuaMap<string, string>",
|
|
11803
|
+
"param:2:callback": "(self: unknown, id: Hash, response: { status: number; response?: string; headers?: LuaMap<string, string>; path?: string; error?: string; bytes_received?: number; bytes_total?: number; range_start?: number; range_end?: number; document_size?: number }) => void",
|
|
11804
|
+
"param:3:headers": "LuaMap<string, string> | Record<string, string>",
|
|
11780
11805
|
"param:4:post_data": "string",
|
|
11781
11806
|
"param:5:options": "{ timeout?: number; path?: string; ignore_cache?: boolean; chunked_transfer?: boolean; report_progress?: boolean }"
|
|
11782
11807
|
},
|
|
@@ -12013,7 +12038,7 @@
|
|
|
12013
12038
|
"param:0:buffers": "LuaMap<render.ClearBufferKey, number | Vector4>"
|
|
12014
12039
|
},
|
|
12015
12040
|
"render\u0000FUNCTION\u0000render.constant_buffer\u0000[]->[{\"types\":[\"constant_buffer\"],\"isOptional\":false}]": {
|
|
12016
|
-
"return:0:buffer": "Opaque<\"constant_buffer\">"
|
|
12041
|
+
"return:0:buffer": "Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }"
|
|
12017
12042
|
},
|
|
12018
12043
|
"render\u0000FUNCTION\u0000render.delete_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false}]->[]": {
|
|
12019
12044
|
"param:0:render_target": "Opaque<\"render_target\">"
|
|
@@ -12022,17 +12047,17 @@
|
|
|
12022
12047
|
"param:0:state": "graphics.State"
|
|
12023
12048
|
},
|
|
12024
12049
|
"render\u0000FUNCTION\u0000render.disable_texture\u0000[{\"types\":[\"hash\",\"string\",\"texture\"],\"isOptional\":false}]->[]": {
|
|
12025
|
-
"param:0:binding": "Opaque<\"texture\"> | string | Hash"
|
|
12050
|
+
"param:0:binding": "Opaque<\"texture\"> | string | Hash | number"
|
|
12026
12051
|
},
|
|
12027
12052
|
"render\u0000FUNCTION\u0000render.dispatch_compute\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12028
12053
|
"param:0:x": "number",
|
|
12029
12054
|
"param:1:y": "number",
|
|
12030
12055
|
"param:2:z": "number",
|
|
12031
|
-
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> }"
|
|
12056
|
+
"param:3:options": "{ constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] } }"
|
|
12032
12057
|
},
|
|
12033
12058
|
"render\u0000FUNCTION\u0000render.draw\u0000[{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12034
12059
|
"param:0:predicate": "number",
|
|
12035
|
-
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"
|
|
12060
|
+
"param:1:options": "{ frustum?: Matrix4; frustum_planes?: number; constants?: Opaque<\"constant_buffer\"> & { [name: string]: Vector4 | Matrix4 | Vector4[] | Matrix4[] }; sort_order?: number }"
|
|
12036
12061
|
},
|
|
12037
12062
|
"render\u0000FUNCTION\u0000render.draw_debug3d\u0000[{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12038
12063
|
"param:0:options": "{ frustum?: Matrix4; frustum_planes?: number }"
|
|
@@ -12045,19 +12070,19 @@
|
|
|
12045
12070
|
},
|
|
12046
12071
|
"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}]->[]": {
|
|
12047
12072
|
"param:0:binding": "number | string | Hash",
|
|
12048
|
-
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash",
|
|
12073
|
+
"param:1:handle_or_name": "Opaque<\"texture\"> | string | Hash | Opaque<\"render_target\"> | number",
|
|
12049
12074
|
"param:2:buffer_type": "graphics.BufferType"
|
|
12050
12075
|
},
|
|
12051
12076
|
"render\u0000FUNCTION\u0000render.get_height\u0000[]->[{\"types\":[\"number\"],\"isOptional\":false}]": {
|
|
12052
12077
|
"return:0:height": "number"
|
|
12053
12078
|
},
|
|
12054
12079
|
"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}]": {
|
|
12055
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
12080
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
12056
12081
|
"param:1:buffer_type": "graphics.BufferType",
|
|
12057
12082
|
"return:0:height": "number"
|
|
12058
12083
|
},
|
|
12059
12084
|
"render\u0000FUNCTION\u0000render.get_render_target_width\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}]": {
|
|
12060
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
12085
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
12061
12086
|
"param:1:buffer_type": "graphics.BufferType",
|
|
12062
12087
|
"return:0:width": "number"
|
|
12063
12088
|
},
|
|
@@ -12079,7 +12104,7 @@
|
|
|
12079
12104
|
"param:1:destination_factor": "number"
|
|
12080
12105
|
},
|
|
12081
12106
|
"render\u0000FUNCTION\u0000render.set_camera\u0000[{\"types\":[\"nil\",\"number\",\"url\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12082
|
-
"param:0:camera": "Url | number",
|
|
12107
|
+
"param:0:camera": "Url | number | string",
|
|
12083
12108
|
"param:1:options": "{ use_frustum?: boolean }"
|
|
12084
12109
|
},
|
|
12085
12110
|
"render\u0000FUNCTION\u0000render.set_color_mask\u0000[{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": {
|
|
@@ -12111,11 +12136,11 @@
|
|
|
12111
12136
|
"param:0:matrix": "Matrix4"
|
|
12112
12137
|
},
|
|
12113
12138
|
"render\u0000FUNCTION\u0000render.set_render_target\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12114
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
12115
|
-
"param:1:options": "{ transient?:
|
|
12139
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash | typeof render.RENDER_TARGET_DEFAULT",
|
|
12140
|
+
"param:1:options": "{ transient?: graphics.BufferType[] }"
|
|
12116
12141
|
},
|
|
12117
12142
|
"render\u0000FUNCTION\u0000render.set_render_target_size\u0000[{\"types\":[\"render_target\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":false}]->[]": {
|
|
12118
|
-
"param:0:render_target": "Opaque<\"render_target\">",
|
|
12143
|
+
"param:0:render_target": "Opaque<\"render_target\"> | string | Hash",
|
|
12119
12144
|
"param:1:width": "number",
|
|
12120
12145
|
"param:2:height": "number"
|
|
12121
12146
|
},
|
|
@@ -12151,7 +12176,7 @@
|
|
|
12151
12176
|
},
|
|
12152
12177
|
"resource\u0000FUNCTION\u0000resource.create_atlas\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
12153
12178
|
"param:0:path": "string",
|
|
12154
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
12179
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { id?: string; width?: number; height?: number; pivot_x?: number; pivot_y?: number; rotated?: boolean }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }",
|
|
12155
12180
|
"return:0:path": "Hash"
|
|
12156
12181
|
},
|
|
12157
12182
|
"resource\u0000FUNCTION\u0000resource.create_buffer\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[{\"types\":[\"hash\"],\"isOptional\":false}]": {
|
|
@@ -12184,7 +12209,7 @@
|
|
|
12184
12209
|
},
|
|
12185
12210
|
"resource\u0000FUNCTION\u0000resource.get_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"table\"],\"isOptional\":false}]": {
|
|
12186
12211
|
"param:0:path": "Hash | string",
|
|
12187
|
-
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback:
|
|
12212
|
+
"return:0:data": "{ texture: string | Hash; animations: { id: string; width: number; height: number; frame_start: number; frame_end: number; playback: go.Playback; fps: number; flip_vertical: boolean; flip_horizontal: boolean }[]; geometries: { vertices: number[]; uvs: number[]; indices: number[] }[] }"
|
|
12188
12213
|
},
|
|
12189
12214
|
"resource\u0000FUNCTION\u0000resource.get_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false}]->[{\"types\":[\"buffer\"],\"isOptional\":false}]": {
|
|
12190
12215
|
"param:0:path": "Hash | string",
|
|
@@ -12225,7 +12250,7 @@
|
|
|
12225
12250
|
},
|
|
12226
12251
|
"resource\u0000FUNCTION\u0000resource.set_atlas\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
12227
12252
|
"param:0:path": "Hash | string",
|
|
12228
|
-
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?:
|
|
12253
|
+
"param:1:table": "{ texture?: string | Hash; animations?: { id?: string; width?: number; height?: number; frame_start?: number; frame_end?: number; playback?: go.Playback; fps?: number; flip_vertical?: boolean; flip_horizontal?: boolean }[]; geometries?: { vertices?: number[]; uvs?: number[]; indices?: number[] }[]; vertices?: number[]; uvs?: number[]; indices?: number[] }"
|
|
12229
12254
|
},
|
|
12230
12255
|
"resource\u0000FUNCTION\u0000resource.set_buffer\u0000[{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"buffer\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12231
12256
|
"param:0:path": "Hash | string",
|
|
@@ -12461,11 +12486,11 @@
|
|
|
12461
12486
|
},
|
|
12462
12487
|
"socket\u0000FUNCTION\u0000socket.newtry\u0000[{\"types\":[\"function()\"],\"isOptional\":false}]->[{\"types\":[\"function\"],\"isOptional\":false}]": {
|
|
12463
12488
|
"param:0:finalizer": "() => void",
|
|
12464
|
-
"return:0:try": "(...
|
|
12489
|
+
"return:0:try": "<T>(value: T | undefined, ...rest: T extends { readonly __tstlMultiReturn: unknown } ? [boxedMultiReturn: never] : unknown[]) => T"
|
|
12465
12490
|
},
|
|
12466
12491
|
"socket\u0000FUNCTION\u0000socket.protect\u0000[{\"types\":[\"function\"],\"isOptional\":false}]->[{\"types\":[\"function(function())\"],\"isOptional\":false}]": {
|
|
12467
12492
|
"param:0:func": "(...args: unknown[]) => unknown",
|
|
12468
|
-
"return:0:safe_func": "(
|
|
12493
|
+
"return:0:safe_func": "(...args: unknown[]) => LuaMultiReturn<[unknown, string | undefined]>"
|
|
12469
12494
|
},
|
|
12470
12495
|
"socket\u0000FUNCTION\u0000socket.select\u0000[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"number\"],\"isOptional\":true}]->[{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false},{\"types\":[\"nil\",\"string\"],\"isOptional\":false}]": {
|
|
12471
12496
|
"param:0:recvt": "(client | master | unconnected)[]",
|
|
@@ -12608,7 +12633,7 @@
|
|
|
12608
12633
|
"sprite\u0000FUNCTION\u0000sprite.play_flipbook\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"hash\",\"string\"],\"isOptional\":false},{\"types\":[\"function(self, message_id, message, sender)\"],\"isOptional\":true},{\"types\":[\"table\"],\"isOptional\":true}]->[]": {
|
|
12609
12634
|
"param:0:url": "string | Hash | Url",
|
|
12610
12635
|
"param:1:id": "string | Hash",
|
|
12611
|
-
"param:2:complete_function": "(self: unknown, message_id:
|
|
12636
|
+
"param:2:complete_function": "(self: unknown, message_id: Hash, message: { current_tile: number; id: Hash }, sender: Url) => void",
|
|
12612
12637
|
"param:3:play_properties": "{ offset?: number; playback_rate?: number }"
|
|
12613
12638
|
},
|
|
12614
12639
|
"sprite\u0000FUNCTION\u0000sprite.set_hflip\u0000[{\"types\":[\"hash\",\"string\",\"url\"],\"isOptional\":false},{\"types\":[\"boolean\"],\"isOptional\":false}]->[]": {
|
|
@@ -12712,10 +12737,10 @@
|
|
|
12712
12737
|
},
|
|
12713
12738
|
"sys\u0000FUNCTION\u0000sys.save\u0000[{\"types\":[\"string\"],\"isOptional\":false},{\"types\":[\"table\"],\"isOptional\":false}]->[]": {
|
|
12714
12739
|
"param:0:filename": "string",
|
|
12715
|
-
"param:1:table": "Record<string | number, unknown>"
|
|
12740
|
+
"param:1:table": "Record<string | number, unknown> | readonly unknown[]"
|
|
12716
12741
|
},
|
|
12717
12742
|
"sys\u0000FUNCTION\u0000sys.serialize\u0000[{\"types\":[\"table\"],\"isOptional\":false}]->[{\"types\":[\"string\"],\"isOptional\":false}]": {
|
|
12718
|
-
"param:0:table": "Record<string | number, unknown>",
|
|
12743
|
+
"param:0:table": "Record<string | number, unknown> | readonly unknown[]",
|
|
12719
12744
|
"return:0:buffer": "string"
|
|
12720
12745
|
},
|
|
12721
12746
|
"sys\u0000FUNCTION\u0000sys.set_connectivity_host\u0000[{\"types\":[\"string\"],\"isOptional\":false}]->[]": {
|