@3dverse/livelink.core 0.7.13 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +61 -17
  2. package/dist/_prebuild/EditorConnection.d.ts +1 -29
  3. package/dist/_prebuild/EditorMessageHandler.d.ts +1 -139
  4. package/dist/_prebuild/GatewayConnection.d.ts +1 -58
  5. package/dist/_prebuild/GatewayMessageHandler.d.ts +1 -194
  6. package/dist/_prebuild/engine_types/ComponentsHashes.d.ts +5 -0
  7. package/dist/_prebuild/engine_types/ComponentsRecord.d.ts +207 -0
  8. package/dist/_prebuild/engine_types/SceneSettingsRecord.d.ts +50 -0
  9. package/dist/_prebuild/engine_types/assets.d.ts +96 -0
  10. package/dist/_prebuild/{types → engine_types}/components.d.ts +221 -159
  11. package/dist/_prebuild/{types/settings.d.ts → engine_types/sceneSettings.d.ts} +85 -70
  12. package/dist/_prebuild/messages/editor/ConnectConfirmation.d.ts +1 -70
  13. package/dist/_prebuild/messages/editor/EditorEntity.d.ts +0 -25
  14. package/dist/_prebuild/messages/editor/EntityUpdatedEvent.d.ts +1 -7
  15. package/dist/_prebuild/messages/editor/EntityVisibilityChangedEvent.d.ts +1 -5
  16. package/dist/_prebuild/messages/editor/UpdateComponentsCommand.d.ts +1 -6
  17. package/dist/_prebuild/messages/editor/index.d.ts +0 -1
  18. package/dist/_prebuild/messages/gateway/commands/AssignClientToScriptCommand.d.ts +9 -0
  19. package/dist/_prebuild/messages/gateway/commands/AuthenticationCommand.d.ts +1 -0
  20. package/dist/_prebuild/messages/gateway/{ClientConfig.d.ts → commands/ConfigureClientCommand.d.ts} +11 -13
  21. package/dist/_prebuild/messages/gateway/commands/FireEventCommand.d.ts +11 -0
  22. package/dist/_prebuild/messages/gateway/commands/HighlightEntitiesCommand.d.ts +8 -0
  23. package/dist/_prebuild/messages/gateway/commands/InputStateCommand.d.ts +8 -0
  24. package/dist/_prebuild/messages/gateway/commands/RemoveComponentsCommand.d.ts +1 -0
  25. package/dist/_prebuild/messages/gateway/commands/RemoveFilterCommand.d.ts +7 -0
  26. package/dist/_prebuild/messages/gateway/commands/ResizeCommand.d.ts +13 -0
  27. package/dist/_prebuild/messages/gateway/commands/SendSkeletonPoseCommand.d.ts +25 -0
  28. package/dist/_prebuild/messages/gateway/commands/SetFilterCommand.d.ts +8 -0
  29. package/dist/_prebuild/messages/gateway/commands/ToggleFilterCommand.d.ts +8 -0
  30. package/dist/_prebuild/messages/gateway/commands/UpdateEntitiesFromBytesCommand.d.ts +1 -0
  31. package/dist/_prebuild/messages/gateway/commands/UpdateEntitiesFromJsonCommand.d.ts +1 -0
  32. package/dist/_prebuild/messages/gateway/commands/ViewportConfigCommand.d.ts +16 -0
  33. package/dist/_prebuild/messages/gateway/commands/index.d.ts +15 -0
  34. package/dist/_prebuild/messages/gateway/enums.d.ts +4 -111
  35. package/dist/_prebuild/messages/gateway/events/AssetLoadingEvent.d.ts +1 -0
  36. package/dist/_prebuild/messages/gateway/{FrameData.d.ts → events/FrameDataEvent.d.ts} +1 -17
  37. package/dist/_prebuild/messages/gateway/events/ScriptEvent.d.ts +10 -0
  38. package/dist/_prebuild/messages/gateway/events/index.d.ts +3 -0
  39. package/dist/_prebuild/messages/gateway/index.d.ts +16 -22
  40. package/dist/_prebuild/messages/gateway/queries/ScreenSpaceRayQuery.d.ts +18 -0
  41. package/dist/_prebuild/messages/gateway/queries/index.d.ts +1 -0
  42. package/dist/_prebuild/messages/index.d.ts +2 -0
  43. package/dist/library.cjs +1 -1
  44. package/dist/library.cjs.map +4 -4
  45. package/dist/library.mjs +1 -1
  46. package/dist/library.mjs.map +4 -4
  47. package/dist/sources/ActivityWatcher.d.ts +63 -0
  48. package/dist/sources/CoreEvents.d.ts +35 -0
  49. package/dist/sources/DynamicLoader.d.ts +38 -0
  50. package/dist/sources/EntityUtils.d.ts +117 -0
  51. package/dist/sources/LivelinkCore.d.ts +133 -128
  52. package/dist/sources/SessionInterface.d.ts +20 -0
  53. package/dist/sources/TypedEventTarget.d.ts +14 -0
  54. package/dist/sources/controllers/EditorController.d.ts +1 -21
  55. package/dist/sources/controllers/EditorEvents.d.ts +27 -0
  56. package/dist/sources/controllers/GatewayController.d.ts +1 -53
  57. package/dist/sources/controllers/GatewayEvents.d.ts +54 -0
  58. package/dist/sources/core.d.ts +29 -8
  59. package/dist/sources/internal/RequestHandler.d.ts +1 -0
  60. package/dist/sources/internal/Serializer.d.ts +1 -0
  61. package/dist/sources/library.d.ts +1 -1
  62. package/dist/sources/types/RTID.d.ts +6 -20
  63. package/dist/sources/types/UUID.d.ts +7 -17
  64. package/dist/sources/types/dataObjects.d.ts +52 -0
  65. package/dist/sources/types/index.d.ts +3 -5
  66. package/dist/sources/types/math.d.ts +8 -91
  67. package/dist/sources/types/nativeTypes.d.ts +25 -86
  68. package/dist/sources/types/utils.d.ts +19 -0
  69. package/package.json +13 -3
  70. package/dist/_prebuild/enums.d.ts +0 -3
  71. package/dist/_prebuild/messages/editor/EntityCreationCoreOptions.d.ts +0 -6
  72. package/dist/_prebuild/messages/gateway/AssetLoadingEvent.d.ts +0 -14
  73. package/dist/_prebuild/messages/gateway/AssignClientToScriptMessage.d.ts +0 -21
  74. package/dist/_prebuild/messages/gateway/AuthenticationResponse.d.ts +0 -31
  75. package/dist/_prebuild/messages/gateway/ClientConfigResponse.d.ts +0 -16
  76. package/dist/_prebuild/messages/gateway/FireEventMessage.d.ts +0 -23
  77. package/dist/_prebuild/messages/gateway/HighlightEntitiesMessage.d.ts +0 -22
  78. package/dist/_prebuild/messages/gateway/InputState.d.ts +0 -22
  79. package/dist/_prebuild/messages/gateway/RemoveComponentsCommand.d.ts +0 -23
  80. package/dist/_prebuild/messages/gateway/RemoveFilterMessage.d.ts +0 -18
  81. package/dist/_prebuild/messages/gateway/ResizeResponse.d.ts +0 -14
  82. package/dist/_prebuild/messages/gateway/ScreenSpaceRayQuery.d.ts +0 -29
  83. package/dist/_prebuild/messages/gateway/ScreenSpaceRayResult.d.ts +0 -16
  84. package/dist/_prebuild/messages/gateway/ScriptEvent.d.ts +0 -17
  85. package/dist/_prebuild/messages/gateway/SendSkeletonPoseMessage.d.ts +0 -28
  86. package/dist/_prebuild/messages/gateway/SessionAuth.d.ts +0 -8
  87. package/dist/_prebuild/messages/gateway/SetFilterMessage.d.ts +0 -19
  88. package/dist/_prebuild/messages/gateway/ToggleFilterMessage.d.ts +0 -19
  89. package/dist/_prebuild/messages/gateway/UpdateEntitiesFromBytesMessage.d.ts +0 -25
  90. package/dist/_prebuild/messages/gateway/UpdateEntitiesFromJsonMessage.d.ts +0 -23
  91. package/dist/_prebuild/messages/gateway/ViewportConfig.d.ts +0 -30
  92. package/dist/_prebuild/types/assets.d.ts +0 -23
  93. package/dist/sources/LivelinkCoreModule.d.ts +0 -39
  94. package/dist/sources/RequestHandler.d.ts +0 -47
  95. package/dist/sources/Serializer.d.ts +0 -34
  96. package/dist/sources/controllers/ActivityWatcher.d.ts +0 -42
  97. package/dist/sources/interfaces/ClientInterface.d.ts +0 -7
  98. package/dist/sources/interfaces/EntityInterface.d.ts +0 -9
  99. package/dist/sources/interfaces/SessionInterface.d.ts +0 -19
  100. package/dist/sources/interfaces/index.d.ts +0 -3
  101. /package/dist/sources/{types/constants.d.ts → constants.d.ts} +0 -0
package/README.md CHANGED
@@ -1,26 +1,70 @@
1
- # Livelink protocol v1.0
1
+ # Livelink Core Library
2
2
 
3
- ## Exposed types
3
+ [![npm version](https://badge.fury.io/js/@3dverse%2Flivelink.core.svg)](https://badge.fury.io/js/@3dverse%2Flivelink.core)
4
4
 
5
- ### Interfaces
5
+ ## Overview
6
6
 
7
- - Session
8
- - Client
9
- - Entity
7
+ The **Livelink protocol** enables communication between a client and a 3dverse server using a message-based, binary format. This protocol evolves alongside server updates, necessitating a dynamically loaded implementation rather than embedding it directly in client applications.
10
8
 
11
- ### Types
9
+ This package, the **Livelink Core library**, provides:
12
10
 
13
- - UUID
14
- - RTID
15
- - Math
11
+ - Minimal code to dynamically load the full library from a CDN.
12
+ - TypeScript type definitions for protocol integration.
16
13
 
17
- ### Messages
14
+ ## How It Works
18
15
 
19
- - Gateway
20
- - Editor
21
- - Enums
16
+ The **Livelink Core library** package primarily offers TypeScript type definitions. The only functional code it includes is the `DynamicLoader` module, which dynamically retrieves the remaining library code from the CDN.
22
17
 
23
- ### Core
18
+ ### Key Features:
24
19
 
25
- - LivelinkCore
26
- - ComponentSerializer
20
+ - Always loads an up-to-date version of the Livelink protocol.
21
+ - Ensures **forward compatibility** for all client applications.
22
+
23
+ By dynamically loading the library, this system guarantees smooth communication with the server, regardless of server-side updates.
24
+
25
+ ## Usage
26
+
27
+ > **⚠ Warning: This library is not meant for direct use.**
28
+ > Refer to the [@3dverse/livelink](https://www.npmjs.com/package/@3dverse/livelink) package for a practical implementation.
29
+
30
+ ### Installation
31
+
32
+ To install the package, run:
33
+
34
+ ```bash
35
+ npm install @3dverse/livelink.core
36
+ ```
37
+
38
+ ### Loading the Library
39
+
40
+ Import the DynamicLoader module:
41
+
42
+ ```typescript
43
+ import { DynamicLoader } from "@3dverse/livelink.core";
44
+ ```
45
+
46
+ Before using any other features, call the load static method:
47
+
48
+ ```typescript
49
+ await DynamicLoader.load();
50
+ ```
51
+
52
+ ### Using the Core
53
+
54
+ Once the library is loaded, create a new instance of the core using the `Core()` static method:
55
+
56
+ ```typescript
57
+ const core = new DynamicLoader.Core();
58
+ ```
59
+
60
+ This instance contains the full implementation of the Livelink protocol.
61
+
62
+ ## Protocol
63
+
64
+ A formal specification of the Livelink protocol is not yet published. The protocol primarily revolves around:
65
+
66
+ - Commands: Instructions sent to the server.
67
+ - Queries: Requests for information addressed to the server.
68
+ - Events: Notifications received from the server.
69
+
70
+ Stay tuned for updates as the protocol evolves.
@@ -3,32 +3,4 @@
3
3
  * This file has been generated automatically from its AsyncAPI spec file.
4
4
  * See : https://gitlab.com/3dverse/platform/libs/js/asyncapi-server-generator
5
5
  */
6
- import { EditorMessageHandler } from "./EditorMessageHandler";
7
- /**
8
- * Holds the connection to the Livelink Broadcast & Persistence server.
9
- */
10
- export declare class EditorConnection {
11
- #private;
12
- /**
13
- * Constructs a connection linked to the specified message handler.
14
- */
15
- constructor({ handler }: {
16
- handler: EditorMessageHandler;
17
- });
18
- /**
19
- * Opens a connection to the Livelink server.
20
- */
21
- connect({ livelink_url }: {
22
- livelink_url: string;
23
- }): Promise<void>;
24
- /**
25
- *
26
- */
27
- send({ data }: {
28
- data: ArrayBufferLike | string;
29
- }): void;
30
- /**
31
- *
32
- */
33
- disconnect(): void;
34
- }
6
+ export {};
@@ -1,139 +1 @@
1
- import { RTID, UUID } from "../sources/types";
2
- import { EntityInterface } from "../sources/interfaces/EntityInterface";
3
- import { ConnectConfirmation, EditorEntity, EntityCreationCoreOptions, EntityUpdatedEvent, EntityVisibilityChangedEvent, UpdateComponentsCommand } from "./messages/editor";
4
- import { ComponentType } from "./types/components";
5
- /**
6
- * This follows the Livelink protocol specifications for the broker messages.
7
- */
8
- export declare class EditorMessageHandler extends EventTarget {
9
- #private;
10
- /**
11
- *
12
- */
13
- protected _client_id: UUID | null;
14
- /**
15
- *
16
- */
17
- get client_id(): string | null;
18
- /**
19
- *
20
- */
21
- protected _connect({ livelink_url }: {
22
- livelink_url: string;
23
- }): void;
24
- /**
25
- *
26
- */
27
- protected _disconnect(): void;
28
- /**
29
- *
30
- */
31
- spawnEntity({ entity, options }: {
32
- entity: EntityInterface;
33
- options?: EntityCreationCoreOptions;
34
- }): Promise<EditorEntity[]>;
35
- /**
36
- *
37
- */
38
- createEntities({ entities, options }: {
39
- entities: Array<EntityInterface>;
40
- options?: EntityCreationCoreOptions;
41
- }): Promise<EditorEntity[]>;
42
- onEntitiesCreated(data: Array<EditorEntity>): void;
43
- /**
44
- *
45
- */
46
- attachComponents(): void;
47
- /**
48
- *
49
- */
50
- updateComponents(data: UpdateComponentsCommand): void;
51
- /**
52
- *
53
- */
54
- findEntitiesByEUID({ entity_uuid }: {
55
- entity_uuid: UUID;
56
- }): Promise<Array<EditorEntity>>;
57
- onFindEntitiesByEUID(data: Array<EditorEntity>): void;
58
- /**
59
- *
60
- */
61
- getEntity({ entity_uuid, linkage }: {
62
- entity_uuid: UUID;
63
- linkage: Array<UUID>;
64
- }): Promise<EditorEntity | null>;
65
- onGetEntity(data: EditorEntity | null): void;
66
- /**
67
- *
68
- */
69
- onConnectConfirmation({ connect_confirmation }: {
70
- connect_confirmation: ConnectConfirmation;
71
- }): void;
72
- /**
73
- *
74
- */
75
- retrieveChildren({ entity_rtid }: {
76
- entity_rtid: RTID;
77
- }): Promise<Record<string, EditorEntity>>;
78
- onRetrieveChildren(data: Record<string, EditorEntity>): void;
79
- /**
80
- *
81
- */
82
- findEntitiesWithComponents({ mandatory_components, forbidden_components, }: {
83
- mandatory_components: Array<ComponentType>;
84
- forbidden_components?: Array<ComponentType>;
85
- }): Promise<Record<string, EditorEntity>>;
86
- onFindEntitiesWithComponents(data: Record<string, EditorEntity>): void;
87
- /**
88
- *
89
- */
90
- resolveAncestors({ entity_rtid }: {
91
- entity_rtid: RTID;
92
- }): Promise<Array<EditorEntity>>;
93
- onResolveAncestors(data: Array<EditorEntity>): void;
94
- /**
95
- *
96
- */
97
- findEntitiesByNames({ entity_names }: {
98
- entity_names: Array<String>;
99
- }): Promise<Array<EditorEntity>>;
100
- /**
101
- *
102
- */
103
- setEntityVisibility({ entity_rtid, is_visible }: {
104
- entity_rtid: RTID;
105
- is_visible: boolean;
106
- }): void;
107
- onFindEntitiesByNames(data: Record<string, EditorEntity>): void;
108
- /**
109
- *
110
- */
111
- onFilterEntities(data: any): void;
112
- onExportEntityToScene(data: any): void;
113
- onNextUndoRedo(data: any): void;
114
- onClientColor(data: any): void;
115
- onSceneStatsUpdate(data: any): void;
116
- onServerError(data: any): void;
117
- onCreateEntity(data: any): void;
118
- onCreateEntities(data: any): void;
119
- onRestoreEntities(data: any): void;
120
- onSpawnEntity(data: any): void;
121
- onEntityReparented(data: any): void;
122
- deleteEntities({ entity_uuids }: {
123
- entity_uuids: Array<UUID>;
124
- }): Promise<Array<UUID>>;
125
- onEntitiesDeleted(data: Array<UUID>): void;
126
- onEntityVisibilityChanged(data: EntityVisibilityChangedEvent): void;
127
- onActionError(data: any): void;
128
- onAttachComponents(data: any): void;
129
- onUpdateComponents(emitter_id: UUID | null, entitiesUpdatedEvent: Record<UUID, EntityUpdatedEvent>): void;
130
- onDetachComponents(data: any): void;
131
- onDeleteEntities(data: any): void;
132
- onDeleteEntitiesWithRtid(data: any): void;
133
- onReparentEntity(data: any): void;
134
- onEntitiesOverridden(data: any): void;
135
- onUpdateSettings(data: any): void;
136
- onSelectEntities(data: any): void;
137
- onSetEntityVisibility(data: any): void;
138
- onUnhandledMessage(type: string, data: any): void;
139
- }
1
+ export {};
@@ -3,61 +3,4 @@
3
3
  * This file has been generated automatically from its AsyncAPI spec file.
4
4
  * See : https://gitlab.com/3dverse/platform/libs/js/asyncapi-server-generator
5
5
  */
6
- import { GatewayMessageHandler } from "./GatewayMessageHandler";
7
- /**
8
- * Holds the connection to the cluster gateway hosting the renderer and the viewer handling the
9
- * session.
10
- *
11
- * ┌─────────┬──────────────┐
12
- * │ │ │
13
- * │ │ ┌──────────┐ │
14
- * │ │ │ Renderer │ │
15
- * │ │ └─────┬────┘ │
16
- * ┌────────┐ │ │ │ │
17
- * │ Client │◄──────► Gateway ◄───────┤ │
18
- * └────────┘ │ │ │ │
19
- * ▲ │ │ ┌────┴───┐ │
20
- * | │ │ │ Viewer │ │
21
- * GatewayConnection │ │ └────────┘ │
22
- * │ │ │
23
- * └─────────┴──────────────┘
24
- *
25
- * Responsibilities of this class are threefold:
26
- * - Open, maintain, and handle any error in the connection to the gateway.
27
- *
28
- * - Apply the authentication protocol when the first message is received.
29
- * Note that initiating the authentication doesn't fall under this class's purview.
30
- *
31
- * - Demultiplex messages following the gateway Livelink Protocol.
32
- * It is only responsible for deserializing the multiplexer binary header data according to the
33
- * Livelink protocol specifications; in no case is it supposed to apply any kind of logic beyond
34
- * routing messages to the appropriate handler.
35
- */
36
- export declare class GatewayConnection {
37
- #private;
38
- /**
39
- * Constructs a connection linked to the specified message handler.
40
- */
41
- constructor({ handler }: {
42
- handler: GatewayMessageHandler;
43
- });
44
- /**
45
- * Opens a connection to the gateway.
46
- *
47
- * @throws {Error} Socket errors
48
- */
49
- connect({ gateway_url }: {
50
- gateway_url: string;
51
- }): Promise<void>;
52
- /**
53
- *
54
- */
55
- send({ data, is_heart_beat }: {
56
- data: ArrayBufferLike | string;
57
- is_heart_beat?: boolean;
58
- }): void;
59
- /**
60
- *
61
- */
62
- disconnect(): void;
63
- }
6
+ export {};
@@ -3,197 +3,4 @@
3
3
  * This file has been generated automatically from its AsyncAPI spec file.
4
4
  * See : https://gitlab.com/3dverse/platform/libs/js/asyncapi-server-generator
5
5
  */
6
- import { AssignClientToScriptMessage, AuthenticationResponse, ClientConfig, ClientConfigResponse, FireEventMessage, HighlightEntitiesMessage, InputState, RemoveComponentsCommand, RemoveFilterMessage, ResizeResponse, ScreenSpaceRayQuery, ScreenSpaceRayResult, SessionAuth, SetFilterMessage, SkeletonPoseMessage, ToggleFilterMessage, UpdateEntitiesFromBytesMessage, UpdateEntitiesFromJsonMessage, ViewportConfigs } from "./messages/gateway";
7
- import { UUID, Vec2ui16, GatewayDisconnectedReason } from "../sources/types";
8
- /**
9
- * Message handlers interface.
10
- * This follows the Livelink protocol specifications for the gateway messages.
11
- */
12
- export declare class GatewayMessageHandler extends EventTarget {
13
- #private;
14
- /**
15
- * Opens the connection to the specified gateway.
16
- */
17
- protected _connect({ gateway_url }: {
18
- gateway_url: string;
19
- }): Promise<void>;
20
- /**
21
- * Closes any ongoing connection with the gateway.
22
- */
23
- protected _disconnect(): void;
24
- /**
25
- *
26
- */
27
- _onConnected(): void;
28
- /**
29
- *
30
- */
31
- _onDisconnected({ reason }: {
32
- reason: GatewayDisconnectedReason;
33
- }): void;
34
- /**
35
- *
36
- */
37
- _onMessageSent(is_heart_beat?: boolean): void;
38
- /***************************************************************************
39
- * AUTHENTICATION (0)
40
- **************************************************************************/
41
- /**
42
- * Request
43
- */
44
- authenticateClient({ session_auth }: {
45
- session_auth: SessionAuth;
46
- }): Promise<AuthenticationResponse>;
47
- /**
48
- * Reply
49
- */
50
- _on_authenticateClient_response({ data_view }: {
51
- data_view: DataView;
52
- }): void;
53
- /***************************************************************************
54
- * HEARTBEAT (11)
55
- **************************************************************************/
56
- /**
57
- * Request
58
- */
59
- pulseHeartbeat(): Promise<void>;
60
- /**
61
- * Reply
62
- */
63
- _on_pulseHeartbeat_response(): void;
64
- /***************************************************************************
65
- * REGISTRATION (1)
66
- **************************************************************************/
67
- /**
68
- * Request
69
- */
70
- configureClient(client_config: ClientConfig): Promise<ClientConfigResponse>;
71
- /**
72
- * Reply
73
- */
74
- _on_configureClient_response({ data_view }: {
75
- data_view: DataView;
76
- }): void;
77
- /***************************************************************************
78
- * INPUTS (2)
79
- **************************************************************************/
80
- /**
81
- * Send
82
- */
83
- sendInputState(input_state: InputState): void;
84
- /***************************************************************************
85
- * VIDEO STREAM (3)
86
- **************************************************************************/
87
- /**
88
- * Receive
89
- */
90
- _onFrameReceived({ data_view }: {
91
- data_view: DataView;
92
- }): void;
93
- /***************************************************************************
94
- * VIEWER CONTROL (4)
95
- **************************************************************************/
96
- /**
97
- * Send
98
- */
99
- setViewports({ viewport_configs }: {
100
- viewport_configs: ViewportConfigs;
101
- }): void;
102
- /**
103
- * Send
104
- */
105
- resume(): void;
106
- /**
107
- * Send
108
- */
109
- suspend(): void;
110
- /**
111
- * Request
112
- */
113
- resize({ size }: {
114
- size: Vec2ui16;
115
- }): Promise<ResizeResponse>;
116
- /**
117
- * Reply
118
- */
119
- _on_resize_response({ data_view }: {
120
- data_view: DataView;
121
- }): void;
122
- /***************************************************************************
123
- * CLIENT REMOTE OPERATIONS (5)
124
- **************************************************************************/
125
- /**
126
- * Request
127
- */
128
- castScreenSpaceRay(screenSpaceRayQuery: ScreenSpaceRayQuery): Promise<ScreenSpaceRayResult>;
129
- /**
130
- * Send
131
- */
132
- highlightEntities(highlightEntitiesMessage: HighlightEntitiesMessage): void;
133
- /**
134
- * Reply
135
- */
136
- _on_clientRemoteOperation_response({ client_id, request_id, size, data_view, }: {
137
- client_id: UUID;
138
- request_id: number;
139
- size: number;
140
- data_view: DataView;
141
- }): void;
142
- /***************************************************************************
143
- * EDITOR REMOTE OPERATIONS (6)
144
- **************************************************************************/
145
- /**
146
- * Send
147
- */
148
- fireEvent(fireEventMessage: FireEventMessage): void;
149
- /**
150
- * Send
151
- */
152
- sendSkeletonPose(sendSkeletonPoseMessage: SkeletonPoseMessage): void;
153
- /**
154
- * Send
155
- */
156
- assignClientToScript(assignClientToScriptMessage: AssignClientToScriptMessage): void;
157
- /**
158
- * Send
159
- */
160
- updateEntitiesFromBytes(updateEntitiesFromBytesMessage: UpdateEntitiesFromBytesMessage): void;
161
- /**
162
- * Send
163
- */
164
- updateEntitiesFromJson(updateEntitiesFromJsonMessage: UpdateEntitiesFromJsonMessage): void;
165
- /**
166
- * Send
167
- */
168
- removeComponents(removeComponentsCommand: RemoveComponentsCommand): void;
169
- /**
170
- * Send
171
- */
172
- setFilter(setFilterMessage: SetFilterMessage): void;
173
- /**
174
- * Send
175
- */
176
- toggleFilter(toggleFilterMessage: ToggleFilterMessage): void;
177
- /**
178
- * Send
179
- */
180
- removeFilter(removeFilterMessage: RemoveFilterMessage): void;
181
- /***************************************************************************
182
- * SCRIPT EVENTS (14)
183
- **************************************************************************/
184
- /**
185
- * Receive
186
- */
187
- _onScriptEventReceived({ data_view }: {
188
- data_view: DataView;
189
- }): void;
190
- /***************************************************************************
191
- * ASSET LOADING EVENT (15)
192
- **************************************************************************/
193
- /**
194
- * Receive
195
- */
196
- _onAssetLoadingEventReceived({ data_view }: {
197
- data_view: DataView;
198
- }): void;
199
- }
6
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE MANUALLY.
3
+ * This file has been generated automatically from ftl-schemas
4
+ */
5
+ export {};