connected-spaces-platform.web 6.19.0 → 6.20.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/Debug/ConnectedSpacesPlatform_WASM.js +9 -21
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +15 -16
- package/connectedspacesplatform.js +29 -54
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +51 -119
- package/package.json +1 -1
|
Binary file
|
|
@@ -107,6 +107,17 @@ export declare namespace Common {
|
|
|
107
107
|
Invalid = 4
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
+
export declare namespace Common {
|
|
111
|
+
/**
|
|
112
|
+
* @description The SequenceSystem allows ordered sequences of items to be created and managed in a space.
|
|
113
|
+
* The HotspotSequenceSystem is a wrapper around the SequenceSystem that makes it easier to manage sequences of Hotspots.
|
|
114
|
+
* Sequences can therefore represent either default sequences, or hotspot sequences. This enum is used to differentiate the two types.
|
|
115
|
+
*/
|
|
116
|
+
enum ESequenceType {
|
|
117
|
+
Default = 0,
|
|
118
|
+
Hotspot = 1
|
|
119
|
+
}
|
|
120
|
+
}
|
|
110
121
|
export declare namespace Common {
|
|
111
122
|
/**
|
|
112
123
|
* @description Enum representing the type of a replicated value.
|
|
@@ -3478,20 +3489,6 @@ export declare namespace Common {
|
|
|
3478
3489
|
set eventValues(value: Common.Array<Common.ReplicatedValue>);
|
|
3479
3490
|
}
|
|
3480
3491
|
}
|
|
3481
|
-
export declare namespace Common {
|
|
3482
|
-
class HotspotSequenceChangedNetworkEventData extends NativeClassWrapper implements INativeResource {
|
|
3483
|
-
/** @internal */
|
|
3484
|
-
constructor(pointer: NativePointer);
|
|
3485
|
-
static create(): HotspotSequenceChangedNetworkEventData;
|
|
3486
|
-
delete(): void;
|
|
3487
|
-
get spaceId(): string;
|
|
3488
|
-
set spaceId(value: string);
|
|
3489
|
-
get name(): string;
|
|
3490
|
-
set name(value: string);
|
|
3491
|
-
get newName(): string;
|
|
3492
|
-
set newName(value: string);
|
|
3493
|
-
}
|
|
3494
|
-
}
|
|
3495
3492
|
export declare namespace Common {
|
|
3496
3493
|
class MaterialChangedParams extends NativeClassWrapper implements INativeResource {
|
|
3497
3494
|
/** @internal */
|
|
@@ -6459,12 +6456,14 @@ export declare namespace Common {
|
|
|
6459
6456
|
delete(): void;
|
|
6460
6457
|
get updateType(): Common.ESequenceUpdateType;
|
|
6461
6458
|
set updateType(value: Common.ESequenceUpdateType);
|
|
6459
|
+
get sequenceType(): Common.ESequenceType;
|
|
6460
|
+
set sequenceType(value: Common.ESequenceType);
|
|
6462
6461
|
get key(): string;
|
|
6463
6462
|
set key(value: string);
|
|
6464
6463
|
get newKey(): string;
|
|
6465
6464
|
set newKey(value: string);
|
|
6466
|
-
get
|
|
6467
|
-
set
|
|
6465
|
+
get spaceId(): string;
|
|
6466
|
+
set spaceId(value: string);
|
|
6468
6467
|
}
|
|
6469
6468
|
}
|
|
6470
6469
|
export declare namespace Common {
|
|
@@ -279,6 +279,11 @@ function csp_common_ESequenceUpdateTypeFactory(nativePointer) {
|
|
|
279
279
|
}
|
|
280
280
|
ProxyClassFactories["csp_common_ESequenceUpdateType"] =
|
|
281
281
|
csp_common_ESequenceUpdateTypeFactory;
|
|
282
|
+
function csp_common_ESequenceTypeFactory(nativePointer) {
|
|
283
|
+
return nativePointer.pointer;
|
|
284
|
+
}
|
|
285
|
+
ProxyClassFactories["csp_common_ESequenceType"] =
|
|
286
|
+
csp_common_ESequenceTypeFactory;
|
|
282
287
|
function csp_common_ReplicatedValueTypeFactory(nativePointer) {
|
|
283
288
|
return nativePointer.pointer;
|
|
284
289
|
}
|
|
@@ -735,11 +740,6 @@ function csp_common_NetworkEventDataFactory(nativePointer) {
|
|
|
735
740
|
}
|
|
736
741
|
ProxyClassFactories["csp_common_NetworkEventData"] =
|
|
737
742
|
csp_common_NetworkEventDataFactory;
|
|
738
|
-
function csp_common_HotspotSequenceChangedNetworkEventDataFactory(nativePointer) {
|
|
739
|
-
return new Common.HotspotSequenceChangedNetworkEventData(nativePointer);
|
|
740
|
-
}
|
|
741
|
-
ProxyClassFactories["csp_common_HotspotSequenceChangedNetworkEventData"] =
|
|
742
|
-
csp_common_HotspotSequenceChangedNetworkEventDataFactory;
|
|
743
743
|
function csp_common_MaterialChangedParamsFactory(nativePointer) {
|
|
744
744
|
return new Common.MaterialChangedParams(nativePointer);
|
|
745
745
|
}
|
|
@@ -2081,6 +2081,18 @@ export var Common;
|
|
|
2081
2081
|
ESequenceUpdateType[ESequenceUpdateType["Invalid"] = 4] = "Invalid";
|
|
2082
2082
|
})(ESequenceUpdateType = Common.ESequenceUpdateType || (Common.ESequenceUpdateType = {}));
|
|
2083
2083
|
})(Common || (Common = {}));
|
|
2084
|
+
(function (Common) {
|
|
2085
|
+
/**
|
|
2086
|
+
* @description The SequenceSystem allows ordered sequences of items to be created and managed in a space.
|
|
2087
|
+
* The HotspotSequenceSystem is a wrapper around the SequenceSystem that makes it easier to manage sequences of Hotspots.
|
|
2088
|
+
* Sequences can therefore represent either default sequences, or hotspot sequences. This enum is used to differentiate the two types.
|
|
2089
|
+
*/
|
|
2090
|
+
let ESequenceType;
|
|
2091
|
+
(function (ESequenceType) {
|
|
2092
|
+
ESequenceType[ESequenceType["Default"] = 0] = "Default";
|
|
2093
|
+
ESequenceType[ESequenceType["Hotspot"] = 1] = "Hotspot";
|
|
2094
|
+
})(ESequenceType = Common.ESequenceType || (Common.ESequenceType = {}));
|
|
2095
|
+
})(Common || (Common = {}));
|
|
2084
2096
|
(function (Common) {
|
|
2085
2097
|
/**
|
|
2086
2098
|
* @description Enum representing the type of a replicated value.
|
|
@@ -9472,48 +9484,6 @@ export class CSPFoundation {
|
|
|
9472
9484
|
}
|
|
9473
9485
|
Common.NetworkEventData = NetworkEventData;
|
|
9474
9486
|
})(Common || (Common = {}));
|
|
9475
|
-
(function (Common) {
|
|
9476
|
-
class HotspotSequenceChangedNetworkEventData extends NativeClassWrapper {
|
|
9477
|
-
/** @internal */
|
|
9478
|
-
constructor(pointer) {
|
|
9479
|
-
super(pointer);
|
|
9480
|
-
}
|
|
9481
|
-
static create() {
|
|
9482
|
-
var _ptr = Module._malloc(8);
|
|
9483
|
-
Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData_Ctor", "void", ["number"], [_ptr]);
|
|
9484
|
-
var _nPtr = getNativePointer(_ptr);
|
|
9485
|
-
return new HotspotSequenceChangedNetworkEventData(_nPtr);
|
|
9486
|
-
}
|
|
9487
|
-
delete() {
|
|
9488
|
-
if (this.ownsPointer && !this.disposed) {
|
|
9489
|
-
Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData_Dtor", "void", ["number"], [this.pointer]);
|
|
9490
|
-
this.disposed = true;
|
|
9491
|
-
}
|
|
9492
|
-
}
|
|
9493
|
-
get spaceId() {
|
|
9494
|
-
let _result = Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Get_SpaceId", "string", ["number"], [this.pointer]);
|
|
9495
|
-
return _result;
|
|
9496
|
-
}
|
|
9497
|
-
set spaceId(value) {
|
|
9498
|
-
Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Set_SpaceId", "void", ["number", "string"], [this.pointer, value]);
|
|
9499
|
-
}
|
|
9500
|
-
get name() {
|
|
9501
|
-
let _result = Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Get_Name", "string", ["number"], [this.pointer]);
|
|
9502
|
-
return _result;
|
|
9503
|
-
}
|
|
9504
|
-
set name(value) {
|
|
9505
|
-
Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Set_Name", "void", ["number", "string"], [this.pointer, value]);
|
|
9506
|
-
}
|
|
9507
|
-
get newName() {
|
|
9508
|
-
let _result = Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Get_NewName", "string", ["number"], [this.pointer]);
|
|
9509
|
-
return _result;
|
|
9510
|
-
}
|
|
9511
|
-
set newName(value) {
|
|
9512
|
-
Module.ccall("csp_common_HotspotSequenceChangedNetworkEventData__Set_NewName", "void", ["number", "string"], [this.pointer, value]);
|
|
9513
|
-
}
|
|
9514
|
-
}
|
|
9515
|
-
Common.HotspotSequenceChangedNetworkEventData = HotspotSequenceChangedNetworkEventData;
|
|
9516
|
-
})(Common || (Common = {}));
|
|
9517
9487
|
(function (Common) {
|
|
9518
9488
|
class MaterialChangedParams extends NativeClassWrapper {
|
|
9519
9489
|
/** @internal */
|
|
@@ -16393,6 +16363,13 @@ export class CSPFoundation {
|
|
|
16393
16363
|
set updateType(value) {
|
|
16394
16364
|
Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_UpdateType", "void", ["number", "number"], [this.pointer, value]);
|
|
16395
16365
|
}
|
|
16366
|
+
get sequenceType() {
|
|
16367
|
+
let _result = Module.ccall("csp_common_SequenceChangedNetworkEventData__Get_SequenceType", "number", ["number"], [this.pointer]);
|
|
16368
|
+
return _result;
|
|
16369
|
+
}
|
|
16370
|
+
set sequenceType(value) {
|
|
16371
|
+
Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_SequenceType", "void", ["number", "number"], [this.pointer, value]);
|
|
16372
|
+
}
|
|
16396
16373
|
get key() {
|
|
16397
16374
|
let _result = Module.ccall("csp_common_SequenceChangedNetworkEventData__Get_Key", "string", ["number"], [this.pointer]);
|
|
16398
16375
|
return _result;
|
|
@@ -16407,14 +16384,12 @@ export class CSPFoundation {
|
|
|
16407
16384
|
set newKey(value) {
|
|
16408
16385
|
Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_NewKey", "void", ["number", "string"], [this.pointer, value]);
|
|
16409
16386
|
}
|
|
16410
|
-
get
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
const _nPtr = getNativePointer(_ptr);
|
|
16414
|
-
return new Common.HotspotSequenceChangedNetworkEventData(_nPtr);
|
|
16387
|
+
get spaceId() {
|
|
16388
|
+
let _result = Module.ccall("csp_common_SequenceChangedNetworkEventData__Get_SpaceId", "string", ["number"], [this.pointer]);
|
|
16389
|
+
return _result;
|
|
16415
16390
|
}
|
|
16416
|
-
set
|
|
16417
|
-
Module.ccall("
|
|
16391
|
+
set spaceId(value) {
|
|
16392
|
+
Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_SpaceId", "void", ["number", "string"], [this.pointer, value]);
|
|
16418
16393
|
}
|
|
16419
16394
|
}
|
|
16420
16395
|
Common.SequenceChangedNetworkEventData = SequenceChangedNetworkEventData;
|