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.
@@ -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 */
@@ -3861,6 +3858,14 @@ export declare namespace Common {
3861
3858
  * @description Multiplies the Vector2 by a scalar
3862
3859
  * @param float - Scalar
3863
3860
  */
3861
+ /**
3862
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
3863
+ * @param vector3 - Vector to compare
3864
+ */
3865
+ /**
3866
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
3867
+ * @param vector3 - Vector to compare
3868
+ */
3864
3869
  delete(): void;
3865
3870
  get x(): number;
3866
3871
  set x(value: number);
@@ -3916,6 +3921,14 @@ export declare namespace Common {
3916
3921
  * @description Multiplies the Vector3 by a scalar
3917
3922
  * @param float - Scalar
3918
3923
  */
3924
+ /**
3925
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
3926
+ * @param vector3 - Vector to compare
3927
+ */
3928
+ /**
3929
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
3930
+ * @param vector3 - Vector to compare
3931
+ */
3919
3932
  delete(): void;
3920
3933
  get x(): number;
3921
3934
  set x(value: number);
@@ -3979,6 +3992,14 @@ export declare namespace Common {
3979
3992
  * @description Multiplies the Vector4 by a scalar
3980
3993
  * @param float - Scalar
3981
3994
  */
3995
+ /**
3996
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
3997
+ * @param vector3 - Vector to compare
3998
+ */
3999
+ /**
4000
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
4001
+ * @param vector3 - Vector to compare
4002
+ */
3982
4003
  delete(): void;
3983
4004
  get x(): number;
3984
4005
  set x(value: number);
@@ -6435,12 +6456,14 @@ export declare namespace Common {
6435
6456
  delete(): void;
6436
6457
  get updateType(): Common.ESequenceUpdateType;
6437
6458
  set updateType(value: Common.ESequenceUpdateType);
6459
+ get sequenceType(): Common.ESequenceType;
6460
+ set sequenceType(value: Common.ESequenceType);
6438
6461
  get key(): string;
6439
6462
  set key(value: string);
6440
6463
  get newKey(): string;
6441
6464
  set newKey(value: string);
6442
- get hotspotData(): Common.HotspotSequenceChangedNetworkEventData;
6443
- set hotspotData(value: Common.HotspotSequenceChangedNetworkEventData);
6465
+ get spaceId(): string;
6466
+ set spaceId(value: string);
6444
6467
  }
6445
6468
  }
6446
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 */
@@ -10230,6 +10200,16 @@ export class CSPFoundation {
10230
10200
  * @param float - Scalar
10231
10201
  */
10232
10202
  // operator*
10203
+ /**
10204
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
10205
+ * @param vector3 - Vector to compare
10206
+ */
10207
+ // operator==
10208
+ /**
10209
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
10210
+ * @param vector3 - Vector to compare
10211
+ */
10212
+ // operator!=
10233
10213
  delete() {
10234
10214
  if (this.ownsPointer && !this.disposed) {
10235
10215
  Module.ccall("csp_common_Vector2_Dtor", "void", ["number"], [this.pointer]);
@@ -10330,6 +10310,16 @@ export class CSPFoundation {
10330
10310
  * @param float - Scalar
10331
10311
  */
10332
10312
  // operator*
10313
+ /**
10314
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
10315
+ * @param vector3 - Vector to compare
10316
+ */
10317
+ // operator==
10318
+ /**
10319
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
10320
+ * @param vector3 - Vector to compare
10321
+ */
10322
+ // operator!=
10333
10323
  delete() {
10334
10324
  if (this.ownsPointer && !this.disposed) {
10335
10325
  Module.ccall("csp_common_Vector3_Dtor", "void", ["number"], [this.pointer]);
@@ -10449,6 +10439,16 @@ export class CSPFoundation {
10449
10439
  * @param float - Scalar
10450
10440
  */
10451
10441
  // operator*
10442
+ /**
10443
+ * @description Whether two vectors are equal to one another. Has a .001f accuracy.
10444
+ * @param vector3 - Vector to compare
10445
+ */
10446
+ // operator==
10447
+ /**
10448
+ * @description Whether two vectors are inequal to one another. Has a .001f accuracy.
10449
+ * @param vector3 - Vector to compare
10450
+ */
10451
+ // operator!=
10452
10452
  delete() {
10453
10453
  if (this.ownsPointer && !this.disposed) {
10454
10454
  Module.ccall("csp_common_Vector4_Dtor", "void", ["number"], [this.pointer]);
@@ -16363,6 +16363,13 @@ export class CSPFoundation {
16363
16363
  set updateType(value) {
16364
16364
  Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_UpdateType", "void", ["number", "number"], [this.pointer, value]);
16365
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
+ }
16366
16373
  get key() {
16367
16374
  let _result = Module.ccall("csp_common_SequenceChangedNetworkEventData__Get_Key", "string", ["number"], [this.pointer]);
16368
16375
  return _result;
@@ -16377,14 +16384,12 @@ export class CSPFoundation {
16377
16384
  set newKey(value) {
16378
16385
  Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_NewKey", "void", ["number", "string"], [this.pointer, value]);
16379
16386
  }
16380
- get hotspotData() {
16381
- const _ptr = Module._malloc(8);
16382
- Module.ccall("csp_common_SequenceChangedNetworkEventData__Get_HotspotData", "void", ["number", "number"], [_ptr, this.pointer]);
16383
- const _nPtr = getNativePointer(_ptr);
16384
- 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;
16385
16390
  }
16386
- set hotspotData(value) {
16387
- Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_HotspotData", "void", ["number", "number"], [this.pointer, value.pointer]);
16391
+ set spaceId(value) {
16392
+ Module.ccall("csp_common_SequenceChangedNetworkEventData__Set_SpaceId", "void", ["number", "string"], [this.pointer, value]);
16388
16393
  }
16389
16394
  }
16390
16395
  Common.SequenceChangedNetworkEventData = SequenceChangedNetworkEventData;
@@ -33018,6 +33023,8 @@ export class CSPFoundation {
33018
33023
  if (_valueShouldFree)
33019
33024
  Module._free(_value);
33020
33025
  }
33026
+ // operator==
33027
+ // operator!=
33021
33028
  size() {
33022
33029
  var _returnValue = Module.ccall(`csp_common_Map_SizeC_size_t_${this.TKeyTypeName}_${this.TValueTypeName}`, "number", ["number"], [this.pointer]);
33023
33030
  return _returnValue;