connected-spaces-platform.web 4.31.0 → 5.0.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 +66 -6
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +2 -3
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +169 -19
- package/connectedspacesplatform.js +443 -22
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +757 -22
- package/package.json +1 -1
|
@@ -845,6 +845,11 @@ function csp_systems_TicketedEventVendorAuthInfoFactory(nativePointer) {
|
|
|
845
845
|
}
|
|
846
846
|
ProxyClassFactories["csp_systems_TicketedEventVendorAuthInfo"] =
|
|
847
847
|
csp_systems_TicketedEventVendorAuthInfoFactory;
|
|
848
|
+
function csp_systems_HotspotGroupFactory(nativePointer) {
|
|
849
|
+
return new Systems.HotspotGroup(nativePointer);
|
|
850
|
+
}
|
|
851
|
+
ProxyClassFactories["csp_systems_HotspotGroup"] =
|
|
852
|
+
csp_systems_HotspotGroupFactory;
|
|
848
853
|
function csp_systems_LogSystemFactory(nativePointer) {
|
|
849
854
|
return new Systems.LogSystem(nativePointer);
|
|
850
855
|
}
|
|
@@ -1267,6 +1272,21 @@ function csp_systems_GraphQLSystemFactory(nativePointer) {
|
|
|
1267
1272
|
}
|
|
1268
1273
|
ProxyClassFactories["csp_systems_GraphQLSystem"] =
|
|
1269
1274
|
csp_systems_GraphQLSystemFactory;
|
|
1275
|
+
function csp_systems_HotspotGroupResultFactory(nativePointer) {
|
|
1276
|
+
return new Systems.HotspotGroupResult(nativePointer);
|
|
1277
|
+
}
|
|
1278
|
+
ProxyClassFactories["csp_systems_HotspotGroupResult"] =
|
|
1279
|
+
csp_systems_HotspotGroupResultFactory;
|
|
1280
|
+
function csp_systems_HotspotGroupsResultFactory(nativePointer) {
|
|
1281
|
+
return new Systems.HotspotGroupsResult(nativePointer);
|
|
1282
|
+
}
|
|
1283
|
+
ProxyClassFactories["csp_systems_HotspotGroupsResult"] =
|
|
1284
|
+
csp_systems_HotspotGroupsResultFactory;
|
|
1285
|
+
function csp_systems_HotspotSequenceSystemFactory(nativePointer) {
|
|
1286
|
+
return new Systems.HotspotSequenceSystem(nativePointer);
|
|
1287
|
+
}
|
|
1288
|
+
ProxyClassFactories["csp_systems_HotspotSequenceSystem"] =
|
|
1289
|
+
csp_systems_HotspotSequenceSystemFactory;
|
|
1270
1290
|
function csp_systems_MaintenanceInfoResultFactory(nativePointer) {
|
|
1271
1291
|
return new Systems.MaintenanceInfoResult(nativePointer);
|
|
1272
1292
|
}
|
|
@@ -1573,6 +1593,11 @@ function csp_common_Array_csp_systems_TicketedEventFactory(nativePointer) {
|
|
|
1573
1593
|
}
|
|
1574
1594
|
ProxyClassFactories["csp_common_Array_csp_systems_TicketedEvent"] =
|
|
1575
1595
|
csp_common_Array_csp_systems_TicketedEventFactory;
|
|
1596
|
+
function csp_common_Array_csp_systems_HotspotGroupFactory(nativePointer) {
|
|
1597
|
+
return new Common.Array(nativePointer, csp_systems_HotspotGroupFactory, "csp_systems_HotspotGroup");
|
|
1598
|
+
}
|
|
1599
|
+
ProxyClassFactories["csp_common_Array_csp_systems_HotspotGroup"] =
|
|
1600
|
+
csp_common_Array_csp_systems_HotspotGroupFactory;
|
|
1576
1601
|
function csp_common_Array_csp_systems_MaintenanceInfoFactory(nativePointer) {
|
|
1577
1602
|
return new Common.Array(nativePointer, csp_systems_MaintenanceInfoFactory, "csp_systems_MaintenanceInfo");
|
|
1578
1603
|
}
|
|
@@ -1920,7 +1945,7 @@ export var Multiplayer;
|
|
|
1920
1945
|
*/
|
|
1921
1946
|
let AnimatedModelPropertyKeys;
|
|
1922
1947
|
(function (AnimatedModelPropertyKeys) {
|
|
1923
|
-
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["
|
|
1948
|
+
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
1924
1949
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["ExternalResourceAssetId"] = 1] = "ExternalResourceAssetId";
|
|
1925
1950
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["ExternalResourceAssetCollectionId"] = 2] = "ExternalResourceAssetCollectionId";
|
|
1926
1951
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2058,7 +2083,7 @@ export var Multiplayer;
|
|
|
2058
2083
|
*/
|
|
2059
2084
|
let ButtonPropertyKeys;
|
|
2060
2085
|
(function (ButtonPropertyKeys) {
|
|
2061
|
-
ButtonPropertyKeys[ButtonPropertyKeys["
|
|
2086
|
+
ButtonPropertyKeys[ButtonPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2062
2087
|
ButtonPropertyKeys[ButtonPropertyKeys["LabelText"] = 1] = "LabelText";
|
|
2063
2088
|
ButtonPropertyKeys[ButtonPropertyKeys["IconAssetId"] = 2] = "IconAssetId";
|
|
2064
2089
|
ButtonPropertyKeys[ButtonPropertyKeys["AssetCollectionId"] = 3] = "AssetCollectionId";
|
|
@@ -2165,7 +2190,7 @@ export var Multiplayer;
|
|
|
2165
2190
|
*/
|
|
2166
2191
|
let ExternalLinkPropertyKeys;
|
|
2167
2192
|
(function (ExternalLinkPropertyKeys) {
|
|
2168
|
-
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["
|
|
2193
|
+
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2169
2194
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["LinkUrl"] = 1] = "LinkUrl";
|
|
2170
2195
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["Position"] = 2] = "Position";
|
|
2171
2196
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["Rotation"] = 3] = "Rotation";
|
|
@@ -2183,7 +2208,7 @@ export var Multiplayer;
|
|
|
2183
2208
|
*/
|
|
2184
2209
|
let FiducialMarkerPropertyKeys;
|
|
2185
2210
|
(function (FiducialMarkerPropertyKeys) {
|
|
2186
|
-
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["
|
|
2211
|
+
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2187
2212
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["MarkerAssetId"] = 1] = "MarkerAssetId";
|
|
2188
2213
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["AssetCollectionId"] = 2] = "AssetCollectionId";
|
|
2189
2214
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2234,7 +2259,7 @@ export var Multiplayer;
|
|
|
2234
2259
|
*/
|
|
2235
2260
|
let GaussianSplatPropertyKeys;
|
|
2236
2261
|
(function (GaussianSplatPropertyKeys) {
|
|
2237
|
-
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["
|
|
2262
|
+
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2238
2263
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["ExternalResourceAssetId"] = 1] = "ExternalResourceAssetId";
|
|
2239
2264
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["ExternalResourceAssetCollectionId"] = 2] = "ExternalResourceAssetCollectionId";
|
|
2240
2265
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2255,7 +2280,7 @@ export var Multiplayer;
|
|
|
2255
2280
|
(function (HotspotPropertyKeys) {
|
|
2256
2281
|
HotspotPropertyKeys[HotspotPropertyKeys["Position"] = 0] = "Position";
|
|
2257
2282
|
HotspotPropertyKeys[HotspotPropertyKeys["Rotation"] = 1] = "Rotation";
|
|
2258
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
2283
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Name_DEPRECATED"] = 2] = "Name_DEPRECATED";
|
|
2259
2284
|
HotspotPropertyKeys[HotspotPropertyKeys["IsTeleportPoint"] = 3] = "IsTeleportPoint";
|
|
2260
2285
|
HotspotPropertyKeys[HotspotPropertyKeys["IsSpawnPoint"] = 4] = "IsSpawnPoint";
|
|
2261
2286
|
HotspotPropertyKeys[HotspotPropertyKeys["IsVisible"] = 5] = "IsVisible";
|
|
@@ -2269,7 +2294,7 @@ export var Multiplayer;
|
|
|
2269
2294
|
*/
|
|
2270
2295
|
let ImagePropertyKeys;
|
|
2271
2296
|
(function (ImagePropertyKeys) {
|
|
2272
|
-
ImagePropertyKeys[ImagePropertyKeys["
|
|
2297
|
+
ImagePropertyKeys[ImagePropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2273
2298
|
ImagePropertyKeys[ImagePropertyKeys["ImageAssetId"] = 1] = "ImageAssetId";
|
|
2274
2299
|
ImagePropertyKeys[ImagePropertyKeys["AssetCollectionId"] = 2] = "AssetCollectionId";
|
|
2275
2300
|
ImagePropertyKeys[ImagePropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2335,7 +2360,7 @@ export var Multiplayer;
|
|
|
2335
2360
|
*/
|
|
2336
2361
|
let LightPropertyKeys;
|
|
2337
2362
|
(function (LightPropertyKeys) {
|
|
2338
|
-
LightPropertyKeys[LightPropertyKeys["
|
|
2363
|
+
LightPropertyKeys[LightPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2339
2364
|
LightPropertyKeys[LightPropertyKeys["LightType"] = 1] = "LightType";
|
|
2340
2365
|
LightPropertyKeys[LightPropertyKeys["Color"] = 2] = "Color";
|
|
2341
2366
|
LightPropertyKeys[LightPropertyKeys["Intensity"] = 3] = "Intensity";
|
|
@@ -2377,7 +2402,7 @@ export var Multiplayer;
|
|
|
2377
2402
|
*/
|
|
2378
2403
|
let ReflectionPropertyKeys;
|
|
2379
2404
|
(function (ReflectionPropertyKeys) {
|
|
2380
|
-
ReflectionPropertyKeys[ReflectionPropertyKeys["
|
|
2405
|
+
ReflectionPropertyKeys[ReflectionPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2381
2406
|
ReflectionPropertyKeys[ReflectionPropertyKeys["ReflectionAssetId"] = 1] = "ReflectionAssetId";
|
|
2382
2407
|
ReflectionPropertyKeys[ReflectionPropertyKeys["AssetCollectionId"] = 2] = "AssetCollectionId";
|
|
2383
2408
|
ReflectionPropertyKeys[ReflectionPropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2437,7 +2462,7 @@ export var Multiplayer;
|
|
|
2437
2462
|
*/
|
|
2438
2463
|
let StaticModelPropertyKeys;
|
|
2439
2464
|
(function (StaticModelPropertyKeys) {
|
|
2440
|
-
StaticModelPropertyKeys[StaticModelPropertyKeys["
|
|
2465
|
+
StaticModelPropertyKeys[StaticModelPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2441
2466
|
StaticModelPropertyKeys[StaticModelPropertyKeys["ExternalResourceAssetId"] = 1] = "ExternalResourceAssetId";
|
|
2442
2467
|
StaticModelPropertyKeys[StaticModelPropertyKeys["ExternalResourceAssetCollectionId"] = 2] = "ExternalResourceAssetCollectionId";
|
|
2443
2468
|
StaticModelPropertyKeys[StaticModelPropertyKeys["Position"] = 3] = "Position";
|
|
@@ -2512,7 +2537,7 @@ export var Multiplayer;
|
|
|
2512
2537
|
*/
|
|
2513
2538
|
let VideoPlayerPropertyKeys;
|
|
2514
2539
|
(function (VideoPlayerPropertyKeys) {
|
|
2515
|
-
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["
|
|
2540
|
+
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Name_DEPRECATED"] = 0] = "Name_DEPRECATED";
|
|
2516
2541
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["VideoAssetId"] = 1] = "VideoAssetId";
|
|
2517
2542
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["VideoAssetURL"] = 2] = "VideoAssetURL";
|
|
2518
2543
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["AssetCollectionId"] = 3] = "AssetCollectionId";
|
|
@@ -9055,6 +9080,23 @@ export class CSPFoundation {
|
|
|
9055
9080
|
invokeAction(action, actionParams) {
|
|
9056
9081
|
Module.ccall("csp_multiplayer_ComponentBase_InvokeAction_void_StringRC_StringRC", "void", ["number", "string", "string"], [this.pointer, action, actionParams]);
|
|
9057
9082
|
}
|
|
9083
|
+
/**
|
|
9084
|
+
* @description Gets the name of the component.
|
|
9085
|
+
*/
|
|
9086
|
+
getComponentName() {
|
|
9087
|
+
let _result = Module.ccall("csp_multiplayer_ComponentBase_GetComponentNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
9088
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
9089
|
+
free(_result);
|
|
9090
|
+
_result = _resultString;
|
|
9091
|
+
return _result;
|
|
9092
|
+
}
|
|
9093
|
+
/**
|
|
9094
|
+
* @description Sets the name for the component.
|
|
9095
|
+
* @param value - - The new name to assign to the componenent.
|
|
9096
|
+
*/
|
|
9097
|
+
setComponentName(value) {
|
|
9098
|
+
Module.ccall("csp_multiplayer_ComponentBase_SetComponentName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
9099
|
+
}
|
|
9058
9100
|
}
|
|
9059
9101
|
Multiplayer.ComponentBase = ComponentBase;
|
|
9060
9102
|
})(Multiplayer || (Multiplayer = {}));
|
|
@@ -11424,6 +11466,17 @@ export class CSPFoundation {
|
|
|
11424
11466
|
Module._free(_ret);
|
|
11425
11467
|
return _nPtr;
|
|
11426
11468
|
}
|
|
11469
|
+
/**
|
|
11470
|
+
* @description Retrieves the HotspotSequenceSystem system.
|
|
11471
|
+
* @return Pointer to the hotspotsequencesystem system class
|
|
11472
|
+
*/
|
|
11473
|
+
getHotspotSequenceSystem() {
|
|
11474
|
+
var _ret = Module._malloc(8);
|
|
11475
|
+
Module.ccall("csp_systems_SystemsManager_GetHotspotSequenceSystem_HotspotSequenceSystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
11476
|
+
var _nPtr = new Systems.HotspotSequenceSystem(getNativePointer(_ret));
|
|
11477
|
+
Module._free(_ret);
|
|
11478
|
+
return _nPtr;
|
|
11479
|
+
}
|
|
11427
11480
|
getSpaceEntitySystem() {
|
|
11428
11481
|
var _ret = Module._malloc(8);
|
|
11429
11482
|
Module.ccall("csp_systems_SystemsManager_GetSpaceEntitySystem_SpaceEntitySystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
@@ -12858,6 +12911,47 @@ export class CSPFoundation {
|
|
|
12858
12911
|
}
|
|
12859
12912
|
Systems.TicketedEventVendorAuthInfo = TicketedEventVendorAuthInfo;
|
|
12860
12913
|
})(Systems || (Systems = {}));
|
|
12914
|
+
(function (Systems) {
|
|
12915
|
+
/**
|
|
12916
|
+
@ingroup HotspotSequence System
|
|
12917
|
+
* @description A basic class abstraction for a Hot Spot Group, including name, and items within the group.
|
|
12918
|
+
*/
|
|
12919
|
+
class HotspotGroup extends NativeClassWrapper {
|
|
12920
|
+
/** @internal */
|
|
12921
|
+
constructor(pointer) {
|
|
12922
|
+
super(pointer);
|
|
12923
|
+
}
|
|
12924
|
+
static create() {
|
|
12925
|
+
var _ptr = Module._malloc(8);
|
|
12926
|
+
Module.ccall("csp_systems_HotspotGroup_Ctor", "void", ["number"], [_ptr]);
|
|
12927
|
+
var _nPtr = getNativePointer(_ptr);
|
|
12928
|
+
return new HotspotGroup(_nPtr);
|
|
12929
|
+
}
|
|
12930
|
+
delete() {
|
|
12931
|
+
if (this.ownsPointer && !this.disposed) {
|
|
12932
|
+
Module.ccall("csp_systems_HotspotGroup_Dtor", "void", ["number"], [this.pointer]);
|
|
12933
|
+
this.disposed = true;
|
|
12934
|
+
}
|
|
12935
|
+
}
|
|
12936
|
+
get name() {
|
|
12937
|
+
let _result = Module.ccall("csp_systems_HotspotGroup__Get_Name", "string", ["number"], [this.pointer]);
|
|
12938
|
+
return _result;
|
|
12939
|
+
}
|
|
12940
|
+
set name(value) {
|
|
12941
|
+
Module.ccall("csp_systems_HotspotGroup__Set_Name", "void", ["number", "string"], [this.pointer, value]);
|
|
12942
|
+
}
|
|
12943
|
+
get items() {
|
|
12944
|
+
const _ptr = Module._malloc(8);
|
|
12945
|
+
Module.ccall("csp_systems_HotspotGroup__Get_Items", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
12946
|
+
const _nPtr = getNativePointer(_ptr);
|
|
12947
|
+
return new Common.Array(_nPtr, StringFactory, "String");
|
|
12948
|
+
}
|
|
12949
|
+
set items(value) {
|
|
12950
|
+
Module.ccall("csp_systems_HotspotGroup__Set_Items", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
12951
|
+
}
|
|
12952
|
+
}
|
|
12953
|
+
Systems.HotspotGroup = HotspotGroup;
|
|
12954
|
+
})(Systems || (Systems = {}));
|
|
12861
12955
|
(function (Systems) {
|
|
12862
12956
|
/**
|
|
12863
12957
|
* @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
|
|
@@ -13493,6 +13587,15 @@ export class CSPFoundation {
|
|
|
13493
13587
|
set items(value) {
|
|
13494
13588
|
Module.ccall("csp_systems_Sequence__Set_Items", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
13495
13589
|
}
|
|
13590
|
+
get metaData() {
|
|
13591
|
+
const _ptr = Module._malloc(8);
|
|
13592
|
+
Module.ccall("csp_systems_Sequence__Get_MetaData", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
13593
|
+
const _nPtr = getNativePointer(_ptr);
|
|
13594
|
+
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
13595
|
+
}
|
|
13596
|
+
set metaData(value) {
|
|
13597
|
+
Module.ccall("csp_systems_Sequence__Set_MetaData", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
13598
|
+
}
|
|
13496
13599
|
}
|
|
13497
13600
|
Systems.Sequence = Sequence;
|
|
13498
13601
|
})(Systems || (Systems = {}));
|
|
@@ -16569,6 +16672,9 @@ export class CSPFoundation {
|
|
|
16569
16672
|
/**
|
|
16570
16673
|
* @description Gets the name of this external link component.
|
|
16571
16674
|
*/
|
|
16675
|
+
/** @deprecated
|
|
16676
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
16677
|
+
*/
|
|
16572
16678
|
getName() {
|
|
16573
16679
|
let _result = Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
16574
16680
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -16580,6 +16686,9 @@ export class CSPFoundation {
|
|
|
16580
16686
|
* @description Sets the name for this external link component.
|
|
16581
16687
|
* @param value - - The new name to assign to this external link componenent.
|
|
16582
16688
|
*/
|
|
16689
|
+
/** @deprecated
|
|
16690
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
16691
|
+
*/
|
|
16583
16692
|
setName(value) {
|
|
16584
16693
|
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
16585
16694
|
}
|
|
@@ -16765,6 +16874,9 @@ export class CSPFoundation {
|
|
|
16765
16874
|
* @description Gets the name of this fiducial marker space component.
|
|
16766
16875
|
* @return The name of this fiducial marker space component.
|
|
16767
16876
|
*/
|
|
16877
|
+
/** @deprecated
|
|
16878
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
16879
|
+
*/
|
|
16768
16880
|
getName() {
|
|
16769
16881
|
let _result = Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
16770
16882
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -16776,6 +16888,9 @@ export class CSPFoundation {
|
|
|
16776
16888
|
* @description Sets the name of this fiducial marker space component.
|
|
16777
16889
|
* @param value - The name of this fiducial marker space component.
|
|
16778
16890
|
*/
|
|
16891
|
+
/** @deprecated
|
|
16892
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
16893
|
+
*/
|
|
16779
16894
|
setName(value) {
|
|
16780
16895
|
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
16781
16896
|
}
|
|
@@ -17456,6 +17571,9 @@ export class CSPFoundation {
|
|
|
17456
17571
|
* @description Gets the Name of the Hotspot.
|
|
17457
17572
|
* @return The Name of the Hotspot.
|
|
17458
17573
|
*/
|
|
17574
|
+
/** @deprecated
|
|
17575
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
17576
|
+
*/
|
|
17459
17577
|
getName() {
|
|
17460
17578
|
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
17461
17579
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -17467,6 +17585,9 @@ export class CSPFoundation {
|
|
|
17467
17585
|
* @description Sets the Name of this Hotspot.
|
|
17468
17586
|
* @param value - The Name of this Hotspot.
|
|
17469
17587
|
*/
|
|
17588
|
+
/** @deprecated
|
|
17589
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
17590
|
+
*/
|
|
17470
17591
|
setName(value) {
|
|
17471
17592
|
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
17472
17593
|
}
|
|
@@ -17613,6 +17734,9 @@ export class CSPFoundation {
|
|
|
17613
17734
|
* @description Gets the name of this image space component.
|
|
17614
17735
|
* @return The name of this image space component.
|
|
17615
17736
|
*/
|
|
17737
|
+
/** @deprecated
|
|
17738
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
17739
|
+
*/
|
|
17616
17740
|
getName() {
|
|
17617
17741
|
let _result = Module.ccall("csp_multiplayer_ImageSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
17618
17742
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -17624,6 +17748,9 @@ export class CSPFoundation {
|
|
|
17624
17748
|
* @description Sets the name of this image space component.
|
|
17625
17749
|
* @param value - The name of this image space component.
|
|
17626
17750
|
*/
|
|
17751
|
+
/** @deprecated
|
|
17752
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
17753
|
+
*/
|
|
17627
17754
|
setName(value) {
|
|
17628
17755
|
Module.ccall("csp_multiplayer_ImageSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
17629
17756
|
}
|
|
@@ -18255,6 +18382,9 @@ export class CSPFoundation {
|
|
|
18255
18382
|
* @description Get the name of the Reflection component.
|
|
18256
18383
|
* @return Csp::common::string specifying the component name.
|
|
18257
18384
|
*/
|
|
18385
|
+
/** @deprecated
|
|
18386
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
18387
|
+
*/
|
|
18258
18388
|
getName() {
|
|
18259
18389
|
let _result = Module.ccall("csp_multiplayer_ReflectionSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
18260
18390
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -18266,6 +18396,9 @@ export class CSPFoundation {
|
|
|
18266
18396
|
* @description Set the name for the Reflection component.
|
|
18267
18397
|
* @param value - Name for the Reflection component.
|
|
18268
18398
|
*/
|
|
18399
|
+
/** @deprecated
|
|
18400
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
18401
|
+
*/
|
|
18269
18402
|
setName(value) {
|
|
18270
18403
|
Module.ccall("csp_multiplayer_ReflectionSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
18271
18404
|
}
|
|
@@ -19010,6 +19143,9 @@ export class CSPFoundation {
|
|
|
19010
19143
|
* @description Gets the name of this video player.
|
|
19011
19144
|
* @return The name of this video player.
|
|
19012
19145
|
*/
|
|
19146
|
+
/** @deprecated
|
|
19147
|
+
Deprecated in favour of ComponentBase::GetComponentName()
|
|
19148
|
+
*/
|
|
19013
19149
|
getName() {
|
|
19014
19150
|
let _result = Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_GetNameC_StringRC", "number", ["number"], [this.pointer]);
|
|
19015
19151
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -19021,6 +19157,9 @@ export class CSPFoundation {
|
|
|
19021
19157
|
* @description Sets the name of this video player.
|
|
19022
19158
|
* @param value - The name of this video player.
|
|
19023
19159
|
*/
|
|
19160
|
+
/** @deprecated
|
|
19161
|
+
Deprecated in favour of ComponentBase::SetComponentName()
|
|
19162
|
+
*/
|
|
19024
19163
|
setName(value) {
|
|
19025
19164
|
Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetName_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
19026
19165
|
}
|
|
@@ -21789,6 +21928,241 @@ export class CSPFoundation {
|
|
|
21789
21928
|
}
|
|
21790
21929
|
Systems.GraphQLSystem = GraphQLSystem;
|
|
21791
21930
|
})(Systems || (Systems = {}));
|
|
21931
|
+
(function (Systems) {
|
|
21932
|
+
/**
|
|
21933
|
+
@ingroup HotspotSequence System
|
|
21934
|
+
* @description Data class used to contain information when attempting to get a Hot Spot Group.
|
|
21935
|
+
*/
|
|
21936
|
+
class HotspotGroupResult extends Systems.ResultBase {
|
|
21937
|
+
/** @internal */
|
|
21938
|
+
constructor(pointer) {
|
|
21939
|
+
super(pointer);
|
|
21940
|
+
}
|
|
21941
|
+
static fromResultBase(baseInstance) {
|
|
21942
|
+
const nativeClassWrapper = baseInstance;
|
|
21943
|
+
return new Systems.HotspotGroupResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
21944
|
+
}
|
|
21945
|
+
getHotspotGroup() {
|
|
21946
|
+
var _ret = Module._malloc(8);
|
|
21947
|
+
Module.ccall("csp_systems_HotspotGroupResult_GetHotspotGroupC_HotspotGroupRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
21948
|
+
var _nPtr = new Systems.HotspotGroup(getNativePointer(_ret));
|
|
21949
|
+
Module._free(_ret);
|
|
21950
|
+
return _nPtr;
|
|
21951
|
+
}
|
|
21952
|
+
delete() {
|
|
21953
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21954
|
+
Module.ccall("csp_systems_HotspotGroupResult_Dtor", "void", ["number"], [this.pointer]);
|
|
21955
|
+
this.disposed = true;
|
|
21956
|
+
}
|
|
21957
|
+
}
|
|
21958
|
+
}
|
|
21959
|
+
Systems.HotspotGroupResult = HotspotGroupResult;
|
|
21960
|
+
})(Systems || (Systems = {}));
|
|
21961
|
+
(function (Systems) {
|
|
21962
|
+
/**
|
|
21963
|
+
@ingroup HotspotSequence System
|
|
21964
|
+
* @description Data class used to contain information when attempting to get a Hot Spot Group.
|
|
21965
|
+
*/
|
|
21966
|
+
class HotspotGroupsResult extends Systems.ResultBase {
|
|
21967
|
+
/** @internal */
|
|
21968
|
+
constructor(pointer) {
|
|
21969
|
+
super(pointer);
|
|
21970
|
+
}
|
|
21971
|
+
static fromResultBase(baseInstance) {
|
|
21972
|
+
const nativeClassWrapper = baseInstance;
|
|
21973
|
+
return new Systems.HotspotGroupsResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
21974
|
+
}
|
|
21975
|
+
getHotspotGroups() {
|
|
21976
|
+
var _ret = Module._malloc(8);
|
|
21977
|
+
Module.ccall("csp_systems_HotspotGroupsResult_GetHotspotGroupsC_ArrayRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
21978
|
+
var _nPtr = new Common.Array(getNativePointer(_ret), csp_systems_HotspotGroupFactory, "csp_systems_HotspotGroup");
|
|
21979
|
+
Module._free(_ret);
|
|
21980
|
+
return _nPtr;
|
|
21981
|
+
}
|
|
21982
|
+
delete() {
|
|
21983
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21984
|
+
Module.ccall("csp_systems_HotspotGroupsResult_Dtor", "void", ["number"], [this.pointer]);
|
|
21985
|
+
this.disposed = true;
|
|
21986
|
+
}
|
|
21987
|
+
}
|
|
21988
|
+
}
|
|
21989
|
+
Systems.HotspotGroupsResult = HotspotGroupsResult;
|
|
21990
|
+
})(Systems || (Systems = {}));
|
|
21991
|
+
(function (Systems) {
|
|
21992
|
+
/**
|
|
21993
|
+
@ingroup HotspotSequenceSystem System
|
|
21994
|
+
* @description Public facing system that allows the management of groupings of hotspots in a space.
|
|
21995
|
+
*/
|
|
21996
|
+
class HotspotSequenceSystem extends Systems.SystemBase {
|
|
21997
|
+
/** @internal */
|
|
21998
|
+
constructor(pointer) {
|
|
21999
|
+
super(pointer);
|
|
22000
|
+
}
|
|
22001
|
+
static fromSystemBase(baseInstance) {
|
|
22002
|
+
const nativeClassWrapper = baseInstance;
|
|
22003
|
+
return new Systems.HotspotSequenceSystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
22004
|
+
}
|
|
22005
|
+
static create_sequenceSystem_spaceSystem(sequenceSystem, spaceSystem) {
|
|
22006
|
+
var _ptr = Module._malloc(8);
|
|
22007
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_Ctor_SequenceSystemP_SpaceSystemP", "void", ["number", "number", "number"], [_ptr, sequenceSystem.pointer, spaceSystem.pointer]);
|
|
22008
|
+
var _nPtr = getNativePointer(_ptr);
|
|
22009
|
+
return new HotspotSequenceSystem(_nPtr);
|
|
22010
|
+
}
|
|
22011
|
+
/**
|
|
22012
|
+
* @description Create a Hotspot group
|
|
22013
|
+
* @param groupName - The unique grouping name
|
|
22014
|
+
* @param hotspotIds - Set of hotspot ids to add to the group
|
|
22015
|
+
* @param callback - Callback to call when a response is received
|
|
22016
|
+
*/
|
|
22017
|
+
async createHotspotGroup(arg1, hotspotIds) {
|
|
22018
|
+
var _resolve;
|
|
22019
|
+
var _promise = new Promise((_r) => {
|
|
22020
|
+
_resolve = _r;
|
|
22021
|
+
});
|
|
22022
|
+
var _callbackPtr;
|
|
22023
|
+
var _callback = (_stateObject__, result) => {
|
|
22024
|
+
var _resultPtr = getNativePointer(result);
|
|
22025
|
+
var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
|
|
22026
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22027
|
+
return;
|
|
22028
|
+
}
|
|
22029
|
+
_resolve(_resultInstance);
|
|
22030
|
+
Module.removeFunction(_callbackPtr);
|
|
22031
|
+
};
|
|
22032
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22033
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_CreateHotspotGroup_void_StringRC_ArrayRC_HotspotGroupResultCallback", "void", ["number", "string", "number", "number", "number"], [this.pointer, arg1, hotspotIds.pointer, _callbackPtr, 0]);
|
|
22034
|
+
return _promise;
|
|
22035
|
+
}
|
|
22036
|
+
/**
|
|
22037
|
+
* @description Rename a Hotspot group
|
|
22038
|
+
* @param currentGroupName - The unique grouping name
|
|
22039
|
+
* @param newGroupName - The unique grouping name
|
|
22040
|
+
* @param callback - Callback to call when a response is received
|
|
22041
|
+
*/
|
|
22042
|
+
async renameHotspotGroup(groupName, newGroupName) {
|
|
22043
|
+
var _resolve;
|
|
22044
|
+
var _promise = new Promise((_r) => {
|
|
22045
|
+
_resolve = _r;
|
|
22046
|
+
});
|
|
22047
|
+
var _callbackPtr;
|
|
22048
|
+
var _callback = (_stateObject__, result) => {
|
|
22049
|
+
var _resultPtr = getNativePointer(result);
|
|
22050
|
+
var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
|
|
22051
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22052
|
+
return;
|
|
22053
|
+
}
|
|
22054
|
+
_resolve(_resultInstance);
|
|
22055
|
+
Module.removeFunction(_callbackPtr);
|
|
22056
|
+
};
|
|
22057
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22058
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_RenameHotspotGroup_void_StringRC_StringRC_HotspotGroupResultCallback", "void", ["number", "string", "string", "number", "number"], [this.pointer, groupName, newGroupName, _callbackPtr, 0]);
|
|
22059
|
+
return _promise;
|
|
22060
|
+
}
|
|
22061
|
+
/**
|
|
22062
|
+
* @description Update a Hotspot group
|
|
22063
|
+
* @param groupName - The unique grouping name
|
|
22064
|
+
* @param hotspotIds - Set of hotspot ids to replace
|
|
22065
|
+
* @param callback - Callback to call when a response is received
|
|
22066
|
+
*/
|
|
22067
|
+
async updateHotspotGroup(groupName, hotspotIds) {
|
|
22068
|
+
var _resolve;
|
|
22069
|
+
var _promise = new Promise((_r) => {
|
|
22070
|
+
_resolve = _r;
|
|
22071
|
+
});
|
|
22072
|
+
var _callbackPtr;
|
|
22073
|
+
var _callback = (_stateObject__, result) => {
|
|
22074
|
+
var _resultPtr = getNativePointer(result);
|
|
22075
|
+
var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
|
|
22076
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22077
|
+
return;
|
|
22078
|
+
}
|
|
22079
|
+
_resolve(_resultInstance);
|
|
22080
|
+
Module.removeFunction(_callbackPtr);
|
|
22081
|
+
};
|
|
22082
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22083
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_UpdateHotspotGroup_void_StringRC_ArrayRC_HotspotGroupResultCallback", "void", ["number", "string", "number", "number", "number"], [this.pointer, groupName, hotspotIds.pointer, _callbackPtr, 0]);
|
|
22084
|
+
return _promise;
|
|
22085
|
+
}
|
|
22086
|
+
/**
|
|
22087
|
+
* @description Get a Hotspot group by name
|
|
22088
|
+
* @param groupName - The unique grouping name
|
|
22089
|
+
* @param callback - Callback to call when a response is received
|
|
22090
|
+
*/
|
|
22091
|
+
async getHotspotGroup(groupName) {
|
|
22092
|
+
var _resolve;
|
|
22093
|
+
var _promise = new Promise((_r) => {
|
|
22094
|
+
_resolve = _r;
|
|
22095
|
+
});
|
|
22096
|
+
var _callbackPtr;
|
|
22097
|
+
var _callback = (_stateObject__, result) => {
|
|
22098
|
+
var _resultPtr = getNativePointer(result);
|
|
22099
|
+
var _resultInstance = new Systems.HotspotGroupResult(_resultPtr);
|
|
22100
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22101
|
+
return;
|
|
22102
|
+
}
|
|
22103
|
+
_resolve(_resultInstance);
|
|
22104
|
+
Module.removeFunction(_callbackPtr);
|
|
22105
|
+
};
|
|
22106
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22107
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_GetHotspotGroup_void_StringRC_HotspotGroupResultCallback", "void", ["number", "string", "number", "number"], [this.pointer, groupName, _callbackPtr, 0]);
|
|
22108
|
+
return _promise;
|
|
22109
|
+
}
|
|
22110
|
+
/**
|
|
22111
|
+
* @description Get all Hotspot groups for the current space and logged in user.
|
|
22112
|
+
* @param callback - Callback to call when a response is received
|
|
22113
|
+
*/
|
|
22114
|
+
async getHotspotGroups() {
|
|
22115
|
+
var _resolve;
|
|
22116
|
+
var _promise = new Promise((_r) => {
|
|
22117
|
+
_resolve = _r;
|
|
22118
|
+
});
|
|
22119
|
+
var _callbackPtr;
|
|
22120
|
+
var _callback = (_stateObject__, result) => {
|
|
22121
|
+
var _resultPtr = getNativePointer(result);
|
|
22122
|
+
var _resultInstance = new Systems.HotspotGroupsResult(_resultPtr);
|
|
22123
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22124
|
+
return;
|
|
22125
|
+
}
|
|
22126
|
+
_resolve(_resultInstance);
|
|
22127
|
+
Module.removeFunction(_callbackPtr);
|
|
22128
|
+
};
|
|
22129
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22130
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_GetHotspotGroups_void_HotspotGroupsResultCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
22131
|
+
return _promise;
|
|
22132
|
+
}
|
|
22133
|
+
/**
|
|
22134
|
+
* @description Delete a Hotspot group by name
|
|
22135
|
+
* @param groupName - The unique grouping name
|
|
22136
|
+
* @param callback - Callback to call when a response is received
|
|
22137
|
+
*/
|
|
22138
|
+
async deleteHotspotGroup(groupName) {
|
|
22139
|
+
var _resolve;
|
|
22140
|
+
var _promise = new Promise((_r) => {
|
|
22141
|
+
_resolve = _r;
|
|
22142
|
+
});
|
|
22143
|
+
var _callbackPtr;
|
|
22144
|
+
var _callback = (_stateObject__, result) => {
|
|
22145
|
+
var _resultPtr = getNativePointer(result);
|
|
22146
|
+
var _resultInstance = new Systems.NullResult(_resultPtr);
|
|
22147
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
22148
|
+
return;
|
|
22149
|
+
}
|
|
22150
|
+
_resolve(_resultInstance);
|
|
22151
|
+
Module.removeFunction(_callbackPtr);
|
|
22152
|
+
};
|
|
22153
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22154
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_DeleteHotspotGroup_void_StringRC_NullResultCallback", "void", ["number", "string", "number", "number"], [this.pointer, groupName, _callbackPtr, 0]);
|
|
22155
|
+
return _promise;
|
|
22156
|
+
}
|
|
22157
|
+
delete() {
|
|
22158
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22159
|
+
Module.ccall("csp_systems_HotspotSequenceSystem_Dtor", "void", ["number"], [this.pointer]);
|
|
22160
|
+
this.disposed = true;
|
|
22161
|
+
}
|
|
22162
|
+
}
|
|
22163
|
+
}
|
|
22164
|
+
Systems.HotspotSequenceSystem = HotspotSequenceSystem;
|
|
22165
|
+
})(Systems || (Systems = {}));
|
|
21792
22166
|
(function (Systems) {
|
|
21793
22167
|
/**
|
|
21794
22168
|
@ingroup CSPFoundation
|
|
@@ -22711,13 +23085,14 @@ export class CSPFoundation {
|
|
|
22711
23085
|
/**
|
|
22712
23086
|
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
|
|
22713
23087
|
* This call will fail if the user isn't a creator of the space.
|
|
22714
|
-
* @param sequenceKey - The unique grouping name.
|
|
22715
|
-
* @param referenceType - The type of reference (GroupId
|
|
23088
|
+
* @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
|
|
23089
|
+
* @param referenceType - The type of reference (GroupId etc.)
|
|
22716
23090
|
* @param referenceId - The id of the reference
|
|
22717
23091
|
* @param items - An ordered array of members
|
|
23092
|
+
* @param metaData - Any additional data relating to the Sequence
|
|
22718
23093
|
* @param callback - Callback to call when a response is received
|
|
22719
23094
|
*/
|
|
22720
|
-
async createSequence(sequenceKey, referenceType, referenceId, items) {
|
|
23095
|
+
async createSequence(sequenceKey, referenceType, referenceId, items, metaData) {
|
|
22721
23096
|
var _resolve;
|
|
22722
23097
|
var _promise = new Promise((_r) => {
|
|
22723
23098
|
_resolve = _r;
|
|
@@ -22733,12 +23108,22 @@ export class CSPFoundation {
|
|
|
22733
23108
|
Module.removeFunction(_callbackPtr);
|
|
22734
23109
|
};
|
|
22735
23110
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22736
|
-
Module.ccall("
|
|
23111
|
+
Module.ccall("csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_MapRC_SequenceResultCallback", "void", [
|
|
23112
|
+
"number",
|
|
23113
|
+
"string",
|
|
23114
|
+
"string",
|
|
23115
|
+
"string",
|
|
23116
|
+
"number",
|
|
23117
|
+
"number",
|
|
23118
|
+
"number",
|
|
23119
|
+
"number",
|
|
23120
|
+
], [
|
|
22737
23121
|
this.pointer,
|
|
22738
23122
|
sequenceKey,
|
|
22739
23123
|
referenceType,
|
|
22740
23124
|
referenceId,
|
|
22741
23125
|
items.pointer,
|
|
23126
|
+
metaData.pointer,
|
|
22742
23127
|
_callbackPtr,
|
|
22743
23128
|
0,
|
|
22744
23129
|
]);
|
|
@@ -22746,13 +23131,14 @@ export class CSPFoundation {
|
|
|
22746
23131
|
}
|
|
22747
23132
|
/**
|
|
22748
23133
|
* @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.
|
|
22750
|
-
* @param referenceType - The type of reference (GroupId
|
|
23134
|
+
* @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
|
|
23135
|
+
* @param referenceType - The type of reference (GroupId etc.)
|
|
22751
23136
|
* @param referenceId - The id of the reference
|
|
22752
23137
|
* @param items - An ordered array of members
|
|
23138
|
+
* @param metaData - Any additional data relating to the Sequence
|
|
22753
23139
|
* @param callback - Callback to call when a response is received
|
|
22754
23140
|
*/
|
|
22755
|
-
async updateSequence(sequenceKey, referenceType, referenceId, items) {
|
|
23141
|
+
async updateSequence(sequenceKey, referenceType, referenceId, items, metaData) {
|
|
22756
23142
|
var _resolve;
|
|
22757
23143
|
var _promise = new Promise((_r) => {
|
|
22758
23144
|
_resolve = _r;
|
|
@@ -22768,12 +23154,22 @@ export class CSPFoundation {
|
|
|
22768
23154
|
Module.removeFunction(_callbackPtr);
|
|
22769
23155
|
};
|
|
22770
23156
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22771
|
-
Module.ccall("
|
|
23157
|
+
Module.ccall("csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_MapRC_SequenceResultCallback", "void", [
|
|
23158
|
+
"number",
|
|
23159
|
+
"string",
|
|
23160
|
+
"string",
|
|
23161
|
+
"string",
|
|
23162
|
+
"number",
|
|
23163
|
+
"number",
|
|
23164
|
+
"number",
|
|
23165
|
+
"number",
|
|
23166
|
+
], [
|
|
22772
23167
|
this.pointer,
|
|
22773
23168
|
sequenceKey,
|
|
22774
23169
|
referenceType,
|
|
22775
23170
|
referenceId,
|
|
22776
23171
|
items.pointer,
|
|
23172
|
+
metaData.pointer,
|
|
22777
23173
|
_callbackPtr,
|
|
22778
23174
|
0,
|
|
22779
23175
|
]);
|
|
@@ -22808,11 +23204,12 @@ export class CSPFoundation {
|
|
|
22808
23204
|
* @description Finds sequences based on the given criteria
|
|
22809
23205
|
* @param sequenceKeys - An array of sequence keys to search for
|
|
22810
23206
|
* @param sequenceKeys - An optional regex string for searching keys
|
|
22811
|
-
* @param referenceType - The type of reference (GroupId
|
|
23207
|
+
* @param referenceType - The type of reference (GroupId etc.). Must be used with ReferenceIds
|
|
22812
23208
|
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
23209
|
+
* @param metaData - Any additional data relating to the Sequence
|
|
22813
23210
|
* @param callback - Callback to call when a response is received
|
|
22814
23211
|
*/
|
|
22815
|
-
async getSequencesByCriteria(sequenceKeys, keyRegex, referenceType, referenceIds) {
|
|
23212
|
+
async getSequencesByCriteria(sequenceKeys, keyRegex, referenceType, referenceIds, metaData) {
|
|
22816
23213
|
var _resolve;
|
|
22817
23214
|
var _promise = new Promise((_r) => {
|
|
22818
23215
|
_resolve = _r;
|
|
@@ -22828,12 +23225,22 @@ export class CSPFoundation {
|
|
|
22828
23225
|
Module.removeFunction(_callbackPtr);
|
|
22829
23226
|
};
|
|
22830
23227
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
22831
|
-
Module.ccall("
|
|
23228
|
+
Module.ccall("csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_MapRC_SequencesResultCallback", "void", [
|
|
23229
|
+
"number",
|
|
23230
|
+
"number",
|
|
23231
|
+
"string",
|
|
23232
|
+
"string",
|
|
23233
|
+
"number",
|
|
23234
|
+
"number",
|
|
23235
|
+
"number",
|
|
23236
|
+
"number",
|
|
23237
|
+
], [
|
|
22832
23238
|
this.pointer,
|
|
22833
23239
|
sequenceKeys.pointer,
|
|
22834
23240
|
keyRegex,
|
|
22835
23241
|
referenceType,
|
|
22836
23242
|
referenceIds.pointer,
|
|
23243
|
+
metaData.pointer,
|
|
22837
23244
|
_callbackPtr,
|
|
22838
23245
|
0,
|
|
22839
23246
|
]);
|
|
@@ -26599,6 +27006,13 @@ export class CSPFoundation {
|
|
|
26599
27006
|
Module._free(_ret);
|
|
26600
27007
|
return _inst;
|
|
26601
27008
|
}
|
|
27009
|
+
static ofcsp_systems_HotspotGroup() {
|
|
27010
|
+
var _ret = Module._malloc(8);
|
|
27011
|
+
Module.ccall("csp_common_Array_Ctor_csp_systems_HotspotGroup", "void", ["number"], [_ret]);
|
|
27012
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_HotspotGroupFactory, "csp_systems_HotspotGroup");
|
|
27013
|
+
Module._free(_ret);
|
|
27014
|
+
return _inst;
|
|
27015
|
+
}
|
|
26602
27016
|
static ofcsp_systems_MaintenanceInfo() {
|
|
26603
27017
|
var _ret = Module._malloc(8);
|
|
26604
27018
|
Module.ccall("csp_common_Array_Ctor_csp_systems_MaintenanceInfo", "void", ["number"], [_ret]);
|
|
@@ -26886,6 +27300,13 @@ export class CSPFoundation {
|
|
|
26886
27300
|
Module._free(_ret);
|
|
26887
27301
|
return _inst;
|
|
26888
27302
|
}
|
|
27303
|
+
static ofcsp_systems_HotspotGroup_number(size) {
|
|
27304
|
+
var _ret = Module._malloc(8);
|
|
27305
|
+
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_HotspotGroup", "void", ["number", "number"], [_ret, size]);
|
|
27306
|
+
var _inst = new Array(getNativePointer(_ret), csp_systems_HotspotGroupFactory, "csp_systems_HotspotGroup");
|
|
27307
|
+
Module._free(_ret);
|
|
27308
|
+
return _inst;
|
|
27309
|
+
}
|
|
26889
27310
|
static ofcsp_systems_MaintenanceInfo_number(size) {
|
|
26890
27311
|
var _ret = Module._malloc(8);
|
|
26891
27312
|
Module.ccall("csp_common_Array_Conv_size_tC_csp_systems_MaintenanceInfo", "void", ["number", "number"], [_ret, size]);
|