connected-spaces-platform.web 4.28.1 → 4.30.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.
@@ -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 {
@@ -156,6 +157,13 @@ export declare namespace Multiplayer {
156
157
  Invalid = 3
157
158
  }
158
159
  }
160
+ export declare namespace Multiplayer {
161
+ enum ESequenceUpdateType {
162
+ Create = 0,
163
+ Update = 1,
164
+ Delete = 2
165
+ }
166
+ }
159
167
  export declare namespace Multiplayer {
160
168
  /**
161
169
  * @description Enum used to specify the current state of the multiplayer connection.
@@ -559,6 +567,21 @@ export declare namespace Multiplayer {
559
567
  Num = 10
560
568
  }
561
569
  }
570
+ export declare namespace Multiplayer {
571
+ /**
572
+ * @description Enumerates the list of properties that can be replicated for an Hotspot space component.
573
+ */
574
+ enum HotspotPropertyKeys {
575
+ Position = 0,
576
+ Rotation = 1,
577
+ Name = 2,
578
+ IsTeleportPoint = 3,
579
+ IsSpawnPoint = 4,
580
+ IsVisible = 5,
581
+ IsARVisible = 6,
582
+ Num = 7
583
+ }
584
+ }
562
585
  export declare namespace Multiplayer {
563
586
  /**
564
587
  * @description Enumerates the list of properties that can be replicated for an image space component.
@@ -1599,6 +1622,8 @@ export declare class EndpointURIs extends NativeClassWrapper implements INativeR
1599
1622
  set aggregationServiceURI(value: string);
1600
1623
  get trackingServiceURI(): string;
1601
1624
  set trackingServiceURI(value: string);
1625
+ get maintenanceWindowURI(): string;
1626
+ set maintenanceWindowURI(value: string);
1602
1627
  }
1603
1628
  /**
1604
1629
  * @description Holds client data used in requests for all Magnopus Serives.
@@ -3590,6 +3615,20 @@ export declare namespace Multiplayer {
3590
3615
  set userId(value: string);
3591
3616
  }
3592
3617
  }
3618
+ export declare namespace Multiplayer {
3619
+ class SequenceChangedParams extends NativeClassWrapper implements INativeResource {
3620
+ /** @internal */
3621
+ constructor(pointer: NativePointer);
3622
+ static create(): SequenceChangedParams;
3623
+ delete(): void;
3624
+ get updateType(): Multiplayer.ESequenceUpdateType;
3625
+ set updateType(value: Multiplayer.ESequenceUpdateType);
3626
+ get key(): string;
3627
+ set key(value: string);
3628
+ get newKey(): string;
3629
+ set newKey(value: string);
3630
+ }
3631
+ }
3593
3632
  export declare namespace Multiplayer {
3594
3633
  /**
3595
3634
  @ingroup Multiplayer
@@ -3645,6 +3684,11 @@ export declare namespace Multiplayer {
3645
3684
  * @param callback - Callback to receive data for the user permissions that has been changed.
3646
3685
  */
3647
3686
  setUserPermissionsChangedCallback(callback: (arg1: Multiplayer.UserPermissionsParams) => void): void;
3687
+ /**
3688
+ * @description Sets a callback for a sequence changed event.
3689
+ * @param callback - Callback to receive data for the sequence that has been changed.
3690
+ */
3691
+ setSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceChangedParams) => void): void;
3648
3692
  /**
3649
3693
  * @description Registers a callback to listen for the named event.
3650
3694
  * @param eventName - The identifying name for the event to listen for.
@@ -4614,6 +4658,11 @@ export declare namespace Systems {
4614
4658
  * @return Pointer to the organization system class
4615
4659
  */
4616
4660
  getOrganizationSystem(): Systems.OrganizationSystem;
4661
+ /**
4662
+ * @description Retrieves the Sequence system.
4663
+ * @return Pointer to the sequence system class
4664
+ */
4665
+ getSequenceSystem(): Systems.SequenceSystem;
4617
4666
  getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
4618
4667
  getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
4619
4668
  }
@@ -5418,6 +5467,26 @@ export declare namespace Systems {
5418
5467
  runScriptFile(contextId: bigint, scriptFilePath: string): boolean;
5419
5468
  }
5420
5469
  }
5470
+ export declare namespace Systems {
5471
+ /**
5472
+ @ingroup Sequence System
5473
+ * @description A basic class abstraction for a sequence, including key, and reference variables, and items.
5474
+ */
5475
+ class Sequence extends NativeClassWrapper implements INativeResource {
5476
+ /** @internal */
5477
+ constructor(pointer: NativePointer);
5478
+ static create(): Sequence;
5479
+ delete(): void;
5480
+ get key(): string;
5481
+ set key(value: string);
5482
+ get referenceType(): string;
5483
+ set referenceType(value: string);
5484
+ get referenceId(): string;
5485
+ set referenceId(value: string);
5486
+ get items(): Common.Array<string>;
5487
+ set items(value: Common.Array<string>);
5488
+ }
5489
+ }
5421
5490
  export declare namespace Systems {
5422
5491
  /**
5423
5492
  @ingroup Settings System
@@ -7355,6 +7424,97 @@ export declare namespace Multiplayer {
7355
7424
  delete(): void;
7356
7425
  }
7357
7426
  }
7427
+ export declare namespace Multiplayer {
7428
+ /**
7429
+ @ingroup HotspotSpaceComponent
7430
+ * @description Data representation of an HotspotSpaceComponent.
7431
+ */
7432
+ class HotspotSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IRotationComponent, Multiplayer.IVisibleComponent, INativeResource {
7433
+ /** @internal */
7434
+ constructor(pointer: NativePointer);
7435
+ static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.HotspotSpaceComponent;
7436
+ /**
7437
+ * @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
7438
+ * @param parent - The Space entity that owns this component.
7439
+ */
7440
+ static create_parent(parent: Multiplayer.SpaceEntity): HotspotSpaceComponent;
7441
+ /**
7442
+ * @description Gets the Name of the Hotspot.
7443
+ * @return The Name of the Hotspot.
7444
+ */
7445
+ getName(): string;
7446
+ /**
7447
+ * @description Sets the Name of this Hotspot.
7448
+ * @param value - The Name of this Hotspot.
7449
+ */
7450
+ setName(value: string): void;
7451
+ /**
7452
+ * @description Gets the IsTeleportPoint of this Hotspot.
7453
+ */
7454
+ getIsTeleportPoint(): boolean;
7455
+ /**
7456
+ * @description Sets this Hotspot to be a teleport point.
7457
+ * @param inValue - The teleport point state flag value.
7458
+ */
7459
+ setIsTeleportPoint(value: boolean): void;
7460
+ /**
7461
+ * @description Gets the IsSpawnPoint of this Hotspot.
7462
+ */
7463
+ getIsSpawnPoint(): boolean;
7464
+ /**
7465
+ * @description Sets this Hotspot to be a spawn point.
7466
+ * @param inValue - The spawn point state flag value.
7467
+ */
7468
+ setIsSpawnPoint(value: boolean): void;
7469
+ /**
7470
+ * @description Gets a unique identifier for this component in the hierarchy.
7471
+ * NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
7472
+ * @return Componentid'.
7473
+ */
7474
+ getUniqueComponentId(): string;
7475
+ /**
7476
+ * \addtogroup IPositionComponent
7477
+ @{
7478
+ @copydoc IPositionComponent::GetPosition()
7479
+ */
7480
+ getPosition(): Common.Vector3;
7481
+ /**
7482
+ @copydoc IPositionComponent::SetPosition()
7483
+ */
7484
+ setPosition(value: Common.Vector3): void;
7485
+ /**
7486
+ @}
7487
+ * \addtogroup IRotationComponent
7488
+ @{
7489
+ @copydoc IRotationComponent::GetRotation()
7490
+ */
7491
+ getRotation(): Common.Vector4;
7492
+ /**
7493
+ @copydoc IRotationComponent::SetRotation()
7494
+ */
7495
+ setRotation(value: Common.Vector4): void;
7496
+ /**
7497
+ @}
7498
+ * \addtogroup IVisibleComponent
7499
+ @{
7500
+ @copydoc IVisibleComponent::GetIsVisible()
7501
+ */
7502
+ getIsVisible(): boolean;
7503
+ /**
7504
+ @copydoc IVisibleComponent::SetIsVisible()
7505
+ */
7506
+ setIsVisible(value: boolean): void;
7507
+ /**
7508
+ @copydoc IVisibleComponent::GetIsARVisible()
7509
+ */
7510
+ getIsARVisible(): boolean;
7511
+ /**
7512
+ @copydoc IVisibleComponent::SetIsARVisible()
7513
+ */
7514
+ setIsARVisible(value: boolean): void;
7515
+ delete(): void;
7516
+ }
7517
+ }
7358
7518
  export declare namespace Multiplayer {
7359
7519
  /**
7360
7520
  @ingroup ImageSpaceComponent
@@ -9278,7 +9438,7 @@ export declare namespace Systems {
9278
9438
  * @description Receives information on planned maintenances outages schedules for the future
9279
9439
  * @param callback - Callback when asynchronous task finishes
9280
9440
  */
9281
- getMaintenanceInfo(): Promise<Systems.MaintenanceInfoResult>;
9441
+ getMaintenanceInfo(maintenanceURL: string): Promise<Systems.MaintenanceInfoResult>;
9282
9442
  }
9283
9443
  }
9284
9444
  export declare namespace Systems {
@@ -9566,6 +9726,90 @@ export declare namespace Systems {
9566
9726
  getTierFeaturesQuota(tierName: Systems.TierNames): Promise<Systems.FeaturesQuotaResult>;
9567
9727
  }
9568
9728
  }
9729
+ export declare namespace Systems {
9730
+ /**
9731
+ @ingroup Sequence System
9732
+ * @description Result structure for a sequence result
9733
+ */
9734
+ class SequenceResult extends Systems.ResultBase implements INativeResource {
9735
+ /** @internal */
9736
+ constructor(pointer: NativePointer);
9737
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.SequenceResult;
9738
+ getSequence(): Systems.Sequence;
9739
+ delete(): void;
9740
+ }
9741
+ }
9742
+ export declare namespace Systems {
9743
+ /**
9744
+ @ingroup Sequence System
9745
+ * @description Data class used to contain information when attempting to get an array of sequences.
9746
+ */
9747
+ class SequencesResult extends Systems.ResultBase implements INativeResource {
9748
+ /** @internal */
9749
+ constructor(pointer: NativePointer);
9750
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.SequencesResult;
9751
+ getSequences(): Common.Array<Systems.Sequence>;
9752
+ delete(): void;
9753
+ }
9754
+ }
9755
+ export declare namespace Systems {
9756
+ /**
9757
+ @ingroup Sequence System
9758
+ * @description Public facing system that allows the management of groupings of items in a space.
9759
+ */
9760
+ class SequenceSystem extends Systems.SystemBase {
9761
+ /** @internal */
9762
+ constructor(pointer: NativePointer);
9763
+ static fromSystemBase(baseInstance: Systems.SystemBase): Systems.SequenceSystem;
9764
+ /**
9765
+ * @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one. This call will fail if the user
9766
+ * isn't a creator of the space.
9767
+ * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
9768
+ * @param referenceType - The type of reference (GroupId, SpaceId etc.)
9769
+ * @param referenceId - The id of the reference
9770
+ * @param items - An ordered array of members
9771
+ * @param callback - Callback to call when a response is received
9772
+ */
9773
+ createSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, callback: (result: Systems.SequenceResult) => void): void;
9774
+ /**
9775
+ * @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
9776
+ * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
9777
+ * @param referenceType - The type of reference (GroupId, SpaceId etc.)
9778
+ * @param referenceId - The id of the reference
9779
+ * @param items - An ordered array of members
9780
+ * @param callback - Callback to call when a response is received
9781
+ */
9782
+ updateSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, callback: (result: Systems.SequenceResult) => void): void;
9783
+ /**
9784
+ * @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
9785
+ * @param oldSequenceKey - The current sequence key name
9786
+ * @param newSequenceKey - The new sequence key name
9787
+ * @param callback - Callback to call when a response is received
9788
+ */
9789
+ renameSequence(oldSequenceKey: string, newSequenceKey: string, callback: (result: Systems.SequenceResult) => void): void;
9790
+ /**
9791
+ * @description Finds sequences based on the given criteria
9792
+ * @param sequenceKeys - An array of sequence keys to search for
9793
+ * @param sequenceKeys - An optional regex string for searching keys
9794
+ * @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
9795
+ * @param referenceIds - The ids of the reference. Must be used with ReferenceType
9796
+ * @param callback - Callback to call when a response is received
9797
+ */
9798
+ getSequencesByCriteria(sequenceKeys: Common.Array<string>, keyRegex: string, referenceType: string, referenceIds: Common.Array<string>, callback: (result: Systems.SequencesResult) => void): void;
9799
+ /**
9800
+ * @description Gets a sequence by it's key
9801
+ * @param sequenceKey - The unique grouping name
9802
+ * @param callback - Callback to call when a response is received
9803
+ */
9804
+ getSequence(sequenceKey: string, callback: (result: Systems.SequenceResult) => void): void;
9805
+ /**
9806
+ * @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
9807
+ * @param sequenceKeys - An array of sequence keys to delete
9808
+ * @param callback - Callback to call when a response is received
9809
+ */
9810
+ deleteSequences(sequenceKeys: Common.Array<string>, callback: (result: Systems.NullResult) => void): void;
9811
+ }
9812
+ }
9569
9813
  export declare namespace Systems {
9570
9814
  /**
9571
9815
  @ingroup Settings System
@@ -10706,6 +10950,7 @@ export declare namespace Common {
10706
10950
  static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo>;
10707
10951
  static ofcsp_systems_FeatureQuotaInfo(): Array<Systems.FeatureQuotaInfo>;
10708
10952
  static ofcsp_systems_TierFeatures(): Array<Systems.TierFeatures>;
10953
+ static ofcsp_systems_Sequence(): Array<Systems.Sequence>;
10709
10954
  static ofcsp_systems_Site(): Array<Systems.Site>;
10710
10955
  static ofcsp_systems_GeoLocation(): Array<Systems.GeoLocation>;
10711
10956
  static ofcsp_systems_Space(): Array<Systems.Space>;
@@ -10746,6 +10991,7 @@ export declare namespace Common {
10746
10991
  static ofcsp_systems_FeatureLimitInfo_number(size: number): Array<Systems.FeatureLimitInfo>;
10747
10992
  static ofcsp_systems_FeatureQuotaInfo_number(size: number): Array<Systems.FeatureQuotaInfo>;
10748
10993
  static ofcsp_systems_TierFeatures_number(size: number): Array<Systems.TierFeatures>;
10994
+ static ofcsp_systems_Sequence_number(size: number): Array<Systems.Sequence>;
10749
10995
  static ofcsp_systems_Site_number(size: number): Array<Systems.Site>;
10750
10996
  static ofcsp_systems_GeoLocation_number(size: number): Array<Systems.GeoLocation>;
10751
10997
  static ofcsp_systems_Space_number(size: number): Array<Systems.Space>;