@3dverse/livelink.core 0.1.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/LICENSE +4 -0
- package/README.md +81 -0
- package/dist/_prebuild/EditorConnection.d.ts +54 -0
- package/dist/_prebuild/EditorConnection.d.ts.map +1 -0
- package/dist/_prebuild/EditorMessageHandler.d.ts +102 -0
- package/dist/_prebuild/EditorMessageHandler.d.ts.map +1 -0
- package/dist/_prebuild/GatewayConnection.d.ts +63 -0
- package/dist/_prebuild/GatewayConnection.d.ts.map +1 -0
- package/dist/_prebuild/GatewayMessageHandler.d.ts +179 -0
- package/dist/_prebuild/GatewayMessageHandler.d.ts.map +1 -0
- package/dist/_prebuild/enums.d.ts +4 -0
- package/dist/_prebuild/enums.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/ConnectConfirmation.d.ts +55 -0
- package/dist/_prebuild/messages/editor/ConnectConfirmation.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/EditorEntity.d.ts +27 -0
- package/dist/_prebuild/messages/editor/EditorEntity.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/EntityCreationOptions.d.ts +7 -0
- package/dist/_prebuild/messages/editor/EntityCreationOptions.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/EntityUpdatedEvent.d.ts +8 -0
- package/dist/_prebuild/messages/editor/EntityUpdatedEvent.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/UpdateComponentsCommand.d.ts +7 -0
- package/dist/_prebuild/messages/editor/UpdateComponentsCommand.d.ts.map +1 -0
- package/dist/_prebuild/messages/editor/index.d.ts +6 -0
- package/dist/_prebuild/messages/editor/index.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/AssignClientToScriptMessage.d.ts +22 -0
- package/dist/_prebuild/messages/gateway/AssignClientToScriptMessage.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/AuthenticationResponse.d.ts +32 -0
- package/dist/_prebuild/messages/gateway/AuthenticationResponse.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ClientConfig.d.ts +38 -0
- package/dist/_prebuild/messages/gateway/ClientConfig.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ClientConfigResponse.d.ts +17 -0
- package/dist/_prebuild/messages/gateway/ClientConfigResponse.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/FireEventMessage.d.ts +23 -0
- package/dist/_prebuild/messages/gateway/FireEventMessage.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/FrameData.d.ts +48 -0
- package/dist/_prebuild/messages/gateway/FrameData.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/HighlightEntitiesMessage.d.ts +23 -0
- package/dist/_prebuild/messages/gateway/HighlightEntitiesMessage.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/InputState.d.ts +23 -0
- package/dist/_prebuild/messages/gateway/InputState.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/RemoveComponentsCommand.d.ts +24 -0
- package/dist/_prebuild/messages/gateway/RemoveComponentsCommand.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ResizeResponse.d.ts +15 -0
- package/dist/_prebuild/messages/gateway/ResizeResponse.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ScreenSpaceRayQuery.d.ts +30 -0
- package/dist/_prebuild/messages/gateway/ScreenSpaceRayQuery.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ScreenSpaceRayResult.d.ts +17 -0
- package/dist/_prebuild/messages/gateway/ScreenSpaceRayResult.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ScriptEvent.d.ts +18 -0
- package/dist/_prebuild/messages/gateway/ScriptEvent.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/SessionAuth.d.ts +9 -0
- package/dist/_prebuild/messages/gateway/SessionAuth.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/UpdateAnimationSequenceStateMessage.d.ts +26 -0
- package/dist/_prebuild/messages/gateway/UpdateAnimationSequenceStateMessage.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/UpdateEntitiesFromJsonMessage.d.ts +24 -0
- package/dist/_prebuild/messages/gateway/UpdateEntitiesFromJsonMessage.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/ViewportConfig.d.ts +24 -0
- package/dist/_prebuild/messages/gateway/ViewportConfig.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/enums.d.ts +120 -0
- package/dist/_prebuild/messages/gateway/enums.d.ts.map +1 -0
- package/dist/_prebuild/messages/gateway/index.d.ts +18 -0
- package/dist/_prebuild/messages/gateway/index.d.ts.map +1 -0
- package/dist/_prebuild/types/assets.d.ts +24 -0
- package/dist/_prebuild/types/assets.d.ts.map +1 -0
- package/dist/_prebuild/types/components.d.ts +950 -0
- package/dist/_prebuild/types/components.d.ts.map +1 -0
- package/dist/sources/ComponentSerializer.d.ts +20 -0
- package/dist/sources/ComponentSerializer.d.ts.map +1 -0
- package/dist/sources/LivelinkCore.d.ts +161 -0
- package/dist/sources/LivelinkCore.d.ts.map +1 -0
- package/dist/sources/RequestHandler.d.ts +48 -0
- package/dist/sources/RequestHandler.d.ts.map +1 -0
- package/dist/sources/controllers/EditorController.d.ts +22 -0
- package/dist/sources/controllers/EditorController.d.ts.map +1 -0
- package/dist/sources/controllers/GatewayController.d.ts +31 -0
- package/dist/sources/controllers/GatewayController.d.ts.map +1 -0
- package/dist/sources/index.d.ts +11 -0
- package/dist/sources/index.d.ts.map +1 -0
- package/dist/sources/interfaces/ClientInterface.d.ts +8 -0
- package/dist/sources/interfaces/ClientInterface.d.ts.map +1 -0
- package/dist/sources/interfaces/EntityInterface.d.ts +8 -0
- package/dist/sources/interfaces/EntityInterface.d.ts.map +1 -0
- package/dist/sources/interfaces/SessionInterface.d.ts +20 -0
- package/dist/sources/interfaces/SessionInterface.d.ts.map +1 -0
- package/dist/sources/interfaces/index.d.ts +4 -0
- package/dist/sources/interfaces/index.d.ts.map +1 -0
- package/dist/sources/types/RTID.d.ts +24 -0
- package/dist/sources/types/RTID.d.ts.map +1 -0
- package/dist/sources/types/UUID.d.ts +24 -0
- package/dist/sources/types/UUID.d.ts.map +1 -0
- package/dist/sources/types/constants.d.ts +8 -0
- package/dist/sources/types/constants.d.ts.map +1 -0
- package/dist/sources/types/index.d.ts +5 -0
- package/dist/sources/types/index.d.ts.map +1 -0
- package/dist/sources/types/math.d.ts +87 -0
- package/dist/sources/types/math.d.ts.map +1 -0
- package/dist/sources/types/nativeTypes.d.ts +11 -0
- package/dist/sources/types/nativeTypes.d.ts.map +1 -0
- package/package.json +23 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RTID, UUID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type AssignClientToScriptMessage = {
|
|
6
|
+
client_uuid: UUID;
|
|
7
|
+
script_uuid: UUID;
|
|
8
|
+
entity_rtid: RTID;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* UUID_BYTE_SIZE * 2 + RTID_BYTE_SIZE;
|
|
12
|
+
*/
|
|
13
|
+
export declare const ASSIGN_CLIENT_TO_SCRIPT_MESSAGE_BYTE_SIZE: 36;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare function serialize_AssignClientToScriptMessage({ data_view, offset, assignClientToScriptMessage, }: {
|
|
18
|
+
data_view: DataView;
|
|
19
|
+
offset?: number;
|
|
20
|
+
assignClientToScriptMessage: AssignClientToScriptMessage;
|
|
21
|
+
}): number;
|
|
22
|
+
//# sourceMappingURL=AssignClientToScriptMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssignClientToScriptMessage.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/AssignClientToScriptMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,IAAI,EAAkD,MAAM,wBAAwB,CAAC;AAEpH;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACtC,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yCAAyC,IAAc,CAAC;AAErE;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,EAClD,SAAS,EACT,MAAU,EACV,2BAA2B,GAC9B,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B,EAAE,2BAA2B,CAAC;CAC5D,UAQA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UUID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AuthenticationStatus {
|
|
6
|
+
unknown_error = 0,
|
|
7
|
+
success = 1,
|
|
8
|
+
authentication_failed = 100,
|
|
9
|
+
session_not_found = 101,
|
|
10
|
+
session_closed = 102,
|
|
11
|
+
launcher_not_found = 200,
|
|
12
|
+
unknown_service = 201,
|
|
13
|
+
service_boot_error = 202,
|
|
14
|
+
invalid_request = 300,
|
|
15
|
+
duplicate_session = 301,
|
|
16
|
+
client_not_found = 400
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export type AuthenticationResponse = {
|
|
22
|
+
status: AuthenticationStatus;
|
|
23
|
+
client_id: UUID;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare function deserialize_AuthenticationResponse({ data_view, offset, }: {
|
|
29
|
+
data_view: DataView;
|
|
30
|
+
offset: number;
|
|
31
|
+
}): AuthenticationResponse;
|
|
32
|
+
//# sourceMappingURL=AuthenticationResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,wBAAwB,CAAC;AAGhE;;GAEG;AACH,oBAAY,oBAAoB;IAE5B,aAAa,IAAI;IACjB,OAAO,IAAI;IAEX,qBAAqB,MAAM;IAC3B,iBAAiB,MAAA;IACjB,cAAc,MAAA;IAEd,kBAAkB,MAAM;IACxB,eAAe,MAAA;IACf,kBAAkB,MAAA;IAElB,eAAe,MAAM;IACrB,iBAAiB,MAAA;IAEjB,gBAAgB,MAAM;CACzB;AAED;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,SAAS,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,EAC/C,SAAS,EACT,MAAM,GACT,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB,GAAG,sBAAsB,CAUzB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Vec2i } from "../../../sources/types";
|
|
2
|
+
import { CodecType } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export type ClientConfig = {
|
|
7
|
+
remote_canvas_size: Vec2i;
|
|
8
|
+
encoder_config: EncoderConfig;
|
|
9
|
+
supported_devices: SupportedDevices;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare enum EncodingProfile {
|
|
15
|
+
base = 0,
|
|
16
|
+
main = 1,
|
|
17
|
+
high = 2
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export type EncoderConfig = {
|
|
23
|
+
codec: CodecType;
|
|
24
|
+
profile: EncodingProfile;
|
|
25
|
+
frame_rate: number;
|
|
26
|
+
lossy: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export type SupportedDevices = {
|
|
32
|
+
keyboard: boolean;
|
|
33
|
+
mouse: boolean;
|
|
34
|
+
hololens: boolean;
|
|
35
|
+
gamepad: boolean;
|
|
36
|
+
touchscreen: boolean;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=ClientConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientConfig.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACvB,kBAAkB,EAAE,KAAK,CAAC;IAC1B,cAAc,EAAE,aAAa,CAAC;IAC9B,iBAAiB,EAAE,gBAAgB,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,oBAAY,eAAe;IACvB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;CACX;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CodecType } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type ClientConfigResponse = {
|
|
6
|
+
codec: CodecType;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export declare function deserialize_ClientConfigResponse({ data_view, offset }: {
|
|
12
|
+
data_view: DataView;
|
|
13
|
+
offset: number;
|
|
14
|
+
}): {
|
|
15
|
+
codec: number;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ClientConfigResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClientConfigResponse.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ClientConfigResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAAE,SAAS,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAC9G,KAAK,EAAE,MAAM,CAAC;CACjB,CAEA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RTID, UUID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type FireEventMessage = {
|
|
6
|
+
event_map_id: UUID;
|
|
7
|
+
event_name: string;
|
|
8
|
+
entities: Array<RTID>;
|
|
9
|
+
data_object: Record<string, unknown>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare function compute_FireEventMessage_size(fireEventMessage: FireEventMessage): number;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare function serialize_FireEventMessage({ data_view, offset, fireEventMessage, }: {
|
|
19
|
+
data_view: DataView;
|
|
20
|
+
offset?: number;
|
|
21
|
+
fireEventMessage: FireEventMessage;
|
|
22
|
+
}): number;
|
|
23
|
+
//# sourceMappingURL=FireEventMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FireEventMessage.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/FireEventMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,IAAI,EAAkC,MAAM,wBAAwB,CAAC;AAGpG;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,YAAY,EAAE,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,gBAAgB,EAAE,gBAAgB,UAS/E;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,SAAS,EACT,MAAU,EACV,gBAAgB,GACnB,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,gBAAgB,CAAC;CACtC,GAAG,MAAM,CAiBT"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Mat4, RTID, UUID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type FrameData = {
|
|
6
|
+
encoded_frame_size: number;
|
|
7
|
+
meta_data_size: number;
|
|
8
|
+
encoded_frame: DataView;
|
|
9
|
+
meta_data: FrameMetaData;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export type FrameMetaData = {
|
|
15
|
+
renderer_timestamp: number;
|
|
16
|
+
frame_counter: number;
|
|
17
|
+
clients: Array<ClientMetaData>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export type ClientMetaData = {
|
|
23
|
+
client_id: UUID;
|
|
24
|
+
viewports: Array<ViewportMetaData>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
type ViewportMetaData = {
|
|
30
|
+
camera_rtid: RTID;
|
|
31
|
+
ws_from_ls: Mat4;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare function deserialize_FrameData({ data_view, offset }: {
|
|
37
|
+
data_view: DataView;
|
|
38
|
+
offset?: number;
|
|
39
|
+
}): FrameData;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare function deserialize_FrameMetaData({ data_view, offset, }: {
|
|
44
|
+
data_view: DataView;
|
|
45
|
+
offset?: number;
|
|
46
|
+
}): FrameMetaData;
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=FrameData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FrameData.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/FrameData.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,IAAI,EACJ,IAAI,EAEJ,IAAI,EAIP,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,QAAQ,CAAC;IACxB,SAAS,EAAE,aAAa,CAAC;CAC5B,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,KAAK,gBAAgB,GAAG;IACpB,WAAW,EAAE,IAAI,CAAC;IAClB,UAAU,EAAE,IAAI,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,EAAE,MAAU,EAAE,EAAE;IAAE,SAAS,EAAE,QAAQ,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAkBpH;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,SAAS,EACT,MAAU,GACb,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,aAAa,CAoChB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RTID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type HighlightEntitiesMessage = {
|
|
6
|
+
entities: Array<RTID>;
|
|
7
|
+
keep_old_selection: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare function compute_HighlightEntitiesMessage_size({ highlightEntitiesMessage, }: {
|
|
13
|
+
highlightEntitiesMessage: HighlightEntitiesMessage;
|
|
14
|
+
}): number;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare function serialize_HighlightEntitiesMessage({ data_view, offset, highlightEntitiesMessage, }: {
|
|
19
|
+
data_view: DataView;
|
|
20
|
+
offset?: number;
|
|
21
|
+
highlightEntitiesMessage: HighlightEntitiesMessage;
|
|
22
|
+
}): number;
|
|
23
|
+
//# sourceMappingURL=HighlightEntitiesMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HighlightEntitiesMessage.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/HighlightEntitiesMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkC,MAAM,wBAAwB,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,EAClD,wBAAwB,GAC3B,EAAE;IACC,wBAAwB,EAAE,wBAAwB,CAAC;CACtD,GAAG,MAAM,CAET;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,EAC/C,SAAS,EACT,MAAU,EACV,wBAAwB,GAC3B,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB,EAAE,wBAAwB,CAAC;CACtD,GAAG,MAAM,CAST"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InputOperation } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type InputState = {
|
|
6
|
+
input_operation: InputOperation;
|
|
7
|
+
input_data?: Uint8Array;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare function compute_InputState_size({ input_state }: {
|
|
13
|
+
input_state: InputState;
|
|
14
|
+
}): number;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare function serialize_InputState({ data_view, offset, input_state, }: {
|
|
19
|
+
data_view: DataView;
|
|
20
|
+
offset?: number;
|
|
21
|
+
input_state: InputState;
|
|
22
|
+
}): number;
|
|
23
|
+
//# sourceMappingURL=InputState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputState.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/InputState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,eAAe,EAAE,cAAc,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,EAAE,UAAU,CAAA;CAAE,GAAG,MAAM,CAG5F;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,EACjC,SAAS,EACT,MAAU,EACV,WAAW,GACd,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,UAAU,CAAC;CAC3B,GAAG,MAAM,CAWT"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EntityInterface } from "../../../sources";
|
|
2
|
+
import { ComponentType } from "../../types/components";
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export type RemoveComponentsCommand = {
|
|
7
|
+
components: Array<{
|
|
8
|
+
component_type: ComponentType;
|
|
9
|
+
entities: Set<EntityInterface>;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function compute_RemoveComponentsCommand_size(removeComponentsCommand: RemoveComponentsCommand): number;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function serialize_RemoveComponentsCommand({ data_view, offset, removeComponentsCommand, }: {
|
|
20
|
+
data_view: DataView;
|
|
21
|
+
offset?: number;
|
|
22
|
+
removeComponentsCommand: RemoveComponentsCommand;
|
|
23
|
+
}): void;
|
|
24
|
+
//# sourceMappingURL=RemoveComponentsCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RemoveComponentsCommand.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/RemoveComponentsCommand.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAkC,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAiB,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,KAAK,CAAC;QAAE,cAAc,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAC,eAAe,CAAC,CAAA;KAAE,CAAC,CAAC;CACxF,CAAC;AAEF;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,uBAAuB,EAAE,uBAAuB,UAepG;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,EAC9C,SAAS,EACT,MAAU,EACV,uBAAuB,GAC1B,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uBAAuB,EAAE,uBAAuB,CAAC;CACpD,QA0BA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Vec2ui16 } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type ResizeResponse = {
|
|
6
|
+
size: Vec2ui16;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export declare function deserialize_ResizeResponse({ data_view, offset, }: {
|
|
12
|
+
data_view: DataView;
|
|
13
|
+
offset: number;
|
|
14
|
+
}): ResizeResponse;
|
|
15
|
+
//# sourceMappingURL=ResizeResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizeResponse.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ResizeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAwB,MAAM,wBAAwB,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,SAAS,EACT,MAAM,GACT,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB,GAAG,cAAc,CAEjB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RTID, Vec2 } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export declare enum HighlightMode {
|
|
6
|
+
None = 0,
|
|
7
|
+
HighlightAndKeepOldSelection = 1,
|
|
8
|
+
HighlightAndDiscardOldSelection = 2
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export type ScreenSpaceRayQuery = {
|
|
14
|
+
camera_rtid: RTID;
|
|
15
|
+
pos: Vec2;
|
|
16
|
+
mode: HighlightMode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 8 + 1 + 4
|
|
20
|
+
*/
|
|
21
|
+
export declare const SCREEN_SPACE_QUERY_BYTE_SIZE: 13;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function serialize_ScreenSpaceRayQuery({ data_view, offset, screenSpaceRayQuery, }: {
|
|
26
|
+
data_view: DataView;
|
|
27
|
+
offset?: number;
|
|
28
|
+
screenSpaceRayQuery: ScreenSpaceRayQuery;
|
|
29
|
+
}): number;
|
|
30
|
+
//# sourceMappingURL=ScreenSpaceRayQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenSpaceRayQuery.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ScreenSpaceRayQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,IAAI,EAAkC,MAAM,wBAAwB,CAAC;AAEpG;;GAEG;AACH,oBAAY,aAAa;IACrB,IAAI,IAAI;IACR,4BAA4B,IAAI;IAChC,+BAA+B,IAAI;CACtC;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,EAAE,IAAI,CAAC;IAClB,GAAG,EAAE,IAAI,CAAC;IACV,IAAI,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,IAAc,CAAC;AAExD;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,EAC1C,SAAS,EACT,MAAU,EACV,mBAAmB,GACtB,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,mBAAmB,CAAC;CAC5C,GAAG,MAAM,CAUT"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RTID, Vec3 } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type ScreenSpaceRayResult = {
|
|
6
|
+
entity_rtid: RTID;
|
|
7
|
+
position: Vec3;
|
|
8
|
+
normal: Vec3;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserialize_ScreenSpaceRayResult({ data_view, offset, }: {
|
|
14
|
+
data_view: DataView;
|
|
15
|
+
offset: number;
|
|
16
|
+
}): ScreenSpaceRayResult;
|
|
17
|
+
//# sourceMappingURL=ScreenSpaceRayResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenSpaceRayResult.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ScreenSpaceRayResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAsC,MAAM,wBAAwB,CAAC;AAExF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,WAAW,EAAE,IAAI,CAAC;IAClB,QAAQ,EAAE,IAAI,CAAC;IACf,MAAM,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,EAC7C,SAAS,EACT,MAAM,GACT,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAClB,GAAG,oBAAoB,CAMvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RTID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type ScriptEvent = {
|
|
6
|
+
emitter_rtid: RTID;
|
|
7
|
+
event_name: string;
|
|
8
|
+
entity_rtids: Array<RTID>;
|
|
9
|
+
data_object: Record<string, object>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserialize_ScriptEvent({ data_view, offset, }: {
|
|
15
|
+
data_view: DataView;
|
|
16
|
+
offset?: number;
|
|
17
|
+
}): ScriptEvent;
|
|
18
|
+
//# sourceMappingURL=ScriptEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptEvent.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ScriptEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,wBAAwB,CAAC;AAGhE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,YAAY,EAAE,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,SAAS,EACT,MAAU,GACb,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAiCd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionAuth.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/SessionAuth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RTID, UUID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type UpdateAnimationSequenceStateMessage = {
|
|
6
|
+
linker_rtid: RTID;
|
|
7
|
+
animation_sequence_id: UUID;
|
|
8
|
+
state: 0 | 1;
|
|
9
|
+
playback_speed: number;
|
|
10
|
+
seek_offset?: number;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function comppute_UpdateAnimationSequenceStateMessage_size({ updateAnimationSequenceStateMessage, }: {
|
|
16
|
+
updateAnimationSequenceStateMessage: UpdateAnimationSequenceStateMessage;
|
|
17
|
+
}): number;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare function serialize_UpdateAnimationSequenceStateMessage({ data_view, offset, updateAnimationSequenceStateMessage, }: {
|
|
22
|
+
data_view: DataView;
|
|
23
|
+
offset?: number;
|
|
24
|
+
updateAnimationSequenceStateMessage: UpdateAnimationSequenceStateMessage;
|
|
25
|
+
}): number;
|
|
26
|
+
//# sourceMappingURL=UpdateAnimationSequenceStateMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateAnimationSequenceStateMessage.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/UpdateAnimationSequenceStateMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,IAAI,EAAkD,MAAM,wBAAwB,CAAC;AAGpH;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAC9C,WAAW,EAAE,IAAI,CAAC;IAClB,qBAAqB,EAAE,IAAI,CAAC;IAC5B,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,wBAAgB,iDAAiD,CAAC,EAC9D,mCAAmC,GACtC,EAAE;IACC,mCAAmC,EAAE,mCAAmC,CAAC;CAC5E,GAAG,MAAM,CAGT;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,EAC1D,SAAS,EACT,MAAU,EACV,mCAAmC,GACtC,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC,EAAE,mCAAmC,CAAC;CAC5E,GAAG,MAAM,CAcT"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EntityInterface } from "../../../sources/interfaces/EntityInterface";
|
|
2
|
+
import { ComponentType } from "../../types/components";
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export type UpdateEntitiesFromJsonMessage = {
|
|
7
|
+
components: Array<{
|
|
8
|
+
component_type: ComponentType;
|
|
9
|
+
entities: Set<EntityInterface>;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function compute_UpdateEntitiesFromJsonMessage_size(updateEntitiesFromJsonMessage: UpdateEntitiesFromJsonMessage): number;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function serialize_UpdateEntitiesFromJsonMessage({ data_view, offset, updateEntitiesFromJsonMessage, }: {
|
|
20
|
+
data_view: DataView;
|
|
21
|
+
offset?: number;
|
|
22
|
+
updateEntitiesFromJsonMessage: UpdateEntitiesFromJsonMessage;
|
|
23
|
+
}): void;
|
|
24
|
+
//# sourceMappingURL=UpdateEntitiesFromJsonMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateEntitiesFromJsonMessage.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/UpdateEntitiesFromJsonMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAiB,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IACxC,UAAU,EAAE,KAAK,CAAC;QACd,cAAc,EAAE,aAAa,CAAC;QAC9B,QAAQ,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;KAClC,CAAC,CAAC;CACN,CAAC;AAEF;;GAEG;AACH,wBAAgB,0CAA0C,CACtD,6BAA6B,EAAE,6BAA6B,UAuB/D;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,EACpD,SAAS,EACT,MAAU,EACV,6BAA6B,GAChC,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6BAA6B,EAAE,6BAA6B,CAAC;CAChE,QAyCA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RTID } from "../../../sources/types";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export type ViewportConfig = {
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
camera_rtid: RTID;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const VIEWPORT_CONFIG_BYTE_SIZE: 20;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function serialize_ViewportConfig({ data_view, offset, viewportConfig, }: {
|
|
20
|
+
data_view: DataView;
|
|
21
|
+
offset: number;
|
|
22
|
+
viewportConfig: ViewportConfig;
|
|
23
|
+
}): number;
|
|
24
|
+
//# sourceMappingURL=ViewportConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewportConfig.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/ViewportConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAkB,MAAM,wBAAwB,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,IAAc,CAAC;AAErD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACrC,SAAS,EACT,MAAM,EACN,cAAc,GACjB,EAAE;IACC,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;CAClC,GAAG,MAAM,CAiBT"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ChannelId {
|
|
5
|
+
authentication = 0,
|
|
6
|
+
registration = 1,
|
|
7
|
+
video_stream = 2,
|
|
8
|
+
inputs = 3,
|
|
9
|
+
viewer_control = 4,
|
|
10
|
+
client_remote_operations = 5,
|
|
11
|
+
editor_remote_operations = 6,
|
|
12
|
+
DEPRECATED__camera_sharing = 7,
|
|
13
|
+
broadcast_clients = 8,
|
|
14
|
+
broadcast_video_stream = 9,
|
|
15
|
+
DEPRECATED__spatial_anchor = 10,
|
|
16
|
+
heartbeat = 11,
|
|
17
|
+
video_stream_header = 12,
|
|
18
|
+
audio_stream = 13,
|
|
19
|
+
broadcast_script_events = 14,
|
|
20
|
+
asset_loading_events = 15,
|
|
21
|
+
gpu_memory_profiler = 16
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare enum ClientRemoteOperation {
|
|
27
|
+
asset_loading_status = 0,
|
|
28
|
+
DEPRECATED__update_ar_cameras = 1,
|
|
29
|
+
create_controller = 2,
|
|
30
|
+
cast_screen_space_ray = 3,
|
|
31
|
+
select_entities = 4,
|
|
32
|
+
set_controllers_state = 5,
|
|
33
|
+
delete_controller = 6,
|
|
34
|
+
update_action_map = 7,
|
|
35
|
+
update_selection_color = 8,
|
|
36
|
+
update_camera_controller_settings = 9,
|
|
37
|
+
physics_raycast = 10
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare enum ViewerControlOperation {
|
|
43
|
+
resize = 0,
|
|
44
|
+
DEPRECATED_update_action_map = 1,
|
|
45
|
+
suspend = 2,
|
|
46
|
+
resume = 3,
|
|
47
|
+
encoder_params = 4,
|
|
48
|
+
set_viewports = 5
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export declare enum CodecType {
|
|
54
|
+
h264 = 0,
|
|
55
|
+
h264rgb = 1,
|
|
56
|
+
h265 = 2
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare enum InputOperation {
|
|
62
|
+
reset = 0,
|
|
63
|
+
lbutton_down = 1,
|
|
64
|
+
mbutton_down = 2,
|
|
65
|
+
rbutton_down = 3,
|
|
66
|
+
lbutton_up = 4,
|
|
67
|
+
mbutton_up = 5,
|
|
68
|
+
rbutton_up = 6,
|
|
69
|
+
mouse_move = 7,
|
|
70
|
+
on_key_down = 8,
|
|
71
|
+
on_key_up = 9,
|
|
72
|
+
resize = 10,
|
|
73
|
+
disconnect = 11,
|
|
74
|
+
touch_start = 12,
|
|
75
|
+
touch_end = 13,
|
|
76
|
+
touch_move = 14,
|
|
77
|
+
touch_pinch_start = 15,
|
|
78
|
+
touch_pinch_move = 16,
|
|
79
|
+
window_resized = 17,
|
|
80
|
+
send_camera = 18,
|
|
81
|
+
input_resolution = 19,
|
|
82
|
+
cam_matrix = 20,
|
|
83
|
+
projection_matrix = 21,
|
|
84
|
+
wheel = 22,
|
|
85
|
+
hololens_tap = 23,
|
|
86
|
+
scene_info = 24,
|
|
87
|
+
scene_uuid = 25,
|
|
88
|
+
gamepad_axis = 26,
|
|
89
|
+
gamepad_buttons = 27,
|
|
90
|
+
mouse_move_delta = 28,
|
|
91
|
+
touch_pinch_end = 29,
|
|
92
|
+
headset_move = 30
|
|
93
|
+
}
|
|
94
|
+
export declare enum EditorRemoteOperation {
|
|
95
|
+
update_config = 0,
|
|
96
|
+
create_entity = 1,
|
|
97
|
+
reparent_entity = 2,
|
|
98
|
+
update_entities_from_bytes = 3,
|
|
99
|
+
remove_components = 4,
|
|
100
|
+
delete_entities = 5,
|
|
101
|
+
set_visibility = 6,
|
|
102
|
+
update_material = 7,
|
|
103
|
+
update_volume_material = 8,
|
|
104
|
+
DEPRECATED__update_data_object = 9,
|
|
105
|
+
reload_asset = 10,
|
|
106
|
+
fire_event = 11,
|
|
107
|
+
update_script_data_object = 12,
|
|
108
|
+
DEPRECATED__update_render_graph_data_object = 13,
|
|
109
|
+
reload_shaders = 14,
|
|
110
|
+
update_entities_from_json = 15,
|
|
111
|
+
set_filter = 16,
|
|
112
|
+
remove_filter = 17,
|
|
113
|
+
toggle_filter = 18,
|
|
114
|
+
DEPRECATED__update_animation_controller_data_object = 19,
|
|
115
|
+
assign_client_uuid_to_script = 20,
|
|
116
|
+
update_animation_sequence_instance = 21,
|
|
117
|
+
remove_animation_sequence_instance = 22,
|
|
118
|
+
update_animation_sequence_state = 23
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS;IACjB,cAAc,IAAI;IAClB,YAAY,IAAI;IAChB,YAAY,IAAI;IAChB,MAAM,IAAI;IACV,cAAc,IAAI;IAClB,wBAAwB,IAAI;IAC5B,wBAAwB,IAAI;IAC5B,0BAA0B,IAAI;IAC9B,iBAAiB,IAAI;IACrB,sBAAsB,IAAI;IAC1B,0BAA0B,KAAK;IAC/B,SAAS,KAAK;IACd,mBAAmB,KAAK;IACxB,YAAY,KAAK;IACjB,uBAAuB,KAAK;IAC5B,oBAAoB,KAAK;IACzB,mBAAmB,KAAK;CAC3B;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC7B,oBAAoB,IAAI;IACxB,6BAA6B,IAAI;IACjC,iBAAiB,IAAI;IACrB,qBAAqB,IAAI;IACzB,eAAe,IAAI;IACnB,qBAAqB,IAAI;IACzB,iBAAiB,IAAI;IACrB,iBAAiB,IAAI;IACrB,sBAAsB,IAAI;IAC1B,iCAAiC,IAAI;IACrC,eAAe,KAAK;CACvB;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAC9B,MAAM,IAAI;IACV,4BAA4B,IAAI;IAChC,OAAO,IAAI;IACX,MAAM,IAAI;IACV,cAAc,IAAI;IAClB,aAAa,IAAI;CACpB;AAED;;GAEG;AACH,oBAAY,SAAS;IACjB,IAAI,IAAI;IACR,OAAO,IAAI;IACX,IAAI,IAAI;CACX;AAED;;GAEG;AACH,oBAAY,cAAc;IACtB,KAAK,IAAI;IACT,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,UAAU,IAAA;IACV,UAAU,IAAA;IACV,UAAU,IAAA;IACV,UAAU,IAAA;IACV,WAAW,IAAA;IACX,SAAS,IAAA;IACT,MAAM,KAAA;IACN,UAAU,KAAA;IACV,WAAW,KAAA;IACX,SAAS,KAAA;IACT,UAAU,KAAA;IACV,iBAAiB,KAAA;IACjB,gBAAgB,KAAA;IAChB,cAAc,KAAA;IACd,WAAW,KAAA;IACX,gBAAgB,KAAA;IAChB,UAAU,KAAA;IACV,iBAAiB,KAAA;IACjB,KAAK,KAAA;IACL,YAAY,KAAA;IACZ,UAAU,KAAA;IACV,UAAU,KAAA;IACV,YAAY,KAAA;IACZ,eAAe,KAAA;IACf,gBAAgB,KAAA;IAChB,eAAe,KAAA;IACf,YAAY,KAAA;CACf;AAED,oBAAY,qBAAqB;IAC7B,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,0BAA0B,IAAI;IAC9B,iBAAiB,IAAI;IACrB,eAAe,IAAI;IAEnB,cAAc,IAAI;IAElB,eAAe,IAAI;IACnB,sBAAsB,IAAI;IAC1B,8BAA8B,IAAI;IAClC,YAAY,KAAK;IACjB,UAAU,KAAK;IACf,yBAAyB,KAAK;IAC9B,2CAA2C,KAAK;IAChD,cAAc,KAAK;IACnB,yBAAyB,KAAK;IAE9B,UAAU,KAAK;IACf,aAAa,KAAK;IAClB,aAAa,KAAK;IAElB,mDAAmD,KAAK;IACxD,4BAA4B,KAAK;IAEjC,kCAAkC,KAAK;IACvC,kCAAkC,KAAK;IACvC,+BAA+B,KAAK;CACvC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./AssignClientToScriptMessage";
|
|
2
|
+
export * from "./AuthenticationResponse";
|
|
3
|
+
export * from "./ClientConfig";
|
|
4
|
+
export * from "./ClientConfigResponse";
|
|
5
|
+
export * from "./FireEventMessage";
|
|
6
|
+
export * from "./FrameData";
|
|
7
|
+
export * from "./HighlightEntitiesMessage";
|
|
8
|
+
export * from "./InputState";
|
|
9
|
+
export * from "./RemoveComponentsCommand";
|
|
10
|
+
export * from "./ResizeResponse";
|
|
11
|
+
export * from "./ScreenSpaceRayQuery";
|
|
12
|
+
export * from "./ScreenSpaceRayResult";
|
|
13
|
+
export * from "./ScriptEvent";
|
|
14
|
+
export * from "./SessionAuth";
|
|
15
|
+
export * from "./UpdateAnimationSequenceStateMessage";
|
|
16
|
+
export * from "./UpdateEntitiesFromJsonMessage";
|
|
17
|
+
export * from "./ViewportConfig";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../_prebuild/messages/gateway/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC"}
|