connected-spaces-platform.web 4.29.1 → 4.31.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.
- package/ConnectedSpacesPlatform_WASM.d.ts +2 -0
- package/Debug/ConnectedSpacesPlatform_WASM.js +90 -6
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +2 -15
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +171 -22
- package/connectedspacesplatform.js +512 -31
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +922 -34
- package/package.json +1 -1
|
Binary file
|
|
@@ -157,6 +157,13 @@ export declare namespace Multiplayer {
|
|
|
157
157
|
Invalid = 3
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
+
export declare namespace Multiplayer {
|
|
161
|
+
enum ESequenceUpdateType {
|
|
162
|
+
Create = 0,
|
|
163
|
+
Update = 1,
|
|
164
|
+
Delete = 2
|
|
165
|
+
}
|
|
166
|
+
}
|
|
160
167
|
export declare namespace Multiplayer {
|
|
161
168
|
/**
|
|
162
169
|
* @description Enum used to specify the current state of the multiplayer connection.
|
|
@@ -560,12 +567,6 @@ export declare namespace Multiplayer {
|
|
|
560
567
|
Num = 10
|
|
561
568
|
}
|
|
562
569
|
}
|
|
563
|
-
export declare namespace Multiplayer {
|
|
564
|
-
enum HotspotType {
|
|
565
|
-
TeleportHotspot = 0,
|
|
566
|
-
SpawnHotspot = 1
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
570
|
export declare namespace Multiplayer {
|
|
570
571
|
/**
|
|
571
572
|
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
@@ -574,10 +575,11 @@ export declare namespace Multiplayer {
|
|
|
574
575
|
Position = 0,
|
|
575
576
|
Rotation = 1,
|
|
576
577
|
Name = 2,
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
578
|
+
IsTeleportPoint = 3,
|
|
579
|
+
IsSpawnPoint = 4,
|
|
580
|
+
IsVisible = 5,
|
|
581
|
+
IsARVisible = 6,
|
|
582
|
+
Num = 7
|
|
581
583
|
}
|
|
582
584
|
}
|
|
583
585
|
export declare namespace Multiplayer {
|
|
@@ -1046,7 +1048,8 @@ export declare namespace Systems {
|
|
|
1046
1048
|
}
|
|
1047
1049
|
export declare namespace Systems {
|
|
1048
1050
|
enum EPointOfInterestType {
|
|
1049
|
-
DEFAULT = 0
|
|
1051
|
+
DEFAULT = 0,
|
|
1052
|
+
SPACE = 1
|
|
1050
1053
|
}
|
|
1051
1054
|
}
|
|
1052
1055
|
export declare namespace Systems {
|
|
@@ -3613,6 +3616,20 @@ export declare namespace Multiplayer {
|
|
|
3613
3616
|
set userId(value: string);
|
|
3614
3617
|
}
|
|
3615
3618
|
}
|
|
3619
|
+
export declare namespace Multiplayer {
|
|
3620
|
+
class SequenceChangedParams extends NativeClassWrapper implements INativeResource {
|
|
3621
|
+
/** @internal */
|
|
3622
|
+
constructor(pointer: NativePointer);
|
|
3623
|
+
static create(): SequenceChangedParams;
|
|
3624
|
+
delete(): void;
|
|
3625
|
+
get updateType(): Multiplayer.ESequenceUpdateType;
|
|
3626
|
+
set updateType(value: Multiplayer.ESequenceUpdateType);
|
|
3627
|
+
get key(): string;
|
|
3628
|
+
set key(value: string);
|
|
3629
|
+
get newKey(): string;
|
|
3630
|
+
set newKey(value: string);
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3616
3633
|
export declare namespace Multiplayer {
|
|
3617
3634
|
/**
|
|
3618
3635
|
@ingroup Multiplayer
|
|
@@ -3668,6 +3685,11 @@ export declare namespace Multiplayer {
|
|
|
3668
3685
|
* @param callback - Callback to receive data for the user permissions that has been changed.
|
|
3669
3686
|
*/
|
|
3670
3687
|
setUserPermissionsChangedCallback(callback: (arg1: Multiplayer.UserPermissionsParams) => void): void;
|
|
3688
|
+
/**
|
|
3689
|
+
* @description Sets a callback for a sequence changed event.
|
|
3690
|
+
* @param callback - Callback to receive data for the sequence that has been changed.
|
|
3691
|
+
*/
|
|
3692
|
+
setSequenceChangedCallback(callback: (arg1: Multiplayer.SequenceChangedParams) => void): void;
|
|
3671
3693
|
/**
|
|
3672
3694
|
* @description Registers a callback to listen for the named event.
|
|
3673
3695
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -4637,6 +4659,11 @@ export declare namespace Systems {
|
|
|
4637
4659
|
* @return Pointer to the organization system class
|
|
4638
4660
|
*/
|
|
4639
4661
|
getOrganizationSystem(): Systems.OrganizationSystem;
|
|
4662
|
+
/**
|
|
4663
|
+
* @description Retrieves the Sequence system.
|
|
4664
|
+
* @return Pointer to the sequence system class
|
|
4665
|
+
*/
|
|
4666
|
+
getSequenceSystem(): Systems.SequenceSystem;
|
|
4640
4667
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
|
|
4641
4668
|
getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
|
|
4642
4669
|
}
|
|
@@ -5441,6 +5468,26 @@ export declare namespace Systems {
|
|
|
5441
5468
|
runScriptFile(contextId: bigint, scriptFilePath: string): boolean;
|
|
5442
5469
|
}
|
|
5443
5470
|
}
|
|
5471
|
+
export declare namespace Systems {
|
|
5472
|
+
/**
|
|
5473
|
+
@ingroup Sequence System
|
|
5474
|
+
* @description A basic class abstraction for a sequence, including key, and reference variables, and items.
|
|
5475
|
+
*/
|
|
5476
|
+
class Sequence extends NativeClassWrapper implements INativeResource {
|
|
5477
|
+
/** @internal */
|
|
5478
|
+
constructor(pointer: NativePointer);
|
|
5479
|
+
static create(): Sequence;
|
|
5480
|
+
delete(): void;
|
|
5481
|
+
get key(): string;
|
|
5482
|
+
set key(value: string);
|
|
5483
|
+
get referenceType(): string;
|
|
5484
|
+
set referenceType(value: string);
|
|
5485
|
+
get referenceId(): string;
|
|
5486
|
+
set referenceId(value: string);
|
|
5487
|
+
get items(): Common.Array<string>;
|
|
5488
|
+
set items(value: Common.Array<string>);
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5444
5491
|
export declare namespace Systems {
|
|
5445
5492
|
/**
|
|
5446
5493
|
@ingroup Settings System
|
|
@@ -5687,6 +5734,8 @@ export declare namespace Systems {
|
|
|
5687
5734
|
set location(value: Systems.GeoLocation);
|
|
5688
5735
|
get assetCollectionId(): string;
|
|
5689
5736
|
set assetCollectionId(value: string);
|
|
5737
|
+
get spaceId(): string;
|
|
5738
|
+
set spaceId(value: string);
|
|
5690
5739
|
}
|
|
5691
5740
|
}
|
|
5692
5741
|
export declare namespace Systems {
|
|
@@ -7403,14 +7452,23 @@ export declare namespace Multiplayer {
|
|
|
7403
7452
|
*/
|
|
7404
7453
|
setName(value: string): void;
|
|
7405
7454
|
/**
|
|
7406
|
-
* @description Gets the
|
|
7455
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
7407
7456
|
*/
|
|
7408
|
-
|
|
7457
|
+
getIsTeleportPoint(): boolean;
|
|
7409
7458
|
/**
|
|
7410
|
-
* @description Sets
|
|
7411
|
-
* @param
|
|
7459
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
7460
|
+
* @param inValue - The teleport point state flag value.
|
|
7412
7461
|
*/
|
|
7413
|
-
|
|
7462
|
+
setIsTeleportPoint(value: boolean): void;
|
|
7463
|
+
/**
|
|
7464
|
+
* @description Gets the IsSpawnPoint of this Hotspot.
|
|
7465
|
+
*/
|
|
7466
|
+
getIsSpawnPoint(): boolean;
|
|
7467
|
+
/**
|
|
7468
|
+
* @description Sets this Hotspot to be a spawn point.
|
|
7469
|
+
* @param inValue - The spawn point state flag value.
|
|
7470
|
+
*/
|
|
7471
|
+
setIsSpawnPoint(value: boolean): void;
|
|
7414
7472
|
/**
|
|
7415
7473
|
* @description Gets a unique identifier for this component in the hierarchy.
|
|
7416
7474
|
* NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
|
|
@@ -9671,6 +9729,90 @@ export declare namespace Systems {
|
|
|
9671
9729
|
getTierFeaturesQuota(tierName: Systems.TierNames): Promise<Systems.FeaturesQuotaResult>;
|
|
9672
9730
|
}
|
|
9673
9731
|
}
|
|
9732
|
+
export declare namespace Systems {
|
|
9733
|
+
/**
|
|
9734
|
+
@ingroup Sequence System
|
|
9735
|
+
* @description Result structure for a sequence result
|
|
9736
|
+
*/
|
|
9737
|
+
class SequenceResult extends Systems.ResultBase implements INativeResource {
|
|
9738
|
+
/** @internal */
|
|
9739
|
+
constructor(pointer: NativePointer);
|
|
9740
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.SequenceResult;
|
|
9741
|
+
getSequence(): Systems.Sequence;
|
|
9742
|
+
delete(): void;
|
|
9743
|
+
}
|
|
9744
|
+
}
|
|
9745
|
+
export declare namespace Systems {
|
|
9746
|
+
/**
|
|
9747
|
+
@ingroup Sequence System
|
|
9748
|
+
* @description Data class used to contain information when attempting to get an array of sequences.
|
|
9749
|
+
*/
|
|
9750
|
+
class SequencesResult extends Systems.ResultBase implements INativeResource {
|
|
9751
|
+
/** @internal */
|
|
9752
|
+
constructor(pointer: NativePointer);
|
|
9753
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.SequencesResult;
|
|
9754
|
+
getSequences(): Common.Array<Systems.Sequence>;
|
|
9755
|
+
delete(): void;
|
|
9756
|
+
}
|
|
9757
|
+
}
|
|
9758
|
+
export declare namespace Systems {
|
|
9759
|
+
/**
|
|
9760
|
+
@ingroup Sequence System
|
|
9761
|
+
* @description Public facing system that allows the management of groupings of items in a space.
|
|
9762
|
+
*/
|
|
9763
|
+
class SequenceSystem extends Systems.SystemBase {
|
|
9764
|
+
/** @internal */
|
|
9765
|
+
constructor(pointer: NativePointer);
|
|
9766
|
+
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.SequenceSystem;
|
|
9767
|
+
/**
|
|
9768
|
+
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
|
|
9769
|
+
* This call will fail if the user isn't a creator of the space.
|
|
9770
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
9771
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
9772
|
+
* @param referenceId - The id of the reference
|
|
9773
|
+
* @param items - An ordered array of members
|
|
9774
|
+
* @param callback - Callback to call when a response is received
|
|
9775
|
+
*/
|
|
9776
|
+
createSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>): Promise<Systems.SequenceResult>;
|
|
9777
|
+
/**
|
|
9778
|
+
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
9779
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
9780
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
9781
|
+
* @param referenceId - The id of the reference
|
|
9782
|
+
* @param items - An ordered array of members
|
|
9783
|
+
* @param callback - Callback to call when a response is received
|
|
9784
|
+
*/
|
|
9785
|
+
updateSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>): Promise<Systems.SequenceResult>;
|
|
9786
|
+
/**
|
|
9787
|
+
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
9788
|
+
* @param oldSequenceKey - The current sequence key name
|
|
9789
|
+
* @param newSequenceKey - The new sequence key name
|
|
9790
|
+
* @param callback - Callback to call when a response is received
|
|
9791
|
+
*/
|
|
9792
|
+
renameSequence(oldSequenceKey: string, newSequenceKey: string): Promise<Systems.SequenceResult>;
|
|
9793
|
+
/**
|
|
9794
|
+
* @description Finds sequences based on the given criteria
|
|
9795
|
+
* @param sequenceKeys - An array of sequence keys to search for
|
|
9796
|
+
* @param sequenceKeys - An optional regex string for searching keys
|
|
9797
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
|
|
9798
|
+
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
9799
|
+
* @param callback - Callback to call when a response is received
|
|
9800
|
+
*/
|
|
9801
|
+
getSequencesByCriteria(sequenceKeys: Common.Array<string>, keyRegex: string | null, referenceType: string | null, referenceIds: Common.Array<string>): Promise<Systems.SequencesResult>;
|
|
9802
|
+
/**
|
|
9803
|
+
* @description Gets a sequence by it's key
|
|
9804
|
+
* @param sequenceKey - The unique grouping name
|
|
9805
|
+
* @param callback - Callback to call when a response is received
|
|
9806
|
+
*/
|
|
9807
|
+
getSequence(sequenceKey: string): Promise<Systems.SequenceResult>;
|
|
9808
|
+
/**
|
|
9809
|
+
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
9810
|
+
* @param sequenceKeys - An array of sequence keys to delete
|
|
9811
|
+
* @param callback - Callback to call when a response is received
|
|
9812
|
+
*/
|
|
9813
|
+
deleteSequences(sequenceKeys: Common.Array<string>): Promise<Systems.NullResult>;
|
|
9814
|
+
}
|
|
9815
|
+
}
|
|
9674
9816
|
export declare namespace Systems {
|
|
9675
9817
|
/**
|
|
9676
9818
|
@ingroup Settings System
|
|
@@ -10500,12 +10642,13 @@ export declare namespace Systems {
|
|
|
10500
10642
|
*/
|
|
10501
10643
|
deletePOI(pOI: Systems.PointOfInterest): Promise<Systems.NullResult>;
|
|
10502
10644
|
/**
|
|
10503
|
-
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters
|
|
10504
|
-
* @param originLocation -
|
|
10505
|
-
* @param areaRadius - Radius of the circular area origin
|
|
10506
|
-
* @param
|
|
10645
|
+
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters..
|
|
10646
|
+
* @param originLocation - The latitude and longitude coordinates of origin of the search location.
|
|
10647
|
+
* @param areaRadius - The Radius of the circular area to search around the provided origin.
|
|
10648
|
+
* @param type - The type of POI to search for. If none is specified, all types will be included in the returned set.
|
|
10649
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
10507
10650
|
*/
|
|
10508
|
-
getPOIsInArea(originLocation: Systems.GeoLocation, areaRadius: number): Promise<Systems.POICollectionResult>;
|
|
10651
|
+
getPOIsInArea(originLocation: Systems.GeoLocation, areaRadius: number, type: Systems.EPointOfInterestType | null): Promise<Systems.POICollectionResult>;
|
|
10509
10652
|
}
|
|
10510
10653
|
}
|
|
10511
10654
|
export declare namespace Systems {
|
|
@@ -10742,12 +10885,16 @@ export declare namespace Systems {
|
|
|
10742
10885
|
* @param callback - Callback to call when a response is received
|
|
10743
10886
|
*/
|
|
10744
10887
|
getProfileByUserId(userId: string): Promise<Systems.ProfileResult>;
|
|
10888
|
+
/** @deprecated
|
|
10889
|
+
Deprecated in favour of GetBasicProfilesByUserId
|
|
10890
|
+
*/
|
|
10891
|
+
getProfilesByUserId(userIds: Common.Array<string>): Promise<Systems.BasicProfilesResult>;
|
|
10745
10892
|
/**
|
|
10746
10893
|
* @description Get a list of minimal profiles (avatarId, personalityType, userName, and platform) by user IDs.
|
|
10747
10894
|
* @param inUserIds - An array of user ids to search for users by
|
|
10748
10895
|
* @param callback - Callback to call when a response is received
|
|
10749
10896
|
*/
|
|
10750
|
-
|
|
10897
|
+
getBasicProfilesByUserId(userIds: Common.Array<string>): Promise<Systems.BasicProfilesResult>;
|
|
10751
10898
|
/**
|
|
10752
10899
|
* @description Ping Magnopus Connected Services
|
|
10753
10900
|
* @param callback - Callback to call when a response is received
|
|
@@ -10811,6 +10958,7 @@ export declare namespace Common {
|
|
|
10811
10958
|
static ofcsp_systems_FeatureLimitInfo(): Array<Systems.FeatureLimitInfo>;
|
|
10812
10959
|
static ofcsp_systems_FeatureQuotaInfo(): Array<Systems.FeatureQuotaInfo>;
|
|
10813
10960
|
static ofcsp_systems_TierFeatures(): Array<Systems.TierFeatures>;
|
|
10961
|
+
static ofcsp_systems_Sequence(): Array<Systems.Sequence>;
|
|
10814
10962
|
static ofcsp_systems_Site(): Array<Systems.Site>;
|
|
10815
10963
|
static ofcsp_systems_GeoLocation(): Array<Systems.GeoLocation>;
|
|
10816
10964
|
static ofcsp_systems_Space(): Array<Systems.Space>;
|
|
@@ -10851,6 +10999,7 @@ export declare namespace Common {
|
|
|
10851
10999
|
static ofcsp_systems_FeatureLimitInfo_number(size: number): Array<Systems.FeatureLimitInfo>;
|
|
10852
11000
|
static ofcsp_systems_FeatureQuotaInfo_number(size: number): Array<Systems.FeatureQuotaInfo>;
|
|
10853
11001
|
static ofcsp_systems_TierFeatures_number(size: number): Array<Systems.TierFeatures>;
|
|
11002
|
+
static ofcsp_systems_Sequence_number(size: number): Array<Systems.Sequence>;
|
|
10854
11003
|
static ofcsp_systems_Site_number(size: number): Array<Systems.Site>;
|
|
10855
11004
|
static ofcsp_systems_GeoLocation_number(size: number): Array<Systems.GeoLocation>;
|
|
10856
11005
|
static ofcsp_systems_Space_number(size: number): Array<Systems.Space>;
|