connected-spaces-platform.web 4.28.1 → 4.30.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 +116 -4
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +2 -18
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +248 -2
- package/connectedspacesplatform.js +556 -2
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +1063 -4
- package/package.json +1 -1
|
@@ -284,6 +284,11 @@ function csp_multiplayer_EPermissionChangeTypeFactory(nativePointer) {
|
|
|
284
284
|
}
|
|
285
285
|
ProxyClassFactories["csp_multiplayer_EPermissionChangeType"] =
|
|
286
286
|
csp_multiplayer_EPermissionChangeTypeFactory;
|
|
287
|
+
function csp_multiplayer_ESequenceUpdateTypeFactory(nativePointer) {
|
|
288
|
+
return nativePointer.pointer;
|
|
289
|
+
}
|
|
290
|
+
ProxyClassFactories["csp_multiplayer_ESequenceUpdateType"] =
|
|
291
|
+
csp_multiplayer_ESequenceUpdateTypeFactory;
|
|
287
292
|
function csp_multiplayer_ConnectionStateFactory(nativePointer) {
|
|
288
293
|
return nativePointer.pointer;
|
|
289
294
|
}
|
|
@@ -428,6 +433,11 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(nativePointer) {
|
|
|
428
433
|
}
|
|
429
434
|
ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
|
|
430
435
|
csp_multiplayer_GaussianSplatPropertyKeysFactory;
|
|
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
|
}
|
|
@@ -674,6 +684,11 @@ function csp_multiplayer_UserPermissionsParamsFactory(nativePointer) {
|
|
|
674
684
|
}
|
|
675
685
|
ProxyClassFactories["csp_multiplayer_UserPermissionsParams"] =
|
|
676
686
|
csp_multiplayer_UserPermissionsParamsFactory;
|
|
687
|
+
function csp_multiplayer_SequenceChangedParamsFactory(nativePointer) {
|
|
688
|
+
return new Multiplayer.SequenceChangedParams(nativePointer);
|
|
689
|
+
}
|
|
690
|
+
ProxyClassFactories["csp_multiplayer_SequenceChangedParams"] =
|
|
691
|
+
csp_multiplayer_SequenceChangedParamsFactory;
|
|
677
692
|
function csp_multiplayer_MultiplayerConnectionFactory(nativePointer) {
|
|
678
693
|
return new Multiplayer.MultiplayerConnection(nativePointer);
|
|
679
694
|
}
|
|
@@ -879,6 +894,10 @@ function csp_systems_ScriptSystemFactory(nativePointer) {
|
|
|
879
894
|
}
|
|
880
895
|
ProxyClassFactories["csp_systems_ScriptSystem"] =
|
|
881
896
|
csp_systems_ScriptSystemFactory;
|
|
897
|
+
function csp_systems_SequenceFactory(nativePointer) {
|
|
898
|
+
return new Systems.Sequence(nativePointer);
|
|
899
|
+
}
|
|
900
|
+
ProxyClassFactories["csp_systems_Sequence"] = csp_systems_SequenceFactory;
|
|
882
901
|
function csp_systems_SettingsCollectionFactory(nativePointer) {
|
|
883
902
|
return new Systems.SettingsCollection(nativePointer);
|
|
884
903
|
}
|
|
@@ -1027,6 +1046,11 @@ function csp_multiplayer_GaussianSplatSpaceComponentFactory(nativePointer) {
|
|
|
1027
1046
|
}
|
|
1028
1047
|
ProxyClassFactories["csp_multiplayer_GaussianSplatSpaceComponent"] =
|
|
1029
1048
|
csp_multiplayer_GaussianSplatSpaceComponentFactory;
|
|
1049
|
+
function csp_multiplayer_HotspotSpaceComponentFactory(nativePointer) {
|
|
1050
|
+
return new Multiplayer.HotspotSpaceComponent(nativePointer);
|
|
1051
|
+
}
|
|
1052
|
+
ProxyClassFactories["csp_multiplayer_HotspotSpaceComponent"] =
|
|
1053
|
+
csp_multiplayer_HotspotSpaceComponentFactory;
|
|
1030
1054
|
function csp_multiplayer_ImageSpaceComponentFactory(nativePointer) {
|
|
1031
1055
|
return new Multiplayer.ImageSpaceComponent(nativePointer);
|
|
1032
1056
|
}
|
|
@@ -1297,6 +1321,21 @@ function csp_systems_QuotaSystemFactory(nativePointer) {
|
|
|
1297
1321
|
return new Systems.QuotaSystem(nativePointer);
|
|
1298
1322
|
}
|
|
1299
1323
|
ProxyClassFactories["csp_systems_QuotaSystem"] = csp_systems_QuotaSystemFactory;
|
|
1324
|
+
function csp_systems_SequenceResultFactory(nativePointer) {
|
|
1325
|
+
return new Systems.SequenceResult(nativePointer);
|
|
1326
|
+
}
|
|
1327
|
+
ProxyClassFactories["csp_systems_SequenceResult"] =
|
|
1328
|
+
csp_systems_SequenceResultFactory;
|
|
1329
|
+
function csp_systems_SequencesResultFactory(nativePointer) {
|
|
1330
|
+
return new Systems.SequencesResult(nativePointer);
|
|
1331
|
+
}
|
|
1332
|
+
ProxyClassFactories["csp_systems_SequencesResult"] =
|
|
1333
|
+
csp_systems_SequencesResultFactory;
|
|
1334
|
+
function csp_systems_SequenceSystemFactory(nativePointer) {
|
|
1335
|
+
return new Systems.SequenceSystem(nativePointer);
|
|
1336
|
+
}
|
|
1337
|
+
ProxyClassFactories["csp_systems_SequenceSystem"] =
|
|
1338
|
+
csp_systems_SequenceSystemFactory;
|
|
1300
1339
|
function csp_systems_SettingsCollectionResultFactory(nativePointer) {
|
|
1301
1340
|
return new Systems.SettingsCollectionResult(nativePointer);
|
|
1302
1341
|
}
|
|
@@ -1569,6 +1608,11 @@ function csp_common_Array_csp_systems_TierFeaturesFactory(nativePointer) {
|
|
|
1569
1608
|
}
|
|
1570
1609
|
ProxyClassFactories["csp_common_Array_csp_systems_TierFeatures"] =
|
|
1571
1610
|
csp_common_Array_csp_systems_TierFeaturesFactory;
|
|
1611
|
+
function csp_common_Array_csp_systems_SequenceFactory(nativePointer) {
|
|
1612
|
+
return new Common.Array(nativePointer, csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
1613
|
+
}
|
|
1614
|
+
ProxyClassFactories["csp_common_Array_csp_systems_Sequence"] =
|
|
1615
|
+
csp_common_Array_csp_systems_SequenceFactory;
|
|
1572
1616
|
function csp_common_Array_csp_systems_SiteFactory(nativePointer) {
|
|
1573
1617
|
return new Common.Array(nativePointer, csp_systems_SiteFactory, "csp_systems_Site");
|
|
1574
1618
|
}
|
|
@@ -1734,6 +1778,7 @@ export var Multiplayer;
|
|
|
1734
1778
|
ComponentType[ComponentType["FiducialMarker"] = 23] = "FiducialMarker";
|
|
1735
1779
|
ComponentType[ComponentType["GaussianSplat"] = 24] = "GaussianSplat";
|
|
1736
1780
|
ComponentType[ComponentType["Text"] = 25] = "Text";
|
|
1781
|
+
ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
|
|
1737
1782
|
})(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
|
|
1738
1783
|
})(Multiplayer || (Multiplayer = {}));
|
|
1739
1784
|
(function (Multiplayer) {
|
|
@@ -1762,6 +1807,14 @@ export var Multiplayer;
|
|
|
1762
1807
|
EPermissionChangeType[EPermissionChangeType["Invalid"] = 3] = "Invalid";
|
|
1763
1808
|
})(EPermissionChangeType = Multiplayer.EPermissionChangeType || (Multiplayer.EPermissionChangeType = {}));
|
|
1764
1809
|
})(Multiplayer || (Multiplayer = {}));
|
|
1810
|
+
(function (Multiplayer) {
|
|
1811
|
+
let ESequenceUpdateType;
|
|
1812
|
+
(function (ESequenceUpdateType) {
|
|
1813
|
+
ESequenceUpdateType[ESequenceUpdateType["Create"] = 0] = "Create";
|
|
1814
|
+
ESequenceUpdateType[ESequenceUpdateType["Update"] = 1] = "Update";
|
|
1815
|
+
ESequenceUpdateType[ESequenceUpdateType["Delete"] = 2] = "Delete";
|
|
1816
|
+
})(ESequenceUpdateType = Multiplayer.ESequenceUpdateType || (Multiplayer.ESequenceUpdateType = {}));
|
|
1817
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
1765
1818
|
(function (Multiplayer) {
|
|
1766
1819
|
/**
|
|
1767
1820
|
* @description Enum used to specify the current state of the multiplayer connection.
|
|
@@ -2194,6 +2247,22 @@ export var Multiplayer;
|
|
|
2194
2247
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Num"] = 10] = "Num";
|
|
2195
2248
|
})(GaussianSplatPropertyKeys = Multiplayer.GaussianSplatPropertyKeys || (Multiplayer.GaussianSplatPropertyKeys = {}));
|
|
2196
2249
|
})(Multiplayer || (Multiplayer = {}));
|
|
2250
|
+
(function (Multiplayer) {
|
|
2251
|
+
/**
|
|
2252
|
+
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
2253
|
+
*/
|
|
2254
|
+
let HotspotPropertyKeys;
|
|
2255
|
+
(function (HotspotPropertyKeys) {
|
|
2256
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Position"] = 0] = "Position";
|
|
2257
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Rotation"] = 1] = "Rotation";
|
|
2258
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Name"] = 2] = "Name";
|
|
2259
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsTeleportPoint"] = 3] = "IsTeleportPoint";
|
|
2260
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsSpawnPoint"] = 4] = "IsSpawnPoint";
|
|
2261
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsVisible"] = 5] = "IsVisible";
|
|
2262
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsARVisible"] = 6] = "IsARVisible";
|
|
2263
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Num"] = 7] = "Num";
|
|
2264
|
+
})(HotspotPropertyKeys = Multiplayer.HotspotPropertyKeys || (Multiplayer.HotspotPropertyKeys = {}));
|
|
2265
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2197
2266
|
(function (Multiplayer) {
|
|
2198
2267
|
/**
|
|
2199
2268
|
* @description Enumerates the list of properties that can be replicated for an image space component.
|
|
@@ -2858,6 +2927,13 @@ export class EndpointURIs extends NativeClassWrapper {
|
|
|
2858
2927
|
set trackingServiceURI(value) {
|
|
2859
2928
|
Module.ccall("csp_EndpointURIs__Set_TrackingServiceURI", "void", ["number", "string"], [this.pointer, value]);
|
|
2860
2929
|
}
|
|
2930
|
+
get maintenanceWindowURI() {
|
|
2931
|
+
let _result = Module.ccall("csp_EndpointURIs__Get_MaintenanceWindowURI", "string", ["number"], [this.pointer]);
|
|
2932
|
+
return _result;
|
|
2933
|
+
}
|
|
2934
|
+
set maintenanceWindowURI(value) {
|
|
2935
|
+
Module.ccall("csp_EndpointURIs__Set_MaintenanceWindowURI", "void", ["number", "string"], [this.pointer, value]);
|
|
2936
|
+
}
|
|
2861
2937
|
}
|
|
2862
2938
|
/**
|
|
2863
2939
|
* @description Holds client data used in requests for all Magnopus Serives.
|
|
@@ -9132,6 +9208,48 @@ export class CSPFoundation {
|
|
|
9132
9208
|
}
|
|
9133
9209
|
Multiplayer.UserPermissionsParams = UserPermissionsParams;
|
|
9134
9210
|
})(Multiplayer || (Multiplayer = {}));
|
|
9211
|
+
(function (Multiplayer) {
|
|
9212
|
+
class SequenceChangedParams extends NativeClassWrapper {
|
|
9213
|
+
/** @internal */
|
|
9214
|
+
constructor(pointer) {
|
|
9215
|
+
super(pointer);
|
|
9216
|
+
}
|
|
9217
|
+
static create() {
|
|
9218
|
+
var _ptr = Module._malloc(8);
|
|
9219
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams_Ctor", "void", ["number"], [_ptr]);
|
|
9220
|
+
var _nPtr = getNativePointer(_ptr);
|
|
9221
|
+
return new SequenceChangedParams(_nPtr);
|
|
9222
|
+
}
|
|
9223
|
+
delete() {
|
|
9224
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9225
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams_Dtor", "void", ["number"], [this.pointer]);
|
|
9226
|
+
this.disposed = true;
|
|
9227
|
+
}
|
|
9228
|
+
}
|
|
9229
|
+
get updateType() {
|
|
9230
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_UpdateType", "number", ["number"], [this.pointer]);
|
|
9231
|
+
return _result;
|
|
9232
|
+
}
|
|
9233
|
+
set updateType(value) {
|
|
9234
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_UpdateType", "void", ["number", "number"], [this.pointer, value]);
|
|
9235
|
+
}
|
|
9236
|
+
get key() {
|
|
9237
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_Key", "string", ["number"], [this.pointer]);
|
|
9238
|
+
return _result;
|
|
9239
|
+
}
|
|
9240
|
+
set key(value) {
|
|
9241
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_Key", "void", ["number", "string"], [this.pointer, value]);
|
|
9242
|
+
}
|
|
9243
|
+
get newKey() {
|
|
9244
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_NewKey", "string", ["number"], [this.pointer]);
|
|
9245
|
+
return _result;
|
|
9246
|
+
}
|
|
9247
|
+
set newKey(value) {
|
|
9248
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_NewKey", "void", ["number", "string"], [this.pointer, value]);
|
|
9249
|
+
}
|
|
9250
|
+
}
|
|
9251
|
+
Multiplayer.SequenceChangedParams = SequenceChangedParams;
|
|
9252
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
9135
9253
|
(function (Multiplayer) {
|
|
9136
9254
|
/**
|
|
9137
9255
|
@ingroup Multiplayer
|
|
@@ -9276,6 +9394,18 @@ export class CSPFoundation {
|
|
|
9276
9394
|
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9277
9395
|
Module.ccall("csp_multiplayer_MultiplayerConnection_SetUserPermissionsChangedCallback_void_UserPermissionsChangedCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9278
9396
|
}
|
|
9397
|
+
/**
|
|
9398
|
+
* @description Sets a callback for a sequence changed event.
|
|
9399
|
+
* @param callback - Callback to receive data for the sequence that has been changed.
|
|
9400
|
+
*/
|
|
9401
|
+
setSequenceChangedCallback(callback) {
|
|
9402
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9403
|
+
var _arg1 = new Multiplayer.SequenceChangedParams(getNativePointer(arg1));
|
|
9404
|
+
callback(_arg1);
|
|
9405
|
+
};
|
|
9406
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9407
|
+
Module.ccall("csp_multiplayer_MultiplayerConnection_SetSequenceChangedCallback_void_SequenceChangedCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9408
|
+
}
|
|
9279
9409
|
/**
|
|
9280
9410
|
* @description Registers a callback to listen for the named event.
|
|
9281
9411
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -11282,6 +11412,17 @@ export class CSPFoundation {
|
|
|
11282
11412
|
Module._free(_ret);
|
|
11283
11413
|
return _nPtr;
|
|
11284
11414
|
}
|
|
11415
|
+
/**
|
|
11416
|
+
* @description Retrieves the Sequence system.
|
|
11417
|
+
* @return Pointer to the sequence system class
|
|
11418
|
+
*/
|
|
11419
|
+
getSequenceSystem() {
|
|
11420
|
+
var _ret = Module._malloc(8);
|
|
11421
|
+
Module.ccall("csp_systems_SystemsManager_GetSequenceSystem_SequenceSystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
11422
|
+
var _nPtr = new Systems.SequenceSystem(getNativePointer(_ret));
|
|
11423
|
+
Module._free(_ret);
|
|
11424
|
+
return _nPtr;
|
|
11425
|
+
}
|
|
11285
11426
|
getSpaceEntitySystem() {
|
|
11286
11427
|
var _ret = Module._malloc(8);
|
|
11287
11428
|
Module.ccall("csp_systems_SystemsManager_GetSpaceEntitySystem_SpaceEntitySystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
@@ -13299,6 +13440,61 @@ export class CSPFoundation {
|
|
|
13299
13440
|
}
|
|
13300
13441
|
Systems.ScriptSystem = ScriptSystem;
|
|
13301
13442
|
})(Systems || (Systems = {}));
|
|
13443
|
+
(function (Systems) {
|
|
13444
|
+
/**
|
|
13445
|
+
@ingroup Sequence System
|
|
13446
|
+
* @description A basic class abstraction for a sequence, including key, and reference variables, and items.
|
|
13447
|
+
*/
|
|
13448
|
+
class Sequence extends NativeClassWrapper {
|
|
13449
|
+
/** @internal */
|
|
13450
|
+
constructor(pointer) {
|
|
13451
|
+
super(pointer);
|
|
13452
|
+
}
|
|
13453
|
+
static create() {
|
|
13454
|
+
var _ptr = Module._malloc(8);
|
|
13455
|
+
Module.ccall("csp_systems_Sequence_Ctor", "void", ["number"], [_ptr]);
|
|
13456
|
+
var _nPtr = getNativePointer(_ptr);
|
|
13457
|
+
return new Sequence(_nPtr);
|
|
13458
|
+
}
|
|
13459
|
+
delete() {
|
|
13460
|
+
if (this.ownsPointer && !this.disposed) {
|
|
13461
|
+
Module.ccall("csp_systems_Sequence_Dtor", "void", ["number"], [this.pointer]);
|
|
13462
|
+
this.disposed = true;
|
|
13463
|
+
}
|
|
13464
|
+
}
|
|
13465
|
+
get key() {
|
|
13466
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_Key", "string", ["number"], [this.pointer]);
|
|
13467
|
+
return _result;
|
|
13468
|
+
}
|
|
13469
|
+
set key(value) {
|
|
13470
|
+
Module.ccall("csp_systems_Sequence__Set_Key", "void", ["number", "string"], [this.pointer, value]);
|
|
13471
|
+
}
|
|
13472
|
+
get referenceType() {
|
|
13473
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_ReferenceType", "string", ["number"], [this.pointer]);
|
|
13474
|
+
return _result;
|
|
13475
|
+
}
|
|
13476
|
+
set referenceType(value) {
|
|
13477
|
+
Module.ccall("csp_systems_Sequence__Set_ReferenceType", "void", ["number", "string"], [this.pointer, value]);
|
|
13478
|
+
}
|
|
13479
|
+
get referenceId() {
|
|
13480
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_ReferenceId", "string", ["number"], [this.pointer]);
|
|
13481
|
+
return _result;
|
|
13482
|
+
}
|
|
13483
|
+
set referenceId(value) {
|
|
13484
|
+
Module.ccall("csp_systems_Sequence__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
|
|
13485
|
+
}
|
|
13486
|
+
get items() {
|
|
13487
|
+
const _ptr = Module._malloc(8);
|
|
13488
|
+
Module.ccall("csp_systems_Sequence__Get_Items", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
13489
|
+
const _nPtr = getNativePointer(_ptr);
|
|
13490
|
+
return new Common.Array(_nPtr, StringFactory, "String");
|
|
13491
|
+
}
|
|
13492
|
+
set items(value) {
|
|
13493
|
+
Module.ccall("csp_systems_Sequence__Set_Items", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
13494
|
+
}
|
|
13495
|
+
}
|
|
13496
|
+
Systems.Sequence = Sequence;
|
|
13497
|
+
})(Systems || (Systems = {}));
|
|
13302
13498
|
(function (Systems) {
|
|
13303
13499
|
/**
|
|
13304
13500
|
@ingroup Settings System
|
|
@@ -17224,6 +17420,163 @@ export class CSPFoundation {
|
|
|
17224
17420
|
}
|
|
17225
17421
|
Multiplayer.GaussianSplatSpaceComponent = GaussianSplatSpaceComponent;
|
|
17226
17422
|
})(Multiplayer || (Multiplayer = {}));
|
|
17423
|
+
(function (Multiplayer) {
|
|
17424
|
+
/**
|
|
17425
|
+
@ingroup HotspotSpaceComponent
|
|
17426
|
+
* @description Data representation of an HotspotSpaceComponent.
|
|
17427
|
+
*/
|
|
17428
|
+
class HotspotSpaceComponent extends Multiplayer.ComponentBase {
|
|
17429
|
+
/** @internal */
|
|
17430
|
+
constructor(pointer) {
|
|
17431
|
+
super(pointer);
|
|
17432
|
+
}
|
|
17433
|
+
static fromComponentBase(baseInstance) {
|
|
17434
|
+
const nativeClassWrapper = baseInstance;
|
|
17435
|
+
return new Multiplayer.HotspotSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
17436
|
+
}
|
|
17437
|
+
/**
|
|
17438
|
+
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
17439
|
+
* @param parent - The Space entity that owns this component.
|
|
17440
|
+
*/
|
|
17441
|
+
static create_parent(parent) {
|
|
17442
|
+
var _ptr = Module._malloc(8);
|
|
17443
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Ctor_SpaceEntityP", "void", ["number", "number"], [_ptr, parent.pointer]);
|
|
17444
|
+
var _nPtr = getNativePointer(_ptr);
|
|
17445
|
+
return new HotspotSpaceComponent(_nPtr);
|
|
17446
|
+
}
|
|
17447
|
+
/**
|
|
17448
|
+
* @description Gets the Name of the Hotspot.
|
|
17449
|
+
* @return The Name of the Hotspot.
|
|
17450
|
+
*/
|
|
17451
|
+
getName() {
|
|
17452
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
17453
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
17454
|
+
free(_result);
|
|
17455
|
+
_result = _resultString;
|
|
17456
|
+
return _result;
|
|
17457
|
+
}
|
|
17458
|
+
/**
|
|
17459
|
+
* @description Sets the Name of this Hotspot.
|
|
17460
|
+
* @param value - The Name of this Hotspot.
|
|
17461
|
+
*/
|
|
17462
|
+
setName(value) {
|
|
17463
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
17464
|
+
}
|
|
17465
|
+
/**
|
|
17466
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
17467
|
+
*/
|
|
17468
|
+
getIsTeleportPoint() {
|
|
17469
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsTeleportPointC_bool", "boolean", ["number"], [this.pointer]);
|
|
17470
|
+
return _result;
|
|
17471
|
+
}
|
|
17472
|
+
/**
|
|
17473
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
17474
|
+
* @param inValue - The teleport point state flag value.
|
|
17475
|
+
*/
|
|
17476
|
+
setIsTeleportPoint(value) {
|
|
17477
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsTeleportPoint_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17478
|
+
}
|
|
17479
|
+
/**
|
|
17480
|
+
* @description Gets the IsSpawnPoint of this Hotspot.
|
|
17481
|
+
*/
|
|
17482
|
+
getIsSpawnPoint() {
|
|
17483
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsSpawnPointC_bool", "boolean", ["number"], [this.pointer]);
|
|
17484
|
+
return _result;
|
|
17485
|
+
}
|
|
17486
|
+
/**
|
|
17487
|
+
* @description Sets this Hotspot to be a spawn point.
|
|
17488
|
+
* @param inValue - The spawn point state flag value.
|
|
17489
|
+
*/
|
|
17490
|
+
setIsSpawnPoint(value) {
|
|
17491
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsSpawnPoint_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17492
|
+
}
|
|
17493
|
+
/**
|
|
17494
|
+
* @description Gets a unique identifier for this component in the hierarchy.
|
|
17495
|
+
* NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
|
|
17496
|
+
* @return Componentid'.
|
|
17497
|
+
*/
|
|
17498
|
+
getUniqueComponentId() {
|
|
17499
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetUniqueComponentIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
17500
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
17501
|
+
free(_result);
|
|
17502
|
+
_result = _resultString;
|
|
17503
|
+
return _result;
|
|
17504
|
+
}
|
|
17505
|
+
/**
|
|
17506
|
+
* \addtogroup IPositionComponent
|
|
17507
|
+
@{
|
|
17508
|
+
@copydoc IPositionComponent::GetPosition()
|
|
17509
|
+
*/
|
|
17510
|
+
getPosition() {
|
|
17511
|
+
var _ret = Module._malloc(8);
|
|
17512
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
17513
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
17514
|
+
Module._free(_ret);
|
|
17515
|
+
return _nPtr;
|
|
17516
|
+
}
|
|
17517
|
+
/**
|
|
17518
|
+
@copydoc IPositionComponent::SetPosition()
|
|
17519
|
+
*/
|
|
17520
|
+
setPosition(value) {
|
|
17521
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
17522
|
+
}
|
|
17523
|
+
/**
|
|
17524
|
+
@}
|
|
17525
|
+
* \addtogroup IRotationComponent
|
|
17526
|
+
@{
|
|
17527
|
+
@copydoc IRotationComponent::GetRotation()
|
|
17528
|
+
*/
|
|
17529
|
+
getRotation() {
|
|
17530
|
+
var _ret = Module._malloc(8);
|
|
17531
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetRotationC_Vector4RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
17532
|
+
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
17533
|
+
Module._free(_ret);
|
|
17534
|
+
return _nPtr;
|
|
17535
|
+
}
|
|
17536
|
+
/**
|
|
17537
|
+
@copydoc IRotationComponent::SetRotation()
|
|
17538
|
+
*/
|
|
17539
|
+
setRotation(value) {
|
|
17540
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetRotation_void_Vector4RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
17541
|
+
}
|
|
17542
|
+
/**
|
|
17543
|
+
@}
|
|
17544
|
+
* \addtogroup IVisibleComponent
|
|
17545
|
+
@{
|
|
17546
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
17547
|
+
*/
|
|
17548
|
+
getIsVisible() {
|
|
17549
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17550
|
+
return _result;
|
|
17551
|
+
}
|
|
17552
|
+
/**
|
|
17553
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
17554
|
+
*/
|
|
17555
|
+
setIsVisible(value) {
|
|
17556
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17557
|
+
}
|
|
17558
|
+
/**
|
|
17559
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
17560
|
+
*/
|
|
17561
|
+
getIsARVisible() {
|
|
17562
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17563
|
+
return _result;
|
|
17564
|
+
}
|
|
17565
|
+
/**
|
|
17566
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
17567
|
+
*/
|
|
17568
|
+
setIsARVisible(value) {
|
|
17569
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17570
|
+
}
|
|
17571
|
+
delete() {
|
|
17572
|
+
if (this.ownsPointer && !this.disposed) {
|
|
17573
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
17574
|
+
this.disposed = true;
|
|
17575
|
+
}
|
|
17576
|
+
}
|
|
17577
|
+
}
|
|
17578
|
+
Multiplayer.HotspotSpaceComponent = HotspotSpaceComponent;
|
|
17579
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
17227
17580
|
(function (Multiplayer) {
|
|
17228
17581
|
/**
|
|
17229
17582
|
@ingroup ImageSpaceComponent
|
|
@@ -21512,7 +21865,7 @@ export class CSPFoundation {
|
|
|
21512
21865
|
* @description Receives information on planned maintenances outages schedules for the future
|
|
21513
21866
|
* @param callback - Callback when asynchronous task finishes
|
|
21514
21867
|
*/
|
|
21515
|
-
async getMaintenanceInfo() {
|
|
21868
|
+
async getMaintenanceInfo(maintenanceURL) {
|
|
21516
21869
|
var _resolve;
|
|
21517
21870
|
var _promise = new Promise((_r) => {
|
|
21518
21871
|
_resolve = _r;
|
|
@@ -21528,7 +21881,7 @@ export class CSPFoundation {
|
|
|
21528
21881
|
Module.removeFunction(_callbackPtr);
|
|
21529
21882
|
};
|
|
21530
21883
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
21531
|
-
Module.ccall("
|
|
21884
|
+
Module.ccall("csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback", "void", ["number", "string", "number", "number"], [this.pointer, maintenanceURL, _callbackPtr, 0]);
|
|
21532
21885
|
return _promise;
|
|
21533
21886
|
}
|
|
21534
21887
|
}
|
|
@@ -22273,6 +22626,193 @@ export class CSPFoundation {
|
|
|
22273
22626
|
}
|
|
22274
22627
|
Systems.QuotaSystem = QuotaSystem;
|
|
22275
22628
|
})(Systems || (Systems = {}));
|
|
22629
|
+
(function (Systems) {
|
|
22630
|
+
/**
|
|
22631
|
+
@ingroup Sequence System
|
|
22632
|
+
* @description Result structure for a sequence result
|
|
22633
|
+
*/
|
|
22634
|
+
class SequenceResult extends Systems.ResultBase {
|
|
22635
|
+
/** @internal */
|
|
22636
|
+
constructor(pointer) {
|
|
22637
|
+
super(pointer);
|
|
22638
|
+
}
|
|
22639
|
+
static fromResultBase(baseInstance) {
|
|
22640
|
+
const nativeClassWrapper = baseInstance;
|
|
22641
|
+
return new Systems.SequenceResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22642
|
+
}
|
|
22643
|
+
getSequence() {
|
|
22644
|
+
var _ret = Module._malloc(8);
|
|
22645
|
+
Module.ccall("csp_systems_SequenceResult_GetSequenceC_SequenceRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
22646
|
+
var _nPtr = new Systems.Sequence(getNativePointer(_ret));
|
|
22647
|
+
Module._free(_ret);
|
|
22648
|
+
return _nPtr;
|
|
22649
|
+
}
|
|
22650
|
+
delete() {
|
|
22651
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22652
|
+
Module.ccall("csp_systems_SequenceResult_Dtor", "void", ["number"], [this.pointer]);
|
|
22653
|
+
this.disposed = true;
|
|
22654
|
+
}
|
|
22655
|
+
}
|
|
22656
|
+
}
|
|
22657
|
+
Systems.SequenceResult = SequenceResult;
|
|
22658
|
+
})(Systems || (Systems = {}));
|
|
22659
|
+
(function (Systems) {
|
|
22660
|
+
/**
|
|
22661
|
+
@ingroup Sequence System
|
|
22662
|
+
* @description Data class used to contain information when attempting to get an array of sequences.
|
|
22663
|
+
*/
|
|
22664
|
+
class SequencesResult extends Systems.ResultBase {
|
|
22665
|
+
/** @internal */
|
|
22666
|
+
constructor(pointer) {
|
|
22667
|
+
super(pointer);
|
|
22668
|
+
}
|
|
22669
|
+
static fromResultBase(baseInstance) {
|
|
22670
|
+
const nativeClassWrapper = baseInstance;
|
|
22671
|
+
return new Systems.SequencesResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22672
|
+
}
|
|
22673
|
+
getSequences() {
|
|
22674
|
+
var _ret = Module._malloc(8);
|
|
22675
|
+
Module.ccall("csp_systems_SequencesResult_GetSequencesC_ArrayRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
22676
|
+
var _nPtr = new Common.Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
22677
|
+
Module._free(_ret);
|
|
22678
|
+
return _nPtr;
|
|
22679
|
+
}
|
|
22680
|
+
delete() {
|
|
22681
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22682
|
+
Module.ccall("csp_systems_SequencesResult_Dtor", "void", ["number"], [this.pointer]);
|
|
22683
|
+
this.disposed = true;
|
|
22684
|
+
}
|
|
22685
|
+
}
|
|
22686
|
+
}
|
|
22687
|
+
Systems.SequencesResult = SequencesResult;
|
|
22688
|
+
})(Systems || (Systems = {}));
|
|
22689
|
+
(function (Systems) {
|
|
22690
|
+
/**
|
|
22691
|
+
@ingroup Sequence System
|
|
22692
|
+
* @description Public facing system that allows the management of groupings of items in a space.
|
|
22693
|
+
*/
|
|
22694
|
+
class SequenceSystem extends Systems.SystemBase {
|
|
22695
|
+
/** @internal */
|
|
22696
|
+
constructor(pointer) {
|
|
22697
|
+
super(pointer);
|
|
22698
|
+
}
|
|
22699
|
+
static fromSystemBase(baseInstance) {
|
|
22700
|
+
const nativeClassWrapper = baseInstance;
|
|
22701
|
+
return new Systems.SequenceSystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22702
|
+
}
|
|
22703
|
+
/**
|
|
22704
|
+
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one. This call will fail if the user
|
|
22705
|
+
* isn't a creator of the space.
|
|
22706
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
22707
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
22708
|
+
* @param referenceId - The id of the reference
|
|
22709
|
+
* @param items - An ordered array of members
|
|
22710
|
+
* @param callback - Callback to call when a response is received
|
|
22711
|
+
*/
|
|
22712
|
+
createSequence(sequenceKey, referenceType, referenceId, items, callback) {
|
|
22713
|
+
var _callback = (_stateObject__, result) => {
|
|
22714
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
22715
|
+
callback(_result);
|
|
22716
|
+
};
|
|
22717
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22718
|
+
Module.ccall("csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback", "void", ["number", "string", "string", "string", "number", "number"], [
|
|
22719
|
+
this.pointer,
|
|
22720
|
+
sequenceKey,
|
|
22721
|
+
referenceType,
|
|
22722
|
+
referenceId,
|
|
22723
|
+
items.pointer,
|
|
22724
|
+
callbackPtr,
|
|
22725
|
+
]);
|
|
22726
|
+
}
|
|
22727
|
+
/**
|
|
22728
|
+
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
22729
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
22730
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
22731
|
+
* @param referenceId - The id of the reference
|
|
22732
|
+
* @param items - An ordered array of members
|
|
22733
|
+
* @param callback - Callback to call when a response is received
|
|
22734
|
+
*/
|
|
22735
|
+
updateSequence(sequenceKey, referenceType, referenceId, items, callback) {
|
|
22736
|
+
var _callback = (_stateObject__, result) => {
|
|
22737
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
22738
|
+
callback(_result);
|
|
22739
|
+
};
|
|
22740
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22741
|
+
Module.ccall("csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback", "void", ["number", "string", "string", "string", "number", "number"], [
|
|
22742
|
+
this.pointer,
|
|
22743
|
+
sequenceKey,
|
|
22744
|
+
referenceType,
|
|
22745
|
+
referenceId,
|
|
22746
|
+
items.pointer,
|
|
22747
|
+
callbackPtr,
|
|
22748
|
+
]);
|
|
22749
|
+
}
|
|
22750
|
+
/**
|
|
22751
|
+
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
22752
|
+
* @param oldSequenceKey - The current sequence key name
|
|
22753
|
+
* @param newSequenceKey - The new sequence key name
|
|
22754
|
+
* @param callback - Callback to call when a response is received
|
|
22755
|
+
*/
|
|
22756
|
+
renameSequence(oldSequenceKey, newSequenceKey, callback) {
|
|
22757
|
+
var _callback = (_stateObject__, result) => {
|
|
22758
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
22759
|
+
callback(_result);
|
|
22760
|
+
};
|
|
22761
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22762
|
+
Module.ccall("csp_systems_SequenceSystem_RenameSequence_void_StringRC_StringRC_SequenceResultCallback", "void", ["number", "string", "string", "number"], [this.pointer, oldSequenceKey, newSequenceKey, callbackPtr]);
|
|
22763
|
+
}
|
|
22764
|
+
/**
|
|
22765
|
+
* @description Finds sequences based on the given criteria
|
|
22766
|
+
* @param sequenceKeys - An array of sequence keys to search for
|
|
22767
|
+
* @param sequenceKeys - An optional regex string for searching keys
|
|
22768
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
|
|
22769
|
+
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
22770
|
+
* @param callback - Callback to call when a response is received
|
|
22771
|
+
*/
|
|
22772
|
+
getSequencesByCriteria(sequenceKeys, keyRegex, referenceType, referenceIds, callback) {
|
|
22773
|
+
var _callback = (_stateObject__, result) => {
|
|
22774
|
+
var _result = new Systems.SequencesResult(getNativePointer(result));
|
|
22775
|
+
callback(_result);
|
|
22776
|
+
};
|
|
22777
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22778
|
+
Module.ccall("csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_SequencesResultCallback", "void", ["number", "number", "string", "string", "number", "number"], [
|
|
22779
|
+
this.pointer,
|
|
22780
|
+
sequenceKeys.pointer,
|
|
22781
|
+
keyRegex,
|
|
22782
|
+
referenceType,
|
|
22783
|
+
referenceIds.pointer,
|
|
22784
|
+
callbackPtr,
|
|
22785
|
+
]);
|
|
22786
|
+
}
|
|
22787
|
+
/**
|
|
22788
|
+
* @description Gets a sequence by it's key
|
|
22789
|
+
* @param sequenceKey - The unique grouping name
|
|
22790
|
+
* @param callback - Callback to call when a response is received
|
|
22791
|
+
*/
|
|
22792
|
+
getSequence(sequenceKey, callback) {
|
|
22793
|
+
var _callback = (_stateObject__, result) => {
|
|
22794
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
22795
|
+
callback(_result);
|
|
22796
|
+
};
|
|
22797
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22798
|
+
Module.ccall("csp_systems_SequenceSystem_GetSequence_void_StringRC_SequenceResultCallback", "void", ["number", "string", "number"], [this.pointer, sequenceKey, callbackPtr]);
|
|
22799
|
+
}
|
|
22800
|
+
/**
|
|
22801
|
+
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
22802
|
+
* @param sequenceKeys - An array of sequence keys to delete
|
|
22803
|
+
* @param callback - Callback to call when a response is received
|
|
22804
|
+
*/
|
|
22805
|
+
deleteSequences(sequenceKeys, callback) {
|
|
22806
|
+
var _callback = (_stateObject__, result) => {
|
|
22807
|
+
var _result = new Systems.NullResult(getNativePointer(result));
|
|
22808
|
+
callback(_result);
|
|
22809
|
+
};
|
|
22810
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
22811
|
+
Module.ccall("csp_systems_SequenceSystem_DeleteSequences_void_ArrayRC_NullResultCallback", "void", ["number", "number", "number"], [this.pointer, sequenceKeys.pointer, callbackPtr]);
|
|
22812
|
+
}
|
|
22813
|
+
}
|
|
22814
|
+
Systems.SequenceSystem = SequenceSystem;
|
|
22815
|
+
})(Systems || (Systems = {}));
|
|
22276
22816
|
(function (Systems) {
|
|
22277
22817
|
/**
|
|
22278
22818
|
@ingroup Settings System
|
|
@@ -25993,6 +26533,13 @@ export class CSPFoundation {
|
|
|
25993
26533
|
Module._free(_ret);
|
|
25994
26534
|
return _inst;
|
|
25995
26535
|
}
|
|
26536
|
+
static ofcsp_systems_Sequence() {
|
|
26537
|
+
var _ret = Module._malloc(8);
|
|
26538
|
+
Module.ccall("csp_common_Array_Ctor_csp_systems_Sequence", "void", ["number"], [_ret]);
|
|
26539
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
26540
|
+
Module._free(_ret);
|
|
26541
|
+
return _inst;
|
|
26542
|
+
}
|
|
25996
26543
|
static ofcsp_systems_Site() {
|
|
25997
26544
|
var _ret = Module._malloc(8);
|
|
25998
26545
|
Module.ccall("csp_common_Array_Ctor_csp_systems_Site", "void", ["number"], [_ret]);
|
|
@@ -26273,6 +26820,13 @@ export class CSPFoundation {
|
|
|
26273
26820
|
Module._free(_ret);
|
|
26274
26821
|
return _inst;
|
|
26275
26822
|
}
|
|
26823
|
+
static ofcsp_systems_Sequence_number(size) {
|
|
26824
|
+
var _ret = Module._malloc(8);
|
|
26825
|
+
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_Sequence", "void", ["number", "number"], [_ret, size]);
|
|
26826
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
26827
|
+
Module._free(_ret);
|
|
26828
|
+
return _inst;
|
|
26829
|
+
}
|
|
26276
26830
|
static ofcsp_systems_Site_number(size) {
|
|
26277
26831
|
var _ret = Module._malloc(8);
|
|
26278
26832
|
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_Site", "void", ["number", "number"], [_ret, size]);
|