connected-spaces-platform.web 5.21.0 → 5.22.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 +82 -6
- 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 +80 -11
- package/connectedspacesplatform.js +235 -15
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +508 -27
- package/package.json +1 -1
|
Binary file
|
|
@@ -1514,7 +1514,7 @@ export declare namespace Systems {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
1516
1516
|
/**
|
|
1517
|
-
* @description Represents definition for identifying and versioning an external service endpoint
|
|
1517
|
+
* @description Represents definition for identifying and versioning an external service endpoint.
|
|
1518
1518
|
*/
|
|
1519
1519
|
export declare class ServiceDefinition extends NativeClassWrapper implements INativeResource {
|
|
1520
1520
|
/** @internal */
|
|
@@ -4181,25 +4181,21 @@ export declare namespace Multiplayer {
|
|
|
4181
4181
|
sendNetworkEventToClient(eventName: string, args: Common.Array<Common.ReplicatedValue>, targetClientId: bigint): Promise<Multiplayer.ErrorCode>;
|
|
4182
4182
|
/**
|
|
4183
4183
|
* @description Register interest in a network event, such that the NetworkEventBus will call the provided callback when it arrives
|
|
4184
|
-
* @param registration - Registration information, containing a ReceiverID and an EventName.
|
|
4185
|
-
*
|
|
4186
|
-
* @
|
|
4187
|
-
* null.
|
|
4184
|
+
* @param registration - Registration information, containing a ReceiverID and an EventName. Will fail to register if
|
|
4185
|
+
* identical callback registration already registered.
|
|
4186
|
+
* @param callback - Callback to invoke when specified event is received. Will fail to register if null.
|
|
4188
4187
|
*/
|
|
4189
|
-
listenNetworkEvent(registration: Multiplayer.NetworkEventRegistration, callback: (networkEventData: Common.NetworkEventData) => void):
|
|
4188
|
+
listenNetworkEvent(registration: Multiplayer.NetworkEventRegistration, callback: (networkEventData: Common.NetworkEventData) => void): void;
|
|
4190
4189
|
/**
|
|
4191
4190
|
* @description Deregister interest in a network event
|
|
4192
4191
|
* @param registration - Registration information of already registered event, containing a ReceiverID and an EventName.
|
|
4193
|
-
* @return True if the deregistration was successful, false otherwise, such as in the case where Registration was not found
|
|
4194
4192
|
*/
|
|
4195
|
-
stopListenNetworkEvent(registration: Multiplayer.NetworkEventRegistration):
|
|
4193
|
+
stopListenNetworkEvent(registration: Multiplayer.NetworkEventRegistration): void;
|
|
4196
4194
|
/**
|
|
4197
4195
|
* @description Deregister interest in all network events registered to a particular EventReceiverId
|
|
4198
4196
|
* @param eventReceiverId - EventReceiverId to deregister.
|
|
4199
|
-
* @return True if the deregistration was successful, false otherwise, such as if no events were found to deregister under the provided
|
|
4200
|
-
* EventReceiverId.
|
|
4201
4197
|
*/
|
|
4202
|
-
stopListenAllNetworkEvents(eventReceiverId: string):
|
|
4198
|
+
stopListenAllNetworkEvents(eventReceiverId: string): void;
|
|
4203
4199
|
/**
|
|
4204
4200
|
* @description Get an array of all interests currently registered to the NetworkEventBus
|
|
4205
4201
|
* @return Csp::common::array<csp::multiplayer::networkeventregistration> a container of all currently registered registrations.
|
|
@@ -4972,6 +4968,58 @@ export declare namespace Systems {
|
|
|
4972
4968
|
set sequences(value: Common.Array<Systems.Sequence>);
|
|
4973
4969
|
}
|
|
4974
4970
|
}
|
|
4971
|
+
export declare namespace Systems {
|
|
4972
|
+
/**
|
|
4973
|
+
@ingroup Status System
|
|
4974
|
+
* @description Stores the version and deprecation information for a service
|
|
4975
|
+
*/
|
|
4976
|
+
class VersionMetadata extends NativeClassWrapper implements INativeResource {
|
|
4977
|
+
/** @internal */
|
|
4978
|
+
constructor(pointer: NativePointer);
|
|
4979
|
+
static create(): VersionMetadata;
|
|
4980
|
+
delete(): void;
|
|
4981
|
+
get version(): string;
|
|
4982
|
+
set version(value: string);
|
|
4983
|
+
get deprecationDatetime(): string;
|
|
4984
|
+
set deprecationDatetime(value: string);
|
|
4985
|
+
}
|
|
4986
|
+
}
|
|
4987
|
+
export declare namespace Systems {
|
|
4988
|
+
/**
|
|
4989
|
+
@ingroup Status System
|
|
4990
|
+
* @description Stores information about a service, including available versions
|
|
4991
|
+
*/
|
|
4992
|
+
class ServiceStatus extends NativeClassWrapper implements INativeResource {
|
|
4993
|
+
/** @internal */
|
|
4994
|
+
constructor(pointer: NativePointer);
|
|
4995
|
+
static create(): ServiceStatus;
|
|
4996
|
+
delete(): void;
|
|
4997
|
+
get reverseProxy(): string;
|
|
4998
|
+
set reverseProxy(value: string);
|
|
4999
|
+
get name(): string;
|
|
5000
|
+
set name(value: string);
|
|
5001
|
+
get apiVersions(): Common.Array<Systems.VersionMetadata>;
|
|
5002
|
+
set apiVersions(value: Common.Array<Systems.VersionMetadata>);
|
|
5003
|
+
get currentApiVersion(): string;
|
|
5004
|
+
set currentApiVersion(value: string);
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
export declare namespace Systems {
|
|
5008
|
+
/**
|
|
5009
|
+
@ingroup Status System
|
|
5010
|
+
* @description Store information about the current service deployment
|
|
5011
|
+
*/
|
|
5012
|
+
class ServicesDeploymentStatus extends NativeClassWrapper implements INativeResource {
|
|
5013
|
+
/** @internal */
|
|
5014
|
+
constructor(pointer: NativePointer);
|
|
5015
|
+
static create(): ServicesDeploymentStatus;
|
|
5016
|
+
delete(): void;
|
|
5017
|
+
get version(): string;
|
|
5018
|
+
set version(value: string);
|
|
5019
|
+
get services(): Common.Array<Systems.ServiceStatus>;
|
|
5020
|
+
set services(value: Common.Array<Systems.ServiceStatus>);
|
|
5021
|
+
}
|
|
5022
|
+
}
|
|
4975
5023
|
export declare namespace Systems {
|
|
4976
5024
|
/**
|
|
4977
5025
|
* @description Base class for all Connected Spaces Platform Systems, which enforces passing of a WebClient or NetworkEventBus instance in the constructor
|
|
@@ -9499,6 +9547,23 @@ export declare namespace Multiplayer {
|
|
|
9499
9547
|
delete(): void;
|
|
9500
9548
|
}
|
|
9501
9549
|
}
|
|
9550
|
+
export declare namespace Systems {
|
|
9551
|
+
/**
|
|
9552
|
+
@ingroup Status System
|
|
9553
|
+
* @description Data class used to contain information when a Response is received from the Status Server
|
|
9554
|
+
*/
|
|
9555
|
+
class ServicesDeploymentStatusResult extends Systems.ResultBase implements INativeResource {
|
|
9556
|
+
/** @internal */
|
|
9557
|
+
constructor(pointer: NativePointer);
|
|
9558
|
+
static fromResultBase(baseInstance: Systems.ResultBase): Systems.ServicesDeploymentStatusResult;
|
|
9559
|
+
/**
|
|
9560
|
+
* @description Will return services deployment status for the latest available deployment from the server
|
|
9561
|
+
* @return The latest services deployment status
|
|
9562
|
+
*/
|
|
9563
|
+
getLatestServicesDeploymentStatus(): Systems.ServicesDeploymentStatus;
|
|
9564
|
+
delete(): void;
|
|
9565
|
+
}
|
|
9566
|
+
}
|
|
9502
9567
|
export declare namespace Systems {
|
|
9503
9568
|
/**
|
|
9504
9569
|
* @description A result handler that is used to notify a user of an error.
|
|
@@ -12343,6 +12408,8 @@ export declare namespace Common {
|
|
|
12343
12408
|
static ofcsp_systems_AssetCollection(): Array<Systems.AssetCollection>;
|
|
12344
12409
|
static ofcsp_systems_Asset(): Array<Systems.Asset>;
|
|
12345
12410
|
static ofcsp_systems_Sequence(): Array<Systems.Sequence>;
|
|
12411
|
+
static ofcsp_systems_VersionMetadata(): Array<Systems.VersionMetadata>;
|
|
12412
|
+
static ofcsp_systems_ServiceStatus(): Array<Systems.ServiceStatus>;
|
|
12346
12413
|
static ofString(): Array<string>;
|
|
12347
12414
|
static ofcsp_systems_EAssetPlatform(): Array<Systems.EAssetPlatform>;
|
|
12348
12415
|
static ofcsp_systems_EAssetCollectionType(): Array<Systems.EAssetCollectionType>;
|
|
@@ -12386,6 +12453,8 @@ export declare namespace Common {
|
|
|
12386
12453
|
static ofcsp_systems_AssetCollection_number(size: number): Array<Systems.AssetCollection>;
|
|
12387
12454
|
static ofcsp_systems_Asset_number(size: number): Array<Systems.Asset>;
|
|
12388
12455
|
static ofcsp_systems_Sequence_number(size: number): Array<Systems.Sequence>;
|
|
12456
|
+
static ofcsp_systems_VersionMetadata_number(size: number): Array<Systems.VersionMetadata>;
|
|
12457
|
+
static ofcsp_systems_ServiceStatus_number(size: number): Array<Systems.ServiceStatus>;
|
|
12389
12458
|
static ofString_number(size: number): Array<string>;
|
|
12390
12459
|
static ofcsp_systems_EAssetPlatform_number(size: number): Array<Systems.EAssetPlatform>;
|
|
12391
12460
|
static ofcsp_systems_EAssetCollectionType_number(size: number): Array<Systems.EAssetCollectionType>;
|
|
@@ -827,6 +827,21 @@ function csp_systems_CSPSceneDataFactory(nativePointer) {
|
|
|
827
827
|
}
|
|
828
828
|
ProxyClassFactories["csp_systems_CSPSceneData"] =
|
|
829
829
|
csp_systems_CSPSceneDataFactory;
|
|
830
|
+
function csp_systems_VersionMetadataFactory(nativePointer) {
|
|
831
|
+
return new Systems.VersionMetadata(nativePointer);
|
|
832
|
+
}
|
|
833
|
+
ProxyClassFactories["csp_systems_VersionMetadata"] =
|
|
834
|
+
csp_systems_VersionMetadataFactory;
|
|
835
|
+
function csp_systems_ServiceStatusFactory(nativePointer) {
|
|
836
|
+
return new Systems.ServiceStatus(nativePointer);
|
|
837
|
+
}
|
|
838
|
+
ProxyClassFactories["csp_systems_ServiceStatus"] =
|
|
839
|
+
csp_systems_ServiceStatusFactory;
|
|
840
|
+
function csp_systems_ServicesDeploymentStatusFactory(nativePointer) {
|
|
841
|
+
return new Systems.ServicesDeploymentStatus(nativePointer);
|
|
842
|
+
}
|
|
843
|
+
ProxyClassFactories["csp_systems_ServicesDeploymentStatus"] =
|
|
844
|
+
csp_systems_ServicesDeploymentStatusFactory;
|
|
830
845
|
function csp_systems_SystemBaseFactory(nativePointer) {
|
|
831
846
|
return new Systems.SystemBase(nativePointer);
|
|
832
847
|
}
|
|
@@ -1229,6 +1244,11 @@ function csp_multiplayer_AnnotationThumbnailCollectionResultFactory(nativePointe
|
|
|
1229
1244
|
}
|
|
1230
1245
|
ProxyClassFactories["csp_multiplayer_AnnotationThumbnailCollectionResult"] =
|
|
1231
1246
|
csp_multiplayer_AnnotationThumbnailCollectionResultFactory;
|
|
1247
|
+
function csp_systems_ServicesDeploymentStatusResultFactory(nativePointer) {
|
|
1248
|
+
return new Systems.ServicesDeploymentStatusResult(nativePointer);
|
|
1249
|
+
}
|
|
1250
|
+
ProxyClassFactories["csp_systems_ServicesDeploymentStatusResult"] =
|
|
1251
|
+
csp_systems_ServicesDeploymentStatusResultFactory;
|
|
1232
1252
|
function csp_systems_NullResultFactory(nativePointer) {
|
|
1233
1253
|
return new Systems.NullResult(nativePointer);
|
|
1234
1254
|
}
|
|
@@ -1671,6 +1691,16 @@ function csp_common_Array_csp_systems_SequenceFactory(nativePointer) {
|
|
|
1671
1691
|
}
|
|
1672
1692
|
ProxyClassFactories["csp_common_Array_csp_systems_Sequence"] =
|
|
1673
1693
|
csp_common_Array_csp_systems_SequenceFactory;
|
|
1694
|
+
function csp_common_Array_csp_systems_VersionMetadataFactory(nativePointer) {
|
|
1695
|
+
return new Common.Array(nativePointer, csp_systems_VersionMetadataFactory, "csp_systems_VersionMetadata");
|
|
1696
|
+
}
|
|
1697
|
+
ProxyClassFactories["csp_common_Array_csp_systems_VersionMetadata"] =
|
|
1698
|
+
csp_common_Array_csp_systems_VersionMetadataFactory;
|
|
1699
|
+
function csp_common_Array_csp_systems_ServiceStatusFactory(nativePointer) {
|
|
1700
|
+
return new Common.Array(nativePointer, csp_systems_ServiceStatusFactory, "csp_systems_ServiceStatus");
|
|
1701
|
+
}
|
|
1702
|
+
ProxyClassFactories["csp_common_Array_csp_systems_ServiceStatus"] =
|
|
1703
|
+
csp_common_Array_csp_systems_ServiceStatusFactory;
|
|
1674
1704
|
function csp_common_Array_StringFactory(nativePointer) {
|
|
1675
1705
|
return new Common.Array(nativePointer, StringFactory, "String");
|
|
1676
1706
|
}
|
|
@@ -3187,7 +3217,7 @@ export var Systems;
|
|
|
3187
3217
|
})(EThirdPartyAuthenticationProviders = Systems.EThirdPartyAuthenticationProviders || (Systems.EThirdPartyAuthenticationProviders = {}));
|
|
3188
3218
|
})(Systems || (Systems = {}));
|
|
3189
3219
|
/**
|
|
3190
|
-
* @description Represents definition for identifying and versioning an external service endpoint
|
|
3220
|
+
* @description Represents definition for identifying and versioning an external service endpoint.
|
|
3191
3221
|
*/
|
|
3192
3222
|
export class ServiceDefinition extends NativeClassWrapper {
|
|
3193
3223
|
/** @internal */
|
|
@@ -10884,38 +10914,31 @@ export class CSPFoundation {
|
|
|
10884
10914
|
}
|
|
10885
10915
|
/**
|
|
10886
10916
|
* @description Register interest in a network event, such that the NetworkEventBus will call the provided callback when it arrives
|
|
10887
|
-
* @param registration - Registration information, containing a ReceiverID and an EventName.
|
|
10888
|
-
*
|
|
10889
|
-
* @
|
|
10890
|
-
* null.
|
|
10917
|
+
* @param registration - Registration information, containing a ReceiverID and an EventName. Will fail to register if
|
|
10918
|
+
* identical callback registration already registered.
|
|
10919
|
+
* @param callback - Callback to invoke when specified event is received. Will fail to register if null.
|
|
10891
10920
|
*/
|
|
10892
10921
|
listenNetworkEvent(registration, callback) {
|
|
10893
10922
|
var _callback = (_stateObject__, networkEventData) => {
|
|
10894
10923
|
var _networkEventData = new Common.NetworkEventData(getNativePointer(networkEventData));
|
|
10895
10924
|
callback(_networkEventData);
|
|
10896
10925
|
};
|
|
10897
|
-
var callbackPtr = Module.addFunction(_callback, "
|
|
10898
|
-
|
|
10899
|
-
return _result;
|
|
10926
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
10927
|
+
Module.ccall("csp_multiplayer_NetworkEventBus_ListenNetworkEvent_void_NetworkEventRegistration_NetworkEventCallback", "void", ["number", "number", "number"], [this.pointer, registration.pointer, callbackPtr]);
|
|
10900
10928
|
}
|
|
10901
10929
|
/**
|
|
10902
10930
|
* @description Deregister interest in a network event
|
|
10903
10931
|
* @param registration - Registration information of already registered event, containing a ReceiverID and an EventName.
|
|
10904
|
-
* @return True if the deregistration was successful, false otherwise, such as in the case where Registration was not found
|
|
10905
10932
|
*/
|
|
10906
10933
|
stopListenNetworkEvent(registration) {
|
|
10907
|
-
|
|
10908
|
-
return _result;
|
|
10934
|
+
Module.ccall("csp_multiplayer_NetworkEventBus_StopListenNetworkEvent_void_NetworkEventRegistration", "void", ["number", "number"], [this.pointer, registration.pointer]);
|
|
10909
10935
|
}
|
|
10910
10936
|
/**
|
|
10911
10937
|
* @description Deregister interest in all network events registered to a particular EventReceiverId
|
|
10912
10938
|
* @param eventReceiverId - EventReceiverId to deregister.
|
|
10913
|
-
* @return True if the deregistration was successful, false otherwise, such as if no events were found to deregister under the provided
|
|
10914
|
-
* EventReceiverId.
|
|
10915
10939
|
*/
|
|
10916
10940
|
stopListenAllNetworkEvents(eventReceiverId) {
|
|
10917
|
-
|
|
10918
|
-
return _result;
|
|
10941
|
+
Module.ccall("csp_multiplayer_NetworkEventBus_StopListenAllNetworkEvents_void_StringRC", "void", ["number", "string"], [this.pointer, eventReceiverId]);
|
|
10919
10942
|
}
|
|
10920
10943
|
/**
|
|
10921
10944
|
* @description Get an array of all interests currently registered to the NetworkEventBus
|
|
@@ -12501,6 +12524,141 @@ export class CSPFoundation {
|
|
|
12501
12524
|
}
|
|
12502
12525
|
Systems.CSPSceneData = CSPSceneData;
|
|
12503
12526
|
})(Systems || (Systems = {}));
|
|
12527
|
+
(function (Systems) {
|
|
12528
|
+
/**
|
|
12529
|
+
@ingroup Status System
|
|
12530
|
+
* @description Stores the version and deprecation information for a service
|
|
12531
|
+
*/
|
|
12532
|
+
class VersionMetadata extends NativeClassWrapper {
|
|
12533
|
+
/** @internal */
|
|
12534
|
+
constructor(pointer) {
|
|
12535
|
+
super(pointer);
|
|
12536
|
+
}
|
|
12537
|
+
static create() {
|
|
12538
|
+
var _ptr = Module._malloc(8);
|
|
12539
|
+
Module.ccall("csp_systems_VersionMetadata_Ctor", "void", ["number"], [_ptr]);
|
|
12540
|
+
var _nPtr = getNativePointer(_ptr);
|
|
12541
|
+
return new VersionMetadata(_nPtr);
|
|
12542
|
+
}
|
|
12543
|
+
delete() {
|
|
12544
|
+
if (this.ownsPointer && !this.disposed) {
|
|
12545
|
+
Module.ccall("csp_systems_VersionMetadata_Dtor", "void", ["number"], [this.pointer]);
|
|
12546
|
+
this.disposed = true;
|
|
12547
|
+
}
|
|
12548
|
+
}
|
|
12549
|
+
get version() {
|
|
12550
|
+
let _result = Module.ccall("csp_systems_VersionMetadata__Get_Version", "string", ["number"], [this.pointer]);
|
|
12551
|
+
return _result;
|
|
12552
|
+
}
|
|
12553
|
+
set version(value) {
|
|
12554
|
+
Module.ccall("csp_systems_VersionMetadata__Set_Version", "void", ["number", "string"], [this.pointer, value]);
|
|
12555
|
+
}
|
|
12556
|
+
get deprecationDatetime() {
|
|
12557
|
+
let _result = Module.ccall("csp_systems_VersionMetadata__Get_DeprecationDatetime", "string", ["number"], [this.pointer]);
|
|
12558
|
+
return _result;
|
|
12559
|
+
}
|
|
12560
|
+
set deprecationDatetime(value) {
|
|
12561
|
+
Module.ccall("csp_systems_VersionMetadata__Set_DeprecationDatetime", "void", ["number", "string"], [this.pointer, value]);
|
|
12562
|
+
}
|
|
12563
|
+
}
|
|
12564
|
+
Systems.VersionMetadata = VersionMetadata;
|
|
12565
|
+
})(Systems || (Systems = {}));
|
|
12566
|
+
(function (Systems) {
|
|
12567
|
+
/**
|
|
12568
|
+
@ingroup Status System
|
|
12569
|
+
* @description Stores information about a service, including available versions
|
|
12570
|
+
*/
|
|
12571
|
+
class ServiceStatus extends NativeClassWrapper {
|
|
12572
|
+
/** @internal */
|
|
12573
|
+
constructor(pointer) {
|
|
12574
|
+
super(pointer);
|
|
12575
|
+
}
|
|
12576
|
+
static create() {
|
|
12577
|
+
var _ptr = Module._malloc(8);
|
|
12578
|
+
Module.ccall("csp_systems_ServiceStatus_Ctor", "void", ["number"], [_ptr]);
|
|
12579
|
+
var _nPtr = getNativePointer(_ptr);
|
|
12580
|
+
return new ServiceStatus(_nPtr);
|
|
12581
|
+
}
|
|
12582
|
+
delete() {
|
|
12583
|
+
if (this.ownsPointer && !this.disposed) {
|
|
12584
|
+
Module.ccall("csp_systems_ServiceStatus_Dtor", "void", ["number"], [this.pointer]);
|
|
12585
|
+
this.disposed = true;
|
|
12586
|
+
}
|
|
12587
|
+
}
|
|
12588
|
+
get reverseProxy() {
|
|
12589
|
+
let _result = Module.ccall("csp_systems_ServiceStatus__Get_ReverseProxy", "string", ["number"], [this.pointer]);
|
|
12590
|
+
return _result;
|
|
12591
|
+
}
|
|
12592
|
+
set reverseProxy(value) {
|
|
12593
|
+
Module.ccall("csp_systems_ServiceStatus__Set_ReverseProxy", "void", ["number", "string"], [this.pointer, value]);
|
|
12594
|
+
}
|
|
12595
|
+
get name() {
|
|
12596
|
+
let _result = Module.ccall("csp_systems_ServiceStatus__Get_Name", "string", ["number"], [this.pointer]);
|
|
12597
|
+
return _result;
|
|
12598
|
+
}
|
|
12599
|
+
set name(value) {
|
|
12600
|
+
Module.ccall("csp_systems_ServiceStatus__Set_Name", "void", ["number", "string"], [this.pointer, value]);
|
|
12601
|
+
}
|
|
12602
|
+
get apiVersions() {
|
|
12603
|
+
const _ptr = Module._malloc(8);
|
|
12604
|
+
Module.ccall("csp_systems_ServiceStatus__Get_ApiVersions", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
12605
|
+
const _nPtr = getNativePointer(_ptr);
|
|
12606
|
+
return new Common.Array(_nPtr, csp_systems_VersionMetadataFactory, "csp_systems_VersionMetadata");
|
|
12607
|
+
}
|
|
12608
|
+
set apiVersions(value) {
|
|
12609
|
+
Module.ccall("csp_systems_ServiceStatus__Set_ApiVersions", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
12610
|
+
}
|
|
12611
|
+
get currentApiVersion() {
|
|
12612
|
+
let _result = Module.ccall("csp_systems_ServiceStatus__Get_CurrentApiVersion", "string", ["number"], [this.pointer]);
|
|
12613
|
+
return _result;
|
|
12614
|
+
}
|
|
12615
|
+
set currentApiVersion(value) {
|
|
12616
|
+
Module.ccall("csp_systems_ServiceStatus__Set_CurrentApiVersion", "void", ["number", "string"], [this.pointer, value]);
|
|
12617
|
+
}
|
|
12618
|
+
}
|
|
12619
|
+
Systems.ServiceStatus = ServiceStatus;
|
|
12620
|
+
})(Systems || (Systems = {}));
|
|
12621
|
+
(function (Systems) {
|
|
12622
|
+
/**
|
|
12623
|
+
@ingroup Status System
|
|
12624
|
+
* @description Store information about the current service deployment
|
|
12625
|
+
*/
|
|
12626
|
+
class ServicesDeploymentStatus extends NativeClassWrapper {
|
|
12627
|
+
/** @internal */
|
|
12628
|
+
constructor(pointer) {
|
|
12629
|
+
super(pointer);
|
|
12630
|
+
}
|
|
12631
|
+
static create() {
|
|
12632
|
+
var _ptr = Module._malloc(8);
|
|
12633
|
+
Module.ccall("csp_systems_ServicesDeploymentStatus_Ctor", "void", ["number"], [_ptr]);
|
|
12634
|
+
var _nPtr = getNativePointer(_ptr);
|
|
12635
|
+
return new ServicesDeploymentStatus(_nPtr);
|
|
12636
|
+
}
|
|
12637
|
+
delete() {
|
|
12638
|
+
if (this.ownsPointer && !this.disposed) {
|
|
12639
|
+
Module.ccall("csp_systems_ServicesDeploymentStatus_Dtor", "void", ["number"], [this.pointer]);
|
|
12640
|
+
this.disposed = true;
|
|
12641
|
+
}
|
|
12642
|
+
}
|
|
12643
|
+
get version() {
|
|
12644
|
+
let _result = Module.ccall("csp_systems_ServicesDeploymentStatus__Get_Version", "string", ["number"], [this.pointer]);
|
|
12645
|
+
return _result;
|
|
12646
|
+
}
|
|
12647
|
+
set version(value) {
|
|
12648
|
+
Module.ccall("csp_systems_ServicesDeploymentStatus__Set_Version", "void", ["number", "string"], [this.pointer, value]);
|
|
12649
|
+
}
|
|
12650
|
+
get services() {
|
|
12651
|
+
const _ptr = Module._malloc(8);
|
|
12652
|
+
Module.ccall("csp_systems_ServicesDeploymentStatus__Get_Services", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
12653
|
+
const _nPtr = getNativePointer(_ptr);
|
|
12654
|
+
return new Common.Array(_nPtr, csp_systems_ServiceStatusFactory, "csp_systems_ServiceStatus");
|
|
12655
|
+
}
|
|
12656
|
+
set services(value) {
|
|
12657
|
+
Module.ccall("csp_systems_ServicesDeploymentStatus__Set_Services", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
12658
|
+
}
|
|
12659
|
+
}
|
|
12660
|
+
Systems.ServicesDeploymentStatus = ServicesDeploymentStatus;
|
|
12661
|
+
})(Systems || (Systems = {}));
|
|
12504
12662
|
(function (Systems) {
|
|
12505
12663
|
/**
|
|
12506
12664
|
* @description Base class for all Connected Spaces Platform Systems, which enforces passing of a WebClient or NetworkEventBus instance in the constructor
|
|
@@ -21709,6 +21867,40 @@ export class CSPFoundation {
|
|
|
21709
21867
|
}
|
|
21710
21868
|
Multiplayer.AnnotationThumbnailCollectionResult = AnnotationThumbnailCollectionResult;
|
|
21711
21869
|
})(Multiplayer || (Multiplayer = {}));
|
|
21870
|
+
(function (Systems) {
|
|
21871
|
+
/**
|
|
21872
|
+
@ingroup Status System
|
|
21873
|
+
* @description Data class used to contain information when a Response is received from the Status Server
|
|
21874
|
+
*/
|
|
21875
|
+
class ServicesDeploymentStatusResult extends Systems.ResultBase {
|
|
21876
|
+
/** @internal */
|
|
21877
|
+
constructor(pointer) {
|
|
21878
|
+
super(pointer);
|
|
21879
|
+
}
|
|
21880
|
+
static fromResultBase(baseInstance) {
|
|
21881
|
+
const nativeClassWrapper = baseInstance;
|
|
21882
|
+
return new Systems.ServicesDeploymentStatusResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
21883
|
+
}
|
|
21884
|
+
/**
|
|
21885
|
+
* @description Will return services deployment status for the latest available deployment from the server
|
|
21886
|
+
* @return The latest services deployment status
|
|
21887
|
+
*/
|
|
21888
|
+
getLatestServicesDeploymentStatus() {
|
|
21889
|
+
var _ret = Module._malloc(8);
|
|
21890
|
+
Module.ccall("csp_systems_ServicesDeploymentStatusResult_GetLatestServicesDeploymentStatusC_ServicesDeploymentStatusRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
21891
|
+
var _nPtr = new Systems.ServicesDeploymentStatus(getNativePointer(_ret));
|
|
21892
|
+
Module._free(_ret);
|
|
21893
|
+
return _nPtr;
|
|
21894
|
+
}
|
|
21895
|
+
delete() {
|
|
21896
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21897
|
+
Module.ccall("csp_systems_ServicesDeploymentStatusResult_Dtor", "void", ["number"], [this.pointer]);
|
|
21898
|
+
this.disposed = true;
|
|
21899
|
+
}
|
|
21900
|
+
}
|
|
21901
|
+
}
|
|
21902
|
+
Systems.ServicesDeploymentStatusResult = ServicesDeploymentStatusResult;
|
|
21903
|
+
})(Systems || (Systems = {}));
|
|
21712
21904
|
(function (Systems) {
|
|
21713
21905
|
/**
|
|
21714
21906
|
* @description A result handler that is used to notify a user of an error.
|
|
@@ -29824,6 +30016,20 @@ export class CSPFoundation {
|
|
|
29824
30016
|
Module._free(_ret);
|
|
29825
30017
|
return _inst;
|
|
29826
30018
|
}
|
|
30019
|
+
static ofcsp_systems_VersionMetadata() {
|
|
30020
|
+
var _ret = Module._malloc(8);
|
|
30021
|
+
Module.ccall("csp_common_Array_Ctor_csp_systems_VersionMetadata", "void", ["number"], [_ret]);
|
|
30022
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_VersionMetadataFactory, "csp_systems_VersionMetadata");
|
|
30023
|
+
Module._free(_ret);
|
|
30024
|
+
return _inst;
|
|
30025
|
+
}
|
|
30026
|
+
static ofcsp_systems_ServiceStatus() {
|
|
30027
|
+
var _ret = Module._malloc(8);
|
|
30028
|
+
Module.ccall("csp_common_Array_Ctor_csp_systems_ServiceStatus", "void", ["number"], [_ret]);
|
|
30029
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_ServiceStatusFactory, "csp_systems_ServiceStatus");
|
|
30030
|
+
Module._free(_ret);
|
|
30031
|
+
return _inst;
|
|
30032
|
+
}
|
|
29827
30033
|
static ofString() {
|
|
29828
30034
|
var _ret = Module._malloc(8);
|
|
29829
30035
|
Module.ccall("csp_common_Array_Ctor_String", "void", ["number"], [_ret]);
|
|
@@ -30125,6 +30331,20 @@ export class CSPFoundation {
|
|
|
30125
30331
|
Module._free(_ret);
|
|
30126
30332
|
return _inst;
|
|
30127
30333
|
}
|
|
30334
|
+
static ofcsp_systems_VersionMetadata_number(size) {
|
|
30335
|
+
var _ret = Module._malloc(8);
|
|
30336
|
+
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_VersionMetadata", "void", ["number", "number"], [_ret, size]);
|
|
30337
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_VersionMetadataFactory, "csp_systems_VersionMetadata");
|
|
30338
|
+
Module._free(_ret);
|
|
30339
|
+
return _inst;
|
|
30340
|
+
}
|
|
30341
|
+
static ofcsp_systems_ServiceStatus_number(size) {
|
|
30342
|
+
var _ret = Module._malloc(8);
|
|
30343
|
+
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_ServiceStatus", "void", ["number", "number"], [_ret, size]);
|
|
30344
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_ServiceStatusFactory, "csp_systems_ServiceStatus");
|
|
30345
|
+
Module._free(_ret);
|
|
30346
|
+
return _inst;
|
|
30347
|
+
}
|
|
30128
30348
|
static ofString_number(size) {
|
|
30129
30349
|
var _ret = Module._malloc(8);
|
|
30130
30350
|
Module.ccall("csp_common_Array_Conv_size_tC_String", "void", ["number", "number"], [_ret, size]);
|