connected-spaces-platform.web 4.31.0 → 5.0.1

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.
@@ -1278,6 +1278,14 @@ function csp_systems_TicketedEventVendorAuthInfoFactory(
1278
1278
  ProxyClassFactories["csp_systems_TicketedEventVendorAuthInfo"] =
1279
1279
  csp_systems_TicketedEventVendorAuthInfoFactory;
1280
1280
 
1281
+ function csp_systems_HotspotGroupFactory(
1282
+ nativePointer: NativePointer,
1283
+ ): NativeClassWrapper {
1284
+ return new Systems.HotspotGroup(nativePointer);
1285
+ }
1286
+ ProxyClassFactories["csp_systems_HotspotGroup"] =
1287
+ csp_systems_HotspotGroupFactory;
1288
+
1281
1289
  function csp_systems_LogSystemFactory(
1282
1290
  nativePointer: NativePointer,
1283
1291
  ): NativeClassWrapper {
@@ -1961,6 +1969,30 @@ function csp_systems_GraphQLSystemFactory(
1961
1969
  ProxyClassFactories["csp_systems_GraphQLSystem"] =
1962
1970
  csp_systems_GraphQLSystemFactory;
1963
1971
 
1972
+ function csp_systems_HotspotGroupResultFactory(
1973
+ nativePointer: NativePointer,
1974
+ ): NativeClassWrapper {
1975
+ return new Systems.HotspotGroupResult(nativePointer);
1976
+ }
1977
+ ProxyClassFactories["csp_systems_HotspotGroupResult"] =
1978
+ csp_systems_HotspotGroupResultFactory;
1979
+
1980
+ function csp_systems_HotspotGroupsResultFactory(
1981
+ nativePointer: NativePointer,
1982
+ ): NativeClassWrapper {
1983
+ return new Systems.HotspotGroupsResult(nativePointer);
1984
+ }
1985
+ ProxyClassFactories["csp_systems_HotspotGroupsResult"] =
1986
+ csp_systems_HotspotGroupsResultFactory;
1987
+
1988
+ function csp_systems_HotspotSequenceSystemFactory(
1989
+ nativePointer: NativePointer,
1990
+ ): NativeClassWrapper {
1991
+ return new Systems.HotspotSequenceSystem(nativePointer);
1992
+ }
1993
+ ProxyClassFactories["csp_systems_HotspotSequenceSystem"] =
1994
+ csp_systems_HotspotSequenceSystemFactory;
1995
+
1964
1996
  function csp_systems_MaintenanceInfoResultFactory(
1965
1997
  nativePointer: NativePointer,
1966
1998
  ): NativeClassWrapper {
@@ -2524,6 +2556,18 @@ function csp_common_Array_csp_systems_TicketedEventFactory(
2524
2556
  ProxyClassFactories["csp_common_Array_csp_systems_TicketedEvent"] =
2525
2557
  csp_common_Array_csp_systems_TicketedEventFactory;
2526
2558
 
2559
+ function csp_common_Array_csp_systems_HotspotGroupFactory(
2560
+ nativePointer: NativePointer,
2561
+ ): NativeClassWrapper {
2562
+ return new Common.Array<Systems.HotspotGroup>(
2563
+ nativePointer,
2564
+ csp_systems_HotspotGroupFactory,
2565
+ "csp_systems_HotspotGroup",
2566
+ );
2567
+ }
2568
+ ProxyClassFactories["csp_common_Array_csp_systems_HotspotGroup"] =
2569
+ csp_common_Array_csp_systems_HotspotGroupFactory;
2570
+
2527
2571
  function csp_common_Array_csp_systems_MaintenanceInfoFactory(
2528
2572
  nativePointer: NativePointer,
2529
2573
  ): NativeClassWrapper {
@@ -3068,7 +3112,7 @@ export namespace Multiplayer {
3068
3112
  * @description Enumerates the list of properties that can be replicated for an animated model component.
3069
3113
  */
3070
3114
  export enum AnimatedModelPropertyKeys {
3071
- Name = 0,
3115
+ Name_DEPRECATED = 0,
3072
3116
  ExternalResourceAssetId,
3073
3117
  ExternalResourceAssetCollectionId,
3074
3118
  Position,
@@ -3206,7 +3250,7 @@ export namespace Multiplayer {
3206
3250
  * @description Enumerates the list of properties that can be replicated for a button component.
3207
3251
  */
3208
3252
  export enum ButtonPropertyKeys {
3209
- Name = 0,
3253
+ Name_DEPRECATED = 0,
3210
3254
  LabelText,
3211
3255
  IconAssetId,
3212
3256
  AssetCollectionId,
@@ -3313,7 +3357,7 @@ export namespace Multiplayer {
3313
3357
  * @description The list of properties defined within an external link component.
3314
3358
  */
3315
3359
  export enum ExternalLinkPropertyKeys {
3316
- Name = 0,
3360
+ Name_DEPRECATED = 0,
3317
3361
  LinkUrl,
3318
3362
  Position,
3319
3363
  Rotation,
@@ -3331,7 +3375,7 @@ export namespace Multiplayer {
3331
3375
  * @description Enumerates the list of properties that can be replicated for a fiducial marker space component.
3332
3376
  */
3333
3377
  export enum FiducialMarkerPropertyKeys {
3334
- Name,
3378
+ Name_DEPRECATED,
3335
3379
  MarkerAssetId,
3336
3380
  AssetCollectionId,
3337
3381
  Position,
@@ -3382,7 +3426,7 @@ export namespace Multiplayer {
3382
3426
  * @description Enumerates the list of properties that can be replicated for a Gaussian Splat component.
3383
3427
  */
3384
3428
  export enum GaussianSplatPropertyKeys {
3385
- Name = 0,
3429
+ Name_DEPRECATED = 0,
3386
3430
  ExternalResourceAssetId,
3387
3431
  ExternalResourceAssetCollectionId,
3388
3432
  Position,
@@ -3403,7 +3447,7 @@ export namespace Multiplayer {
3403
3447
  export enum HotspotPropertyKeys {
3404
3448
  Position,
3405
3449
  Rotation,
3406
- Name,
3450
+ Name_DEPRECATED,
3407
3451
  IsTeleportPoint,
3408
3452
  IsSpawnPoint,
3409
3453
  IsVisible,
@@ -3417,7 +3461,7 @@ export namespace Multiplayer {
3417
3461
  * @description Enumerates the list of properties that can be replicated for an image space component.
3418
3462
  */
3419
3463
  export enum ImagePropertyKeys {
3420
- Name,
3464
+ Name_DEPRECATED,
3421
3465
  ImageAssetId,
3422
3466
  AssetCollectionId,
3423
3467
  Position,
@@ -3483,7 +3527,7 @@ export namespace Multiplayer {
3483
3527
  * @description Enumerates the list of properties that can be replicated for a light component.
3484
3528
  */
3485
3529
  export enum LightPropertyKeys {
3486
- Name = 0,
3530
+ Name_DEPRECATED = 0,
3487
3531
  LightType,
3488
3532
  Color,
3489
3533
  Intensity,
@@ -3525,7 +3569,7 @@ export namespace Multiplayer {
3525
3569
  * @description Enumerates the list of properties that can be replicated for a reflection component.
3526
3570
  */
3527
3571
  export enum ReflectionPropertyKeys {
3528
- Name,
3572
+ Name_DEPRECATED,
3529
3573
  ReflectionAssetId,
3530
3574
  AssetCollectionId,
3531
3575
  Position,
@@ -3585,7 +3629,7 @@ export namespace Multiplayer {
3585
3629
  * @description Enumerates the list of properties that can be replicated for a static model component.
3586
3630
  */
3587
3631
  export enum StaticModelPropertyKeys {
3588
- Name = 0,
3632
+ Name_DEPRECATED = 0,
3589
3633
  ExternalResourceAssetId,
3590
3634
  ExternalResourceAssetCollectionId,
3591
3635
  Position,
@@ -3660,7 +3704,7 @@ export namespace Multiplayer {
3660
3704
  * @description Enumerates the list of properties that can be replicated for a video player component.
3661
3705
  */
3662
3706
  export enum VideoPlayerPropertyKeys {
3663
- Name = 0,
3707
+ Name_DEPRECATED = 0,
3664
3708
  VideoAssetId,
3665
3709
  VideoAssetURL,
3666
3710
  AssetCollectionId,
@@ -21359,6 +21403,40 @@ export namespace Multiplayer {
21359
21403
  [this.pointer, action, actionParams],
21360
21404
  );
21361
21405
  }
21406
+
21407
+ /**
21408
+ * @description Gets the name of the component.
21409
+ */
21410
+
21411
+ getComponentName(): string {
21412
+ let _result = Module.ccall(
21413
+ "csp_multiplayer_ComponentBase_GetComponentNameC_StringRC",
21414
+ "number",
21415
+ ["number"],
21416
+ [this.pointer],
21417
+ );
21418
+
21419
+ const _resultString = Module.UTF8ToString(_result);
21420
+ free(_result);
21421
+
21422
+ _result = _resultString;
21423
+
21424
+ return _result;
21425
+ }
21426
+
21427
+ /**
21428
+ * @description Sets the name for the component.
21429
+ * @param value - - The new name to assign to the componenent.
21430
+ */
21431
+
21432
+ setComponentName(value: string): void {
21433
+ Module.ccall(
21434
+ "csp_multiplayer_ComponentBase_SetComponentName_void_StringRC",
21435
+ "void",
21436
+ ["number", "string"],
21437
+ [this.pointer, value],
21438
+ );
21439
+ }
21362
21440
  }
21363
21441
  }
21364
21442
 
@@ -25718,6 +25796,26 @@ export namespace Systems {
25718
25796
  return _nPtr;
25719
25797
  }
25720
25798
 
25799
+ /**
25800
+ * @description Retrieves the HotspotSequenceSystem system.
25801
+ * @return Pointer to the hotspotsequencesystem system class
25802
+ */
25803
+
25804
+ getHotspotSequenceSystem(): Systems.HotspotSequenceSystem {
25805
+ var _ret = Module._malloc(8);
25806
+
25807
+ Module.ccall(
25808
+ "csp_systems_SystemsManager_GetHotspotSequenceSystem_HotspotSequenceSystemP",
25809
+ "void",
25810
+ ["number", "number"],
25811
+ [_ret, this.pointer],
25812
+ );
25813
+ var _nPtr = new Systems.HotspotSequenceSystem(getNativePointer(_ret));
25814
+ Module._free(_ret);
25815
+
25816
+ return _nPtr;
25817
+ }
25818
+
25721
25819
  getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem {
25722
25820
  var _ret = Module._malloc(8);
25723
25821
 
@@ -28907,6 +29005,85 @@ export namespace Systems {
28907
29005
  }
28908
29006
  }
28909
29007
 
29008
+ export namespace Systems {
29009
+ /**
29010
+ @ingroup HotspotSequence System
29011
+ * @description A basic class abstraction for a Hot Spot Group, including name, and items within the group.
29012
+ */
29013
+ export class HotspotGroup
29014
+ extends NativeClassWrapper
29015
+ implements INativeResource
29016
+ {
29017
+ /** @internal */
29018
+ constructor(pointer: NativePointer) {
29019
+ super(pointer);
29020
+ }
29021
+
29022
+ static create(): HotspotGroup {
29023
+ var _ptr = Module._malloc(8);
29024
+ Module.ccall("csp_systems_HotspotGroup_Ctor", "void", ["number"], [_ptr]);
29025
+ var _nPtr = getNativePointer(_ptr);
29026
+
29027
+ return new HotspotGroup(_nPtr);
29028
+ }
29029
+
29030
+ delete(): void {
29031
+ if (this.ownsPointer && !this.disposed) {
29032
+ Module.ccall(
29033
+ "csp_systems_HotspotGroup_Dtor",
29034
+ "void",
29035
+ ["number"],
29036
+ [this.pointer],
29037
+ );
29038
+
29039
+ this.disposed = true;
29040
+ }
29041
+ }
29042
+
29043
+ get name(): string {
29044
+ let _result = Module.ccall(
29045
+ "csp_systems_HotspotGroup__Get_Name",
29046
+ "string",
29047
+ ["number"],
29048
+ [this.pointer],
29049
+ );
29050
+
29051
+ return _result;
29052
+ }
29053
+
29054
+ set name(value: string) {
29055
+ Module.ccall(
29056
+ "csp_systems_HotspotGroup__Set_Name",
29057
+ "void",
29058
+ ["number", "string"],
29059
+ [this.pointer, value],
29060
+ );
29061
+ }
29062
+
29063
+ get items(): Common.Array<string> {
29064
+ const _ptr = Module._malloc(8);
29065
+ Module.ccall(
29066
+ "csp_systems_HotspotGroup__Get_Items",
29067
+ "void",
29068
+ ["number", "number"],
29069
+ [_ptr, this.pointer],
29070
+ );
29071
+
29072
+ const _nPtr = getNativePointer(_ptr);
29073
+ return new Common.Array<string>(_nPtr, StringFactory, "String");
29074
+ }
29075
+
29076
+ set items(value: Common.Array<string>) {
29077
+ Module.ccall(
29078
+ "csp_systems_HotspotGroup__Set_Items",
29079
+ "void",
29080
+ ["number", "number"],
29081
+ [this.pointer, value.pointer],
29082
+ );
29083
+ }
29084
+ }
29085
+ }
29086
+
28910
29087
  export namespace Systems {
28911
29088
  /**
28912
29089
  * @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
@@ -30240,6 +30417,34 @@ export namespace Systems {
30240
30417
  [this.pointer, value.pointer],
30241
30418
  );
30242
30419
  }
30420
+
30421
+ get metaData(): Common.Map<string, string> {
30422
+ const _ptr = Module._malloc(8);
30423
+ Module.ccall(
30424
+ "csp_systems_Sequence__Get_MetaData",
30425
+ "void",
30426
+ ["number", "number"],
30427
+ [_ptr, this.pointer],
30428
+ );
30429
+
30430
+ const _nPtr = getNativePointer(_ptr);
30431
+ return new Common.Map<string, string>(
30432
+ _nPtr,
30433
+ StringFactory,
30434
+ "String",
30435
+ StringFactory,
30436
+ "String",
30437
+ );
30438
+ }
30439
+
30440
+ set metaData(value: Common.Map<string, string>) {
30441
+ Module.ccall(
30442
+ "csp_systems_Sequence__Set_MetaData",
30443
+ "void",
30444
+ ["number", "number"],
30445
+ [this.pointer, value.pointer],
30446
+ );
30447
+ }
30243
30448
  }
30244
30449
  }
30245
30450
 
@@ -36488,6 +36693,9 @@ export namespace Multiplayer {
36488
36693
  /**
36489
36694
  * @description Gets the name of this external link component.
36490
36695
  */
36696
+ /** @deprecated
36697
+ Deprecated in favour of ComponentBase::GetComponentName()
36698
+ */
36491
36699
 
36492
36700
  getName(): string {
36493
36701
  let _result = Module.ccall(
@@ -36509,6 +36717,9 @@ export namespace Multiplayer {
36509
36717
  * @description Sets the name for this external link component.
36510
36718
  * @param value - - The new name to assign to this external link componenent.
36511
36719
  */
36720
+ /** @deprecated
36721
+ Deprecated in favour of ComponentBase::SetComponentName()
36722
+ */
36512
36723
 
36513
36724
  setName(value: string): void {
36514
36725
  Module.ccall(
@@ -36873,6 +37084,9 @@ export namespace Multiplayer {
36873
37084
  * @description Gets the name of this fiducial marker space component.
36874
37085
  * @return The name of this fiducial marker space component.
36875
37086
  */
37087
+ /** @deprecated
37088
+ Deprecated in favour of ComponentBase::GetComponentName()
37089
+ */
36876
37090
 
36877
37091
  getName(): string {
36878
37092
  let _result = Module.ccall(
@@ -36894,6 +37108,9 @@ export namespace Multiplayer {
36894
37108
  * @description Sets the name of this fiducial marker space component.
36895
37109
  * @param value - The name of this fiducial marker space component.
36896
37110
  */
37111
+ /** @deprecated
37112
+ Deprecated in favour of ComponentBase::SetComponentName()
37113
+ */
36897
37114
 
36898
37115
  setName(value: string): void {
36899
37116
  Module.ccall(
@@ -38194,6 +38411,9 @@ export namespace Multiplayer {
38194
38411
  * @description Gets the Name of the Hotspot.
38195
38412
  * @return The Name of the Hotspot.
38196
38413
  */
38414
+ /** @deprecated
38415
+ Deprecated in favour of ComponentBase::GetComponentName()
38416
+ */
38197
38417
 
38198
38418
  getName(): string {
38199
38419
  let _result = Module.ccall(
@@ -38215,6 +38435,9 @@ export namespace Multiplayer {
38215
38435
  * @description Sets the Name of this Hotspot.
38216
38436
  * @param value - The Name of this Hotspot.
38217
38437
  */
38438
+ /** @deprecated
38439
+ Deprecated in favour of ComponentBase::SetComponentName()
38440
+ */
38218
38441
 
38219
38442
  setName(value: string): void {
38220
38443
  Module.ccall(
@@ -38498,6 +38721,9 @@ export namespace Multiplayer {
38498
38721
  * @description Gets the name of this image space component.
38499
38722
  * @return The name of this image space component.
38500
38723
  */
38724
+ /** @deprecated
38725
+ Deprecated in favour of ComponentBase::GetComponentName()
38726
+ */
38501
38727
 
38502
38728
  getName(): string {
38503
38729
  let _result = Module.ccall(
@@ -38519,6 +38745,9 @@ export namespace Multiplayer {
38519
38745
  * @description Sets the name of this image space component.
38520
38746
  * @param value - The name of this image space component.
38521
38747
  */
38748
+ /** @deprecated
38749
+ Deprecated in favour of ComponentBase::SetComponentName()
38750
+ */
38522
38751
 
38523
38752
  setName(value: string): void {
38524
38753
  Module.ccall(
@@ -39737,6 +39966,9 @@ export namespace Multiplayer {
39737
39966
  * @description Get the name of the Reflection component.
39738
39967
  * @return Csp::common::string specifying the component name.
39739
39968
  */
39969
+ /** @deprecated
39970
+ Deprecated in favour of ComponentBase::GetComponentName()
39971
+ */
39740
39972
 
39741
39973
  getName(): string {
39742
39974
  let _result = Module.ccall(
@@ -39758,6 +39990,9 @@ export namespace Multiplayer {
39758
39990
  * @description Set the name for the Reflection component.
39759
39991
  * @param value - Name for the Reflection component.
39760
39992
  */
39993
+ /** @deprecated
39994
+ Deprecated in favour of ComponentBase::SetComponentName()
39995
+ */
39761
39996
 
39762
39997
  setName(value: string): void {
39763
39998
  Module.ccall(
@@ -41192,6 +41427,9 @@ export namespace Multiplayer {
41192
41427
  * @description Gets the name of this video player.
41193
41428
  * @return The name of this video player.
41194
41429
  */
41430
+ /** @deprecated
41431
+ Deprecated in favour of ComponentBase::GetComponentName()
41432
+ */
41195
41433
 
41196
41434
  getName(): string {
41197
41435
  let _result = Module.ccall(
@@ -41213,6 +41451,9 @@ export namespace Multiplayer {
41213
41451
  * @description Sets the name of this video player.
41214
41452
  * @param value - The name of this video player.
41215
41453
  */
41454
+ /** @deprecated
41455
+ Deprecated in favour of ComponentBase::SetComponentName()
41456
+ */
41216
41457
 
41217
41458
  setName(value: string): void {
41218
41459
  Module.ccall(
@@ -46093,6 +46334,426 @@ export namespace Systems {
46093
46334
  }
46094
46335
  }
46095
46336
 
46337
+ export namespace Systems {
46338
+ /**
46339
+ @ingroup HotspotSequence System
46340
+ * @description Data class used to contain information when attempting to get a Hot Spot Group.
46341
+ */
46342
+ export class HotspotGroupResult
46343
+ extends Systems.ResultBase
46344
+ implements INativeResource
46345
+ {
46346
+ /** @internal */
46347
+ constructor(pointer: NativePointer) {
46348
+ super(pointer);
46349
+ }
46350
+
46351
+ static fromResultBase(
46352
+ baseInstance: Systems.ResultBase,
46353
+ ): Systems.HotspotGroupResult {
46354
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46355
+ return new Systems.HotspotGroupResult(
46356
+ new NativePointer(
46357
+ nativeClassWrapper.pointer,
46358
+ nativeClassWrapper.ownsPointer,
46359
+ ),
46360
+ );
46361
+ }
46362
+
46363
+ getHotspotGroup(): Systems.HotspotGroup {
46364
+ var _ret = Module._malloc(8);
46365
+
46366
+ Module.ccall(
46367
+ "csp_systems_HotspotGroupResult_GetHotspotGroupC_HotspotGroupRC",
46368
+ "void",
46369
+ ["number", "number"],
46370
+ [_ret, this.pointer],
46371
+ );
46372
+ var _nPtr = new Systems.HotspotGroup(getNativePointer(_ret));
46373
+ Module._free(_ret);
46374
+
46375
+ return _nPtr;
46376
+ }
46377
+
46378
+ delete(): void {
46379
+ if (this.ownsPointer && !this.disposed) {
46380
+ Module.ccall(
46381
+ "csp_systems_HotspotGroupResult_Dtor",
46382
+ "void",
46383
+ ["number"],
46384
+ [this.pointer],
46385
+ );
46386
+
46387
+ this.disposed = true;
46388
+ }
46389
+ }
46390
+ }
46391
+ }
46392
+
46393
+ export namespace Systems {
46394
+ /**
46395
+ @ingroup HotspotSequence System
46396
+ * @description Data class used to contain information when attempting to get a Hot Spot Group.
46397
+ */
46398
+ export class HotspotGroupsResult
46399
+ extends Systems.ResultBase
46400
+ implements INativeResource
46401
+ {
46402
+ /** @internal */
46403
+ constructor(pointer: NativePointer) {
46404
+ super(pointer);
46405
+ }
46406
+
46407
+ static fromResultBase(
46408
+ baseInstance: Systems.ResultBase,
46409
+ ): Systems.HotspotGroupsResult {
46410
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46411
+ return new Systems.HotspotGroupsResult(
46412
+ new NativePointer(
46413
+ nativeClassWrapper.pointer,
46414
+ nativeClassWrapper.ownsPointer,
46415
+ ),
46416
+ );
46417
+ }
46418
+
46419
+ getHotspotGroups(): Common.Array<Systems.HotspotGroup> {
46420
+ var _ret = Module._malloc(8);
46421
+
46422
+ Module.ccall(
46423
+ "csp_systems_HotspotGroupsResult_GetHotspotGroupsC_ArrayRC",
46424
+ "void",
46425
+ ["number", "number"],
46426
+ [_ret, this.pointer],
46427
+ );
46428
+ var _nPtr = new Common.Array<Systems.HotspotGroup>(
46429
+ getNativePointer(_ret),
46430
+ csp_systems_HotspotGroupFactory,
46431
+ "csp_systems_HotspotGroup",
46432
+ );
46433
+ Module._free(_ret);
46434
+
46435
+ return _nPtr;
46436
+ }
46437
+
46438
+ delete(): void {
46439
+ if (this.ownsPointer && !this.disposed) {
46440
+ Module.ccall(
46441
+ "csp_systems_HotspotGroupsResult_Dtor",
46442
+ "void",
46443
+ ["number"],
46444
+ [this.pointer],
46445
+ );
46446
+
46447
+ this.disposed = true;
46448
+ }
46449
+ }
46450
+ }
46451
+ }
46452
+
46453
+ export namespace Systems {
46454
+ /**
46455
+ @ingroup HotspotSequenceSystem System
46456
+ * @description Public facing system that allows the management of groupings of hotspots in a space.
46457
+ */
46458
+ export class HotspotSequenceSystem
46459
+ extends Systems.SystemBase
46460
+ implements INativeResource
46461
+ {
46462
+ /** @internal */
46463
+ constructor(pointer: NativePointer) {
46464
+ super(pointer);
46465
+ }
46466
+
46467
+ static fromSystemBase(
46468
+ baseInstance: Systems.SystemBase,
46469
+ ): Systems.HotspotSequenceSystem {
46470
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
46471
+ return new Systems.HotspotSequenceSystem(
46472
+ new NativePointer(
46473
+ nativeClassWrapper.pointer,
46474
+ nativeClassWrapper.ownsPointer,
46475
+ ),
46476
+ );
46477
+ }
46478
+
46479
+ static create_sequenceSystem_spaceSystem(
46480
+ sequenceSystem: Systems.SequenceSystem,
46481
+ spaceSystem: Systems.SpaceSystem,
46482
+ ): HotspotSequenceSystem {
46483
+ var _ptr = Module._malloc(8);
46484
+ Module.ccall(
46485
+ "csp_systems_HotspotSequenceSystem_Ctor_SequenceSystemP_SpaceSystemP",
46486
+ "void",
46487
+ ["number", "number", "number"],
46488
+ [_ptr, sequenceSystem.pointer, spaceSystem.pointer],
46489
+ );
46490
+ var _nPtr = getNativePointer(_ptr);
46491
+
46492
+ return new HotspotSequenceSystem(_nPtr);
46493
+ }
46494
+
46495
+ /**
46496
+ * @description Create a Hotspot group
46497
+ * @param groupName - The unique grouping name
46498
+ * @param hotspotIds - Set of hotspot ids to add to the group
46499
+ * @param callback - Callback to call when a response is received
46500
+ */
46501
+
46502
+ async createHotspotGroup(
46503
+ arg1: string,
46504
+ hotspotIds: Common.Array<string>,
46505
+ ): Promise<Systems.HotspotGroupResult> {
46506
+ var _resolve;
46507
+
46508
+ var _promise = new Promise<Systems.HotspotGroupResult>((_r) => {
46509
+ _resolve = _r;
46510
+ });
46511
+
46512
+ var _callbackPtr: number;
46513
+ var _callback = (_stateObject__: number, result) => {
46514
+ var _resultPtr = getNativePointer(result);
46515
+ var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
46516
+
46517
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46518
+ return;
46519
+ }
46520
+
46521
+ _resolve(_resultInstance);
46522
+
46523
+ Module.removeFunction(_callbackPtr);
46524
+ };
46525
+
46526
+ _callbackPtr = Module.addFunction(_callback, "vii");
46527
+
46528
+ Module.ccall(
46529
+ "csp_systems_HotspotSequenceSystem_CreateHotspotGroup_void_StringRC_ArrayRC_HotspotGroupResultCallback",
46530
+ "void",
46531
+ ["number", "string", "number", "number", "number"],
46532
+ [this.pointer, arg1, hotspotIds.pointer, _callbackPtr, 0],
46533
+ );
46534
+
46535
+ return _promise;
46536
+ }
46537
+
46538
+ /**
46539
+ * @description Rename a Hotspot group
46540
+ * @param currentGroupName - The unique grouping name
46541
+ * @param newGroupName - The unique grouping name
46542
+ * @param callback - Callback to call when a response is received
46543
+ */
46544
+
46545
+ async renameHotspotGroup(
46546
+ groupName: string,
46547
+ newGroupName: string,
46548
+ ): Promise<Systems.HotspotGroupResult> {
46549
+ var _resolve;
46550
+
46551
+ var _promise = new Promise<Systems.HotspotGroupResult>((_r) => {
46552
+ _resolve = _r;
46553
+ });
46554
+
46555
+ var _callbackPtr: number;
46556
+ var _callback = (_stateObject__: number, result) => {
46557
+ var _resultPtr = getNativePointer(result);
46558
+ var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
46559
+
46560
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46561
+ return;
46562
+ }
46563
+
46564
+ _resolve(_resultInstance);
46565
+
46566
+ Module.removeFunction(_callbackPtr);
46567
+ };
46568
+
46569
+ _callbackPtr = Module.addFunction(_callback, "vii");
46570
+
46571
+ Module.ccall(
46572
+ "csp_systems_HotspotSequenceSystem_RenameHotspotGroup_void_StringRC_StringRC_HotspotGroupResultCallback",
46573
+ "void",
46574
+ ["number", "string", "string", "number", "number"],
46575
+ [this.pointer, groupName, newGroupName, _callbackPtr, 0],
46576
+ );
46577
+
46578
+ return _promise;
46579
+ }
46580
+
46581
+ /**
46582
+ * @description Update a Hotspot group
46583
+ * @param groupName - The unique grouping name
46584
+ * @param hotspotIds - Set of hotspot ids to replace
46585
+ * @param callback - Callback to call when a response is received
46586
+ */
46587
+
46588
+ async updateHotspotGroup(
46589
+ groupName: string,
46590
+ hotspotIds: Common.Array<string>,
46591
+ ): Promise<Systems.HotspotGroupResult> {
46592
+ var _resolve;
46593
+
46594
+ var _promise = new Promise<Systems.HotspotGroupResult>((_r) => {
46595
+ _resolve = _r;
46596
+ });
46597
+
46598
+ var _callbackPtr: number;
46599
+ var _callback = (_stateObject__: number, result) => {
46600
+ var _resultPtr = getNativePointer(result);
46601
+ var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
46602
+
46603
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46604
+ return;
46605
+ }
46606
+
46607
+ _resolve(_resultInstance);
46608
+
46609
+ Module.removeFunction(_callbackPtr);
46610
+ };
46611
+
46612
+ _callbackPtr = Module.addFunction(_callback, "vii");
46613
+
46614
+ Module.ccall(
46615
+ "csp_systems_HotspotSequenceSystem_UpdateHotspotGroup_void_StringRC_ArrayRC_HotspotGroupResultCallback",
46616
+ "void",
46617
+ ["number", "string", "number", "number", "number"],
46618
+ [this.pointer, groupName, hotspotIds.pointer, _callbackPtr, 0],
46619
+ );
46620
+
46621
+ return _promise;
46622
+ }
46623
+
46624
+ /**
46625
+ * @description Get a Hotspot group by name
46626
+ * @param groupName - The unique grouping name
46627
+ * @param callback - Callback to call when a response is received
46628
+ */
46629
+
46630
+ async getHotspotGroup(
46631
+ groupName: string,
46632
+ ): Promise<Systems.HotspotGroupResult> {
46633
+ var _resolve;
46634
+
46635
+ var _promise = new Promise<Systems.HotspotGroupResult>((_r) => {
46636
+ _resolve = _r;
46637
+ });
46638
+
46639
+ var _callbackPtr: number;
46640
+ var _callback = (_stateObject__: number, result) => {
46641
+ var _resultPtr = getNativePointer(result);
46642
+ var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
46643
+
46644
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46645
+ return;
46646
+ }
46647
+
46648
+ _resolve(_resultInstance);
46649
+
46650
+ Module.removeFunction(_callbackPtr);
46651
+ };
46652
+
46653
+ _callbackPtr = Module.addFunction(_callback, "vii");
46654
+
46655
+ Module.ccall(
46656
+ "csp_systems_HotspotSequenceSystem_GetHotspotGroup_void_StringRC_HotspotGroupResultCallback",
46657
+ "void",
46658
+ ["number", "string", "number", "number"],
46659
+ [this.pointer, groupName, _callbackPtr, 0],
46660
+ );
46661
+
46662
+ return _promise;
46663
+ }
46664
+
46665
+ /**
46666
+ * @description Get all Hotspot groups for the current space and logged in user.
46667
+ * @param callback - Callback to call when a response is received
46668
+ */
46669
+
46670
+ async getHotspotGroups(): Promise<Systems.HotspotGroupsResult> {
46671
+ var _resolve;
46672
+
46673
+ var _promise = new Promise<Systems.HotspotGroupsResult>((_r) => {
46674
+ _resolve = _r;
46675
+ });
46676
+
46677
+ var _callbackPtr: number;
46678
+ var _callback = (_stateObject__: number, result) => {
46679
+ var _resultPtr = getNativePointer(result);
46680
+ var _resultInstance = new Systems.HotspotGroupsResult(_resultPtr);
46681
+
46682
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46683
+ return;
46684
+ }
46685
+
46686
+ _resolve(_resultInstance);
46687
+
46688
+ Module.removeFunction(_callbackPtr);
46689
+ };
46690
+
46691
+ _callbackPtr = Module.addFunction(_callback, "vii");
46692
+
46693
+ Module.ccall(
46694
+ "csp_systems_HotspotSequenceSystem_GetHotspotGroups_void_HotspotGroupsResultCallback",
46695
+ "void",
46696
+ ["number", "number", "number"],
46697
+ [this.pointer, _callbackPtr, 0],
46698
+ );
46699
+
46700
+ return _promise;
46701
+ }
46702
+
46703
+ /**
46704
+ * @description Delete a Hotspot group by name
46705
+ * @param groupName - The unique grouping name
46706
+ * @param callback - Callback to call when a response is received
46707
+ */
46708
+
46709
+ async deleteHotspotGroup(groupName: string): Promise<Systems.NullResult> {
46710
+ var _resolve;
46711
+
46712
+ var _promise = new Promise<Systems.NullResult>((_r) => {
46713
+ _resolve = _r;
46714
+ });
46715
+
46716
+ var _callbackPtr: number;
46717
+ var _callback = (_stateObject__: number, result) => {
46718
+ var _resultPtr = getNativePointer(result);
46719
+ var _resultInstance = new Systems.NullResult(_resultPtr);
46720
+
46721
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
46722
+ return;
46723
+ }
46724
+
46725
+ _resolve(_resultInstance);
46726
+
46727
+ Module.removeFunction(_callbackPtr);
46728
+ };
46729
+
46730
+ _callbackPtr = Module.addFunction(_callback, "vii");
46731
+
46732
+ Module.ccall(
46733
+ "csp_systems_HotspotSequenceSystem_DeleteHotspotGroup_void_StringRC_NullResultCallback",
46734
+ "void",
46735
+ ["number", "string", "number", "number"],
46736
+ [this.pointer, groupName, _callbackPtr, 0],
46737
+ );
46738
+
46739
+ return _promise;
46740
+ }
46741
+
46742
+ delete(): void {
46743
+ if (this.ownsPointer && !this.disposed) {
46744
+ Module.ccall(
46745
+ "csp_systems_HotspotSequenceSystem_Dtor",
46746
+ "void",
46747
+ ["number"],
46748
+ [this.pointer],
46749
+ );
46750
+
46751
+ this.disposed = true;
46752
+ }
46753
+ }
46754
+ }
46755
+ }
46756
+
46096
46757
  export namespace Systems {
46097
46758
  /**
46098
46759
  @ingroup CSPFoundation
@@ -47678,10 +48339,11 @@ export namespace Systems {
47678
48339
  /**
47679
48340
  * @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
47680
48341
  * This call will fail if the user isn't a creator of the space.
47681
- * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
47682
- * @param referenceType - The type of reference (GroupId, SpaceId etc.)
48342
+ * @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
48343
+ * @param referenceType - The type of reference (GroupId etc.)
47683
48344
  * @param referenceId - The id of the reference
47684
48345
  * @param items - An ordered array of members
48346
+ * @param metaData - Any additional data relating to the Sequence
47685
48347
  * @param callback - Callback to call when a response is received
47686
48348
  */
47687
48349
 
@@ -47690,6 +48352,7 @@ export namespace Systems {
47690
48352
  referenceType: string,
47691
48353
  referenceId: string,
47692
48354
  items: Common.Array<string>,
48355
+ metaData: Common.Map<string, string>,
47693
48356
  ): Promise<Systems.SequenceResult> {
47694
48357
  var _resolve;
47695
48358
 
@@ -47714,15 +48377,25 @@ export namespace Systems {
47714
48377
  _callbackPtr = Module.addFunction(_callback, "vii");
47715
48378
 
47716
48379
  Module.ccall(
47717
- "csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
48380
+ "csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_MapRC_SequenceResultCallback",
47718
48381
  "void",
47719
- ["number", "string", "string", "string", "number", "number", "number"],
48382
+ [
48383
+ "number",
48384
+ "string",
48385
+ "string",
48386
+ "string",
48387
+ "number",
48388
+ "number",
48389
+ "number",
48390
+ "number",
48391
+ ],
47720
48392
  [
47721
48393
  this.pointer,
47722
48394
  sequenceKey,
47723
48395
  referenceType,
47724
48396
  referenceId,
47725
48397
  items.pointer,
48398
+ metaData.pointer,
47726
48399
  _callbackPtr,
47727
48400
  0,
47728
48401
  ],
@@ -47733,10 +48406,11 @@ export namespace Systems {
47733
48406
 
47734
48407
  /**
47735
48408
  * @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
47736
- * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
47737
- * @param referenceType - The type of reference (GroupId, SpaceId etc.)
48409
+ * @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
48410
+ * @param referenceType - The type of reference (GroupId etc.)
47738
48411
  * @param referenceId - The id of the reference
47739
48412
  * @param items - An ordered array of members
48413
+ * @param metaData - Any additional data relating to the Sequence
47740
48414
  * @param callback - Callback to call when a response is received
47741
48415
  */
47742
48416
 
@@ -47745,6 +48419,7 @@ export namespace Systems {
47745
48419
  referenceType: string,
47746
48420
  referenceId: string,
47747
48421
  items: Common.Array<string>,
48422
+ metaData: Common.Map<string, string>,
47748
48423
  ): Promise<Systems.SequenceResult> {
47749
48424
  var _resolve;
47750
48425
 
@@ -47769,15 +48444,25 @@ export namespace Systems {
47769
48444
  _callbackPtr = Module.addFunction(_callback, "vii");
47770
48445
 
47771
48446
  Module.ccall(
47772
- "csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
48447
+ "csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_MapRC_SequenceResultCallback",
47773
48448
  "void",
47774
- ["number", "string", "string", "string", "number", "number", "number"],
48449
+ [
48450
+ "number",
48451
+ "string",
48452
+ "string",
48453
+ "string",
48454
+ "number",
48455
+ "number",
48456
+ "number",
48457
+ "number",
48458
+ ],
47775
48459
  [
47776
48460
  this.pointer,
47777
48461
  sequenceKey,
47778
48462
  referenceType,
47779
48463
  referenceId,
47780
48464
  items.pointer,
48465
+ metaData.pointer,
47781
48466
  _callbackPtr,
47782
48467
  0,
47783
48468
  ],
@@ -47833,8 +48518,9 @@ export namespace Systems {
47833
48518
  * @description Finds sequences based on the given criteria
47834
48519
  * @param sequenceKeys - An array of sequence keys to search for
47835
48520
  * @param sequenceKeys - An optional regex string for searching keys
47836
- * @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
48521
+ * @param referenceType - The type of reference (GroupId etc.). Must be used with ReferenceIds
47837
48522
  * @param referenceIds - The ids of the reference. Must be used with ReferenceType
48523
+ * @param metaData - Any additional data relating to the Sequence
47838
48524
  * @param callback - Callback to call when a response is received
47839
48525
  */
47840
48526
 
@@ -47843,6 +48529,7 @@ export namespace Systems {
47843
48529
  keyRegex: string | null,
47844
48530
  referenceType: string | null,
47845
48531
  referenceIds: Common.Array<string>,
48532
+ metaData: Common.Map<string, string>,
47846
48533
  ): Promise<Systems.SequencesResult> {
47847
48534
  var _resolve;
47848
48535
 
@@ -47867,15 +48554,25 @@ export namespace Systems {
47867
48554
  _callbackPtr = Module.addFunction(_callback, "vii");
47868
48555
 
47869
48556
  Module.ccall(
47870
- "csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_SequencesResultCallback",
48557
+ "csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_MapRC_SequencesResultCallback",
47871
48558
  "void",
47872
- ["number", "number", "string", "string", "number", "number", "number"],
48559
+ [
48560
+ "number",
48561
+ "number",
48562
+ "string",
48563
+ "string",
48564
+ "number",
48565
+ "number",
48566
+ "number",
48567
+ "number",
48568
+ ],
47873
48569
  [
47874
48570
  this.pointer,
47875
48571
  sequenceKeys.pointer,
47876
48572
  keyRegex,
47877
48573
  referenceType,
47878
48574
  referenceIds.pointer,
48575
+ metaData.pointer,
47879
48576
  _callbackPtr,
47880
48577
  0,
47881
48578
  ],
@@ -54363,6 +55060,24 @@ export namespace Common {
54363
55060
  return _inst;
54364
55061
  }
54365
55062
 
55063
+ static ofcsp_systems_HotspotGroup(): Array<Systems.HotspotGroup> {
55064
+ var _ret = Module._malloc(8);
55065
+ Module.ccall(
55066
+ "csp_common_Array_Ctor_csp_systems_HotspotGroup",
55067
+ "void",
55068
+ ["number"],
55069
+ [_ret],
55070
+ );
55071
+ var _inst = new Array<Systems.HotspotGroup>(
55072
+ getNativePointer(_ret),
55073
+ csp_systems_HotspotGroupFactory,
55074
+ "csp_systems_HotspotGroup",
55075
+ );
55076
+ Module._free(_ret);
55077
+
55078
+ return _inst;
55079
+ }
55080
+
54366
55081
  static ofcsp_systems_MaintenanceInfo(): Array<Systems.MaintenanceInfo> {
54367
55082
  var _ret = Module._malloc(8);
54368
55083
  Module.ccall(
@@ -55123,6 +55838,26 @@ export namespace Common {
55123
55838
  return _inst;
55124
55839
  }
55125
55840
 
55841
+ static ofcsp_systems_HotspotGroup_number(
55842
+ size: number,
55843
+ ): Array<Systems.HotspotGroup> {
55844
+ var _ret = Module._malloc(8);
55845
+ Module.ccall(
55846
+ "csp_common_Array_Conv_size_tC_csp_systems_HotspotGroup",
55847
+ "void",
55848
+ ["number", "number"],
55849
+ [_ret, size],
55850
+ );
55851
+ var _inst = new Array<Systems.HotspotGroup>(
55852
+ getNativePointer(_ret),
55853
+ csp_systems_HotspotGroupFactory,
55854
+ "csp_systems_HotspotGroup",
55855
+ );
55856
+ Module._free(_ret);
55857
+
55858
+ return _inst;
55859
+ }
55860
+
55126
55861
  static ofcsp_systems_MaintenanceInfo_number(
55127
55862
  size: number,
55128
55863
  ): Array<Systems.MaintenanceInfo> {