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
|
@@ -356,6 +356,14 @@ function csp_common_ESequenceUpdateTypeFactory(
|
|
|
356
356
|
ProxyClassFactories["csp_common_ESequenceUpdateType"] =
|
|
357
357
|
csp_common_ESequenceUpdateTypeFactory;
|
|
358
358
|
|
|
359
|
+
function csp_common_ESequenceTypeFactory(
|
|
360
|
+
nativePointer: NativePointer,
|
|
361
|
+
): Common.ESequenceType {
|
|
362
|
+
return nativePointer.pointer as Common.ESequenceType;
|
|
363
|
+
}
|
|
364
|
+
ProxyClassFactories["csp_common_ESequenceType"] =
|
|
365
|
+
csp_common_ESequenceTypeFactory;
|
|
366
|
+
|
|
359
367
|
function csp_common_ReplicatedValueTypeFactory(
|
|
360
368
|
nativePointer: NativePointer,
|
|
361
369
|
): Common.ReplicatedValueType {
|
|
@@ -1097,14 +1105,6 @@ function csp_common_NetworkEventDataFactory(
|
|
|
1097
1105
|
ProxyClassFactories["csp_common_NetworkEventData"] =
|
|
1098
1106
|
csp_common_NetworkEventDataFactory;
|
|
1099
1107
|
|
|
1100
|
-
function csp_common_HotspotSequenceChangedNetworkEventDataFactory(
|
|
1101
|
-
nativePointer: NativePointer,
|
|
1102
|
-
): NativeClassWrapper {
|
|
1103
|
-
return new Common.HotspotSequenceChangedNetworkEventData(nativePointer);
|
|
1104
|
-
}
|
|
1105
|
-
ProxyClassFactories["csp_common_HotspotSequenceChangedNetworkEventData"] =
|
|
1106
|
-
csp_common_HotspotSequenceChangedNetworkEventDataFactory;
|
|
1107
|
-
|
|
1108
1108
|
function csp_common_MaterialChangedParamsFactory(
|
|
1109
1109
|
nativePointer: NativePointer,
|
|
1110
1110
|
): NativeClassWrapper {
|
|
@@ -3486,6 +3486,18 @@ export namespace Common {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
|
|
3489
|
+
export namespace Common {
|
|
3490
|
+
/**
|
|
3491
|
+
* @description The SequenceSystem allows ordered sequences of items to be created and managed in a space.
|
|
3492
|
+
* The HotspotSequenceSystem is a wrapper around the SequenceSystem that makes it easier to manage sequences of Hotspots.
|
|
3493
|
+
* Sequences can therefore represent either default sequences, or hotspot sequences. This enum is used to differentiate the two types.
|
|
3494
|
+
*/
|
|
3495
|
+
export enum ESequenceType {
|
|
3496
|
+
Default = 0,
|
|
3497
|
+
Hotspot = 1,
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3489
3501
|
export namespace Common {
|
|
3490
3502
|
/**
|
|
3491
3503
|
* @description Enum representing the type of a replicated value.
|
|
@@ -21758,104 +21770,6 @@ export namespace Common {
|
|
|
21758
21770
|
}
|
|
21759
21771
|
}
|
|
21760
21772
|
|
|
21761
|
-
export namespace Common {
|
|
21762
|
-
export class HotspotSequenceChangedNetworkEventData
|
|
21763
|
-
extends NativeClassWrapper
|
|
21764
|
-
implements INativeResource
|
|
21765
|
-
{
|
|
21766
|
-
/** @internal */
|
|
21767
|
-
constructor(pointer: NativePointer) {
|
|
21768
|
-
super(pointer);
|
|
21769
|
-
}
|
|
21770
|
-
|
|
21771
|
-
static create(): HotspotSequenceChangedNetworkEventData {
|
|
21772
|
-
var _ptr = Module._malloc(8);
|
|
21773
|
-
Module.ccall(
|
|
21774
|
-
"csp_common_HotspotSequenceChangedNetworkEventData_Ctor",
|
|
21775
|
-
"void",
|
|
21776
|
-
["number"],
|
|
21777
|
-
[_ptr],
|
|
21778
|
-
);
|
|
21779
|
-
var _nPtr = getNativePointer(_ptr);
|
|
21780
|
-
|
|
21781
|
-
return new HotspotSequenceChangedNetworkEventData(_nPtr);
|
|
21782
|
-
}
|
|
21783
|
-
|
|
21784
|
-
delete(): void {
|
|
21785
|
-
if (this.ownsPointer && !this.disposed) {
|
|
21786
|
-
Module.ccall(
|
|
21787
|
-
"csp_common_HotspotSequenceChangedNetworkEventData_Dtor",
|
|
21788
|
-
"void",
|
|
21789
|
-
["number"],
|
|
21790
|
-
[this.pointer],
|
|
21791
|
-
);
|
|
21792
|
-
|
|
21793
|
-
this.disposed = true;
|
|
21794
|
-
}
|
|
21795
|
-
}
|
|
21796
|
-
|
|
21797
|
-
get spaceId(): string {
|
|
21798
|
-
let _result = Module.ccall(
|
|
21799
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Get_SpaceId",
|
|
21800
|
-
"string",
|
|
21801
|
-
["number"],
|
|
21802
|
-
[this.pointer],
|
|
21803
|
-
);
|
|
21804
|
-
|
|
21805
|
-
return _result;
|
|
21806
|
-
}
|
|
21807
|
-
|
|
21808
|
-
set spaceId(value: string) {
|
|
21809
|
-
Module.ccall(
|
|
21810
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Set_SpaceId",
|
|
21811
|
-
"void",
|
|
21812
|
-
["number", "string"],
|
|
21813
|
-
[this.pointer, value],
|
|
21814
|
-
);
|
|
21815
|
-
}
|
|
21816
|
-
|
|
21817
|
-
get name(): string {
|
|
21818
|
-
let _result = Module.ccall(
|
|
21819
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Get_Name",
|
|
21820
|
-
"string",
|
|
21821
|
-
["number"],
|
|
21822
|
-
[this.pointer],
|
|
21823
|
-
);
|
|
21824
|
-
|
|
21825
|
-
return _result;
|
|
21826
|
-
}
|
|
21827
|
-
|
|
21828
|
-
set name(value: string) {
|
|
21829
|
-
Module.ccall(
|
|
21830
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Set_Name",
|
|
21831
|
-
"void",
|
|
21832
|
-
["number", "string"],
|
|
21833
|
-
[this.pointer, value],
|
|
21834
|
-
);
|
|
21835
|
-
}
|
|
21836
|
-
|
|
21837
|
-
get newName(): string {
|
|
21838
|
-
let _result = Module.ccall(
|
|
21839
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Get_NewName",
|
|
21840
|
-
"string",
|
|
21841
|
-
["number"],
|
|
21842
|
-
[this.pointer],
|
|
21843
|
-
);
|
|
21844
|
-
|
|
21845
|
-
return _result;
|
|
21846
|
-
}
|
|
21847
|
-
|
|
21848
|
-
set newName(value: string) {
|
|
21849
|
-
Module.ccall(
|
|
21850
|
-
"csp_common_HotspotSequenceChangedNetworkEventData__Set_NewName",
|
|
21851
|
-
"void",
|
|
21852
|
-
["number", "string"],
|
|
21853
|
-
[this.pointer, value],
|
|
21854
|
-
);
|
|
21855
|
-
}
|
|
21856
|
-
}
|
|
21857
|
-
}
|
|
21858
|
-
|
|
21859
21773
|
export namespace Common {
|
|
21860
21774
|
export class MaterialChangedParams
|
|
21861
21775
|
extends NativeClassWrapper
|
|
@@ -35941,6 +35855,26 @@ export namespace Common {
|
|
|
35941
35855
|
);
|
|
35942
35856
|
}
|
|
35943
35857
|
|
|
35858
|
+
get sequenceType(): Common.ESequenceType {
|
|
35859
|
+
let _result = Module.ccall(
|
|
35860
|
+
"csp_common_SequenceChangedNetworkEventData__Get_SequenceType",
|
|
35861
|
+
"number",
|
|
35862
|
+
["number"],
|
|
35863
|
+
[this.pointer],
|
|
35864
|
+
);
|
|
35865
|
+
|
|
35866
|
+
return _result;
|
|
35867
|
+
}
|
|
35868
|
+
|
|
35869
|
+
set sequenceType(value: Common.ESequenceType) {
|
|
35870
|
+
Module.ccall(
|
|
35871
|
+
"csp_common_SequenceChangedNetworkEventData__Set_SequenceType",
|
|
35872
|
+
"void",
|
|
35873
|
+
["number", "number"],
|
|
35874
|
+
[this.pointer, value],
|
|
35875
|
+
);
|
|
35876
|
+
}
|
|
35877
|
+
|
|
35944
35878
|
get key(): string {
|
|
35945
35879
|
let _result = Module.ccall(
|
|
35946
35880
|
"csp_common_SequenceChangedNetworkEventData__Get_Key",
|
|
@@ -35981,25 +35915,23 @@ export namespace Common {
|
|
|
35981
35915
|
);
|
|
35982
35916
|
}
|
|
35983
35917
|
|
|
35984
|
-
get
|
|
35985
|
-
|
|
35986
|
-
|
|
35987
|
-
"
|
|
35988
|
-
"
|
|
35989
|
-
[
|
|
35990
|
-
[_ptr, this.pointer],
|
|
35918
|
+
get spaceId(): string {
|
|
35919
|
+
let _result = Module.ccall(
|
|
35920
|
+
"csp_common_SequenceChangedNetworkEventData__Get_SpaceId",
|
|
35921
|
+
"string",
|
|
35922
|
+
["number"],
|
|
35923
|
+
[this.pointer],
|
|
35991
35924
|
);
|
|
35992
35925
|
|
|
35993
|
-
|
|
35994
|
-
return new Common.HotspotSequenceChangedNetworkEventData(_nPtr);
|
|
35926
|
+
return _result;
|
|
35995
35927
|
}
|
|
35996
35928
|
|
|
35997
|
-
set
|
|
35929
|
+
set spaceId(value: string) {
|
|
35998
35930
|
Module.ccall(
|
|
35999
|
-
"
|
|
35931
|
+
"csp_common_SequenceChangedNetworkEventData__Set_SpaceId",
|
|
36000
35932
|
"void",
|
|
36001
|
-
["number", "
|
|
36002
|
-
[this.pointer, value
|
|
35933
|
+
["number", "string"],
|
|
35934
|
+
[this.pointer, value],
|
|
36003
35935
|
);
|
|
36004
35936
|
}
|
|
36005
35937
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connected-spaces-platform.web",
|
|
3
3
|
"displayName": "connected-spaces-platform.web",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.20.0",
|
|
5
5
|
"description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"dependencies": {
|