connected-spaces-platform.web 5.4.0 → 5.5.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.
- package/Debug/ConnectedSpacesPlatform_WASM.js +7 -85
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +13 -112
- package/connectedspacesplatform.js +29 -407
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +38 -766
- package/package.json +1 -1
|
Binary file
|
|
@@ -193,6 +193,8 @@ export declare namespace Multiplayer {
|
|
|
193
193
|
export declare namespace Multiplayer {
|
|
194
194
|
/**
|
|
195
195
|
* @description Enum representing the type of a replicated value.
|
|
196
|
+
* These values are serialized and stored as integers.
|
|
197
|
+
* When adding new values, always add to the end
|
|
196
198
|
*/
|
|
197
199
|
enum ReplicatedValueType {
|
|
198
200
|
InvalidType = 0,
|
|
@@ -200,9 +202,9 @@ export declare namespace Multiplayer {
|
|
|
200
202
|
Integer = 2,
|
|
201
203
|
Float = 3,
|
|
202
204
|
String = 4,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
Vector3 = 5,
|
|
206
|
+
Vector4 = 6,
|
|
207
|
+
Vector2 = 7,
|
|
206
208
|
Map = 8
|
|
207
209
|
}
|
|
208
210
|
}
|
|
@@ -3776,20 +3778,6 @@ export declare namespace Multiplayer {
|
|
|
3776
3778
|
set newKey(value: string);
|
|
3777
3779
|
}
|
|
3778
3780
|
}
|
|
3779
|
-
export declare namespace Multiplayer {
|
|
3780
|
-
class SequenceHierarchyChangedParams extends NativeClassWrapper implements INativeResource {
|
|
3781
|
-
/** @internal */
|
|
3782
|
-
constructor(pointer: NativePointer);
|
|
3783
|
-
static create(): SequenceHierarchyChangedParams;
|
|
3784
|
-
delete(): void;
|
|
3785
|
-
get updateType(): Multiplayer.ESequenceUpdateType;
|
|
3786
|
-
set updateType(value: Multiplayer.ESequenceUpdateType);
|
|
3787
|
-
get parentId(): bigint;
|
|
3788
|
-
set parentId(value: bigint);
|
|
3789
|
-
get isRoot(): boolean;
|
|
3790
|
-
set isRoot(value: boolean);
|
|
3791
|
-
}
|
|
3792
|
-
}
|
|
3793
3781
|
export declare namespace Multiplayer {
|
|
3794
3782
|
class SequenceHotspotChangedParams extends NativeClassWrapper implements INativeResource {
|
|
3795
3783
|
/** @internal */
|
|
@@ -4081,24 +4069,6 @@ export declare namespace Multiplayer {
|
|
|
4081
4069
|
setMap(value: Common.Map<Multiplayer.ReplicatedValue, Multiplayer.ReplicatedValue>): void;
|
|
4082
4070
|
}
|
|
4083
4071
|
}
|
|
4084
|
-
export declare namespace Multiplayer {
|
|
4085
|
-
/**
|
|
4086
|
-
@ingroup Space Entity System
|
|
4087
|
-
* @description Class which exposes data that is relevent to entity hierarchies, which comes from the underlying Sequence System.
|
|
4088
|
-
* This allows users to manage the ordering of child entites within their parent.
|
|
4089
|
-
*/
|
|
4090
|
-
class SequenceHierarchy extends NativeClassWrapper implements INativeResource {
|
|
4091
|
-
/** @internal */
|
|
4092
|
-
constructor(pointer: NativePointer);
|
|
4093
|
-
hasParent(): boolean;
|
|
4094
|
-
static create(): SequenceHierarchy;
|
|
4095
|
-
delete(): void;
|
|
4096
|
-
get ids(): Common.Array<bigint>;
|
|
4097
|
-
set ids(value: Common.Array<bigint>);
|
|
4098
|
-
get parentId(): bigint;
|
|
4099
|
-
set parentId(value: bigint);
|
|
4100
|
-
}
|
|
4101
|
-
}
|
|
4102
4072
|
export declare namespace Multiplayer {
|
|
4103
4073
|
/**
|
|
4104
4074
|
* @description Info class that specifies a type of update and the ID of a component the update is applied to.
|
|
@@ -4618,43 +4588,6 @@ export declare namespace Multiplayer {
|
|
|
4618
4588
|
* @return A list of root entities.
|
|
4619
4589
|
*/
|
|
4620
4590
|
getRootHierarchyEntities(): Common.List<Multiplayer.SpaceEntity>;
|
|
4621
|
-
/**
|
|
4622
|
-
* @description Creates an entity hierarchy for a given parent entity id. Pass null to create a hiererchy for the root.
|
|
4623
|
-
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
4624
|
-
* @param hierarchyItemIds - An array of entity ids.
|
|
4625
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
4626
|
-
*/
|
|
4627
|
-
createSequenceHierarchy(parentId: bigint | null, hierarchyItemIds: Common.Array<bigint>): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4628
|
-
/**
|
|
4629
|
-
* @description Updates an entity hierarchy for a given parent entity id. Pass null to update the root.
|
|
4630
|
-
* This will create a hierarchy if it doesnt exist.
|
|
4631
|
-
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
4632
|
-
* @param hierarchyItemIds - An array of entity ids.
|
|
4633
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
4634
|
-
*/
|
|
4635
|
-
updateSequenceHierarchy(parentId: bigint | null, hierarchyItemIds: Common.Array<bigint>): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4636
|
-
/**
|
|
4637
|
-
* @description Gets an entity hierarchy for a given parent entity id. Pass null to get the root hierarchy.
|
|
4638
|
-
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
4639
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
4640
|
-
*/
|
|
4641
|
-
getSequenceHierarchy(parentId: bigint | null): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4642
|
-
/**
|
|
4643
|
-
* @description Gets all hierarchies for a space
|
|
4644
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
4645
|
-
*/
|
|
4646
|
-
getAllSequenceHierarchies(): Promise<Multiplayer.SequenceHierarchyCollectionResult>;
|
|
4647
|
-
/**
|
|
4648
|
-
* @description Deletes an entity hierarchy for a given parent entity id. Pass null to delete the root hierarchy.
|
|
4649
|
-
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
4650
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
4651
|
-
*/
|
|
4652
|
-
deleteSequenceHierarchy(parentId: bigint | null): Promise<Systems.NullResult>;
|
|
4653
|
-
/**
|
|
4654
|
-
* @description Sets a callback for a sequence hierarchy changed event.
|
|
4655
|
-
* @param callback - Callback to receive data for the sequence hierarchy that has been changed.
|
|
4656
|
-
*/
|
|
4657
|
-
setSequenceHierarchyChangedCallback(callback: (arg1: Multiplayer.SequenceHierarchyChangedParams) => void): void;
|
|
4658
4591
|
}
|
|
4659
4592
|
}
|
|
4660
4593
|
export declare namespace Multiplayer {
|
|
@@ -6275,38 +6208,6 @@ export declare namespace Systems {
|
|
|
6275
6208
|
isLocalUserMuted(): boolean;
|
|
6276
6209
|
}
|
|
6277
6210
|
}
|
|
6278
|
-
export declare namespace Multiplayer {
|
|
6279
|
-
/**
|
|
6280
|
-
@ingroup Space Entity System
|
|
6281
|
-
* @description Data class used to contain information when attempting to get a sequence hierarchy
|
|
6282
|
-
*/
|
|
6283
|
-
class SequenceHierarchyResult extends Systems.ResultBase implements INativeResource {
|
|
6284
|
-
/** @internal */
|
|
6285
|
-
constructor(pointer: NativePointer);
|
|
6286
|
-
static fromResultBase(baseInstance: Systems.ResultBase): Multiplayer.SequenceHierarchyResult;
|
|
6287
|
-
/**
|
|
6288
|
-
* @description Retreives the SequenceHierarchy from the result.
|
|
6289
|
-
*/
|
|
6290
|
-
getSequenceHierarchy(): Multiplayer.SequenceHierarchy;
|
|
6291
|
-
delete(): void;
|
|
6292
|
-
}
|
|
6293
|
-
}
|
|
6294
|
-
export declare namespace Multiplayer {
|
|
6295
|
-
/**
|
|
6296
|
-
@ingroup Space Entity System
|
|
6297
|
-
* @description Data class used to contain information when attempting to get an array of sequence hierachies
|
|
6298
|
-
*/
|
|
6299
|
-
class SequenceHierarchyCollectionResult extends Systems.ResultBase implements INativeResource {
|
|
6300
|
-
/** @internal */
|
|
6301
|
-
constructor(pointer: NativePointer);
|
|
6302
|
-
static fromResultBase(baseInstance: Systems.ResultBase): Multiplayer.SequenceHierarchyCollectionResult;
|
|
6303
|
-
/**
|
|
6304
|
-
* @description Retreives the SequenceHierarchies from the result.
|
|
6305
|
-
*/
|
|
6306
|
-
getSequenceHierarchyCollection(): Common.Array<Multiplayer.SequenceHierarchy>;
|
|
6307
|
-
delete(): void;
|
|
6308
|
-
}
|
|
6309
|
-
}
|
|
6310
6211
|
export declare namespace Multiplayer {
|
|
6311
6212
|
/**
|
|
6312
6213
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -9491,9 +9392,10 @@ export declare namespace Systems {
|
|
|
9491
9392
|
* @description Updates the Metadata field of an Asset Collection
|
|
9492
9393
|
* @param assetCollection - Asset collection to be updated
|
|
9493
9394
|
* @param newMetadata - The new metadata information that will replace the previous
|
|
9395
|
+
* @param tags - Optional array of strings to replace the tags
|
|
9494
9396
|
* @param callback - Callback when asynchronous task finishes
|
|
9495
9397
|
*/
|
|
9496
|
-
updateAssetCollectionMetadata(assetCollection: Systems.AssetCollection, newMetadata: Common.Map<string, string>): Promise<Systems.AssetCollectionResult>;
|
|
9398
|
+
updateAssetCollectionMetadata(assetCollection: Systems.AssetCollection, newMetadata: Common.Map<string, string>, tags: Common.Array<string> | null): Promise<Systems.AssetCollectionResult>;
|
|
9497
9399
|
/**
|
|
9498
9400
|
* @description Creates a new asset.
|
|
9499
9401
|
* @param assetCollection - The parent collection for the asset to be associated with
|
|
@@ -10901,9 +10803,10 @@ export declare namespace Systems {
|
|
|
10901
10803
|
* their emails and roles
|
|
10902
10804
|
* @param metadata - Metadata information for the new space
|
|
10903
10805
|
* @param fileThumbnail - Optional thumbnail image for the new space
|
|
10806
|
+
* @param tags - Optional array of strings to set the metadata tags for the new space
|
|
10904
10807
|
* @param callback - Callback when asynchronous task finishes
|
|
10905
10808
|
*/
|
|
10906
|
-
createSpace(name: string, description: string, attributes: Systems.SpaceAttributes, inviteUsers: Systems.InviteUserRoleInfoCollection | null, metadata: Common.Map<string, string>, fileThumbnail: Systems.FileAssetDataSource | null): Promise<Systems.SpaceResult>;
|
|
10809
|
+
createSpace(name: string, description: string, attributes: Systems.SpaceAttributes, inviteUsers: Systems.InviteUserRoleInfoCollection | null, metadata: Common.Map<string, string>, fileThumbnail: Systems.FileAssetDataSource | null, tags: Common.Array<string> | null): Promise<Systems.SpaceResult>;
|
|
10907
10810
|
/**
|
|
10908
10811
|
* @description Creates a new space Using BufferAssetDataSource.
|
|
10909
10812
|
* @param name - Name for the new space
|
|
@@ -10913,9 +10816,10 @@ export declare namespace Systems {
|
|
|
10913
10816
|
* their emails and roles
|
|
10914
10817
|
* @param metadata - Metadata information for the new space
|
|
10915
10818
|
* @param thumbnail - Thumbnail image buffer for the new space
|
|
10819
|
+
* @param tags - Optional array of strings to set the metadata tags for the new space
|
|
10916
10820
|
* @param callback - Callback when asynchronous task finishes
|
|
10917
10821
|
*/
|
|
10918
|
-
createSpaceWithBuffer(name: string, description: string, attributes: Systems.SpaceAttributes, inviteUsers: Systems.InviteUserRoleInfoCollection | null, metadata: Common.Map<string, string>, thumbnail: Systems.BufferAssetDataSource): Promise<Systems.SpaceResult>;
|
|
10822
|
+
createSpaceWithBuffer(name: string, description: string, attributes: Systems.SpaceAttributes, inviteUsers: Systems.InviteUserRoleInfoCollection | null, metadata: Common.Map<string, string>, thumbnail: Systems.BufferAssetDataSource, tags: Common.Array<string> | null): Promise<Systems.SpaceResult>;
|
|
10919
10823
|
/**
|
|
10920
10824
|
* @description Updates the name and/or the description of a Space
|
|
10921
10825
|
* @param space - The space to update
|
|
@@ -11043,9 +10947,10 @@ export declare namespace Systems {
|
|
|
11043
10947
|
* @description Updates the Space metadata information with the new one provided
|
|
11044
10948
|
* @param spaceId - ID of Space for which the metadata will be updated
|
|
11045
10949
|
* @param newMetadata - New metadata information that will replace the previous one
|
|
10950
|
+
* @param tags - Optional array of strings to replace the tags in the metadata
|
|
11046
10951
|
* @param callback - Callback when asynchronous task finishes
|
|
11047
10952
|
*/
|
|
11048
|
-
updateSpaceMetadata(spaceId: string, newMetadata: Common.Map<string, string>): Promise<Systems.NullResult>;
|
|
10953
|
+
updateSpaceMetadata(spaceId: string, newMetadata: Common.Map<string, string>, tags: Common.Array<string> | null): Promise<Systems.NullResult>;
|
|
11049
10954
|
/**
|
|
11050
10955
|
* @description Retrieves Spaces metadata information
|
|
11051
10956
|
* @param spaces - Spaces for which metadata will be retrieved
|
|
@@ -11646,8 +11551,6 @@ export declare namespace Common {
|
|
|
11646
11551
|
static ofcsp_multiplayer_ReplicatedValue(): Array<Multiplayer.ReplicatedValue>;
|
|
11647
11552
|
static ofcsp_multiplayer_ComponentUpdateInfo(): Array<Multiplayer.ComponentUpdateInfo>;
|
|
11648
11553
|
static ofcsp_systems_SpaceUserRole(): Array<Systems.SpaceUserRole>;
|
|
11649
|
-
static ofuint64_t(): Array<bigint>;
|
|
11650
|
-
static ofcsp_multiplayer_SequenceHierarchy(): Array<Multiplayer.SequenceHierarchy>;
|
|
11651
11554
|
static ofcsp_multiplayer_MessageInfo(): Array<Multiplayer.MessageInfo>;
|
|
11652
11555
|
static ofString(): Array<string>;
|
|
11653
11556
|
static ofcsp_systems_EAssetPlatform(): Array<Systems.EAssetPlatform>;
|
|
@@ -11690,8 +11593,6 @@ export declare namespace Common {
|
|
|
11690
11593
|
static ofcsp_multiplayer_ReplicatedValue_number(size: number): Array<Multiplayer.ReplicatedValue>;
|
|
11691
11594
|
static ofcsp_multiplayer_ComponentUpdateInfo_number(size: number): Array<Multiplayer.ComponentUpdateInfo>;
|
|
11692
11595
|
static ofcsp_systems_SpaceUserRole_number(size: number): Array<Systems.SpaceUserRole>;
|
|
11693
|
-
static ofuint64_t_number(size: number): Array<bigint>;
|
|
11694
|
-
static ofcsp_multiplayer_SequenceHierarchy_number(size: number): Array<Multiplayer.SequenceHierarchy>;
|
|
11695
11596
|
static ofcsp_multiplayer_MessageInfo_number(size: number): Array<Multiplayer.MessageInfo>;
|
|
11696
11597
|
static ofString_number(size: number): Array<string>;
|
|
11697
11598
|
static ofcsp_systems_EAssetPlatform_number(size: number): Array<Systems.EAssetPlatform>;
|