connected-spaces-platform.web 4.28.1 → 4.29.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.
@@ -129,7 +129,8 @@ export declare namespace Multiplayer {
129
129
  ECommerce = 22,
130
130
  FiducialMarker = 23,
131
131
  GaussianSplat = 24,
132
- Text = 25
132
+ Text = 25,
133
+ Hotspot = 26
133
134
  }
134
135
  }
135
136
  export declare namespace Multiplayer {
@@ -559,6 +560,26 @@ export declare namespace Multiplayer {
559
560
  Num = 10
560
561
  }
561
562
  }
563
+ export declare namespace Multiplayer {
564
+ enum HotspotType {
565
+ TeleportHotspot = 0,
566
+ SpawnHotspot = 1
567
+ }
568
+ }
569
+ export declare namespace Multiplayer {
570
+ /**
571
+ * @description Enumerates the list of properties that can be replicated for an Hotspot space component.
572
+ */
573
+ enum HotspotPropertyKeys {
574
+ Position = 0,
575
+ Rotation = 1,
576
+ Name = 2,
577
+ HotspotType = 3,
578
+ IsVisible = 4,
579
+ IsARVisible = 5,
580
+ Num = 6
581
+ }
582
+ }
562
583
  export declare namespace Multiplayer {
563
584
  /**
564
585
  * @description Enumerates the list of properties that can be replicated for an image space component.
@@ -1599,6 +1620,8 @@ export declare class EndpointURIs extends NativeClassWrapper implements INativeR
1599
1620
  set aggregationServiceURI(value: string);
1600
1621
  get trackingServiceURI(): string;
1601
1622
  set trackingServiceURI(value: string);
1623
+ get maintenanceWindowURI(): string;
1624
+ set maintenanceWindowURI(value: string);
1602
1625
  }
1603
1626
  /**
1604
1627
  * @description Holds client data used in requests for all Magnopus Serives.
@@ -7355,6 +7378,88 @@ export declare namespace Multiplayer {
7355
7378
  delete(): void;
7356
7379
  }
7357
7380
  }
7381
+ export declare namespace Multiplayer {
7382
+ /**
7383
+ @ingroup HotspotSpaceComponent
7384
+ * @description Data representation of an HotspotSpaceComponent.
7385
+ */
7386
+ class HotspotSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IRotationComponent, Multiplayer.IVisibleComponent, INativeResource {
7387
+ /** @internal */
7388
+ constructor(pointer: NativePointer);
7389
+ static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.HotspotSpaceComponent;
7390
+ /**
7391
+ * @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
7392
+ * @param parent - The Space entity that owns this component.
7393
+ */
7394
+ static create_parent(parent: Multiplayer.SpaceEntity): HotspotSpaceComponent;
7395
+ /**
7396
+ * @description Gets the Name of the Hotspot.
7397
+ * @return The Name of the Hotspot.
7398
+ */
7399
+ getName(): string;
7400
+ /**
7401
+ * @description Sets the Name of this Hotspot.
7402
+ * @param value - The Name of this Hotspot.
7403
+ */
7404
+ setName(value: string): void;
7405
+ /**
7406
+ * @description Gets the HotspotType of this Hotspot.
7407
+ */
7408
+ getHotspotType(): Multiplayer.HotspotType;
7409
+ /**
7410
+ * @description Sets the HotspotType of this Hotspot.
7411
+ * @param value - The Type of the Hotspot.
7412
+ */
7413
+ setHotspotType(value: Multiplayer.HotspotType): void;
7414
+ /**
7415
+ * @description Gets a unique identifier for this component in the hierarchy.
7416
+ * NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
7417
+ * @return Componentid'.
7418
+ */
7419
+ getUniqueComponentId(): string;
7420
+ /**
7421
+ * \addtogroup IPositionComponent
7422
+ @{
7423
+ @copydoc IPositionComponent::GetPosition()
7424
+ */
7425
+ getPosition(): Common.Vector3;
7426
+ /**
7427
+ @copydoc IPositionComponent::SetPosition()
7428
+ */
7429
+ setPosition(value: Common.Vector3): void;
7430
+ /**
7431
+ @}
7432
+ * \addtogroup IRotationComponent
7433
+ @{
7434
+ @copydoc IRotationComponent::GetRotation()
7435
+ */
7436
+ getRotation(): Common.Vector4;
7437
+ /**
7438
+ @copydoc IRotationComponent::SetRotation()
7439
+ */
7440
+ setRotation(value: Common.Vector4): void;
7441
+ /**
7442
+ @}
7443
+ * \addtogroup IVisibleComponent
7444
+ @{
7445
+ @copydoc IVisibleComponent::GetIsVisible()
7446
+ */
7447
+ getIsVisible(): boolean;
7448
+ /**
7449
+ @copydoc IVisibleComponent::SetIsVisible()
7450
+ */
7451
+ setIsVisible(value: boolean): void;
7452
+ /**
7453
+ @copydoc IVisibleComponent::GetIsARVisible()
7454
+ */
7455
+ getIsARVisible(): boolean;
7456
+ /**
7457
+ @copydoc IVisibleComponent::SetIsARVisible()
7458
+ */
7459
+ setIsARVisible(value: boolean): void;
7460
+ delete(): void;
7461
+ }
7462
+ }
7358
7463
  export declare namespace Multiplayer {
7359
7464
  /**
7360
7465
  @ingroup ImageSpaceComponent
@@ -9278,7 +9383,7 @@ export declare namespace Systems {
9278
9383
  * @description Receives information on planned maintenances outages schedules for the future
9279
9384
  * @param callback - Callback when asynchronous task finishes
9280
9385
  */
9281
- getMaintenanceInfo(): Promise<Systems.MaintenanceInfoResult>;
9386
+ getMaintenanceInfo(maintenanceURL: string): Promise<Systems.MaintenanceInfoResult>;
9282
9387
  }
9283
9388
  }
9284
9389
  export declare namespace Systems {
@@ -428,6 +428,16 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(nativePointer) {
428
428
  }
429
429
  ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
430
430
  csp_multiplayer_GaussianSplatPropertyKeysFactory;
431
+ function csp_multiplayer_HotspotTypeFactory(nativePointer) {
432
+ return nativePointer.pointer;
433
+ }
434
+ ProxyClassFactories["csp_multiplayer_HotspotType"] =
435
+ csp_multiplayer_HotspotTypeFactory;
436
+ function csp_multiplayer_HotspotPropertyKeysFactory(nativePointer) {
437
+ return nativePointer.pointer;
438
+ }
439
+ ProxyClassFactories["csp_multiplayer_HotspotPropertyKeys"] =
440
+ csp_multiplayer_HotspotPropertyKeysFactory;
431
441
  function csp_multiplayer_ImagePropertyKeysFactory(nativePointer) {
432
442
  return nativePointer.pointer;
433
443
  }
@@ -1027,6 +1037,11 @@ function csp_multiplayer_GaussianSplatSpaceComponentFactory(nativePointer) {
1027
1037
  }
1028
1038
  ProxyClassFactories["csp_multiplayer_GaussianSplatSpaceComponent"] =
1029
1039
  csp_multiplayer_GaussianSplatSpaceComponentFactory;
1040
+ function csp_multiplayer_HotspotSpaceComponentFactory(nativePointer) {
1041
+ return new Multiplayer.HotspotSpaceComponent(nativePointer);
1042
+ }
1043
+ ProxyClassFactories["csp_multiplayer_HotspotSpaceComponent"] =
1044
+ csp_multiplayer_HotspotSpaceComponentFactory;
1030
1045
  function csp_multiplayer_ImageSpaceComponentFactory(nativePointer) {
1031
1046
  return new Multiplayer.ImageSpaceComponent(nativePointer);
1032
1047
  }
@@ -1734,6 +1749,7 @@ export var Multiplayer;
1734
1749
  ComponentType[ComponentType["FiducialMarker"] = 23] = "FiducialMarker";
1735
1750
  ComponentType[ComponentType["GaussianSplat"] = 24] = "GaussianSplat";
1736
1751
  ComponentType[ComponentType["Text"] = 25] = "Text";
1752
+ ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
1737
1753
  })(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
1738
1754
  })(Multiplayer || (Multiplayer = {}));
1739
1755
  (function (Multiplayer) {
@@ -2194,6 +2210,28 @@ export var Multiplayer;
2194
2210
  GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Num"] = 10] = "Num";
2195
2211
  })(GaussianSplatPropertyKeys = Multiplayer.GaussianSplatPropertyKeys || (Multiplayer.GaussianSplatPropertyKeys = {}));
2196
2212
  })(Multiplayer || (Multiplayer = {}));
2213
+ (function (Multiplayer) {
2214
+ let HotspotType;
2215
+ (function (HotspotType) {
2216
+ HotspotType[HotspotType["TeleportHotspot"] = 0] = "TeleportHotspot";
2217
+ HotspotType[HotspotType["SpawnHotspot"] = 1] = "SpawnHotspot";
2218
+ })(HotspotType = Multiplayer.HotspotType || (Multiplayer.HotspotType = {}));
2219
+ })(Multiplayer || (Multiplayer = {}));
2220
+ (function (Multiplayer) {
2221
+ /**
2222
+ * @description Enumerates the list of properties that can be replicated for an Hotspot space component.
2223
+ */
2224
+ let HotspotPropertyKeys;
2225
+ (function (HotspotPropertyKeys) {
2226
+ HotspotPropertyKeys[HotspotPropertyKeys["Position"] = 0] = "Position";
2227
+ HotspotPropertyKeys[HotspotPropertyKeys["Rotation"] = 1] = "Rotation";
2228
+ HotspotPropertyKeys[HotspotPropertyKeys["Name"] = 2] = "Name";
2229
+ HotspotPropertyKeys[HotspotPropertyKeys["HotspotType"] = 3] = "HotspotType";
2230
+ HotspotPropertyKeys[HotspotPropertyKeys["IsVisible"] = 4] = "IsVisible";
2231
+ HotspotPropertyKeys[HotspotPropertyKeys["IsARVisible"] = 5] = "IsARVisible";
2232
+ HotspotPropertyKeys[HotspotPropertyKeys["Num"] = 6] = "Num";
2233
+ })(HotspotPropertyKeys = Multiplayer.HotspotPropertyKeys || (Multiplayer.HotspotPropertyKeys = {}));
2234
+ })(Multiplayer || (Multiplayer = {}));
2197
2235
  (function (Multiplayer) {
2198
2236
  /**
2199
2237
  * @description Enumerates the list of properties that can be replicated for an image space component.
@@ -2858,6 +2896,13 @@ export class EndpointURIs extends NativeClassWrapper {
2858
2896
  set trackingServiceURI(value) {
2859
2897
  Module.ccall("csp_EndpointURIs__Set_TrackingServiceURI", "void", ["number", "string"], [this.pointer, value]);
2860
2898
  }
2899
+ get maintenanceWindowURI() {
2900
+ let _result = Module.ccall("csp_EndpointURIs__Get_MaintenanceWindowURI", "string", ["number"], [this.pointer]);
2901
+ return _result;
2902
+ }
2903
+ set maintenanceWindowURI(value) {
2904
+ Module.ccall("csp_EndpointURIs__Set_MaintenanceWindowURI", "void", ["number", "string"], [this.pointer, value]);
2905
+ }
2861
2906
  }
2862
2907
  /**
2863
2908
  * @description Holds client data used in requests for all Magnopus Serives.
@@ -17224,6 +17269,149 @@ export class CSPFoundation {
17224
17269
  }
17225
17270
  Multiplayer.GaussianSplatSpaceComponent = GaussianSplatSpaceComponent;
17226
17271
  })(Multiplayer || (Multiplayer = {}));
17272
+ (function (Multiplayer) {
17273
+ /**
17274
+ @ingroup HotspotSpaceComponent
17275
+ * @description Data representation of an HotspotSpaceComponent.
17276
+ */
17277
+ class HotspotSpaceComponent extends Multiplayer.ComponentBase {
17278
+ /** @internal */
17279
+ constructor(pointer) {
17280
+ super(pointer);
17281
+ }
17282
+ static fromComponentBase(baseInstance) {
17283
+ const nativeClassWrapper = baseInstance;
17284
+ return new Multiplayer.HotspotSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
17285
+ }
17286
+ /**
17287
+ * @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
17288
+ * @param parent - The Space entity that owns this component.
17289
+ */
17290
+ static create_parent(parent) {
17291
+ var _ptr = Module._malloc(8);
17292
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_Ctor_SpaceEntityP", "void", ["number", "number"], [_ptr, parent.pointer]);
17293
+ var _nPtr = getNativePointer(_ptr);
17294
+ return new HotspotSpaceComponent(_nPtr);
17295
+ }
17296
+ /**
17297
+ * @description Gets the Name of the Hotspot.
17298
+ * @return The Name of the Hotspot.
17299
+ */
17300
+ getName() {
17301
+ let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
17302
+ const _resultString = Module.UTF8ToString(_result);
17303
+ free(_result);
17304
+ _result = _resultString;
17305
+ return _result;
17306
+ }
17307
+ /**
17308
+ * @description Sets the Name of this Hotspot.
17309
+ * @param value - The Name of this Hotspot.
17310
+ */
17311
+ setName(value) {
17312
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
17313
+ }
17314
+ /**
17315
+ * @description Gets the HotspotType of this Hotspot.
17316
+ */
17317
+ getHotspotType() {
17318
+ let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetHotspotTypeC_HotspotType", "number", ["number"], [this.pointer]);
17319
+ return _result;
17320
+ }
17321
+ /**
17322
+ * @description Sets the HotspotType of this Hotspot.
17323
+ * @param value - The Type of the Hotspot.
17324
+ */
17325
+ setHotspotType(value) {
17326
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetHotspotType_void_HotspotType", "void", ["number", "number"], [this.pointer, value]);
17327
+ }
17328
+ /**
17329
+ * @description Gets a unique identifier for this component in the hierarchy.
17330
+ * NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
17331
+ * @return Componentid'.
17332
+ */
17333
+ getUniqueComponentId() {
17334
+ let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetUniqueComponentIdC_StringRC", "number", ["number"], [this.pointer]);
17335
+ const _resultString = Module.UTF8ToString(_result);
17336
+ free(_result);
17337
+ _result = _resultString;
17338
+ return _result;
17339
+ }
17340
+ /**
17341
+ * \addtogroup IPositionComponent
17342
+ @{
17343
+ @copydoc IPositionComponent::GetPosition()
17344
+ */
17345
+ getPosition() {
17346
+ var _ret = Module._malloc(8);
17347
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
17348
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
17349
+ Module._free(_ret);
17350
+ return _nPtr;
17351
+ }
17352
+ /**
17353
+ @copydoc IPositionComponent::SetPosition()
17354
+ */
17355
+ setPosition(value) {
17356
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
17357
+ }
17358
+ /**
17359
+ @}
17360
+ * \addtogroup IRotationComponent
17361
+ @{
17362
+ @copydoc IRotationComponent::GetRotation()
17363
+ */
17364
+ getRotation() {
17365
+ var _ret = Module._malloc(8);
17366
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetRotationC_Vector4RC", "void", ["number", "number"], [_ret, this.pointer]);
17367
+ var _nPtr = new Common.Vector4(getNativePointer(_ret));
17368
+ Module._free(_ret);
17369
+ return _nPtr;
17370
+ }
17371
+ /**
17372
+ @copydoc IRotationComponent::SetRotation()
17373
+ */
17374
+ setRotation(value) {
17375
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetRotation_void_Vector4RC", "void", ["number", "number"], [this.pointer, value.pointer]);
17376
+ }
17377
+ /**
17378
+ @}
17379
+ * \addtogroup IVisibleComponent
17380
+ @{
17381
+ @copydoc IVisibleComponent::GetIsVisible()
17382
+ */
17383
+ getIsVisible() {
17384
+ let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
17385
+ return _result;
17386
+ }
17387
+ /**
17388
+ @copydoc IVisibleComponent::SetIsVisible()
17389
+ */
17390
+ setIsVisible(value) {
17391
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
17392
+ }
17393
+ /**
17394
+ @copydoc IVisibleComponent::GetIsARVisible()
17395
+ */
17396
+ getIsARVisible() {
17397
+ let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
17398
+ return _result;
17399
+ }
17400
+ /**
17401
+ @copydoc IVisibleComponent::SetIsARVisible()
17402
+ */
17403
+ setIsARVisible(value) {
17404
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
17405
+ }
17406
+ delete() {
17407
+ if (this.ownsPointer && !this.disposed) {
17408
+ Module.ccall("csp_multiplayer_HotspotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
17409
+ this.disposed = true;
17410
+ }
17411
+ }
17412
+ }
17413
+ Multiplayer.HotspotSpaceComponent = HotspotSpaceComponent;
17414
+ })(Multiplayer || (Multiplayer = {}));
17227
17415
  (function (Multiplayer) {
17228
17416
  /**
17229
17417
  @ingroup ImageSpaceComponent
@@ -21512,7 +21700,7 @@ export class CSPFoundation {
21512
21700
  * @description Receives information on planned maintenances outages schedules for the future
21513
21701
  * @param callback - Callback when asynchronous task finishes
21514
21702
  */
21515
- async getMaintenanceInfo() {
21703
+ async getMaintenanceInfo(maintenanceURL) {
21516
21704
  var _resolve;
21517
21705
  var _promise = new Promise((_r) => {
21518
21706
  _resolve = _r;
@@ -21528,7 +21716,7 @@ export class CSPFoundation {
21528
21716
  Module.removeFunction(_callbackPtr);
21529
21717
  };
21530
21718
  _callbackPtr = Module.addFunction(_callback, "vii");
21531
- Module.ccall("csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_MaintenanceInfoCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
21719
+ Module.ccall("csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback", "void", ["number", "string", "number", "number"], [this.pointer, maintenanceURL, _callbackPtr, 0]);
21532
21720
  return _promise;
21533
21721
  }
21534
21722
  }