connected-spaces-platform.web 5.0.1 → 5.1.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/Debug/ConnectedSpacesPlatform_WASM.js +129 -3
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +3 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +241 -4
- package/connectedspacesplatform.js +660 -3
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +1195 -2
- package/package.json +1 -1
|
Binary file
|
|
@@ -161,7 +161,8 @@ export declare namespace Multiplayer {
|
|
|
161
161
|
enum ESequenceUpdateType {
|
|
162
162
|
Create = 0,
|
|
163
163
|
Update = 1,
|
|
164
|
-
|
|
164
|
+
Rename = 2,
|
|
165
|
+
Delete = 3
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
168
|
export declare namespace Multiplayer {
|
|
@@ -242,7 +243,8 @@ export declare namespace Multiplayer {
|
|
|
242
243
|
UPDATE_FLAGS_COMPONENTS = 16,
|
|
243
244
|
UPDATE_FLAGS_SELECTION_ID = 32,
|
|
244
245
|
UPDATE_FLAGS_THIRD_PARTY_REF = 64,
|
|
245
|
-
UPDATE_FLAGS_THIRD_PARTY_PLATFORM = 128
|
|
246
|
+
UPDATE_FLAGS_THIRD_PARTY_PLATFORM = 128,
|
|
247
|
+
UPDATE_FLAGS_PARENT = 256
|
|
246
248
|
}
|
|
247
249
|
}
|
|
248
250
|
export declare namespace Multiplayer {
|
|
@@ -897,7 +899,8 @@ export declare namespace Systems {
|
|
|
897
899
|
ShopifyConnectionBroken = 31,
|
|
898
900
|
ShopifyInvalidStoreName = 32,
|
|
899
901
|
UserShopifyLimitReached = 33,
|
|
900
|
-
UserTokenRefreshFailed = 34
|
|
902
|
+
UserTokenRefreshFailed = 34,
|
|
903
|
+
InvalidSequenceKey = 35
|
|
901
904
|
}
|
|
902
905
|
}
|
|
903
906
|
export declare namespace Systems {
|
|
@@ -1309,6 +1312,11 @@ export declare namespace Multiplayer {
|
|
|
1309
1312
|
* @return True if the next value is null, false otherwise.
|
|
1310
1313
|
*/
|
|
1311
1314
|
nextValueIsNull: () => boolean;
|
|
1315
|
+
/**
|
|
1316
|
+
* @description Checks if the next value is an array.
|
|
1317
|
+
* @return True if the next value is null, false otherwise.
|
|
1318
|
+
*/
|
|
1319
|
+
nextValueIsArray: () => boolean;
|
|
1312
1320
|
/**
|
|
1313
1321
|
* @description Puts the deserialiser into array processing mode to begin reading from an array.
|
|
1314
1322
|
* @param outLength - A reference to variable to store the length of the array.
|
|
@@ -3452,6 +3460,26 @@ export declare namespace Common {
|
|
|
3452
3460
|
* @param z - Float
|
|
3453
3461
|
*/
|
|
3454
3462
|
static create_x_y_z(x: number, y: number, z: number): Vector3;
|
|
3463
|
+
/**
|
|
3464
|
+
* @description Member by member addition with another Vector3
|
|
3465
|
+
* @param vector3 - Other
|
|
3466
|
+
*/
|
|
3467
|
+
/**
|
|
3468
|
+
* @description Subtracts another Vector3 from this one
|
|
3469
|
+
* @param vector3 - Other
|
|
3470
|
+
*/
|
|
3471
|
+
/**
|
|
3472
|
+
* @description Divides the Vector3 by divisor
|
|
3473
|
+
* @param float - Divisor
|
|
3474
|
+
*/
|
|
3475
|
+
/**
|
|
3476
|
+
* @description Member by member multiplication with another Vector3
|
|
3477
|
+
* @param vector3 - Other
|
|
3478
|
+
*/
|
|
3479
|
+
/**
|
|
3480
|
+
* @description Multiplies the Vector3 by a scalar
|
|
3481
|
+
* @param float - Scalar
|
|
3482
|
+
*/
|
|
3455
3483
|
delete(): void;
|
|
3456
3484
|
get x(): number;
|
|
3457
3485
|
set x(value: number);
|
|
@@ -3495,6 +3523,26 @@ export declare namespace Common {
|
|
|
3495
3523
|
* @param w - Float
|
|
3496
3524
|
*/
|
|
3497
3525
|
static create_x_y_z_w(x: number, y: number, z: number, w: number): Vector4;
|
|
3526
|
+
/**
|
|
3527
|
+
* @description Member by member addition with another Vector4
|
|
3528
|
+
* @param vector4 - Other
|
|
3529
|
+
*/
|
|
3530
|
+
/**
|
|
3531
|
+
* @description Subtracts another Vector4 from this one
|
|
3532
|
+
* @param vector4 - Other
|
|
3533
|
+
*/
|
|
3534
|
+
/**
|
|
3535
|
+
* @description Divides the Vector4 by divisor
|
|
3536
|
+
* @param float - Divisor
|
|
3537
|
+
*/
|
|
3538
|
+
/**
|
|
3539
|
+
* @description Member by member multiplication with another Vector4
|
|
3540
|
+
* @param vector4 - Other
|
|
3541
|
+
*/
|
|
3542
|
+
/**
|
|
3543
|
+
* @description Multiplies the Vector4 by a scalar
|
|
3544
|
+
* @param float - Scalar
|
|
3545
|
+
*/
|
|
3498
3546
|
delete(): void;
|
|
3499
3547
|
get x(): number;
|
|
3500
3548
|
set x(value: number);
|
|
@@ -3639,6 +3687,20 @@ export declare namespace Multiplayer {
|
|
|
3639
3687
|
set newKey(value: string);
|
|
3640
3688
|
}
|
|
3641
3689
|
}
|
|
3690
|
+
export declare namespace Multiplayer {
|
|
3691
|
+
class SequenceHierarchyChangedParams extends NativeClassWrapper implements INativeResource {
|
|
3692
|
+
/** @internal */
|
|
3693
|
+
constructor(pointer: NativePointer);
|
|
3694
|
+
static create(): SequenceHierarchyChangedParams;
|
|
3695
|
+
delete(): void;
|
|
3696
|
+
get updateType(): Multiplayer.ESequenceUpdateType;
|
|
3697
|
+
set updateType(value: Multiplayer.ESequenceUpdateType);
|
|
3698
|
+
get parentId(): bigint;
|
|
3699
|
+
set parentId(value: bigint);
|
|
3700
|
+
get isRoot(): boolean;
|
|
3701
|
+
set isRoot(value: boolean);
|
|
3702
|
+
}
|
|
3703
|
+
}
|
|
3642
3704
|
export declare namespace Multiplayer {
|
|
3643
3705
|
/**
|
|
3644
3706
|
@ingroup Multiplayer
|
|
@@ -3871,6 +3933,24 @@ export declare namespace Multiplayer {
|
|
|
3871
3933
|
getVector4(): Common.Vector4;
|
|
3872
3934
|
}
|
|
3873
3935
|
}
|
|
3936
|
+
export declare namespace Multiplayer {
|
|
3937
|
+
/**
|
|
3938
|
+
@ingroup Space Entity System
|
|
3939
|
+
* @description Class which exposes data that is relevent to entity hierarchies, which comes from the underlying Sequence System.
|
|
3940
|
+
* This allows users to manage the ordering of child entites within their parent.
|
|
3941
|
+
*/
|
|
3942
|
+
class SequenceHierarchy extends NativeClassWrapper implements INativeResource {
|
|
3943
|
+
/** @internal */
|
|
3944
|
+
constructor(pointer: NativePointer);
|
|
3945
|
+
hasParent(): boolean;
|
|
3946
|
+
static create(): SequenceHierarchy;
|
|
3947
|
+
delete(): void;
|
|
3948
|
+
get ids(): Common.Array<bigint>;
|
|
3949
|
+
set ids(value: Common.Array<bigint>);
|
|
3950
|
+
get parentId(): bigint;
|
|
3951
|
+
set parentId(value: bigint);
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3874
3954
|
export declare namespace Multiplayer {
|
|
3875
3955
|
/**
|
|
3876
3956
|
* @description Info class that specifies a type of update and the ID of a component the update is applied to.
|
|
@@ -3931,11 +4011,21 @@ export declare namespace Multiplayer {
|
|
|
3931
4011
|
* @return SpaceTransform.
|
|
3932
4012
|
*/
|
|
3933
4013
|
getTransform(): Multiplayer.SpaceTransform;
|
|
4014
|
+
/**
|
|
4015
|
+
* @description Get the Global SpaceTransform of the SpaceEntity, derived from it's parent.
|
|
4016
|
+
* @return SpaceTransform.
|
|
4017
|
+
*/
|
|
4018
|
+
getGlobalTransform(): Multiplayer.SpaceTransform;
|
|
3934
4019
|
/**
|
|
3935
4020
|
* @description Get the position of the SpaceEntity, in world space.
|
|
3936
4021
|
* @return Position.
|
|
3937
4022
|
*/
|
|
3938
4023
|
getPosition(): Common.Vector3;
|
|
4024
|
+
/**
|
|
4025
|
+
* @description Get the Global position of the SpaceEntity, in world space, derived from it's parent.
|
|
4026
|
+
* @return Position.
|
|
4027
|
+
*/
|
|
4028
|
+
getGlobalPosition(): Common.Vector3;
|
|
3939
4029
|
/**
|
|
3940
4030
|
* @description Set the position of the SpaceEntity, in world space.
|
|
3941
4031
|
* @param value - The position to set.
|
|
@@ -3946,6 +4036,11 @@ export declare namespace Multiplayer {
|
|
|
3946
4036
|
* @return Rotation.
|
|
3947
4037
|
*/
|
|
3948
4038
|
getRotation(): Common.Vector4;
|
|
4039
|
+
/**
|
|
4040
|
+
* @description Get the Global rotation of the SpaceEntity, derived from it's parent.
|
|
4041
|
+
* @return Rotation.
|
|
4042
|
+
*/
|
|
4043
|
+
getGlobalRotation(): Common.Vector4;
|
|
3949
4044
|
/**
|
|
3950
4045
|
* @description Set the rotation of the SpaceEntity.
|
|
3951
4046
|
* @param value - The rotation to set.
|
|
@@ -3956,6 +4051,11 @@ export declare namespace Multiplayer {
|
|
|
3956
4051
|
* @return Scale.
|
|
3957
4052
|
*/
|
|
3958
4053
|
getScale(): Common.Vector3;
|
|
4054
|
+
/**
|
|
4055
|
+
* @description Get the Global scale of the SpaceEntity, derived from it's parent.
|
|
4056
|
+
* @return Scale.
|
|
4057
|
+
*/
|
|
4058
|
+
getGlobalScale(): Common.Vector3;
|
|
3959
4059
|
/**
|
|
3960
4060
|
* @description Set the scale of the SpaceEntity.
|
|
3961
4061
|
* @param value - The scale to set.
|
|
@@ -3996,6 +4096,35 @@ export declare namespace Multiplayer {
|
|
|
3996
4096
|
* @return SpaceEntitySystem
|
|
3997
4097
|
*/
|
|
3998
4098
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
|
|
4099
|
+
/**
|
|
4100
|
+
* @description Sets the parent for this entity
|
|
4101
|
+
* QueueUpdate() should be called afterwards to enable changes to the parent.
|
|
4102
|
+
* @param parentId - Uint64_t the new parent id of this entity.
|
|
4103
|
+
*/
|
|
4104
|
+
setParentId(parentId: bigint): void;
|
|
4105
|
+
/**
|
|
4106
|
+
* @description Removes the parent entity
|
|
4107
|
+
* QueueUpdate() should be called afterwards to enable changes to the parent.
|
|
4108
|
+
*/
|
|
4109
|
+
removeParentEntity(): void;
|
|
4110
|
+
/**
|
|
4111
|
+
* @description Gets the parent of this entity
|
|
4112
|
+
* @return SpaceEntity
|
|
4113
|
+
*/
|
|
4114
|
+
getParentEntity(): Multiplayer.SpaceEntity;
|
|
4115
|
+
/**
|
|
4116
|
+
* @description Create a new entity with this entity as it's parent
|
|
4117
|
+
* @param inName - The name to give the new SpaceEntity.
|
|
4118
|
+
* @param inSpaceTransform - The initial transform to set the SpaceEntity to.
|
|
4119
|
+
* @param callback - A callback that executes when the creation is complete,
|
|
4120
|
+
* which contains a pointer to the new SpaceEntity so that it can be used on the local client.
|
|
4121
|
+
*/
|
|
4122
|
+
createChildEntity(name: string, spaceTransform: Multiplayer.SpaceTransform): Promise<Multiplayer.SpaceEntity>;
|
|
4123
|
+
/**
|
|
4124
|
+
* @description Gets the children of this entity
|
|
4125
|
+
* @return Csp::common::list<spaceentity>
|
|
4126
|
+
*/
|
|
4127
|
+
getChildEntities(): Common.List<Multiplayer.SpaceEntity>;
|
|
3999
4128
|
/**
|
|
4000
4129
|
* @description Queues an update which will be executed on next Tick() or ProcessPendingEntityOperations(). Not a blocking or async function.
|
|
4001
4130
|
*/
|
|
@@ -4336,6 +4465,48 @@ export declare namespace Multiplayer {
|
|
|
4336
4465
|
* \endrst
|
|
4337
4466
|
*/
|
|
4338
4467
|
setEntityPatchRateLimitEnabled(enabled: boolean): void;
|
|
4468
|
+
/**
|
|
4469
|
+
* @description Retrieves all entites that exist at the root level (do not have a parent entity).
|
|
4470
|
+
* @return A list of root entities.
|
|
4471
|
+
*/
|
|
4472
|
+
getRootHierarchyEntities(): Common.List<Multiplayer.SpaceEntity>;
|
|
4473
|
+
/**
|
|
4474
|
+
* @description Creates an entity hierarchy for a given parent entity id. Pass null to create a hiererchy for the root.
|
|
4475
|
+
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
4476
|
+
* @param hierarchyItemIds - An array of entity ids.
|
|
4477
|
+
* @param callback - A callback when the asynchronous task finishes.
|
|
4478
|
+
*/
|
|
4479
|
+
createSequenceHierarchy(parentId: bigint | null, hierarchyItemIds: Common.Array<bigint>): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4480
|
+
/**
|
|
4481
|
+
* @description Updates an entity hierarchy for a given parent entity id. Pass null to update the root.
|
|
4482
|
+
* This will create a hierarchy if it doesnt exist.
|
|
4483
|
+
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
4484
|
+
* @param hierarchyItemIds - An array of entity ids.
|
|
4485
|
+
* @param callback - A callback when the asynchronous task finishes.
|
|
4486
|
+
*/
|
|
4487
|
+
updateSequenceHierarchy(parentId: bigint | null, hierarchyItemIds: Common.Array<bigint>): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4488
|
+
/**
|
|
4489
|
+
* @description Gets an entity hierarchy for a given parent entity id. Pass null to get the root hierarchy.
|
|
4490
|
+
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
4491
|
+
* @param callback - A callback when the asynchronous task finishes.
|
|
4492
|
+
*/
|
|
4493
|
+
getSequenceHierarchy(parentId: bigint | null): Promise<Multiplayer.SequenceHierarchyResult>;
|
|
4494
|
+
/**
|
|
4495
|
+
* @description Gets all hierarchies for a space
|
|
4496
|
+
* @param callback - A callback when the asynchronous task finishes.
|
|
4497
|
+
*/
|
|
4498
|
+
getAllSequenceHierarchies(): Promise<Multiplayer.SequenceHierarchyCollectionResult>;
|
|
4499
|
+
/**
|
|
4500
|
+
* @description Deletes an entity hierarchy for a given parent entity id. Pass null to delete the root hierarchy.
|
|
4501
|
+
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
4502
|
+
* @param callback - A callback when the asynchronous task finishes.
|
|
4503
|
+
*/
|
|
4504
|
+
deleteSequenceHierarchy(parentId: bigint | null): Promise<Systems.NullResult>;
|
|
4505
|
+
/**
|
|
4506
|
+
* @description Sets a callback for a sequence hierarchy changed event.
|
|
4507
|
+
* @param callback - Callback to receive data for the sequence hierarchy that has been changed.
|
|
4508
|
+
*/
|
|
4509
|
+
setSequenceHierarchyChangedCallback(callback: (arg1: Multiplayer.SequenceHierarchyChangedParams) => void): void;
|
|
4339
4510
|
}
|
|
4340
4511
|
}
|
|
4341
4512
|
export declare namespace Multiplayer {
|
|
@@ -4356,6 +4527,15 @@ export declare namespace Multiplayer {
|
|
|
4356
4527
|
* @param scale - The scale value for the transform.
|
|
4357
4528
|
*/
|
|
4358
4529
|
static create_position_rotation_scale(position: Common.Vector3, rotation: Common.Vector4, scale: Common.Vector3): SpaceTransform;
|
|
4530
|
+
/**
|
|
4531
|
+
* @description Equality operator
|
|
4532
|
+
* @param spaceTransform - Transform
|
|
4533
|
+
*/
|
|
4534
|
+
/**
|
|
4535
|
+
* @description Multiplication operator
|
|
4536
|
+
* @param spaceTransform - Transform
|
|
4537
|
+
* NOTE: This mimics the operations of a matrix transform multiplication, but converts the back into a recognisable form.
|
|
4538
|
+
*/
|
|
4359
4539
|
delete(): void;
|
|
4360
4540
|
get position(): Common.Vector3;
|
|
4361
4541
|
set position(value: Common.Vector3);
|
|
@@ -5945,6 +6125,38 @@ export declare namespace Systems {
|
|
|
5945
6125
|
isLocalUserMuted(): boolean;
|
|
5946
6126
|
}
|
|
5947
6127
|
}
|
|
6128
|
+
export declare namespace Multiplayer {
|
|
6129
|
+
/**
|
|
6130
|
+
@ingroup Space Entity System
|
|
6131
|
+
* @description Data class used to contain information when attempting to get a sequence hierarchy
|
|
6132
|
+
*/
|
|
6133
|
+
class SequenceHierarchyResult extends Systems.ResultBase implements INativeResource {
|
|
6134
|
+
/** @internal */
|
|
6135
|
+
constructor(pointer: NativePointer);
|
|
6136
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Multiplayer.SequenceHierarchyResult;
|
|
6137
|
+
/**
|
|
6138
|
+
* @description Retreives the SequenceHierarchy from the result.
|
|
6139
|
+
*/
|
|
6140
|
+
getSequenceHierarchy(): Multiplayer.SequenceHierarchy;
|
|
6141
|
+
delete(): void;
|
|
6142
|
+
}
|
|
6143
|
+
}
|
|
6144
|
+
export declare namespace Multiplayer {
|
|
6145
|
+
/**
|
|
6146
|
+
@ingroup Space Entity System
|
|
6147
|
+
* @description Data class used to contain information when attempting to get an array of sequence hierachies
|
|
6148
|
+
*/
|
|
6149
|
+
class SequenceHierarchyCollectionResult extends Systems.ResultBase implements INativeResource {
|
|
6150
|
+
/** @internal */
|
|
6151
|
+
constructor(pointer: NativePointer);
|
|
6152
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Multiplayer.SequenceHierarchyCollectionResult;
|
|
6153
|
+
/**
|
|
6154
|
+
* @description Retreives the SequenceHierarchies from the result.
|
|
6155
|
+
*/
|
|
6156
|
+
getSequenceHierarchyCollection(): Common.Array<Multiplayer.SequenceHierarchy>;
|
|
6157
|
+
delete(): void;
|
|
6158
|
+
}
|
|
6159
|
+
}
|
|
5948
6160
|
export declare namespace Multiplayer {
|
|
5949
6161
|
/**
|
|
5950
6162
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -9504,7 +9716,7 @@ export declare namespace Systems {
|
|
|
9504
9716
|
* @param hotspotIds - Set of hotspot ids to add to the group
|
|
9505
9717
|
* @param callback - Callback to call when a response is received
|
|
9506
9718
|
*/
|
|
9507
|
-
createHotspotGroup(
|
|
9719
|
+
createHotspotGroup(groupName: string, hotspotIds: Common.Array<string>): Promise<Systems.HotspotGroupResult>;
|
|
9508
9720
|
/**
|
|
9509
9721
|
* @description Rename a Hotspot group
|
|
9510
9722
|
* @param currentGroupName - The unique grouping name
|
|
@@ -9911,6 +10123,7 @@ export declare namespace Systems {
|
|
|
9911
10123
|
static fromSystemBase(baseInstance: Systems.SystemBase): Systems.SequenceSystem;
|
|
9912
10124
|
/**
|
|
9913
10125
|
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
|
|
10126
|
+
* NOTE: This call will fail (Reason InvalidSequenceKey) if the SequenceKey parameter contains invalid keys, such as spaces, '/' or '%'
|
|
9914
10127
|
* This call will fail if the user isn't a creator of the space.
|
|
9915
10128
|
* @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
|
|
9916
10129
|
* @param referenceType - The type of reference (GroupId etc.)
|
|
@@ -9922,6 +10135,7 @@ export declare namespace Systems {
|
|
|
9922
10135
|
createSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequenceResult>;
|
|
9923
10136
|
/**
|
|
9924
10137
|
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
10138
|
+
* NOTE: This call will fail if the SequenceKey parameter contains invalid keys, such as spaces, '/' or '%'
|
|
9925
10139
|
* @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
|
|
9926
10140
|
* @param referenceType - The type of reference (GroupId etc.)
|
|
9927
10141
|
* @param referenceId - The id of the reference
|
|
@@ -9932,6 +10146,8 @@ export declare namespace Systems {
|
|
|
9932
10146
|
updateSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequenceResult>;
|
|
9933
10147
|
/**
|
|
9934
10148
|
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
10149
|
+
* NOTE: This call will fail (Reason InvalidSequenceKey) if the OldSequenceKey, or NewSequenceKey parameters contains invalid keys, such as
|
|
10150
|
+
* spaces, '/' or '%'
|
|
9935
10151
|
* @param oldSequenceKey - The current sequence key name
|
|
9936
10152
|
* @param newSequenceKey - The new sequence key name
|
|
9937
10153
|
* @param callback - Callback to call when a response is received
|
|
@@ -9939,6 +10155,7 @@ export declare namespace Systems {
|
|
|
9939
10155
|
renameSequence(oldSequenceKey: string, newSequenceKey: string): Promise<Systems.SequenceResult>;
|
|
9940
10156
|
/**
|
|
9941
10157
|
* @description Finds sequences based on the given criteria
|
|
10158
|
+
* NOTE: This call will fail (Reason InvalidSequenceKey) if the SequenceKey parameter contains invalid keys, such as spaces, '/' or '%'
|
|
9942
10159
|
* @param sequenceKeys - An array of sequence keys to search for
|
|
9943
10160
|
* @param sequenceKeys - An optional regex string for searching keys
|
|
9944
10161
|
* @param referenceType - The type of reference (GroupId etc.). Must be used with ReferenceIds
|
|
@@ -9949,12 +10166,14 @@ export declare namespace Systems {
|
|
|
9949
10166
|
getSequencesByCriteria(sequenceKeys: Common.Array<string>, keyRegex: string | null, referenceType: string | null, referenceIds: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequencesResult>;
|
|
9950
10167
|
/**
|
|
9951
10168
|
* @description Gets a sequence by it's key
|
|
10169
|
+
* NOTE: This call will fail (Reason InvalidSequenceKey) if the SequenceKey parameter contains invalid keys, such as spaces, '/' or '%'
|
|
9952
10170
|
* @param sequenceKey - The unique grouping name
|
|
9953
10171
|
* @param callback - Callback to call when a response is received
|
|
9954
10172
|
*/
|
|
9955
10173
|
getSequence(sequenceKey: string): Promise<Systems.SequenceResult>;
|
|
9956
10174
|
/**
|
|
9957
10175
|
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
10176
|
+
* NOTE: This call will fail (Reason InvalidSequenceKey) if the SequenceKey parameter contains invalid keys, such as spaces, '/' or '%'
|
|
9958
10177
|
* @param sequenceKeys - An array of sequence keys to delete
|
|
9959
10178
|
* @param callback - Callback to call when a response is received
|
|
9960
10179
|
*/
|
|
@@ -10565,6 +10784,17 @@ export declare namespace Systems {
|
|
|
10565
10784
|
* @param callback - Callback when asynchronous task finishes
|
|
10566
10785
|
*/
|
|
10567
10786
|
deleteSpaceGeoLocation(spaceId: string): Promise<Systems.NullResult>;
|
|
10787
|
+
/**
|
|
10788
|
+
* @description Duplicate an existing space and assign it to the current user
|
|
10789
|
+
* @param spaceId - Id of the space to duplicate.
|
|
10790
|
+
* @param newName - A unique name for the duplicated space.
|
|
10791
|
+
* @param newAttributes - Attributes to apply to the duplicated space.
|
|
10792
|
+
* @param memberGroupIds - An optional array of group (space) IDs to copy users from.
|
|
10793
|
+
* @param shallowCopy - If true, the duplicated space will reference the assets of the original space. Otherwise, all assets will be
|
|
10794
|
+
* duplicated.
|
|
10795
|
+
* @param callback - Callback when asynchronous task finishes
|
|
10796
|
+
*/
|
|
10797
|
+
duplicateSpace(spaceId: string, newName: string, newAttributes: Systems.SpaceAttributes, memberGroupIds: Common.Array<string> | null, shallowCopy: boolean): Promise<Systems.SpaceResult>;
|
|
10568
10798
|
}
|
|
10569
10799
|
}
|
|
10570
10800
|
export declare namespace Systems {
|
|
@@ -11084,6 +11314,8 @@ export declare namespace Common {
|
|
|
11084
11314
|
static ofcsp_multiplayer_ReplicatedValue(): Array<Multiplayer.ReplicatedValue>;
|
|
11085
11315
|
static ofcsp_multiplayer_ComponentUpdateInfo(): Array<Multiplayer.ComponentUpdateInfo>;
|
|
11086
11316
|
static ofcsp_systems_SpaceUserRole(): Array<Systems.SpaceUserRole>;
|
|
11317
|
+
static ofuint64_t(): Array<bigint>;
|
|
11318
|
+
static ofcsp_multiplayer_SequenceHierarchy(): Array<Multiplayer.SequenceHierarchy>;
|
|
11087
11319
|
static ofcsp_multiplayer_MessageInfo(): Array<Multiplayer.MessageInfo>;
|
|
11088
11320
|
static ofString(): Array<string>;
|
|
11089
11321
|
static ofcsp_systems_EAssetPlatform(): Array<Systems.EAssetPlatform>;
|
|
@@ -11126,6 +11358,8 @@ export declare namespace Common {
|
|
|
11126
11358
|
static ofcsp_multiplayer_ReplicatedValue_number(size: number): Array<Multiplayer.ReplicatedValue>;
|
|
11127
11359
|
static ofcsp_multiplayer_ComponentUpdateInfo_number(size: number): Array<Multiplayer.ComponentUpdateInfo>;
|
|
11128
11360
|
static ofcsp_systems_SpaceUserRole_number(size: number): Array<Systems.SpaceUserRole>;
|
|
11361
|
+
static ofuint64_t_number(size: number): Array<bigint>;
|
|
11362
|
+
static ofcsp_multiplayer_SequenceHierarchy_number(size: number): Array<Multiplayer.SequenceHierarchy>;
|
|
11129
11363
|
static ofcsp_multiplayer_MessageInfo_number(size: number): Array<Multiplayer.MessageInfo>;
|
|
11130
11364
|
static ofString_number(size: number): Array<string>;
|
|
11131
11365
|
static ofcsp_systems_EAssetPlatform_number(size: number): Array<Systems.EAssetPlatform>;
|
|
@@ -11178,10 +11412,13 @@ export declare namespace Common {
|
|
|
11178
11412
|
constructor(pointer: NativePointer, TTypeFactory: ProxyClassFactory, TTypeName: string);
|
|
11179
11413
|
private TTypeFactory;
|
|
11180
11414
|
private TTypeName;
|
|
11415
|
+
static ofcsp_multiplayer_SpaceEntity(): List<Multiplayer.SpaceEntity>;
|
|
11181
11416
|
static ofString(): List<string>;
|
|
11182
11417
|
static ofcsp_common_Vector3(): List<Common.Vector3>;
|
|
11418
|
+
static ofcsp_multiplayer_SpaceEntity_number(minimumSize: number): List<Multiplayer.SpaceEntity>;
|
|
11183
11419
|
static ofString_number(minimumSize: number): List<string>;
|
|
11184
11420
|
static ofcsp_common_Vector3_number(minimumSize: number): List<Common.Vector3>;
|
|
11421
|
+
static ofcsp_multiplayer_SpaceEntity_List(other: Common.List<Multiplayer.SpaceEntity>): List<Multiplayer.SpaceEntity>;
|
|
11185
11422
|
static ofString_List(other: Common.List<string>): List<string>;
|
|
11186
11423
|
static ofcsp_common_Vector3_List(other: Common.List<Common.Vector3>): List<Common.Vector3>;
|
|
11187
11424
|
delete(): void;
|