connected-spaces-platform.web 4.27.2 → 4.28.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 +84 -10
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +15 -3
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +222 -17
- package/connectedspacesplatform.js +442 -32
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +802 -48
- package/package.json +1 -1
|
Binary file
|
|
@@ -128,7 +128,8 @@ export declare namespace Multiplayer {
|
|
|
128
128
|
Fog = 21,
|
|
129
129
|
ECommerce = 22,
|
|
130
130
|
FiducialMarker = 23,
|
|
131
|
-
GaussianSplat = 24
|
|
131
|
+
GaussianSplat = 24,
|
|
132
|
+
Text = 25
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
135
|
export declare namespace Multiplayer {
|
|
@@ -369,6 +370,13 @@ export declare namespace Multiplayer {
|
|
|
369
370
|
Num = 15
|
|
370
371
|
}
|
|
371
372
|
}
|
|
373
|
+
export declare namespace Multiplayer {
|
|
374
|
+
enum BillboardMode {
|
|
375
|
+
Off = 0,
|
|
376
|
+
Billboard = 1,
|
|
377
|
+
YawLockedBillboard = 2
|
|
378
|
+
}
|
|
379
|
+
}
|
|
372
380
|
export declare namespace Multiplayer {
|
|
373
381
|
/**
|
|
374
382
|
* @description Enumerates the list of properties that can be replicated for a button component.
|
|
@@ -570,16 +578,6 @@ export declare namespace Multiplayer {
|
|
|
570
578
|
Num = 11
|
|
571
579
|
}
|
|
572
580
|
}
|
|
573
|
-
export declare namespace Multiplayer {
|
|
574
|
-
/**
|
|
575
|
-
* @description The billboard mode supported by this image space component.
|
|
576
|
-
*/
|
|
577
|
-
enum BillboardMode {
|
|
578
|
-
Off = 0,
|
|
579
|
-
Billboard = 1,
|
|
580
|
-
YawLockedBillboard = 2
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
581
|
export declare namespace Multiplayer {
|
|
584
582
|
/**
|
|
585
583
|
* @description The display mode supported by this image space component.
|
|
@@ -735,6 +733,26 @@ export declare namespace Multiplayer {
|
|
|
735
733
|
Num = 10
|
|
736
734
|
}
|
|
737
735
|
}
|
|
736
|
+
export declare namespace Multiplayer {
|
|
737
|
+
/**
|
|
738
|
+
* @description Enumerates the list of properties that can be replicated for an text space component.
|
|
739
|
+
*/
|
|
740
|
+
enum TextPropertyKeys {
|
|
741
|
+
Position = 0,
|
|
742
|
+
Rotation = 1,
|
|
743
|
+
Scale = 2,
|
|
744
|
+
Text = 3,
|
|
745
|
+
TextColor = 4,
|
|
746
|
+
BackgroundColor = 5,
|
|
747
|
+
IsBackgroundVisible = 6,
|
|
748
|
+
Width = 7,
|
|
749
|
+
Height = 8,
|
|
750
|
+
BillboardMode = 9,
|
|
751
|
+
IsVisible = 10,
|
|
752
|
+
IsARVisible = 11,
|
|
753
|
+
Num = 12
|
|
754
|
+
}
|
|
755
|
+
}
|
|
738
756
|
export declare namespace Multiplayer {
|
|
739
757
|
/**
|
|
740
758
|
* @description Enumerates the possible playback states for a video player.
|
|
@@ -3286,7 +3304,7 @@ export declare namespace Common {
|
|
|
3286
3304
|
*/
|
|
3287
3305
|
static create_boolValue(boolValue: boolean): Variant;
|
|
3288
3306
|
/**
|
|
3289
|
-
* @description Construct a Variant based on a float type.
|
|
3307
|
+
* @description Construct a Variant based on a double-precision float type.
|
|
3290
3308
|
* @param inFloatValue - In value
|
|
3291
3309
|
*/
|
|
3292
3310
|
static create_floatValue(floatValue: number): Variant;
|
|
@@ -3334,12 +3352,12 @@ export declare namespace Common {
|
|
|
3334
3352
|
*/
|
|
3335
3353
|
getBool(): boolean;
|
|
3336
3354
|
/**
|
|
3337
|
-
* @description Sets internal variant type as a float.
|
|
3355
|
+
* @description Sets internal variant type as a double-precision float.
|
|
3338
3356
|
*/
|
|
3339
3357
|
setFloat(value: number): void;
|
|
3340
3358
|
/**
|
|
3341
|
-
* @description Gets internal variant type as a float.
|
|
3342
|
-
* @return
|
|
3359
|
+
* @description Gets internal variant type as a double-precision float.
|
|
3360
|
+
* @return Double
|
|
3343
3361
|
*/
|
|
3344
3362
|
getFloat(): number;
|
|
3345
3363
|
/**
|
|
@@ -4856,6 +4874,8 @@ export declare namespace Systems {
|
|
|
4856
4874
|
set isUnique(value: boolean);
|
|
4857
4875
|
get version(): string;
|
|
4858
4876
|
set version(value: string);
|
|
4877
|
+
get organizationId(): string;
|
|
4878
|
+
set organizationId(value: string);
|
|
4859
4879
|
}
|
|
4860
4880
|
}
|
|
4861
4881
|
export declare namespace Systems {
|
|
@@ -4969,6 +4989,8 @@ export declare namespace Systems {
|
|
|
4969
4989
|
set options(value: Common.Array<Systems.VariantOptionInfo>);
|
|
4970
4990
|
get unitPrice(): Systems.CurrencyInfo;
|
|
4971
4991
|
set unitPrice(value: Systems.CurrencyInfo);
|
|
4992
|
+
get availableStock(): number;
|
|
4993
|
+
set availableStock(value: number);
|
|
4972
4994
|
}
|
|
4973
4995
|
}
|
|
4974
4996
|
export declare namespace Systems {
|
|
@@ -5301,8 +5323,6 @@ export declare namespace Systems {
|
|
|
5301
5323
|
set createdBy(value: string);
|
|
5302
5324
|
get name(): string;
|
|
5303
5325
|
set name(value: string);
|
|
5304
|
-
get description(): string;
|
|
5305
|
-
set description(value: string);
|
|
5306
5326
|
get members(): Common.Array<Systems.OrganizationRoleInfo>;
|
|
5307
5327
|
set members(value: Common.Array<Systems.OrganizationRoleInfo>);
|
|
5308
5328
|
get spaceCount(): number;
|
|
@@ -7986,6 +8006,146 @@ export declare namespace Multiplayer {
|
|
|
7986
8006
|
delete(): void;
|
|
7987
8007
|
}
|
|
7988
8008
|
}
|
|
8009
|
+
export declare namespace Multiplayer {
|
|
8010
|
+
/**
|
|
8011
|
+
@ingroup TextSpaceComponent
|
|
8012
|
+
* @description Data representation of an TextSpaceComponent.
|
|
8013
|
+
*/
|
|
8014
|
+
class TextSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.ITransformComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
8015
|
+
/** @internal */
|
|
8016
|
+
constructor(pointer: NativePointer);
|
|
8017
|
+
static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.TextSpaceComponent;
|
|
8018
|
+
/**
|
|
8019
|
+
* @description Constructs the text space component, and associates it with the specified Parent space entity.
|
|
8020
|
+
* @param parent - The Space entity that owns this component.
|
|
8021
|
+
*/
|
|
8022
|
+
static create_parent(parent: Multiplayer.SpaceEntity): TextSpaceComponent;
|
|
8023
|
+
/**
|
|
8024
|
+
* @description Gets the text this text component refers to.
|
|
8025
|
+
* @return The text this text component refers to.
|
|
8026
|
+
*/
|
|
8027
|
+
getText(): string;
|
|
8028
|
+
/**
|
|
8029
|
+
* @description Sets the text this text component refers to.
|
|
8030
|
+
* @param value - The text this text component refers to.
|
|
8031
|
+
*/
|
|
8032
|
+
setText(value: string): void;
|
|
8033
|
+
/**
|
|
8034
|
+
* @description Gets the text color.
|
|
8035
|
+
* @return The text color, expected to be in RGB color space, with each value normalised between 0...1.
|
|
8036
|
+
*/
|
|
8037
|
+
getTextColor(): Common.Vector3;
|
|
8038
|
+
/**
|
|
8039
|
+
* @description Sets the text color.
|
|
8040
|
+
* @param value - The text color, expected to be in RGB color space, with each value normalised between 0...1.
|
|
8041
|
+
*/
|
|
8042
|
+
setTextColor(value: Common.Vector3): void;
|
|
8043
|
+
/**
|
|
8044
|
+
* @description Gets the background color that should be globally applied text associated with this component.
|
|
8045
|
+
* @return The background color, expected to be in RGB color space, with each value normalised between 0...1.
|
|
8046
|
+
*/
|
|
8047
|
+
getBackgroundColor(): Common.Vector3;
|
|
8048
|
+
/**
|
|
8049
|
+
* @description Sets the background color.
|
|
8050
|
+
* @param value - The background color, expected to be in RGB color space, with each value normalised between 0...1.
|
|
8051
|
+
*/
|
|
8052
|
+
setBackgroundColor(value: Common.Vector3): void;
|
|
8053
|
+
/**
|
|
8054
|
+
* @description Sets the background visibility.
|
|
8055
|
+
* @param value - The background visibility.
|
|
8056
|
+
*/
|
|
8057
|
+
getIsBackgroundVisible(): boolean;
|
|
8058
|
+
/**
|
|
8059
|
+
* @description Sets the background visibility.
|
|
8060
|
+
* @param value - The background visibility.
|
|
8061
|
+
*/
|
|
8062
|
+
setIsBackgroundVisible(value: boolean): void;
|
|
8063
|
+
/**
|
|
8064
|
+
* @description Sets the Text Width.
|
|
8065
|
+
* @param value - The Text Width.
|
|
8066
|
+
*/
|
|
8067
|
+
getWidth(): number;
|
|
8068
|
+
/**
|
|
8069
|
+
* @description Sets the Text Width.
|
|
8070
|
+
* @param value - The Text Width.
|
|
8071
|
+
*/
|
|
8072
|
+
setWidth(value: number): void;
|
|
8073
|
+
/**
|
|
8074
|
+
* @description Sets the Text Height.
|
|
8075
|
+
* @param value - The Text Height.
|
|
8076
|
+
*/
|
|
8077
|
+
getHeight(): number;
|
|
8078
|
+
/**
|
|
8079
|
+
* @description Sets the Text Height.
|
|
8080
|
+
* @param value - The Text Height.
|
|
8081
|
+
*/
|
|
8082
|
+
setHeight(value: number): void;
|
|
8083
|
+
/**
|
|
8084
|
+
* \addtogroup ITransformComponent
|
|
8085
|
+
@{
|
|
8086
|
+
@copydoc IPositionComponent::GetPosition()
|
|
8087
|
+
*/
|
|
8088
|
+
getPosition(): Common.Vector3;
|
|
8089
|
+
/**
|
|
8090
|
+
@copydoc IPositionComponent::SetPosition()
|
|
8091
|
+
*/
|
|
8092
|
+
setPosition(value: Common.Vector3): void;
|
|
8093
|
+
/**
|
|
8094
|
+
@copydoc IRotationComponent::GetRotation()
|
|
8095
|
+
*/
|
|
8096
|
+
getRotation(): Common.Vector4;
|
|
8097
|
+
/**
|
|
8098
|
+
@copydoc IRotationComponent::SetRotation()
|
|
8099
|
+
*/
|
|
8100
|
+
setRotation(value: Common.Vector4): void;
|
|
8101
|
+
/**
|
|
8102
|
+
@copydoc IScaleComponent::GetScale()
|
|
8103
|
+
*/
|
|
8104
|
+
getScale(): Common.Vector3;
|
|
8105
|
+
/**
|
|
8106
|
+
@copydoc IScaleComponent::SetScale()
|
|
8107
|
+
*/
|
|
8108
|
+
setScale(value: Common.Vector3): void;
|
|
8109
|
+
/**
|
|
8110
|
+
@copydoc ITransformComponent::GetTransform()
|
|
8111
|
+
*/
|
|
8112
|
+
getTransform(): Multiplayer.SpaceTransform;
|
|
8113
|
+
/**
|
|
8114
|
+
@copydoc ITransformComonent::SetTransform()
|
|
8115
|
+
*/
|
|
8116
|
+
setTransform(value: Multiplayer.SpaceTransform): void;
|
|
8117
|
+
/**
|
|
8118
|
+
@}
|
|
8119
|
+
* @description Gets the billboard mode used by this text component.
|
|
8120
|
+
* @return The billboard mode used by this text component.
|
|
8121
|
+
*/
|
|
8122
|
+
getBillboardMode(): Multiplayer.BillboardMode;
|
|
8123
|
+
/**
|
|
8124
|
+
* @description Sets the billboard mode used by this text component.
|
|
8125
|
+
* @param billboardMode - The billboard mode used by this text component.
|
|
8126
|
+
*/
|
|
8127
|
+
setBillboardMode(billboardMode: Multiplayer.BillboardMode): void;
|
|
8128
|
+
/**
|
|
8129
|
+
* \addtogroup IVisibleComponent
|
|
8130
|
+
@{
|
|
8131
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
8132
|
+
*/
|
|
8133
|
+
getIsVisible(): boolean;
|
|
8134
|
+
/**
|
|
8135
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
8136
|
+
*/
|
|
8137
|
+
setIsVisible(value: boolean): void;
|
|
8138
|
+
/**
|
|
8139
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
8140
|
+
*/
|
|
8141
|
+
getIsARVisible(): boolean;
|
|
8142
|
+
/**
|
|
8143
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
8144
|
+
*/
|
|
8145
|
+
setIsARVisible(value: boolean): void;
|
|
8146
|
+
delete(): void;
|
|
8147
|
+
}
|
|
8148
|
+
}
|
|
7989
8149
|
export declare namespace Multiplayer {
|
|
7990
8150
|
/**
|
|
7991
8151
|
@ingroup VideoPlayerSpaceComponent
|
|
@@ -9171,6 +9331,49 @@ export declare namespace Systems {
|
|
|
9171
9331
|
* @param callback - The callback to execute.
|
|
9172
9332
|
*/
|
|
9173
9333
|
setMemberJoinedOrganizationCallback(callback: (arg1: string) => void): void;
|
|
9334
|
+
/**
|
|
9335
|
+
* @description Create a new Organization.
|
|
9336
|
+
* Only a User with tenant admin permissions can create an Organization.
|
|
9337
|
+
* If the user does not have the required permissions their call will be rejected.
|
|
9338
|
+
* @param organizationOwnerId - Id of the Organization owner.
|
|
9339
|
+
* @param organizationName - The Organization name
|
|
9340
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9341
|
+
*/
|
|
9342
|
+
createOrganization(organizationOwnerId: string, organizationName: string): Promise<Systems.OrganizationResult>;
|
|
9343
|
+
/**
|
|
9344
|
+
* @description Retrieves Organization info for the specified Organization.
|
|
9345
|
+
* If this request is made by a User with an Owner or Admin Organization role, the resultant Organization object will contain an array of
|
|
9346
|
+
* OrganizationRoleInfo objects for each Organization member. If the request is made by a User who does not have the Owner or Admin role, the
|
|
9347
|
+
* resultant Organization object will contain an array with a single OrganizationRoleInfo object which represents them.
|
|
9348
|
+
* @param organizationId - Id of the Organization to retrieve information on. If no Id is specified,
|
|
9349
|
+
* the Id of the Organization the user is currently authenticated against will be used.
|
|
9350
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9351
|
+
*/
|
|
9352
|
+
getOrganization(organizationId: string | null): Promise<Systems.OrganizationResult>;
|
|
9353
|
+
/**
|
|
9354
|
+
* @description Get the Id of the Organization the user is authenticated against.
|
|
9355
|
+
* @return The Id of the Organization the User belongs to.
|
|
9356
|
+
*/
|
|
9357
|
+
getCurrentOrganizationId(): string;
|
|
9358
|
+
/**
|
|
9359
|
+
* @description Updates the name and/or the description of the specified Organization.
|
|
9360
|
+
* Only a User with an Organization Owner role can update an Organization. If the user does not have the required Organization role
|
|
9361
|
+
* their call will be rejected.
|
|
9362
|
+
* @param organizationId - Id of the Organization to update. If no Id is specified,
|
|
9363
|
+
* the Id of the Organization the user is currently authenticated against will be used.
|
|
9364
|
+
* @param name - The new Organization name
|
|
9365
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9366
|
+
*/
|
|
9367
|
+
updateOrganization(organizationId: string | null, name: string): Promise<Systems.OrganizationResult>;
|
|
9368
|
+
/**
|
|
9369
|
+
* @description Deactivates the specified Organization.
|
|
9370
|
+
* This call performs a soft-delete of the Organization and will allow for Organization reactivation in the future.
|
|
9371
|
+
* Only A User with owner-level permissions can deactivate an Organization. If the user does not have the required role their call will be
|
|
9372
|
+
* rejected.
|
|
9373
|
+
* @param organizationId - Id of the Organization to deactivate.
|
|
9374
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
9375
|
+
*/
|
|
9376
|
+
deactivateOrganization(organizationId: string): Promise<Systems.NullResult>;
|
|
9174
9377
|
/**
|
|
9175
9378
|
* @description Invites a given email to the User's Organization.
|
|
9176
9379
|
* Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their
|
|
@@ -9565,6 +9768,8 @@ export declare namespace Systems {
|
|
|
9565
9768
|
set moderatorIds(value: Common.Array<string>);
|
|
9566
9769
|
get bannedUserIds(): Common.Array<string>;
|
|
9567
9770
|
set bannedUserIds(value: Common.Array<string>);
|
|
9771
|
+
get organizationId(): string;
|
|
9772
|
+
set organizationId(value: string);
|
|
9568
9773
|
}
|
|
9569
9774
|
}
|
|
9570
9775
|
export declare namespace Systems {
|