connected-spaces-platform.web 6.17.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.
@@ -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
@@ -23192,6 +23106,18 @@ export namespace Common {
23192
23106
  */
23193
23107
  // operator*
23194
23108
 
23109
+ /**
23110
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
23111
+ * @param vector3 - Vector to compare
23112
+ */
23113
+ // operator==
23114
+
23115
+ /**
23116
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
23117
+ * @param vector3 - Vector to compare
23118
+ */
23119
+ // operator!=
23120
+
23195
23121
  delete(): void {
23196
23122
  if (this.ownsPointer && !this.disposed) {
23197
23123
  Module.ccall(
@@ -23357,6 +23283,18 @@ export namespace Common {
23357
23283
  */
23358
23284
  // operator*
23359
23285
 
23286
+ /**
23287
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
23288
+ * @param vector3 - Vector to compare
23289
+ */
23290
+ // operator==
23291
+
23292
+ /**
23293
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
23294
+ * @param vector3 - Vector to compare
23295
+ */
23296
+ // operator!=
23297
+
23360
23298
  delete(): void {
23361
23299
  if (this.ownsPointer && !this.disposed) {
23362
23300
  Module.ccall(
@@ -23563,6 +23501,18 @@ export namespace Common {
23563
23501
  */
23564
23502
  // operator*
23565
23503
 
23504
+ /**
23505
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
23506
+ * @param vector3 - Vector to compare
23507
+ */
23508
+ // operator==
23509
+
23510
+ /**
23511
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
23512
+ * @param vector3 - Vector to compare
23513
+ */
23514
+ // operator!=
23515
+
23566
23516
  delete(): void {
23567
23517
  if (this.ownsPointer && !this.disposed) {
23568
23518
  Module.ccall(
@@ -35905,6 +35855,26 @@ export namespace Common {
35905
35855
  );
35906
35856
  }
35907
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
+
35908
35878
  get key(): string {
35909
35879
  let _result = Module.ccall(
35910
35880
  "csp_common_SequenceChangedNetworkEventData__Get_Key",
@@ -35945,25 +35915,23 @@ export namespace Common {
35945
35915
  );
35946
35916
  }
35947
35917
 
35948
- get hotspotData(): Common.HotspotSequenceChangedNetworkEventData {
35949
- const _ptr = Module._malloc(8);
35950
- Module.ccall(
35951
- "csp_common_SequenceChangedNetworkEventData__Get_HotspotData",
35952
- "void",
35953
- ["number", "number"],
35954
- [_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],
35955
35924
  );
35956
35925
 
35957
- const _nPtr = getNativePointer(_ptr);
35958
- return new Common.HotspotSequenceChangedNetworkEventData(_nPtr);
35926
+ return _result;
35959
35927
  }
35960
35928
 
35961
- set hotspotData(value: Common.HotspotSequenceChangedNetworkEventData) {
35929
+ set spaceId(value: string) {
35962
35930
  Module.ccall(
35963
- "csp_common_SequenceChangedNetworkEventData__Set_HotspotData",
35931
+ "csp_common_SequenceChangedNetworkEventData__Set_SpaceId",
35964
35932
  "void",
35965
- ["number", "number"],
35966
- [this.pointer, value.pointer],
35933
+ ["number", "string"],
35934
+ [this.pointer, value],
35967
35935
  );
35968
35936
  }
35969
35937
  }
@@ -66440,6 +66408,10 @@ export namespace Common {
66440
66408
  if (_valueShouldFree) Module._free(_value);
66441
66409
  }
66442
66410
 
66411
+ // operator==
66412
+
66413
+ // operator!=
66414
+
66443
66415
  size(): number {
66444
66416
  var _returnValue = Module.ccall(
66445
66417
  `csp_common_Map_SizeC_size_t_${this.TKeyTypeName}_${this.TValueTypeName}`,
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.17.0",
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": {