connected-spaces-platform.web 4.28.0 → 4.29.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 +38 -4
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +9 -23
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +108 -2
- package/connectedspacesplatform.js +191 -2
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +352 -4
- package/package.json +1 -1
- package/ConnectedSpacesPlatform_WASM.d.ts +0 -2
|
Binary file
|
|
@@ -128,7 +128,9 @@ 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,
|
|
133
|
+
Hotspot = 26
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
136
|
export declare namespace Multiplayer {
|
|
@@ -558,6 +560,26 @@ export declare namespace Multiplayer {
|
|
|
558
560
|
Num = 10
|
|
559
561
|
}
|
|
560
562
|
}
|
|
563
|
+
export declare namespace Multiplayer {
|
|
564
|
+
enum HotspotType {
|
|
565
|
+
TeleportHotspot = 0,
|
|
566
|
+
SpawnHotspot = 1
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
export declare namespace Multiplayer {
|
|
570
|
+
/**
|
|
571
|
+
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
572
|
+
*/
|
|
573
|
+
enum HotspotPropertyKeys {
|
|
574
|
+
Position = 0,
|
|
575
|
+
Rotation = 1,
|
|
576
|
+
Name = 2,
|
|
577
|
+
HotspotType = 3,
|
|
578
|
+
IsVisible = 4,
|
|
579
|
+
IsARVisible = 5,
|
|
580
|
+
Num = 6
|
|
581
|
+
}
|
|
582
|
+
}
|
|
561
583
|
export declare namespace Multiplayer {
|
|
562
584
|
/**
|
|
563
585
|
* @description Enumerates the list of properties that can be replicated for an image space component.
|
|
@@ -1598,6 +1620,8 @@ export declare class EndpointURIs extends NativeClassWrapper implements INativeR
|
|
|
1598
1620
|
set aggregationServiceURI(value: string);
|
|
1599
1621
|
get trackingServiceURI(): string;
|
|
1600
1622
|
set trackingServiceURI(value: string);
|
|
1623
|
+
get maintenanceWindowURI(): string;
|
|
1624
|
+
set maintenanceWindowURI(value: string);
|
|
1601
1625
|
}
|
|
1602
1626
|
/**
|
|
1603
1627
|
* @description Holds client data used in requests for all Magnopus Serives.
|
|
@@ -7354,6 +7378,88 @@ export declare namespace Multiplayer {
|
|
|
7354
7378
|
delete(): void;
|
|
7355
7379
|
}
|
|
7356
7380
|
}
|
|
7381
|
+
export declare namespace Multiplayer {
|
|
7382
|
+
/**
|
|
7383
|
+
@ingroup HotspotSpaceComponent
|
|
7384
|
+
* @description Data representation of an HotspotSpaceComponent.
|
|
7385
|
+
*/
|
|
7386
|
+
class HotspotSpaceComponent extends Multiplayer.ComponentBase implements Multiplayer.IPositionComponent, Multiplayer.IRotationComponent, Multiplayer.IVisibleComponent, INativeResource {
|
|
7387
|
+
/** @internal */
|
|
7388
|
+
constructor(pointer: NativePointer);
|
|
7389
|
+
static fromComponentBase(baseInstance: Multiplayer.ComponentBase): Multiplayer.HotspotSpaceComponent;
|
|
7390
|
+
/**
|
|
7391
|
+
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
7392
|
+
* @param parent - The Space entity that owns this component.
|
|
7393
|
+
*/
|
|
7394
|
+
static create_parent(parent: Multiplayer.SpaceEntity): HotspotSpaceComponent;
|
|
7395
|
+
/**
|
|
7396
|
+
* @description Gets the Name of the Hotspot.
|
|
7397
|
+
* @return The Name of the Hotspot.
|
|
7398
|
+
*/
|
|
7399
|
+
getName(): string;
|
|
7400
|
+
/**
|
|
7401
|
+
* @description Sets the Name of this Hotspot.
|
|
7402
|
+
* @param value - The Name of this Hotspot.
|
|
7403
|
+
*/
|
|
7404
|
+
setName(value: string): void;
|
|
7405
|
+
/**
|
|
7406
|
+
* @description Gets the HotspotType of this Hotspot.
|
|
7407
|
+
*/
|
|
7408
|
+
getHotspotType(): Multiplayer.HotspotType;
|
|
7409
|
+
/**
|
|
7410
|
+
* @description Sets the HotspotType of this Hotspot.
|
|
7411
|
+
* @param value - The Type of the Hotspot.
|
|
7412
|
+
*/
|
|
7413
|
+
setHotspotType(value: Multiplayer.HotspotType): void;
|
|
7414
|
+
/**
|
|
7415
|
+
* @description Gets a unique identifier for this component in the hierarchy.
|
|
7416
|
+
* NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
|
|
7417
|
+
* @return Componentid'.
|
|
7418
|
+
*/
|
|
7419
|
+
getUniqueComponentId(): string;
|
|
7420
|
+
/**
|
|
7421
|
+
* \addtogroup IPositionComponent
|
|
7422
|
+
@{
|
|
7423
|
+
@copydoc IPositionComponent::GetPosition()
|
|
7424
|
+
*/
|
|
7425
|
+
getPosition(): Common.Vector3;
|
|
7426
|
+
/**
|
|
7427
|
+
@copydoc IPositionComponent::SetPosition()
|
|
7428
|
+
*/
|
|
7429
|
+
setPosition(value: Common.Vector3): void;
|
|
7430
|
+
/**
|
|
7431
|
+
@}
|
|
7432
|
+
* \addtogroup IRotationComponent
|
|
7433
|
+
@{
|
|
7434
|
+
@copydoc IRotationComponent::GetRotation()
|
|
7435
|
+
*/
|
|
7436
|
+
getRotation(): Common.Vector4;
|
|
7437
|
+
/**
|
|
7438
|
+
@copydoc IRotationComponent::SetRotation()
|
|
7439
|
+
*/
|
|
7440
|
+
setRotation(value: Common.Vector4): void;
|
|
7441
|
+
/**
|
|
7442
|
+
@}
|
|
7443
|
+
* \addtogroup IVisibleComponent
|
|
7444
|
+
@{
|
|
7445
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
7446
|
+
*/
|
|
7447
|
+
getIsVisible(): boolean;
|
|
7448
|
+
/**
|
|
7449
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
7450
|
+
*/
|
|
7451
|
+
setIsVisible(value: boolean): void;
|
|
7452
|
+
/**
|
|
7453
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
7454
|
+
*/
|
|
7455
|
+
getIsARVisible(): boolean;
|
|
7456
|
+
/**
|
|
7457
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
7458
|
+
*/
|
|
7459
|
+
setIsARVisible(value: boolean): void;
|
|
7460
|
+
delete(): void;
|
|
7461
|
+
}
|
|
7462
|
+
}
|
|
7357
7463
|
export declare namespace Multiplayer {
|
|
7358
7464
|
/**
|
|
7359
7465
|
@ingroup ImageSpaceComponent
|
|
@@ -9277,7 +9383,7 @@ export declare namespace Systems {
|
|
|
9277
9383
|
* @description Receives information on planned maintenances outages schedules for the future
|
|
9278
9384
|
* @param callback - Callback when asynchronous task finishes
|
|
9279
9385
|
*/
|
|
9280
|
-
getMaintenanceInfo(): Promise<Systems.MaintenanceInfoResult>;
|
|
9386
|
+
getMaintenanceInfo(maintenanceURL: string): Promise<Systems.MaintenanceInfoResult>;
|
|
9281
9387
|
}
|
|
9282
9388
|
}
|
|
9283
9389
|
export declare namespace Systems {
|
|
@@ -428,6 +428,16 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(nativePointer) {
|
|
|
428
428
|
}
|
|
429
429
|
ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
|
|
430
430
|
csp_multiplayer_GaussianSplatPropertyKeysFactory;
|
|
431
|
+
function csp_multiplayer_HotspotTypeFactory(nativePointer) {
|
|
432
|
+
return nativePointer.pointer;
|
|
433
|
+
}
|
|
434
|
+
ProxyClassFactories["csp_multiplayer_HotspotType"] =
|
|
435
|
+
csp_multiplayer_HotspotTypeFactory;
|
|
436
|
+
function csp_multiplayer_HotspotPropertyKeysFactory(nativePointer) {
|
|
437
|
+
return nativePointer.pointer;
|
|
438
|
+
}
|
|
439
|
+
ProxyClassFactories["csp_multiplayer_HotspotPropertyKeys"] =
|
|
440
|
+
csp_multiplayer_HotspotPropertyKeysFactory;
|
|
431
441
|
function csp_multiplayer_ImagePropertyKeysFactory(nativePointer) {
|
|
432
442
|
return nativePointer.pointer;
|
|
433
443
|
}
|
|
@@ -1027,6 +1037,11 @@ function csp_multiplayer_GaussianSplatSpaceComponentFactory(nativePointer) {
|
|
|
1027
1037
|
}
|
|
1028
1038
|
ProxyClassFactories["csp_multiplayer_GaussianSplatSpaceComponent"] =
|
|
1029
1039
|
csp_multiplayer_GaussianSplatSpaceComponentFactory;
|
|
1040
|
+
function csp_multiplayer_HotspotSpaceComponentFactory(nativePointer) {
|
|
1041
|
+
return new Multiplayer.HotspotSpaceComponent(nativePointer);
|
|
1042
|
+
}
|
|
1043
|
+
ProxyClassFactories["csp_multiplayer_HotspotSpaceComponent"] =
|
|
1044
|
+
csp_multiplayer_HotspotSpaceComponentFactory;
|
|
1030
1045
|
function csp_multiplayer_ImageSpaceComponentFactory(nativePointer) {
|
|
1031
1046
|
return new Multiplayer.ImageSpaceComponent(nativePointer);
|
|
1032
1047
|
}
|
|
@@ -1733,6 +1748,8 @@ export var Multiplayer;
|
|
|
1733
1748
|
ComponentType[ComponentType["ECommerce"] = 22] = "ECommerce";
|
|
1734
1749
|
ComponentType[ComponentType["FiducialMarker"] = 23] = "FiducialMarker";
|
|
1735
1750
|
ComponentType[ComponentType["GaussianSplat"] = 24] = "GaussianSplat";
|
|
1751
|
+
ComponentType[ComponentType["Text"] = 25] = "Text";
|
|
1752
|
+
ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
|
|
1736
1753
|
})(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
|
|
1737
1754
|
})(Multiplayer || (Multiplayer = {}));
|
|
1738
1755
|
(function (Multiplayer) {
|
|
@@ -2193,6 +2210,28 @@ export var Multiplayer;
|
|
|
2193
2210
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Num"] = 10] = "Num";
|
|
2194
2211
|
})(GaussianSplatPropertyKeys = Multiplayer.GaussianSplatPropertyKeys || (Multiplayer.GaussianSplatPropertyKeys = {}));
|
|
2195
2212
|
})(Multiplayer || (Multiplayer = {}));
|
|
2213
|
+
(function (Multiplayer) {
|
|
2214
|
+
let HotspotType;
|
|
2215
|
+
(function (HotspotType) {
|
|
2216
|
+
HotspotType[HotspotType["TeleportHotspot"] = 0] = "TeleportHotspot";
|
|
2217
|
+
HotspotType[HotspotType["SpawnHotspot"] = 1] = "SpawnHotspot";
|
|
2218
|
+
})(HotspotType = Multiplayer.HotspotType || (Multiplayer.HotspotType = {}));
|
|
2219
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2220
|
+
(function (Multiplayer) {
|
|
2221
|
+
/**
|
|
2222
|
+
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
2223
|
+
*/
|
|
2224
|
+
let HotspotPropertyKeys;
|
|
2225
|
+
(function (HotspotPropertyKeys) {
|
|
2226
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Position"] = 0] = "Position";
|
|
2227
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Rotation"] = 1] = "Rotation";
|
|
2228
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Name"] = 2] = "Name";
|
|
2229
|
+
HotspotPropertyKeys[HotspotPropertyKeys["HotspotType"] = 3] = "HotspotType";
|
|
2230
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsVisible"] = 4] = "IsVisible";
|
|
2231
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsARVisible"] = 5] = "IsARVisible";
|
|
2232
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Num"] = 6] = "Num";
|
|
2233
|
+
})(HotspotPropertyKeys = Multiplayer.HotspotPropertyKeys || (Multiplayer.HotspotPropertyKeys = {}));
|
|
2234
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2196
2235
|
(function (Multiplayer) {
|
|
2197
2236
|
/**
|
|
2198
2237
|
* @description Enumerates the list of properties that can be replicated for an image space component.
|
|
@@ -2857,6 +2896,13 @@ export class EndpointURIs extends NativeClassWrapper {
|
|
|
2857
2896
|
set trackingServiceURI(value) {
|
|
2858
2897
|
Module.ccall("csp_EndpointURIs__Set_TrackingServiceURI", "void", ["number", "string"], [this.pointer, value]);
|
|
2859
2898
|
}
|
|
2899
|
+
get maintenanceWindowURI() {
|
|
2900
|
+
let _result = Module.ccall("csp_EndpointURIs__Get_MaintenanceWindowURI", "string", ["number"], [this.pointer]);
|
|
2901
|
+
return _result;
|
|
2902
|
+
}
|
|
2903
|
+
set maintenanceWindowURI(value) {
|
|
2904
|
+
Module.ccall("csp_EndpointURIs__Set_MaintenanceWindowURI", "void", ["number", "string"], [this.pointer, value]);
|
|
2905
|
+
}
|
|
2860
2906
|
}
|
|
2861
2907
|
/**
|
|
2862
2908
|
* @description Holds client data used in requests for all Magnopus Serives.
|
|
@@ -17223,6 +17269,149 @@ export class CSPFoundation {
|
|
|
17223
17269
|
}
|
|
17224
17270
|
Multiplayer.GaussianSplatSpaceComponent = GaussianSplatSpaceComponent;
|
|
17225
17271
|
})(Multiplayer || (Multiplayer = {}));
|
|
17272
|
+
(function (Multiplayer) {
|
|
17273
|
+
/**
|
|
17274
|
+
@ingroup HotspotSpaceComponent
|
|
17275
|
+
* @description Data representation of an HotspotSpaceComponent.
|
|
17276
|
+
*/
|
|
17277
|
+
class HotspotSpaceComponent extends Multiplayer.ComponentBase {
|
|
17278
|
+
/** @internal */
|
|
17279
|
+
constructor(pointer) {
|
|
17280
|
+
super(pointer);
|
|
17281
|
+
}
|
|
17282
|
+
static fromComponentBase(baseInstance) {
|
|
17283
|
+
const nativeClassWrapper = baseInstance;
|
|
17284
|
+
return new Multiplayer.HotspotSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
17285
|
+
}
|
|
17286
|
+
/**
|
|
17287
|
+
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
17288
|
+
* @param parent - The Space entity that owns this component.
|
|
17289
|
+
*/
|
|
17290
|
+
static create_parent(parent) {
|
|
17291
|
+
var _ptr = Module._malloc(8);
|
|
17292
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Ctor_SpaceEntityP", "void", ["number", "number"], [_ptr, parent.pointer]);
|
|
17293
|
+
var _nPtr = getNativePointer(_ptr);
|
|
17294
|
+
return new HotspotSpaceComponent(_nPtr);
|
|
17295
|
+
}
|
|
17296
|
+
/**
|
|
17297
|
+
* @description Gets the Name of the Hotspot.
|
|
17298
|
+
* @return The Name of the Hotspot.
|
|
17299
|
+
*/
|
|
17300
|
+
getName() {
|
|
17301
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
17302
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
17303
|
+
free(_result);
|
|
17304
|
+
_result = _resultString;
|
|
17305
|
+
return _result;
|
|
17306
|
+
}
|
|
17307
|
+
/**
|
|
17308
|
+
* @description Sets the Name of this Hotspot.
|
|
17309
|
+
* @param value - The Name of this Hotspot.
|
|
17310
|
+
*/
|
|
17311
|
+
setName(value) {
|
|
17312
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
17313
|
+
}
|
|
17314
|
+
/**
|
|
17315
|
+
* @description Gets the HotspotType of this Hotspot.
|
|
17316
|
+
*/
|
|
17317
|
+
getHotspotType() {
|
|
17318
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetHotspotTypeC_HotspotType", "number", ["number"], [this.pointer]);
|
|
17319
|
+
return _result;
|
|
17320
|
+
}
|
|
17321
|
+
/**
|
|
17322
|
+
* @description Sets the HotspotType of this Hotspot.
|
|
17323
|
+
* @param value - The Type of the Hotspot.
|
|
17324
|
+
*/
|
|
17325
|
+
setHotspotType(value) {
|
|
17326
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetHotspotType_void_HotspotType", "void", ["number", "number"], [this.pointer, value]);
|
|
17327
|
+
}
|
|
17328
|
+
/**
|
|
17329
|
+
* @description Gets a unique identifier for this component in the hierarchy.
|
|
17330
|
+
* NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
|
|
17331
|
+
* @return Componentid'.
|
|
17332
|
+
*/
|
|
17333
|
+
getUniqueComponentId() {
|
|
17334
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetUniqueComponentIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
17335
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
17336
|
+
free(_result);
|
|
17337
|
+
_result = _resultString;
|
|
17338
|
+
return _result;
|
|
17339
|
+
}
|
|
17340
|
+
/**
|
|
17341
|
+
* \addtogroup IPositionComponent
|
|
17342
|
+
@{
|
|
17343
|
+
@copydoc IPositionComponent::GetPosition()
|
|
17344
|
+
*/
|
|
17345
|
+
getPosition() {
|
|
17346
|
+
var _ret = Module._malloc(8);
|
|
17347
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
17348
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
17349
|
+
Module._free(_ret);
|
|
17350
|
+
return _nPtr;
|
|
17351
|
+
}
|
|
17352
|
+
/**
|
|
17353
|
+
@copydoc IPositionComponent::SetPosition()
|
|
17354
|
+
*/
|
|
17355
|
+
setPosition(value) {
|
|
17356
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
17357
|
+
}
|
|
17358
|
+
/**
|
|
17359
|
+
@}
|
|
17360
|
+
* \addtogroup IRotationComponent
|
|
17361
|
+
@{
|
|
17362
|
+
@copydoc IRotationComponent::GetRotation()
|
|
17363
|
+
*/
|
|
17364
|
+
getRotation() {
|
|
17365
|
+
var _ret = Module._malloc(8);
|
|
17366
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetRotationC_Vector4RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
17367
|
+
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
17368
|
+
Module._free(_ret);
|
|
17369
|
+
return _nPtr;
|
|
17370
|
+
}
|
|
17371
|
+
/**
|
|
17372
|
+
@copydoc IRotationComponent::SetRotation()
|
|
17373
|
+
*/
|
|
17374
|
+
setRotation(value) {
|
|
17375
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetRotation_void_Vector4RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
17376
|
+
}
|
|
17377
|
+
/**
|
|
17378
|
+
@}
|
|
17379
|
+
* \addtogroup IVisibleComponent
|
|
17380
|
+
@{
|
|
17381
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
17382
|
+
*/
|
|
17383
|
+
getIsVisible() {
|
|
17384
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17385
|
+
return _result;
|
|
17386
|
+
}
|
|
17387
|
+
/**
|
|
17388
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
17389
|
+
*/
|
|
17390
|
+
setIsVisible(value) {
|
|
17391
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17392
|
+
}
|
|
17393
|
+
/**
|
|
17394
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
17395
|
+
*/
|
|
17396
|
+
getIsARVisible() {
|
|
17397
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17398
|
+
return _result;
|
|
17399
|
+
}
|
|
17400
|
+
/**
|
|
17401
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
17402
|
+
*/
|
|
17403
|
+
setIsARVisible(value) {
|
|
17404
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17405
|
+
}
|
|
17406
|
+
delete() {
|
|
17407
|
+
if (this.ownsPointer && !this.disposed) {
|
|
17408
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
17409
|
+
this.disposed = true;
|
|
17410
|
+
}
|
|
17411
|
+
}
|
|
17412
|
+
}
|
|
17413
|
+
Multiplayer.HotspotSpaceComponent = HotspotSpaceComponent;
|
|
17414
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
17226
17415
|
(function (Multiplayer) {
|
|
17227
17416
|
/**
|
|
17228
17417
|
@ingroup ImageSpaceComponent
|
|
@@ -21511,7 +21700,7 @@ export class CSPFoundation {
|
|
|
21511
21700
|
* @description Receives information on planned maintenances outages schedules for the future
|
|
21512
21701
|
* @param callback - Callback when asynchronous task finishes
|
|
21513
21702
|
*/
|
|
21514
|
-
async getMaintenanceInfo() {
|
|
21703
|
+
async getMaintenanceInfo(maintenanceURL) {
|
|
21515
21704
|
var _resolve;
|
|
21516
21705
|
var _promise = new Promise((_r) => {
|
|
21517
21706
|
_resolve = _r;
|
|
@@ -21527,7 +21716,7 @@ export class CSPFoundation {
|
|
|
21527
21716
|
Module.removeFunction(_callbackPtr);
|
|
21528
21717
|
};
|
|
21529
21718
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
21530
|
-
Module.ccall("
|
|
21719
|
+
Module.ccall("csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback", "void", ["number", "string", "number", "number"], [this.pointer, maintenanceURL, _callbackPtr, 0]);
|
|
21531
21720
|
return _promise;
|
|
21532
21721
|
}
|
|
21533
21722
|
}
|