connected-spaces-platform.web 4.29.1 → 4.31.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/ConnectedSpacesPlatform_WASM.d.ts +2 -0
- package/Debug/ConnectedSpacesPlatform_WASM.js +90 -6
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +2 -15
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +171 -22
- package/connectedspacesplatform.js +512 -31
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +922 -34
- 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,11 +433,6 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(nativePointer) {
|
|
|
428
433
|
}
|
|
429
434
|
ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
|
|
430
435
|
csp_multiplayer_GaussianSplatPropertyKeysFactory;
|
|
431
|
-
function csp_multiplayer_HotspotTypeFactory(nativePointer) {
|
|
432
|
-
return nativePointer.pointer;
|
|
433
|
-
}
|
|
434
|
-
ProxyClassFactories["csp_multiplayer_HotspotType"] =
|
|
435
|
-
csp_multiplayer_HotspotTypeFactory;
|
|
436
436
|
function csp_multiplayer_HotspotPropertyKeysFactory(nativePointer) {
|
|
437
437
|
return nativePointer.pointer;
|
|
438
438
|
}
|
|
@@ -684,6 +684,11 @@ function csp_multiplayer_UserPermissionsParamsFactory(nativePointer) {
|
|
|
684
684
|
}
|
|
685
685
|
ProxyClassFactories["csp_multiplayer_UserPermissionsParams"] =
|
|
686
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;
|
|
687
692
|
function csp_multiplayer_MultiplayerConnectionFactory(nativePointer) {
|
|
688
693
|
return new Multiplayer.MultiplayerConnection(nativePointer);
|
|
689
694
|
}
|
|
@@ -889,6 +894,10 @@ function csp_systems_ScriptSystemFactory(nativePointer) {
|
|
|
889
894
|
}
|
|
890
895
|
ProxyClassFactories["csp_systems_ScriptSystem"] =
|
|
891
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;
|
|
892
901
|
function csp_systems_SettingsCollectionFactory(nativePointer) {
|
|
893
902
|
return new Systems.SettingsCollection(nativePointer);
|
|
894
903
|
}
|
|
@@ -1312,6 +1321,21 @@ function csp_systems_QuotaSystemFactory(nativePointer) {
|
|
|
1312
1321
|
return new Systems.QuotaSystem(nativePointer);
|
|
1313
1322
|
}
|
|
1314
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;
|
|
1315
1339
|
function csp_systems_SettingsCollectionResultFactory(nativePointer) {
|
|
1316
1340
|
return new Systems.SettingsCollectionResult(nativePointer);
|
|
1317
1341
|
}
|
|
@@ -1584,6 +1608,11 @@ function csp_common_Array_csp_systems_TierFeaturesFactory(nativePointer) {
|
|
|
1584
1608
|
}
|
|
1585
1609
|
ProxyClassFactories["csp_common_Array_csp_systems_TierFeatures"] =
|
|
1586
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;
|
|
1587
1616
|
function csp_common_Array_csp_systems_SiteFactory(nativePointer) {
|
|
1588
1617
|
return new Common.Array(nativePointer, csp_systems_SiteFactory, "csp_systems_Site");
|
|
1589
1618
|
}
|
|
@@ -1778,6 +1807,14 @@ export var Multiplayer;
|
|
|
1778
1807
|
EPermissionChangeType[EPermissionChangeType["Invalid"] = 3] = "Invalid";
|
|
1779
1808
|
})(EPermissionChangeType = Multiplayer.EPermissionChangeType || (Multiplayer.EPermissionChangeType = {}));
|
|
1780
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 = {}));
|
|
1781
1818
|
(function (Multiplayer) {
|
|
1782
1819
|
/**
|
|
1783
1820
|
* @description Enum used to specify the current state of the multiplayer connection.
|
|
@@ -2210,13 +2247,6 @@ export var Multiplayer;
|
|
|
2210
2247
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Num"] = 10] = "Num";
|
|
2211
2248
|
})(GaussianSplatPropertyKeys = Multiplayer.GaussianSplatPropertyKeys || (Multiplayer.GaussianSplatPropertyKeys = {}));
|
|
2212
2249
|
})(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
2250
|
(function (Multiplayer) {
|
|
2221
2251
|
/**
|
|
2222
2252
|
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
@@ -2226,10 +2256,11 @@ export var Multiplayer;
|
|
|
2226
2256
|
HotspotPropertyKeys[HotspotPropertyKeys["Position"] = 0] = "Position";
|
|
2227
2257
|
HotspotPropertyKeys[HotspotPropertyKeys["Rotation"] = 1] = "Rotation";
|
|
2228
2258
|
HotspotPropertyKeys[HotspotPropertyKeys["Name"] = 2] = "Name";
|
|
2229
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
2230
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
2231
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
2232
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
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";
|
|
2233
2264
|
})(HotspotPropertyKeys = Multiplayer.HotspotPropertyKeys || (Multiplayer.HotspotPropertyKeys = {}));
|
|
2234
2265
|
})(Multiplayer || (Multiplayer = {}));
|
|
2235
2266
|
(function (Multiplayer) {
|
|
@@ -2735,6 +2766,7 @@ export var Multiplayer;
|
|
|
2735
2766
|
let EPointOfInterestType;
|
|
2736
2767
|
(function (EPointOfInterestType) {
|
|
2737
2768
|
EPointOfInterestType[EPointOfInterestType["DEFAULT"] = 0] = "DEFAULT";
|
|
2769
|
+
EPointOfInterestType[EPointOfInterestType["SPACE"] = 1] = "SPACE";
|
|
2738
2770
|
})(EPointOfInterestType = Systems.EPointOfInterestType || (Systems.EPointOfInterestType = {}));
|
|
2739
2771
|
})(Systems || (Systems = {}));
|
|
2740
2772
|
(function (Systems) {
|
|
@@ -9177,6 +9209,48 @@ export class CSPFoundation {
|
|
|
9177
9209
|
}
|
|
9178
9210
|
Multiplayer.UserPermissionsParams = UserPermissionsParams;
|
|
9179
9211
|
})(Multiplayer || (Multiplayer = {}));
|
|
9212
|
+
(function (Multiplayer) {
|
|
9213
|
+
class SequenceChangedParams extends NativeClassWrapper {
|
|
9214
|
+
/** @internal */
|
|
9215
|
+
constructor(pointer) {
|
|
9216
|
+
super(pointer);
|
|
9217
|
+
}
|
|
9218
|
+
static create() {
|
|
9219
|
+
var _ptr = Module._malloc(8);
|
|
9220
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams_Ctor", "void", ["number"], [_ptr]);
|
|
9221
|
+
var _nPtr = getNativePointer(_ptr);
|
|
9222
|
+
return new SequenceChangedParams(_nPtr);
|
|
9223
|
+
}
|
|
9224
|
+
delete() {
|
|
9225
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9226
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams_Dtor", "void", ["number"], [this.pointer]);
|
|
9227
|
+
this.disposed = true;
|
|
9228
|
+
}
|
|
9229
|
+
}
|
|
9230
|
+
get updateType() {
|
|
9231
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_UpdateType", "number", ["number"], [this.pointer]);
|
|
9232
|
+
return _result;
|
|
9233
|
+
}
|
|
9234
|
+
set updateType(value) {
|
|
9235
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_UpdateType", "void", ["number", "number"], [this.pointer, value]);
|
|
9236
|
+
}
|
|
9237
|
+
get key() {
|
|
9238
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_Key", "string", ["number"], [this.pointer]);
|
|
9239
|
+
return _result;
|
|
9240
|
+
}
|
|
9241
|
+
set key(value) {
|
|
9242
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_Key", "void", ["number", "string"], [this.pointer, value]);
|
|
9243
|
+
}
|
|
9244
|
+
get newKey() {
|
|
9245
|
+
let _result = Module.ccall("csp_multiplayer_SequenceChangedParams__Get_NewKey", "string", ["number"], [this.pointer]);
|
|
9246
|
+
return _result;
|
|
9247
|
+
}
|
|
9248
|
+
set newKey(value) {
|
|
9249
|
+
Module.ccall("csp_multiplayer_SequenceChangedParams__Set_NewKey", "void", ["number", "string"], [this.pointer, value]);
|
|
9250
|
+
}
|
|
9251
|
+
}
|
|
9252
|
+
Multiplayer.SequenceChangedParams = SequenceChangedParams;
|
|
9253
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
9180
9254
|
(function (Multiplayer) {
|
|
9181
9255
|
/**
|
|
9182
9256
|
@ingroup Multiplayer
|
|
@@ -9321,6 +9395,18 @@ export class CSPFoundation {
|
|
|
9321
9395
|
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9322
9396
|
Module.ccall("csp_multiplayer_MultiplayerConnection_SetUserPermissionsChangedCallback_void_UserPermissionsChangedCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9323
9397
|
}
|
|
9398
|
+
/**
|
|
9399
|
+
* @description Sets a callback for a sequence changed event.
|
|
9400
|
+
* @param callback - Callback to receive data for the sequence that has been changed.
|
|
9401
|
+
*/
|
|
9402
|
+
setSequenceChangedCallback(callback) {
|
|
9403
|
+
var _callback = (_stateObject__, arg1) => {
|
|
9404
|
+
var _arg1 = new Multiplayer.SequenceChangedParams(getNativePointer(arg1));
|
|
9405
|
+
callback(_arg1);
|
|
9406
|
+
};
|
|
9407
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
9408
|
+
Module.ccall("csp_multiplayer_MultiplayerConnection_SetSequenceChangedCallback_void_SequenceChangedCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
9409
|
+
}
|
|
9324
9410
|
/**
|
|
9325
9411
|
* @description Registers a callback to listen for the named event.
|
|
9326
9412
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -11327,6 +11413,17 @@ export class CSPFoundation {
|
|
|
11327
11413
|
Module._free(_ret);
|
|
11328
11414
|
return _nPtr;
|
|
11329
11415
|
}
|
|
11416
|
+
/**
|
|
11417
|
+
* @description Retrieves the Sequence system.
|
|
11418
|
+
* @return Pointer to the sequence system class
|
|
11419
|
+
*/
|
|
11420
|
+
getSequenceSystem() {
|
|
11421
|
+
var _ret = Module._malloc(8);
|
|
11422
|
+
Module.ccall("csp_systems_SystemsManager_GetSequenceSystem_SequenceSystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
11423
|
+
var _nPtr = new Systems.SequenceSystem(getNativePointer(_ret));
|
|
11424
|
+
Module._free(_ret);
|
|
11425
|
+
return _nPtr;
|
|
11426
|
+
}
|
|
11330
11427
|
getSpaceEntitySystem() {
|
|
11331
11428
|
var _ret = Module._malloc(8);
|
|
11332
11429
|
Module.ccall("csp_systems_SystemsManager_GetSpaceEntitySystem_SpaceEntitySystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
@@ -13344,6 +13441,61 @@ export class CSPFoundation {
|
|
|
13344
13441
|
}
|
|
13345
13442
|
Systems.ScriptSystem = ScriptSystem;
|
|
13346
13443
|
})(Systems || (Systems = {}));
|
|
13444
|
+
(function (Systems) {
|
|
13445
|
+
/**
|
|
13446
|
+
@ingroup Sequence System
|
|
13447
|
+
* @description A basic class abstraction for a sequence, including key, and reference variables, and items.
|
|
13448
|
+
*/
|
|
13449
|
+
class Sequence extends NativeClassWrapper {
|
|
13450
|
+
/** @internal */
|
|
13451
|
+
constructor(pointer) {
|
|
13452
|
+
super(pointer);
|
|
13453
|
+
}
|
|
13454
|
+
static create() {
|
|
13455
|
+
var _ptr = Module._malloc(8);
|
|
13456
|
+
Module.ccall("csp_systems_Sequence_Ctor", "void", ["number"], [_ptr]);
|
|
13457
|
+
var _nPtr = getNativePointer(_ptr);
|
|
13458
|
+
return new Sequence(_nPtr);
|
|
13459
|
+
}
|
|
13460
|
+
delete() {
|
|
13461
|
+
if (this.ownsPointer && !this.disposed) {
|
|
13462
|
+
Module.ccall("csp_systems_Sequence_Dtor", "void", ["number"], [this.pointer]);
|
|
13463
|
+
this.disposed = true;
|
|
13464
|
+
}
|
|
13465
|
+
}
|
|
13466
|
+
get key() {
|
|
13467
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_Key", "string", ["number"], [this.pointer]);
|
|
13468
|
+
return _result;
|
|
13469
|
+
}
|
|
13470
|
+
set key(value) {
|
|
13471
|
+
Module.ccall("csp_systems_Sequence__Set_Key", "void", ["number", "string"], [this.pointer, value]);
|
|
13472
|
+
}
|
|
13473
|
+
get referenceType() {
|
|
13474
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_ReferenceType", "string", ["number"], [this.pointer]);
|
|
13475
|
+
return _result;
|
|
13476
|
+
}
|
|
13477
|
+
set referenceType(value) {
|
|
13478
|
+
Module.ccall("csp_systems_Sequence__Set_ReferenceType", "void", ["number", "string"], [this.pointer, value]);
|
|
13479
|
+
}
|
|
13480
|
+
get referenceId() {
|
|
13481
|
+
let _result = Module.ccall("csp_systems_Sequence__Get_ReferenceId", "string", ["number"], [this.pointer]);
|
|
13482
|
+
return _result;
|
|
13483
|
+
}
|
|
13484
|
+
set referenceId(value) {
|
|
13485
|
+
Module.ccall("csp_systems_Sequence__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
|
|
13486
|
+
}
|
|
13487
|
+
get items() {
|
|
13488
|
+
const _ptr = Module._malloc(8);
|
|
13489
|
+
Module.ccall("csp_systems_Sequence__Get_Items", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
13490
|
+
const _nPtr = getNativePointer(_ptr);
|
|
13491
|
+
return new Common.Array(_nPtr, StringFactory, "String");
|
|
13492
|
+
}
|
|
13493
|
+
set items(value) {
|
|
13494
|
+
Module.ccall("csp_systems_Sequence__Set_Items", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
13495
|
+
}
|
|
13496
|
+
}
|
|
13497
|
+
Systems.Sequence = Sequence;
|
|
13498
|
+
})(Systems || (Systems = {}));
|
|
13347
13499
|
(function (Systems) {
|
|
13348
13500
|
/**
|
|
13349
13501
|
@ingroup Settings System
|
|
@@ -14067,6 +14219,13 @@ export class CSPFoundation {
|
|
|
14067
14219
|
set assetCollectionId(value) {
|
|
14068
14220
|
Module.ccall("csp_systems_PointOfInterest__Set_AssetCollectionId", "void", ["number", "string"], [this.pointer, value]);
|
|
14069
14221
|
}
|
|
14222
|
+
get spaceId() {
|
|
14223
|
+
let _result = Module.ccall("csp_systems_PointOfInterest__Get_SpaceId", "string", ["number"], [this.pointer]);
|
|
14224
|
+
return _result;
|
|
14225
|
+
}
|
|
14226
|
+
set spaceId(value) {
|
|
14227
|
+
Module.ccall("csp_systems_PointOfInterest__Set_SpaceId", "void", ["number", "string"], [this.pointer, value]);
|
|
14228
|
+
}
|
|
14070
14229
|
}
|
|
14071
14230
|
Systems.PointOfInterest = PointOfInterest;
|
|
14072
14231
|
})(Systems || (Systems = {}));
|
|
@@ -17312,18 +17471,32 @@ export class CSPFoundation {
|
|
|
17312
17471
|
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
17313
17472
|
}
|
|
17314
17473
|
/**
|
|
17315
|
-
* @description Gets the
|
|
17474
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
17316
17475
|
*/
|
|
17317
|
-
|
|
17318
|
-
let _result = Module.ccall("
|
|
17476
|
+
getIsTeleportPoint() {
|
|
17477
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsTeleportPointC_bool", "boolean", ["number"], [this.pointer]);
|
|
17319
17478
|
return _result;
|
|
17320
17479
|
}
|
|
17321
17480
|
/**
|
|
17322
|
-
* @description Sets
|
|
17323
|
-
* @param
|
|
17481
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
17482
|
+
* @param inValue - The teleport point state flag value.
|
|
17324
17483
|
*/
|
|
17325
|
-
|
|
17326
|
-
Module.ccall("
|
|
17484
|
+
setIsTeleportPoint(value) {
|
|
17485
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsTeleportPoint_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17486
|
+
}
|
|
17487
|
+
/**
|
|
17488
|
+
* @description Gets the IsSpawnPoint of this Hotspot.
|
|
17489
|
+
*/
|
|
17490
|
+
getIsSpawnPoint() {
|
|
17491
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsSpawnPointC_bool", "boolean", ["number"], [this.pointer]);
|
|
17492
|
+
return _result;
|
|
17493
|
+
}
|
|
17494
|
+
/**
|
|
17495
|
+
* @description Sets this Hotspot to be a spawn point.
|
|
17496
|
+
* @param inValue - The spawn point state flag value.
|
|
17497
|
+
*/
|
|
17498
|
+
setIsSpawnPoint(value) {
|
|
17499
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsSpawnPoint_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17327
17500
|
}
|
|
17328
17501
|
/**
|
|
17329
17502
|
* @description Gets a unique identifier for this component in the hierarchy.
|
|
@@ -22461,6 +22634,262 @@ export class CSPFoundation {
|
|
|
22461
22634
|
}
|
|
22462
22635
|
Systems.QuotaSystem = QuotaSystem;
|
|
22463
22636
|
})(Systems || (Systems = {}));
|
|
22637
|
+
(function (Systems) {
|
|
22638
|
+
/**
|
|
22639
|
+
@ingroup Sequence System
|
|
22640
|
+
* @description Result structure for a sequence result
|
|
22641
|
+
*/
|
|
22642
|
+
class SequenceResult extends Systems.ResultBase {
|
|
22643
|
+
/** @internal */
|
|
22644
|
+
constructor(pointer) {
|
|
22645
|
+
super(pointer);
|
|
22646
|
+
}
|
|
22647
|
+
static fromResultBase(baseInstance) {
|
|
22648
|
+
const nativeClassWrapper = baseInstance;
|
|
22649
|
+
return new Systems.SequenceResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22650
|
+
}
|
|
22651
|
+
getSequence() {
|
|
22652
|
+
var _ret = Module._malloc(8);
|
|
22653
|
+
Module.ccall("csp_systems_SequenceResult_GetSequenceC_SequenceRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
22654
|
+
var _nPtr = new Systems.Sequence(getNativePointer(_ret));
|
|
22655
|
+
Module._free(_ret);
|
|
22656
|
+
return _nPtr;
|
|
22657
|
+
}
|
|
22658
|
+
delete() {
|
|
22659
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22660
|
+
Module.ccall("csp_systems_SequenceResult_Dtor", "void", ["number"], [this.pointer]);
|
|
22661
|
+
this.disposed = true;
|
|
22662
|
+
}
|
|
22663
|
+
}
|
|
22664
|
+
}
|
|
22665
|
+
Systems.SequenceResult = SequenceResult;
|
|
22666
|
+
})(Systems || (Systems = {}));
|
|
22667
|
+
(function (Systems) {
|
|
22668
|
+
/**
|
|
22669
|
+
@ingroup Sequence System
|
|
22670
|
+
* @description Data class used to contain information when attempting to get an array of sequences.
|
|
22671
|
+
*/
|
|
22672
|
+
class SequencesResult extends Systems.ResultBase {
|
|
22673
|
+
/** @internal */
|
|
22674
|
+
constructor(pointer) {
|
|
22675
|
+
super(pointer);
|
|
22676
|
+
}
|
|
22677
|
+
static fromResultBase(baseInstance) {
|
|
22678
|
+
const nativeClassWrapper = baseInstance;
|
|
22679
|
+
return new Systems.SequencesResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22680
|
+
}
|
|
22681
|
+
getSequences() {
|
|
22682
|
+
var _ret = Module._malloc(8);
|
|
22683
|
+
Module.ccall("csp_systems_SequencesResult_GetSequencesC_ArrayRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
22684
|
+
var _nPtr = new Common.Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
22685
|
+
Module._free(_ret);
|
|
22686
|
+
return _nPtr;
|
|
22687
|
+
}
|
|
22688
|
+
delete() {
|
|
22689
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22690
|
+
Module.ccall("csp_systems_SequencesResult_Dtor", "void", ["number"], [this.pointer]);
|
|
22691
|
+
this.disposed = true;
|
|
22692
|
+
}
|
|
22693
|
+
}
|
|
22694
|
+
}
|
|
22695
|
+
Systems.SequencesResult = SequencesResult;
|
|
22696
|
+
})(Systems || (Systems = {}));
|
|
22697
|
+
(function (Systems) {
|
|
22698
|
+
/**
|
|
22699
|
+
@ingroup Sequence System
|
|
22700
|
+
* @description Public facing system that allows the management of groupings of items in a space.
|
|
22701
|
+
*/
|
|
22702
|
+
class SequenceSystem extends Systems.SystemBase {
|
|
22703
|
+
/** @internal */
|
|
22704
|
+
constructor(pointer) {
|
|
22705
|
+
super(pointer);
|
|
22706
|
+
}
|
|
22707
|
+
static fromSystemBase(baseInstance) {
|
|
22708
|
+
const nativeClassWrapper = baseInstance;
|
|
22709
|
+
return new Systems.SequenceSystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22710
|
+
}
|
|
22711
|
+
/**
|
|
22712
|
+
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
|
|
22713
|
+
* This call will fail if the user isn't a creator of the space.
|
|
22714
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
22715
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
22716
|
+
* @param referenceId - The id of the reference
|
|
22717
|
+
* @param items - An ordered array of members
|
|
22718
|
+
* @param callback - Callback to call when a response is received
|
|
22719
|
+
*/
|
|
22720
|
+
async createSequence(sequenceKey, referenceType, referenceId, items) {
|
|
22721
|
+
var _resolve;
|
|
22722
|
+
var _promise = new Promise((_r) => {
|
|
22723
|
+
_resolve = _r;
|
|
22724
|
+
});
|
|
22725
|
+
var _callbackPtr;
|
|
22726
|
+
var _callback = (_stateObject__, result) => {
|
|
22727
|
+
var _resultPtr = getNativePointer(result);
|
|
22728
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
22729
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22730
|
+
return;
|
|
22731
|
+
}
|
|
22732
|
+
_resolve(_resultInstance);
|
|
22733
|
+
Module.removeFunction(_callbackPtr);
|
|
22734
|
+
};
|
|
22735
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22736
|
+
Module.ccall("csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback", "void", ["number", "string", "string", "string", "number", "number", "number"], [
|
|
22737
|
+
this.pointer,
|
|
22738
|
+
sequenceKey,
|
|
22739
|
+
referenceType,
|
|
22740
|
+
referenceId,
|
|
22741
|
+
items.pointer,
|
|
22742
|
+
_callbackPtr,
|
|
22743
|
+
0,
|
|
22744
|
+
]);
|
|
22745
|
+
return _promise;
|
|
22746
|
+
}
|
|
22747
|
+
/**
|
|
22748
|
+
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
22749
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
22750
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
22751
|
+
* @param referenceId - The id of the reference
|
|
22752
|
+
* @param items - An ordered array of members
|
|
22753
|
+
* @param callback - Callback to call when a response is received
|
|
22754
|
+
*/
|
|
22755
|
+
async updateSequence(sequenceKey, referenceType, referenceId, items) {
|
|
22756
|
+
var _resolve;
|
|
22757
|
+
var _promise = new Promise((_r) => {
|
|
22758
|
+
_resolve = _r;
|
|
22759
|
+
});
|
|
22760
|
+
var _callbackPtr;
|
|
22761
|
+
var _callback = (_stateObject__, result) => {
|
|
22762
|
+
var _resultPtr = getNativePointer(result);
|
|
22763
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
22764
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22765
|
+
return;
|
|
22766
|
+
}
|
|
22767
|
+
_resolve(_resultInstance);
|
|
22768
|
+
Module.removeFunction(_callbackPtr);
|
|
22769
|
+
};
|
|
22770
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22771
|
+
Module.ccall("csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback", "void", ["number", "string", "string", "string", "number", "number", "number"], [
|
|
22772
|
+
this.pointer,
|
|
22773
|
+
sequenceKey,
|
|
22774
|
+
referenceType,
|
|
22775
|
+
referenceId,
|
|
22776
|
+
items.pointer,
|
|
22777
|
+
_callbackPtr,
|
|
22778
|
+
0,
|
|
22779
|
+
]);
|
|
22780
|
+
return _promise;
|
|
22781
|
+
}
|
|
22782
|
+
/**
|
|
22783
|
+
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
22784
|
+
* @param oldSequenceKey - The current sequence key name
|
|
22785
|
+
* @param newSequenceKey - The new sequence key name
|
|
22786
|
+
* @param callback - Callback to call when a response is received
|
|
22787
|
+
*/
|
|
22788
|
+
async renameSequence(oldSequenceKey, newSequenceKey) {
|
|
22789
|
+
var _resolve;
|
|
22790
|
+
var _promise = new Promise((_r) => {
|
|
22791
|
+
_resolve = _r;
|
|
22792
|
+
});
|
|
22793
|
+
var _callbackPtr;
|
|
22794
|
+
var _callback = (_stateObject__, result) => {
|
|
22795
|
+
var _resultPtr = getNativePointer(result);
|
|
22796
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
22797
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22798
|
+
return;
|
|
22799
|
+
}
|
|
22800
|
+
_resolve(_resultInstance);
|
|
22801
|
+
Module.removeFunction(_callbackPtr);
|
|
22802
|
+
};
|
|
22803
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22804
|
+
Module.ccall("csp_systems_SequenceSystem_RenameSequence_void_StringRC_StringRC_SequenceResultCallback", "void", ["number", "string", "string", "number", "number"], [this.pointer, oldSequenceKey, newSequenceKey, _callbackPtr, 0]);
|
|
22805
|
+
return _promise;
|
|
22806
|
+
}
|
|
22807
|
+
/**
|
|
22808
|
+
* @description Finds sequences based on the given criteria
|
|
22809
|
+
* @param sequenceKeys - An array of sequence keys to search for
|
|
22810
|
+
* @param sequenceKeys - An optional regex string for searching keys
|
|
22811
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
|
|
22812
|
+
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
22813
|
+
* @param callback - Callback to call when a response is received
|
|
22814
|
+
*/
|
|
22815
|
+
async getSequencesByCriteria(sequenceKeys, keyRegex, referenceType, referenceIds) {
|
|
22816
|
+
var _resolve;
|
|
22817
|
+
var _promise = new Promise((_r) => {
|
|
22818
|
+
_resolve = _r;
|
|
22819
|
+
});
|
|
22820
|
+
var _callbackPtr;
|
|
22821
|
+
var _callback = (_stateObject__, result) => {
|
|
22822
|
+
var _resultPtr = getNativePointer(result);
|
|
22823
|
+
var _resultInstance = new Systems.SequencesResult(_resultPtr);
|
|
22824
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22825
|
+
return;
|
|
22826
|
+
}
|
|
22827
|
+
_resolve(_resultInstance);
|
|
22828
|
+
Module.removeFunction(_callbackPtr);
|
|
22829
|
+
};
|
|
22830
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22831
|
+
Module.ccall("csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_SequencesResultCallback", "void", ["number", "number", "string", "string", "number", "number", "number"], [
|
|
22832
|
+
this.pointer,
|
|
22833
|
+
sequenceKeys.pointer,
|
|
22834
|
+
keyRegex,
|
|
22835
|
+
referenceType,
|
|
22836
|
+
referenceIds.pointer,
|
|
22837
|
+
_callbackPtr,
|
|
22838
|
+
0,
|
|
22839
|
+
]);
|
|
22840
|
+
return _promise;
|
|
22841
|
+
}
|
|
22842
|
+
/**
|
|
22843
|
+
* @description Gets a sequence by it's key
|
|
22844
|
+
* @param sequenceKey - The unique grouping name
|
|
22845
|
+
* @param callback - Callback to call when a response is received
|
|
22846
|
+
*/
|
|
22847
|
+
async getSequence(sequenceKey) {
|
|
22848
|
+
var _resolve;
|
|
22849
|
+
var _promise = new Promise((_r) => {
|
|
22850
|
+
_resolve = _r;
|
|
22851
|
+
});
|
|
22852
|
+
var _callbackPtr;
|
|
22853
|
+
var _callback = (_stateObject__, result) => {
|
|
22854
|
+
var _resultPtr = getNativePointer(result);
|
|
22855
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
22856
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22857
|
+
return;
|
|
22858
|
+
}
|
|
22859
|
+
_resolve(_resultInstance);
|
|
22860
|
+
Module.removeFunction(_callbackPtr);
|
|
22861
|
+
};
|
|
22862
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22863
|
+
Module.ccall("csp_systems_SequenceSystem_GetSequence_void_StringRC_SequenceResultCallback", "void", ["number", "string", "number", "number"], [this.pointer, sequenceKey, _callbackPtr, 0]);
|
|
22864
|
+
return _promise;
|
|
22865
|
+
}
|
|
22866
|
+
/**
|
|
22867
|
+
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
22868
|
+
* @param sequenceKeys - An array of sequence keys to delete
|
|
22869
|
+
* @param callback - Callback to call when a response is received
|
|
22870
|
+
*/
|
|
22871
|
+
async deleteSequences(sequenceKeys) {
|
|
22872
|
+
var _resolve;
|
|
22873
|
+
var _promise = new Promise((_r) => {
|
|
22874
|
+
_resolve = _r;
|
|
22875
|
+
});
|
|
22876
|
+
var _callbackPtr;
|
|
22877
|
+
var _callback = (_stateObject__, result) => {
|
|
22878
|
+
var _resultPtr = getNativePointer(result);
|
|
22879
|
+
var _resultInstance = new Systems.NullResult(_resultPtr);
|
|
22880
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22881
|
+
return;
|
|
22882
|
+
}
|
|
22883
|
+
_resolve(_resultInstance);
|
|
22884
|
+
Module.removeFunction(_callbackPtr);
|
|
22885
|
+
};
|
|
22886
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22887
|
+
Module.ccall("csp_systems_SequenceSystem_DeleteSequences_void_ArrayRC_NullResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, sequenceKeys.pointer, _callbackPtr, 0]);
|
|
22888
|
+
return _promise;
|
|
22889
|
+
}
|
|
22890
|
+
}
|
|
22891
|
+
Systems.SequenceSystem = SequenceSystem;
|
|
22892
|
+
})(Systems || (Systems = {}));
|
|
22464
22893
|
(function (Systems) {
|
|
22465
22894
|
/**
|
|
22466
22895
|
@ingroup Settings System
|
|
@@ -25090,12 +25519,13 @@ export class CSPFoundation {
|
|
|
25090
25519
|
return _promise;
|
|
25091
25520
|
}
|
|
25092
25521
|
/**
|
|
25093
|
-
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters
|
|
25094
|
-
* @param originLocation -
|
|
25095
|
-
* @param areaRadius - Radius of the circular area origin
|
|
25096
|
-
* @param
|
|
25522
|
+
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters..
|
|
25523
|
+
* @param originLocation - The latitude and longitude coordinates of origin of the search location.
|
|
25524
|
+
* @param areaRadius - The Radius of the circular area to search around the provided origin.
|
|
25525
|
+
* @param type - The type of POI to search for. If none is specified, all types will be included in the returned set.
|
|
25526
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
25097
25527
|
*/
|
|
25098
|
-
async getPOIsInArea(originLocation, areaRadius) {
|
|
25528
|
+
async getPOIsInArea(originLocation, areaRadius, type) {
|
|
25099
25529
|
var _resolve;
|
|
25100
25530
|
var _promise = new Promise((_r) => {
|
|
25101
25531
|
_resolve = _r;
|
|
@@ -25111,7 +25541,22 @@ export class CSPFoundation {
|
|
|
25111
25541
|
Module.removeFunction(_callbackPtr);
|
|
25112
25542
|
};
|
|
25113
25543
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25114
|
-
|
|
25544
|
+
var typePointer = 0;
|
|
25545
|
+
if (type != null) {
|
|
25546
|
+
typePointer = Module._malloc(4);
|
|
25547
|
+
Module.setValue(typePointer, type, "i32");
|
|
25548
|
+
}
|
|
25549
|
+
Module.ccall("csp_systems_PointOfInterestSystem_GetPOIsInArea_void_GeoLocationRC_doubleC_EPointOfInterestTypeRC_POICollectionResultCallback", "void", ["number", "number", "number", "number", "number", "number"], [
|
|
25550
|
+
this.pointer,
|
|
25551
|
+
originLocation.pointer,
|
|
25552
|
+
areaRadius,
|
|
25553
|
+
typePointer,
|
|
25554
|
+
_callbackPtr,
|
|
25555
|
+
0,
|
|
25556
|
+
]);
|
|
25557
|
+
if (typePointer) {
|
|
25558
|
+
Module._free(typePointer);
|
|
25559
|
+
}
|
|
25115
25560
|
return _promise;
|
|
25116
25561
|
}
|
|
25117
25562
|
}
|
|
@@ -25851,12 +26296,34 @@ export class CSPFoundation {
|
|
|
25851
26296
|
Module.ccall("csp_systems_UserSystem_GetProfileByUserId_void_StringRC_ProfileResultCallback", "void", ["number", "string", "number", "number"], [this.pointer, userId, _callbackPtr, 0]);
|
|
25852
26297
|
return _promise;
|
|
25853
26298
|
}
|
|
26299
|
+
/** @deprecated
|
|
26300
|
+
Deprecated in favour of GetBasicProfilesByUserId
|
|
26301
|
+
*/
|
|
26302
|
+
async getProfilesByUserId(userIds) {
|
|
26303
|
+
var _resolve;
|
|
26304
|
+
var _promise = new Promise((_r) => {
|
|
26305
|
+
_resolve = _r;
|
|
26306
|
+
});
|
|
26307
|
+
var _callbackPtr;
|
|
26308
|
+
var _callback = (_stateObject__, result) => {
|
|
26309
|
+
var _resultPtr = getNativePointer(result);
|
|
26310
|
+
var _resultInstance = new Systems.BasicProfilesResult(_resultPtr);
|
|
26311
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
26312
|
+
return;
|
|
26313
|
+
}
|
|
26314
|
+
_resolve(_resultInstance);
|
|
26315
|
+
Module.removeFunction(_callbackPtr);
|
|
26316
|
+
};
|
|
26317
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
26318
|
+
Module.ccall("csp_systems_UserSystem_GetProfilesByUserId_void_ArrayRC_BasicProfilesResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, userIds.pointer, _callbackPtr, 0]);
|
|
26319
|
+
return _promise;
|
|
26320
|
+
}
|
|
25854
26321
|
/**
|
|
25855
26322
|
* @description Get a list of minimal profiles (avatarId, personalityType, userName, and platform) by user IDs.
|
|
25856
26323
|
* @param inUserIds - An array of user ids to search for users by
|
|
25857
26324
|
* @param callback - Callback to call when a response is received
|
|
25858
26325
|
*/
|
|
25859
|
-
async
|
|
26326
|
+
async getBasicProfilesByUserId(userIds) {
|
|
25860
26327
|
var _resolve;
|
|
25861
26328
|
var _promise = new Promise((_r) => {
|
|
25862
26329
|
_resolve = _r;
|
|
@@ -25872,7 +26339,7 @@ export class CSPFoundation {
|
|
|
25872
26339
|
Module.removeFunction(_callbackPtr);
|
|
25873
26340
|
};
|
|
25874
26341
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25875
|
-
Module.ccall("
|
|
26342
|
+
Module.ccall("csp_systems_UserSystem_GetBasicProfilesByUserId_void_ArrayRC_BasicProfilesResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, userIds.pointer, _callbackPtr, 0]);
|
|
25876
26343
|
return _promise;
|
|
25877
26344
|
}
|
|
25878
26345
|
/**
|
|
@@ -26181,6 +26648,13 @@ export class CSPFoundation {
|
|
|
26181
26648
|
Module._free(_ret);
|
|
26182
26649
|
return _inst;
|
|
26183
26650
|
}
|
|
26651
|
+
static ofcsp_systems_Sequence() {
|
|
26652
|
+
var _ret = Module._malloc(8);
|
|
26653
|
+
Module.ccall("csp_common_Array_Ctor_csp_systems_Sequence", "void", ["number"], [_ret]);
|
|
26654
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
26655
|
+
Module._free(_ret);
|
|
26656
|
+
return _inst;
|
|
26657
|
+
}
|
|
26184
26658
|
static ofcsp_systems_Site() {
|
|
26185
26659
|
var _ret = Module._malloc(8);
|
|
26186
26660
|
Module.ccall("csp_common_Array_Ctor_csp_systems_Site", "void", ["number"], [_ret]);
|
|
@@ -26461,6 +26935,13 @@ export class CSPFoundation {
|
|
|
26461
26935
|
Module._free(_ret);
|
|
26462
26936
|
return _inst;
|
|
26463
26937
|
}
|
|
26938
|
+
static ofcsp_systems_Sequence_number(size) {
|
|
26939
|
+
var _ret = Module._malloc(8);
|
|
26940
|
+
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_Sequence", "void", ["number", "number"], [_ret, size]);
|
|
26941
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_SequenceFactory, "csp_systems_Sequence");
|
|
26942
|
+
Module._free(_ret);
|
|
26943
|
+
return _inst;
|
|
26944
|
+
}
|
|
26464
26945
|
static ofcsp_systems_Site_number(size) {
|
|
26465
26946
|
var _ret = Module._malloc(8);
|
|
26466
26947
|
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_Site", "void", ["number", "number"], [_ret, size]);
|