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
|
@@ -366,6 +366,14 @@ function csp_multiplayer_EPermissionChangeTypeFactory(
|
|
|
366
366
|
ProxyClassFactories["csp_multiplayer_EPermissionChangeType"] =
|
|
367
367
|
csp_multiplayer_EPermissionChangeTypeFactory;
|
|
368
368
|
|
|
369
|
+
function csp_multiplayer_ESequenceUpdateTypeFactory(
|
|
370
|
+
nativePointer: NativePointer,
|
|
371
|
+
): Multiplayer.ESequenceUpdateType {
|
|
372
|
+
return nativePointer.pointer as Multiplayer.ESequenceUpdateType;
|
|
373
|
+
}
|
|
374
|
+
ProxyClassFactories["csp_multiplayer_ESequenceUpdateType"] =
|
|
375
|
+
csp_multiplayer_ESequenceUpdateTypeFactory;
|
|
376
|
+
|
|
369
377
|
function csp_multiplayer_ConnectionStateFactory(
|
|
370
378
|
nativePointer: NativePointer,
|
|
371
379
|
): Multiplayer.ConnectionState {
|
|
@@ -597,6 +605,14 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(
|
|
|
597
605
|
ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
|
|
598
606
|
csp_multiplayer_GaussianSplatPropertyKeysFactory;
|
|
599
607
|
|
|
608
|
+
function csp_multiplayer_HotspotPropertyKeysFactory(
|
|
609
|
+
nativePointer: NativePointer,
|
|
610
|
+
): Multiplayer.HotspotPropertyKeys {
|
|
611
|
+
return nativePointer.pointer as Multiplayer.HotspotPropertyKeys;
|
|
612
|
+
}
|
|
613
|
+
ProxyClassFactories["csp_multiplayer_HotspotPropertyKeys"] =
|
|
614
|
+
csp_multiplayer_HotspotPropertyKeysFactory;
|
|
615
|
+
|
|
600
616
|
function csp_multiplayer_ImagePropertyKeysFactory(
|
|
601
617
|
nativePointer: NativePointer,
|
|
602
618
|
): Multiplayer.ImagePropertyKeys {
|
|
@@ -999,6 +1015,14 @@ function csp_multiplayer_UserPermissionsParamsFactory(
|
|
|
999
1015
|
ProxyClassFactories["csp_multiplayer_UserPermissionsParams"] =
|
|
1000
1016
|
csp_multiplayer_UserPermissionsParamsFactory;
|
|
1001
1017
|
|
|
1018
|
+
function csp_multiplayer_SequenceChangedParamsFactory(
|
|
1019
|
+
nativePointer: NativePointer,
|
|
1020
|
+
): NativeClassWrapper {
|
|
1021
|
+
return new Multiplayer.SequenceChangedParams(nativePointer);
|
|
1022
|
+
}
|
|
1023
|
+
ProxyClassFactories["csp_multiplayer_SequenceChangedParams"] =
|
|
1024
|
+
csp_multiplayer_SequenceChangedParamsFactory;
|
|
1025
|
+
|
|
1002
1026
|
function csp_multiplayer_MultiplayerConnectionFactory(
|
|
1003
1027
|
nativePointer: NativePointer,
|
|
1004
1028
|
): NativeClassWrapper {
|
|
@@ -1333,6 +1357,13 @@ function csp_systems_ScriptSystemFactory(
|
|
|
1333
1357
|
ProxyClassFactories["csp_systems_ScriptSystem"] =
|
|
1334
1358
|
csp_systems_ScriptSystemFactory;
|
|
1335
1359
|
|
|
1360
|
+
function csp_systems_SequenceFactory(
|
|
1361
|
+
nativePointer: NativePointer,
|
|
1362
|
+
): NativeClassWrapper {
|
|
1363
|
+
return new Systems.Sequence(nativePointer);
|
|
1364
|
+
}
|
|
1365
|
+
ProxyClassFactories["csp_systems_Sequence"] = csp_systems_SequenceFactory;
|
|
1366
|
+
|
|
1336
1367
|
function csp_systems_SettingsCollectionFactory(
|
|
1337
1368
|
nativePointer: NativePointer,
|
|
1338
1369
|
): NativeClassWrapper {
|
|
@@ -1574,6 +1605,14 @@ function csp_multiplayer_GaussianSplatSpaceComponentFactory(
|
|
|
1574
1605
|
ProxyClassFactories["csp_multiplayer_GaussianSplatSpaceComponent"] =
|
|
1575
1606
|
csp_multiplayer_GaussianSplatSpaceComponentFactory;
|
|
1576
1607
|
|
|
1608
|
+
function csp_multiplayer_HotspotSpaceComponentFactory(
|
|
1609
|
+
nativePointer: NativePointer,
|
|
1610
|
+
): NativeClassWrapper {
|
|
1611
|
+
return new Multiplayer.HotspotSpaceComponent(nativePointer);
|
|
1612
|
+
}
|
|
1613
|
+
ProxyClassFactories["csp_multiplayer_HotspotSpaceComponent"] =
|
|
1614
|
+
csp_multiplayer_HotspotSpaceComponentFactory;
|
|
1615
|
+
|
|
1577
1616
|
function csp_multiplayer_ImageSpaceComponentFactory(
|
|
1578
1617
|
nativePointer: NativePointer,
|
|
1579
1618
|
): NativeClassWrapper {
|
|
@@ -2009,6 +2048,30 @@ function csp_systems_QuotaSystemFactory(
|
|
|
2009
2048
|
}
|
|
2010
2049
|
ProxyClassFactories["csp_systems_QuotaSystem"] = csp_systems_QuotaSystemFactory;
|
|
2011
2050
|
|
|
2051
|
+
function csp_systems_SequenceResultFactory(
|
|
2052
|
+
nativePointer: NativePointer,
|
|
2053
|
+
): NativeClassWrapper {
|
|
2054
|
+
return new Systems.SequenceResult(nativePointer);
|
|
2055
|
+
}
|
|
2056
|
+
ProxyClassFactories["csp_systems_SequenceResult"] =
|
|
2057
|
+
csp_systems_SequenceResultFactory;
|
|
2058
|
+
|
|
2059
|
+
function csp_systems_SequencesResultFactory(
|
|
2060
|
+
nativePointer: NativePointer,
|
|
2061
|
+
): NativeClassWrapper {
|
|
2062
|
+
return new Systems.SequencesResult(nativePointer);
|
|
2063
|
+
}
|
|
2064
|
+
ProxyClassFactories["csp_systems_SequencesResult"] =
|
|
2065
|
+
csp_systems_SequencesResultFactory;
|
|
2066
|
+
|
|
2067
|
+
function csp_systems_SequenceSystemFactory(
|
|
2068
|
+
nativePointer: NativePointer,
|
|
2069
|
+
): NativeClassWrapper {
|
|
2070
|
+
return new Systems.SequenceSystem(nativePointer);
|
|
2071
|
+
}
|
|
2072
|
+
ProxyClassFactories["csp_systems_SequenceSystem"] =
|
|
2073
|
+
csp_systems_SequenceSystemFactory;
|
|
2074
|
+
|
|
2012
2075
|
function csp_systems_SettingsCollectionResultFactory(
|
|
2013
2076
|
nativePointer: NativePointer,
|
|
2014
2077
|
): NativeClassWrapper {
|
|
@@ -2545,6 +2608,18 @@ function csp_common_Array_csp_systems_TierFeaturesFactory(
|
|
|
2545
2608
|
ProxyClassFactories["csp_common_Array_csp_systems_TierFeatures"] =
|
|
2546
2609
|
csp_common_Array_csp_systems_TierFeaturesFactory;
|
|
2547
2610
|
|
|
2611
|
+
function csp_common_Array_csp_systems_SequenceFactory(
|
|
2612
|
+
nativePointer: NativePointer,
|
|
2613
|
+
): NativeClassWrapper {
|
|
2614
|
+
return new Common.Array<Systems.Sequence>(
|
|
2615
|
+
nativePointer,
|
|
2616
|
+
csp_systems_SequenceFactory,
|
|
2617
|
+
"csp_systems_Sequence",
|
|
2618
|
+
);
|
|
2619
|
+
}
|
|
2620
|
+
ProxyClassFactories["csp_common_Array_csp_systems_Sequence"] =
|
|
2621
|
+
csp_common_Array_csp_systems_SequenceFactory;
|
|
2622
|
+
|
|
2548
2623
|
function csp_common_Array_csp_systems_SiteFactory(
|
|
2549
2624
|
nativePointer: NativePointer,
|
|
2550
2625
|
): NativeClassWrapper {
|
|
@@ -2851,6 +2926,7 @@ export namespace Multiplayer {
|
|
|
2851
2926
|
FiducialMarker,
|
|
2852
2927
|
GaussianSplat,
|
|
2853
2928
|
Text,
|
|
2929
|
+
Hotspot,
|
|
2854
2930
|
}
|
|
2855
2931
|
}
|
|
2856
2932
|
|
|
@@ -2880,6 +2956,14 @@ export namespace Multiplayer {
|
|
|
2880
2956
|
}
|
|
2881
2957
|
}
|
|
2882
2958
|
|
|
2959
|
+
export namespace Multiplayer {
|
|
2960
|
+
export enum ESequenceUpdateType {
|
|
2961
|
+
Create,
|
|
2962
|
+
Update,
|
|
2963
|
+
Delete,
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2883
2967
|
export namespace Multiplayer {
|
|
2884
2968
|
/**
|
|
2885
2969
|
* @description Enum used to specify the current state of the multiplayer connection.
|
|
@@ -3312,6 +3396,22 @@ export namespace Multiplayer {
|
|
|
3312
3396
|
}
|
|
3313
3397
|
}
|
|
3314
3398
|
|
|
3399
|
+
export namespace Multiplayer {
|
|
3400
|
+
/**
|
|
3401
|
+
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
3402
|
+
*/
|
|
3403
|
+
export enum HotspotPropertyKeys {
|
|
3404
|
+
Position,
|
|
3405
|
+
Rotation,
|
|
3406
|
+
Name,
|
|
3407
|
+
IsTeleportPoint,
|
|
3408
|
+
IsSpawnPoint,
|
|
3409
|
+
IsVisible,
|
|
3410
|
+
IsARVisible,
|
|
3411
|
+
Num,
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3315
3415
|
export namespace Multiplayer {
|
|
3316
3416
|
/**
|
|
3317
3417
|
* @description Enumerates the list of properties that can be replicated for an image space component.
|
|
@@ -4588,6 +4688,26 @@ export class EndpointURIs
|
|
|
4588
4688
|
[this.pointer, value],
|
|
4589
4689
|
);
|
|
4590
4690
|
}
|
|
4691
|
+
|
|
4692
|
+
get maintenanceWindowURI(): string {
|
|
4693
|
+
let _result = Module.ccall(
|
|
4694
|
+
"csp_EndpointURIs__Get_MaintenanceWindowURI",
|
|
4695
|
+
"string",
|
|
4696
|
+
["number"],
|
|
4697
|
+
[this.pointer],
|
|
4698
|
+
);
|
|
4699
|
+
|
|
4700
|
+
return _result;
|
|
4701
|
+
}
|
|
4702
|
+
|
|
4703
|
+
set maintenanceWindowURI(value: string) {
|
|
4704
|
+
Module.ccall(
|
|
4705
|
+
"csp_EndpointURIs__Set_MaintenanceWindowURI",
|
|
4706
|
+
"void",
|
|
4707
|
+
["number", "string"],
|
|
4708
|
+
[this.pointer, value],
|
|
4709
|
+
);
|
|
4710
|
+
}
|
|
4591
4711
|
}
|
|
4592
4712
|
|
|
4593
4713
|
/**
|
|
@@ -21590,6 +21710,104 @@ export namespace Multiplayer {
|
|
|
21590
21710
|
}
|
|
21591
21711
|
}
|
|
21592
21712
|
|
|
21713
|
+
export namespace Multiplayer {
|
|
21714
|
+
export class SequenceChangedParams
|
|
21715
|
+
extends NativeClassWrapper
|
|
21716
|
+
implements INativeResource
|
|
21717
|
+
{
|
|
21718
|
+
/** @internal */
|
|
21719
|
+
constructor(pointer: NativePointer) {
|
|
21720
|
+
super(pointer);
|
|
21721
|
+
}
|
|
21722
|
+
|
|
21723
|
+
static create(): SequenceChangedParams {
|
|
21724
|
+
var _ptr = Module._malloc(8);
|
|
21725
|
+
Module.ccall(
|
|
21726
|
+
"csp_multiplayer_SequenceChangedParams_Ctor",
|
|
21727
|
+
"void",
|
|
21728
|
+
["number"],
|
|
21729
|
+
[_ptr],
|
|
21730
|
+
);
|
|
21731
|
+
var _nPtr = getNativePointer(_ptr);
|
|
21732
|
+
|
|
21733
|
+
return new SequenceChangedParams(_nPtr);
|
|
21734
|
+
}
|
|
21735
|
+
|
|
21736
|
+
delete(): void {
|
|
21737
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21738
|
+
Module.ccall(
|
|
21739
|
+
"csp_multiplayer_SequenceChangedParams_Dtor",
|
|
21740
|
+
"void",
|
|
21741
|
+
["number"],
|
|
21742
|
+
[this.pointer],
|
|
21743
|
+
);
|
|
21744
|
+
|
|
21745
|
+
this.disposed = true;
|
|
21746
|
+
}
|
|
21747
|
+
}
|
|
21748
|
+
|
|
21749
|
+
get updateType(): Multiplayer.ESequenceUpdateType {
|
|
21750
|
+
let _result = Module.ccall(
|
|
21751
|
+
"csp_multiplayer_SequenceChangedParams__Get_UpdateType",
|
|
21752
|
+
"number",
|
|
21753
|
+
["number"],
|
|
21754
|
+
[this.pointer],
|
|
21755
|
+
);
|
|
21756
|
+
|
|
21757
|
+
return _result;
|
|
21758
|
+
}
|
|
21759
|
+
|
|
21760
|
+
set updateType(value: Multiplayer.ESequenceUpdateType) {
|
|
21761
|
+
Module.ccall(
|
|
21762
|
+
"csp_multiplayer_SequenceChangedParams__Set_UpdateType",
|
|
21763
|
+
"void",
|
|
21764
|
+
["number", "number"],
|
|
21765
|
+
[this.pointer, value],
|
|
21766
|
+
);
|
|
21767
|
+
}
|
|
21768
|
+
|
|
21769
|
+
get key(): string {
|
|
21770
|
+
let _result = Module.ccall(
|
|
21771
|
+
"csp_multiplayer_SequenceChangedParams__Get_Key",
|
|
21772
|
+
"string",
|
|
21773
|
+
["number"],
|
|
21774
|
+
[this.pointer],
|
|
21775
|
+
);
|
|
21776
|
+
|
|
21777
|
+
return _result;
|
|
21778
|
+
}
|
|
21779
|
+
|
|
21780
|
+
set key(value: string) {
|
|
21781
|
+
Module.ccall(
|
|
21782
|
+
"csp_multiplayer_SequenceChangedParams__Set_Key",
|
|
21783
|
+
"void",
|
|
21784
|
+
["number", "string"],
|
|
21785
|
+
[this.pointer, value],
|
|
21786
|
+
);
|
|
21787
|
+
}
|
|
21788
|
+
|
|
21789
|
+
get newKey(): string {
|
|
21790
|
+
let _result = Module.ccall(
|
|
21791
|
+
"csp_multiplayer_SequenceChangedParams__Get_NewKey",
|
|
21792
|
+
"string",
|
|
21793
|
+
["number"],
|
|
21794
|
+
[this.pointer],
|
|
21795
|
+
);
|
|
21796
|
+
|
|
21797
|
+
return _result;
|
|
21798
|
+
}
|
|
21799
|
+
|
|
21800
|
+
set newKey(value: string) {
|
|
21801
|
+
Module.ccall(
|
|
21802
|
+
"csp_multiplayer_SequenceChangedParams__Set_NewKey",
|
|
21803
|
+
"void",
|
|
21804
|
+
["number", "string"],
|
|
21805
|
+
[this.pointer, value],
|
|
21806
|
+
);
|
|
21807
|
+
}
|
|
21808
|
+
}
|
|
21809
|
+
}
|
|
21810
|
+
|
|
21593
21811
|
export namespace Multiplayer {
|
|
21594
21812
|
/**
|
|
21595
21813
|
@ingroup Multiplayer
|
|
@@ -21837,6 +22055,31 @@ export namespace Multiplayer {
|
|
|
21837
22055
|
);
|
|
21838
22056
|
}
|
|
21839
22057
|
|
|
22058
|
+
/**
|
|
22059
|
+
* @description Sets a callback for a sequence changed event.
|
|
22060
|
+
* @param callback - Callback to receive data for the sequence that has been changed.
|
|
22061
|
+
*/
|
|
22062
|
+
setSequenceChangedCallback(
|
|
22063
|
+
callback: (arg1: Multiplayer.SequenceChangedParams) => void,
|
|
22064
|
+
) {
|
|
22065
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22066
|
+
var _arg1 = new Multiplayer.SequenceChangedParams(
|
|
22067
|
+
getNativePointer(arg1),
|
|
22068
|
+
);
|
|
22069
|
+
|
|
22070
|
+
callback(_arg1);
|
|
22071
|
+
};
|
|
22072
|
+
|
|
22073
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22074
|
+
|
|
22075
|
+
Module.ccall(
|
|
22076
|
+
"csp_multiplayer_MultiplayerConnection_SetSequenceChangedCallback_void_SequenceChangedCallbackHandler",
|
|
22077
|
+
"void",
|
|
22078
|
+
["number", "number", "number"],
|
|
22079
|
+
[this.pointer, _callbackPtr, 0],
|
|
22080
|
+
);
|
|
22081
|
+
}
|
|
22082
|
+
|
|
21840
22083
|
/**
|
|
21841
22084
|
* @description Registers a callback to listen for the named event.
|
|
21842
22085
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -25454,6 +25697,26 @@ export namespace Systems {
|
|
|
25454
25697
|
return _nPtr;
|
|
25455
25698
|
}
|
|
25456
25699
|
|
|
25700
|
+
/**
|
|
25701
|
+
* @description Retrieves the Sequence system.
|
|
25702
|
+
* @return Pointer to the sequence system class
|
|
25703
|
+
*/
|
|
25704
|
+
|
|
25705
|
+
getSequenceSystem(): Systems.SequenceSystem {
|
|
25706
|
+
var _ret = Module._malloc(8);
|
|
25707
|
+
|
|
25708
|
+
Module.ccall(
|
|
25709
|
+
"csp_systems_SystemsManager_GetSequenceSystem_SequenceSystemP",
|
|
25710
|
+
"void",
|
|
25711
|
+
["number", "number"],
|
|
25712
|
+
[_ret, this.pointer],
|
|
25713
|
+
);
|
|
25714
|
+
var _nPtr = new Systems.SequenceSystem(getNativePointer(_ret));
|
|
25715
|
+
Module._free(_ret);
|
|
25716
|
+
|
|
25717
|
+
return _nPtr;
|
|
25718
|
+
}
|
|
25719
|
+
|
|
25457
25720
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem {
|
|
25458
25721
|
var _ret = Module._malloc(8);
|
|
25459
25722
|
|
|
@@ -29863,6 +30126,122 @@ export namespace Systems {
|
|
|
29863
30126
|
}
|
|
29864
30127
|
}
|
|
29865
30128
|
|
|
30129
|
+
export namespace Systems {
|
|
30130
|
+
/**
|
|
30131
|
+
@ingroup Sequence System
|
|
30132
|
+
* @description A basic class abstraction for a sequence, including key, and reference variables, and items.
|
|
30133
|
+
*/
|
|
30134
|
+
export class Sequence extends NativeClassWrapper implements INativeResource {
|
|
30135
|
+
/** @internal */
|
|
30136
|
+
constructor(pointer: NativePointer) {
|
|
30137
|
+
super(pointer);
|
|
30138
|
+
}
|
|
30139
|
+
|
|
30140
|
+
static create(): Sequence {
|
|
30141
|
+
var _ptr = Module._malloc(8);
|
|
30142
|
+
Module.ccall("csp_systems_Sequence_Ctor", "void", ["number"], [_ptr]);
|
|
30143
|
+
var _nPtr = getNativePointer(_ptr);
|
|
30144
|
+
|
|
30145
|
+
return new Sequence(_nPtr);
|
|
30146
|
+
}
|
|
30147
|
+
|
|
30148
|
+
delete(): void {
|
|
30149
|
+
if (this.ownsPointer && !this.disposed) {
|
|
30150
|
+
Module.ccall(
|
|
30151
|
+
"csp_systems_Sequence_Dtor",
|
|
30152
|
+
"void",
|
|
30153
|
+
["number"],
|
|
30154
|
+
[this.pointer],
|
|
30155
|
+
);
|
|
30156
|
+
|
|
30157
|
+
this.disposed = true;
|
|
30158
|
+
}
|
|
30159
|
+
}
|
|
30160
|
+
|
|
30161
|
+
get key(): string {
|
|
30162
|
+
let _result = Module.ccall(
|
|
30163
|
+
"csp_systems_Sequence__Get_Key",
|
|
30164
|
+
"string",
|
|
30165
|
+
["number"],
|
|
30166
|
+
[this.pointer],
|
|
30167
|
+
);
|
|
30168
|
+
|
|
30169
|
+
return _result;
|
|
30170
|
+
}
|
|
30171
|
+
|
|
30172
|
+
set key(value: string) {
|
|
30173
|
+
Module.ccall(
|
|
30174
|
+
"csp_systems_Sequence__Set_Key",
|
|
30175
|
+
"void",
|
|
30176
|
+
["number", "string"],
|
|
30177
|
+
[this.pointer, value],
|
|
30178
|
+
);
|
|
30179
|
+
}
|
|
30180
|
+
|
|
30181
|
+
get referenceType(): string {
|
|
30182
|
+
let _result = Module.ccall(
|
|
30183
|
+
"csp_systems_Sequence__Get_ReferenceType",
|
|
30184
|
+
"string",
|
|
30185
|
+
["number"],
|
|
30186
|
+
[this.pointer],
|
|
30187
|
+
);
|
|
30188
|
+
|
|
30189
|
+
return _result;
|
|
30190
|
+
}
|
|
30191
|
+
|
|
30192
|
+
set referenceType(value: string) {
|
|
30193
|
+
Module.ccall(
|
|
30194
|
+
"csp_systems_Sequence__Set_ReferenceType",
|
|
30195
|
+
"void",
|
|
30196
|
+
["number", "string"],
|
|
30197
|
+
[this.pointer, value],
|
|
30198
|
+
);
|
|
30199
|
+
}
|
|
30200
|
+
|
|
30201
|
+
get referenceId(): string {
|
|
30202
|
+
let _result = Module.ccall(
|
|
30203
|
+
"csp_systems_Sequence__Get_ReferenceId",
|
|
30204
|
+
"string",
|
|
30205
|
+
["number"],
|
|
30206
|
+
[this.pointer],
|
|
30207
|
+
);
|
|
30208
|
+
|
|
30209
|
+
return _result;
|
|
30210
|
+
}
|
|
30211
|
+
|
|
30212
|
+
set referenceId(value: string) {
|
|
30213
|
+
Module.ccall(
|
|
30214
|
+
"csp_systems_Sequence__Set_ReferenceId",
|
|
30215
|
+
"void",
|
|
30216
|
+
["number", "string"],
|
|
30217
|
+
[this.pointer, value],
|
|
30218
|
+
);
|
|
30219
|
+
}
|
|
30220
|
+
|
|
30221
|
+
get items(): Common.Array<string> {
|
|
30222
|
+
const _ptr = Module._malloc(8);
|
|
30223
|
+
Module.ccall(
|
|
30224
|
+
"csp_systems_Sequence__Get_Items",
|
|
30225
|
+
"void",
|
|
30226
|
+
["number", "number"],
|
|
30227
|
+
[_ptr, this.pointer],
|
|
30228
|
+
);
|
|
30229
|
+
|
|
30230
|
+
const _nPtr = getNativePointer(_ptr);
|
|
30231
|
+
return new Common.Array<string>(_nPtr, StringFactory, "String");
|
|
30232
|
+
}
|
|
30233
|
+
|
|
30234
|
+
set items(value: Common.Array<string>) {
|
|
30235
|
+
Module.ccall(
|
|
30236
|
+
"csp_systems_Sequence__Set_Items",
|
|
30237
|
+
"void",
|
|
30238
|
+
["number", "number"],
|
|
30239
|
+
[this.pointer, value.pointer],
|
|
30240
|
+
);
|
|
30241
|
+
}
|
|
30242
|
+
}
|
|
30243
|
+
}
|
|
30244
|
+
|
|
29866
30245
|
export namespace Systems {
|
|
29867
30246
|
/**
|
|
29868
30247
|
@ingroup Settings System
|
|
@@ -37741,6 +38120,313 @@ export namespace Multiplayer {
|
|
|
37741
38120
|
}
|
|
37742
38121
|
}
|
|
37743
38122
|
|
|
38123
|
+
export namespace Multiplayer {
|
|
38124
|
+
/**
|
|
38125
|
+
@ingroup HotspotSpaceComponent
|
|
38126
|
+
* @description Data representation of an HotspotSpaceComponent.
|
|
38127
|
+
*/
|
|
38128
|
+
export class HotspotSpaceComponent
|
|
38129
|
+
extends Multiplayer.ComponentBase
|
|
38130
|
+
implements
|
|
38131
|
+
Multiplayer.IPositionComponent,
|
|
38132
|
+
Multiplayer.IRotationComponent,
|
|
38133
|
+
Multiplayer.IVisibleComponent,
|
|
38134
|
+
INativeResource
|
|
38135
|
+
{
|
|
38136
|
+
/** @internal */
|
|
38137
|
+
constructor(pointer: NativePointer) {
|
|
38138
|
+
super(pointer);
|
|
38139
|
+
}
|
|
38140
|
+
|
|
38141
|
+
static fromComponentBase(
|
|
38142
|
+
baseInstance: Multiplayer.ComponentBase,
|
|
38143
|
+
): Multiplayer.HotspotSpaceComponent {
|
|
38144
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
38145
|
+
return new Multiplayer.HotspotSpaceComponent(
|
|
38146
|
+
new NativePointer(
|
|
38147
|
+
nativeClassWrapper.pointer,
|
|
38148
|
+
nativeClassWrapper.ownsPointer,
|
|
38149
|
+
),
|
|
38150
|
+
);
|
|
38151
|
+
}
|
|
38152
|
+
|
|
38153
|
+
/**
|
|
38154
|
+
* @description Constructs the Hotspot space component, and associates it with the specified Parent space entity.
|
|
38155
|
+
* @param parent - The Space entity that owns this component.
|
|
38156
|
+
*/
|
|
38157
|
+
static create_parent(
|
|
38158
|
+
parent: Multiplayer.SpaceEntity,
|
|
38159
|
+
): HotspotSpaceComponent {
|
|
38160
|
+
var _ptr = Module._malloc(8);
|
|
38161
|
+
Module.ccall(
|
|
38162
|
+
"csp_multiplayer_HotspotSpaceComponent_Ctor_SpaceEntityP",
|
|
38163
|
+
"void",
|
|
38164
|
+
["number", "number"],
|
|
38165
|
+
[_ptr, parent.pointer],
|
|
38166
|
+
);
|
|
38167
|
+
var _nPtr = getNativePointer(_ptr);
|
|
38168
|
+
|
|
38169
|
+
return new HotspotSpaceComponent(_nPtr);
|
|
38170
|
+
}
|
|
38171
|
+
|
|
38172
|
+
/**
|
|
38173
|
+
* @description Gets the Name of the Hotspot.
|
|
38174
|
+
* @return The Name of the Hotspot.
|
|
38175
|
+
*/
|
|
38176
|
+
|
|
38177
|
+
getName(): string {
|
|
38178
|
+
let _result = Module.ccall(
|
|
38179
|
+
"csp_multiplayer_HotspotSpaceComponent_GetNameC_StringRC",
|
|
38180
|
+
"number",
|
|
38181
|
+
["number"],
|
|
38182
|
+
[this.pointer],
|
|
38183
|
+
);
|
|
38184
|
+
|
|
38185
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
38186
|
+
free(_result);
|
|
38187
|
+
|
|
38188
|
+
_result = _resultString;
|
|
38189
|
+
|
|
38190
|
+
return _result;
|
|
38191
|
+
}
|
|
38192
|
+
|
|
38193
|
+
/**
|
|
38194
|
+
* @description Sets the Name of this Hotspot.
|
|
38195
|
+
* @param value - The Name of this Hotspot.
|
|
38196
|
+
*/
|
|
38197
|
+
|
|
38198
|
+
setName(value: string): void {
|
|
38199
|
+
Module.ccall(
|
|
38200
|
+
"csp_multiplayer_HotspotSpaceComponent_SetName_void_StringRC",
|
|
38201
|
+
"void",
|
|
38202
|
+
["number", "string"],
|
|
38203
|
+
[this.pointer, value],
|
|
38204
|
+
);
|
|
38205
|
+
}
|
|
38206
|
+
|
|
38207
|
+
/**
|
|
38208
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
38209
|
+
*/
|
|
38210
|
+
|
|
38211
|
+
getIsTeleportPoint(): boolean {
|
|
38212
|
+
let _result = Module.ccall(
|
|
38213
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsTeleportPointC_bool",
|
|
38214
|
+
"boolean",
|
|
38215
|
+
["number"],
|
|
38216
|
+
[this.pointer],
|
|
38217
|
+
);
|
|
38218
|
+
|
|
38219
|
+
return _result;
|
|
38220
|
+
}
|
|
38221
|
+
|
|
38222
|
+
/**
|
|
38223
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
38224
|
+
* @param inValue - The teleport point state flag value.
|
|
38225
|
+
*/
|
|
38226
|
+
|
|
38227
|
+
setIsTeleportPoint(value: boolean): void {
|
|
38228
|
+
Module.ccall(
|
|
38229
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsTeleportPoint_void_bool",
|
|
38230
|
+
"void",
|
|
38231
|
+
["number", "boolean"],
|
|
38232
|
+
[this.pointer, value],
|
|
38233
|
+
);
|
|
38234
|
+
}
|
|
38235
|
+
|
|
38236
|
+
/**
|
|
38237
|
+
* @description Gets the IsSpawnPoint of this Hotspot.
|
|
38238
|
+
*/
|
|
38239
|
+
|
|
38240
|
+
getIsSpawnPoint(): boolean {
|
|
38241
|
+
let _result = Module.ccall(
|
|
38242
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsSpawnPointC_bool",
|
|
38243
|
+
"boolean",
|
|
38244
|
+
["number"],
|
|
38245
|
+
[this.pointer],
|
|
38246
|
+
);
|
|
38247
|
+
|
|
38248
|
+
return _result;
|
|
38249
|
+
}
|
|
38250
|
+
|
|
38251
|
+
/**
|
|
38252
|
+
* @description Sets this Hotspot to be a spawn point.
|
|
38253
|
+
* @param inValue - The spawn point state flag value.
|
|
38254
|
+
*/
|
|
38255
|
+
|
|
38256
|
+
setIsSpawnPoint(value: boolean): void {
|
|
38257
|
+
Module.ccall(
|
|
38258
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsSpawnPoint_void_bool",
|
|
38259
|
+
"void",
|
|
38260
|
+
["number", "boolean"],
|
|
38261
|
+
[this.pointer, value],
|
|
38262
|
+
);
|
|
38263
|
+
}
|
|
38264
|
+
|
|
38265
|
+
/**
|
|
38266
|
+
* @description Gets a unique identifier for this component in the hierarchy.
|
|
38267
|
+
* NOTE: This does not give a complete hierarchy path, only the entityId of the parent for the component.
|
|
38268
|
+
* @return Componentid'.
|
|
38269
|
+
*/
|
|
38270
|
+
|
|
38271
|
+
getUniqueComponentId(): string {
|
|
38272
|
+
let _result = Module.ccall(
|
|
38273
|
+
"csp_multiplayer_HotspotSpaceComponent_GetUniqueComponentIdC_StringRC",
|
|
38274
|
+
"number",
|
|
38275
|
+
["number"],
|
|
38276
|
+
[this.pointer],
|
|
38277
|
+
);
|
|
38278
|
+
|
|
38279
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
38280
|
+
free(_result);
|
|
38281
|
+
|
|
38282
|
+
_result = _resultString;
|
|
38283
|
+
|
|
38284
|
+
return _result;
|
|
38285
|
+
}
|
|
38286
|
+
|
|
38287
|
+
/**
|
|
38288
|
+
* \addtogroup IPositionComponent
|
|
38289
|
+
@{
|
|
38290
|
+
@copydoc IPositionComponent::GetPosition()
|
|
38291
|
+
*/
|
|
38292
|
+
|
|
38293
|
+
getPosition(): Common.Vector3 {
|
|
38294
|
+
var _ret = Module._malloc(8);
|
|
38295
|
+
|
|
38296
|
+
Module.ccall(
|
|
38297
|
+
"csp_multiplayer_HotspotSpaceComponent_GetPositionC_Vector3RC",
|
|
38298
|
+
"void",
|
|
38299
|
+
["number", "number"],
|
|
38300
|
+
[_ret, this.pointer],
|
|
38301
|
+
);
|
|
38302
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
38303
|
+
Module._free(_ret);
|
|
38304
|
+
|
|
38305
|
+
return _nPtr;
|
|
38306
|
+
}
|
|
38307
|
+
|
|
38308
|
+
/**
|
|
38309
|
+
@copydoc IPositionComponent::SetPosition()
|
|
38310
|
+
*/
|
|
38311
|
+
|
|
38312
|
+
setPosition(value: Common.Vector3): void {
|
|
38313
|
+
Module.ccall(
|
|
38314
|
+
"csp_multiplayer_HotspotSpaceComponent_SetPosition_void_Vector3RC",
|
|
38315
|
+
"void",
|
|
38316
|
+
["number", "number"],
|
|
38317
|
+
[this.pointer, value.pointer],
|
|
38318
|
+
);
|
|
38319
|
+
}
|
|
38320
|
+
|
|
38321
|
+
/**
|
|
38322
|
+
@}
|
|
38323
|
+
* \addtogroup IRotationComponent
|
|
38324
|
+
@{
|
|
38325
|
+
@copydoc IRotationComponent::GetRotation()
|
|
38326
|
+
*/
|
|
38327
|
+
|
|
38328
|
+
getRotation(): Common.Vector4 {
|
|
38329
|
+
var _ret = Module._malloc(8);
|
|
38330
|
+
|
|
38331
|
+
Module.ccall(
|
|
38332
|
+
"csp_multiplayer_HotspotSpaceComponent_GetRotationC_Vector4RC",
|
|
38333
|
+
"void",
|
|
38334
|
+
["number", "number"],
|
|
38335
|
+
[_ret, this.pointer],
|
|
38336
|
+
);
|
|
38337
|
+
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
38338
|
+
Module._free(_ret);
|
|
38339
|
+
|
|
38340
|
+
return _nPtr;
|
|
38341
|
+
}
|
|
38342
|
+
|
|
38343
|
+
/**
|
|
38344
|
+
@copydoc IRotationComponent::SetRotation()
|
|
38345
|
+
*/
|
|
38346
|
+
|
|
38347
|
+
setRotation(value: Common.Vector4): void {
|
|
38348
|
+
Module.ccall(
|
|
38349
|
+
"csp_multiplayer_HotspotSpaceComponent_SetRotation_void_Vector4RC",
|
|
38350
|
+
"void",
|
|
38351
|
+
["number", "number"],
|
|
38352
|
+
[this.pointer, value.pointer],
|
|
38353
|
+
);
|
|
38354
|
+
}
|
|
38355
|
+
|
|
38356
|
+
/**
|
|
38357
|
+
@}
|
|
38358
|
+
* \addtogroup IVisibleComponent
|
|
38359
|
+
@{
|
|
38360
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
38361
|
+
*/
|
|
38362
|
+
|
|
38363
|
+
getIsVisible(): boolean {
|
|
38364
|
+
let _result = Module.ccall(
|
|
38365
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsVisibleC_bool",
|
|
38366
|
+
"boolean",
|
|
38367
|
+
["number"],
|
|
38368
|
+
[this.pointer],
|
|
38369
|
+
);
|
|
38370
|
+
|
|
38371
|
+
return _result;
|
|
38372
|
+
}
|
|
38373
|
+
|
|
38374
|
+
/**
|
|
38375
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
38376
|
+
*/
|
|
38377
|
+
|
|
38378
|
+
setIsVisible(value: boolean): void {
|
|
38379
|
+
Module.ccall(
|
|
38380
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsVisible_void_bool",
|
|
38381
|
+
"void",
|
|
38382
|
+
["number", "boolean"],
|
|
38383
|
+
[this.pointer, value],
|
|
38384
|
+
);
|
|
38385
|
+
}
|
|
38386
|
+
|
|
38387
|
+
/**
|
|
38388
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
38389
|
+
*/
|
|
38390
|
+
|
|
38391
|
+
getIsARVisible(): boolean {
|
|
38392
|
+
let _result = Module.ccall(
|
|
38393
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsARVisibleC_bool",
|
|
38394
|
+
"boolean",
|
|
38395
|
+
["number"],
|
|
38396
|
+
[this.pointer],
|
|
38397
|
+
);
|
|
38398
|
+
|
|
38399
|
+
return _result;
|
|
38400
|
+
}
|
|
38401
|
+
|
|
38402
|
+
/**
|
|
38403
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
38404
|
+
*/
|
|
38405
|
+
|
|
38406
|
+
setIsARVisible(value: boolean): void {
|
|
38407
|
+
Module.ccall(
|
|
38408
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsARVisible_void_bool",
|
|
38409
|
+
"void",
|
|
38410
|
+
["number", "boolean"],
|
|
38411
|
+
[this.pointer, value],
|
|
38412
|
+
);
|
|
38413
|
+
}
|
|
38414
|
+
|
|
38415
|
+
delete(): void {
|
|
38416
|
+
if (this.ownsPointer && !this.disposed) {
|
|
38417
|
+
Module.ccall(
|
|
38418
|
+
"csp_multiplayer_HotspotSpaceComponent_Dtor",
|
|
38419
|
+
"void",
|
|
38420
|
+
["number"],
|
|
38421
|
+
[this.pointer],
|
|
38422
|
+
);
|
|
38423
|
+
|
|
38424
|
+
this.disposed = true;
|
|
38425
|
+
}
|
|
38426
|
+
}
|
|
38427
|
+
}
|
|
38428
|
+
}
|
|
38429
|
+
|
|
37744
38430
|
export namespace Multiplayer {
|
|
37745
38431
|
/**
|
|
37746
38432
|
@ingroup ImageSpaceComponent
|
|
@@ -45537,7 +46223,9 @@ export namespace Systems {
|
|
|
45537
46223
|
* @param callback - Callback when asynchronous task finishes
|
|
45538
46224
|
*/
|
|
45539
46225
|
|
|
45540
|
-
async getMaintenanceInfo(
|
|
46226
|
+
async getMaintenanceInfo(
|
|
46227
|
+
maintenanceURL: string,
|
|
46228
|
+
): Promise<Systems.MaintenanceInfoResult> {
|
|
45541
46229
|
var _resolve;
|
|
45542
46230
|
|
|
45543
46231
|
var _promise = new Promise<Systems.MaintenanceInfoResult>((_r) => {
|
|
@@ -45561,10 +46249,10 @@ export namespace Systems {
|
|
|
45561
46249
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
45562
46250
|
|
|
45563
46251
|
Module.ccall(
|
|
45564
|
-
"
|
|
46252
|
+
"csp_systems_MaintenanceSystem_GetMaintenanceInfo_void_StringRC_MaintenanceInfoCallback",
|
|
45565
46253
|
"void",
|
|
45566
|
-
["number", "number", "number"],
|
|
45567
|
-
[this.pointer, _callbackPtr, 0],
|
|
46254
|
+
["number", "string", "number", "number"],
|
|
46255
|
+
[this.pointer, maintenanceURL, _callbackPtr, 0],
|
|
45568
46256
|
);
|
|
45569
46257
|
|
|
45570
46258
|
return _promise;
|
|
@@ -46827,6 +47515,339 @@ export namespace Systems {
|
|
|
46827
47515
|
}
|
|
46828
47516
|
}
|
|
46829
47517
|
|
|
47518
|
+
export namespace Systems {
|
|
47519
|
+
/**
|
|
47520
|
+
@ingroup Sequence System
|
|
47521
|
+
* @description Result structure for a sequence result
|
|
47522
|
+
*/
|
|
47523
|
+
export class SequenceResult
|
|
47524
|
+
extends Systems.ResultBase
|
|
47525
|
+
implements INativeResource
|
|
47526
|
+
{
|
|
47527
|
+
/** @internal */
|
|
47528
|
+
constructor(pointer: NativePointer) {
|
|
47529
|
+
super(pointer);
|
|
47530
|
+
}
|
|
47531
|
+
|
|
47532
|
+
static fromResultBase(
|
|
47533
|
+
baseInstance: Systems.ResultBase,
|
|
47534
|
+
): Systems.SequenceResult {
|
|
47535
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47536
|
+
return new Systems.SequenceResult(
|
|
47537
|
+
new NativePointer(
|
|
47538
|
+
nativeClassWrapper.pointer,
|
|
47539
|
+
nativeClassWrapper.ownsPointer,
|
|
47540
|
+
),
|
|
47541
|
+
);
|
|
47542
|
+
}
|
|
47543
|
+
|
|
47544
|
+
getSequence(): Systems.Sequence {
|
|
47545
|
+
var _ret = Module._malloc(8);
|
|
47546
|
+
|
|
47547
|
+
Module.ccall(
|
|
47548
|
+
"csp_systems_SequenceResult_GetSequenceC_SequenceRC",
|
|
47549
|
+
"void",
|
|
47550
|
+
["number", "number"],
|
|
47551
|
+
[_ret, this.pointer],
|
|
47552
|
+
);
|
|
47553
|
+
var _nPtr = new Systems.Sequence(getNativePointer(_ret));
|
|
47554
|
+
Module._free(_ret);
|
|
47555
|
+
|
|
47556
|
+
return _nPtr;
|
|
47557
|
+
}
|
|
47558
|
+
|
|
47559
|
+
delete(): void {
|
|
47560
|
+
if (this.ownsPointer && !this.disposed) {
|
|
47561
|
+
Module.ccall(
|
|
47562
|
+
"csp_systems_SequenceResult_Dtor",
|
|
47563
|
+
"void",
|
|
47564
|
+
["number"],
|
|
47565
|
+
[this.pointer],
|
|
47566
|
+
);
|
|
47567
|
+
|
|
47568
|
+
this.disposed = true;
|
|
47569
|
+
}
|
|
47570
|
+
}
|
|
47571
|
+
}
|
|
47572
|
+
}
|
|
47573
|
+
|
|
47574
|
+
export namespace Systems {
|
|
47575
|
+
/**
|
|
47576
|
+
@ingroup Sequence System
|
|
47577
|
+
* @description Data class used to contain information when attempting to get an array of sequences.
|
|
47578
|
+
*/
|
|
47579
|
+
export class SequencesResult
|
|
47580
|
+
extends Systems.ResultBase
|
|
47581
|
+
implements INativeResource
|
|
47582
|
+
{
|
|
47583
|
+
/** @internal */
|
|
47584
|
+
constructor(pointer: NativePointer) {
|
|
47585
|
+
super(pointer);
|
|
47586
|
+
}
|
|
47587
|
+
|
|
47588
|
+
static fromResultBase(
|
|
47589
|
+
baseInstance: Systems.ResultBase,
|
|
47590
|
+
): Systems.SequencesResult {
|
|
47591
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47592
|
+
return new Systems.SequencesResult(
|
|
47593
|
+
new NativePointer(
|
|
47594
|
+
nativeClassWrapper.pointer,
|
|
47595
|
+
nativeClassWrapper.ownsPointer,
|
|
47596
|
+
),
|
|
47597
|
+
);
|
|
47598
|
+
}
|
|
47599
|
+
|
|
47600
|
+
getSequences(): Common.Array<Systems.Sequence> {
|
|
47601
|
+
var _ret = Module._malloc(8);
|
|
47602
|
+
|
|
47603
|
+
Module.ccall(
|
|
47604
|
+
"csp_systems_SequencesResult_GetSequencesC_ArrayRC",
|
|
47605
|
+
"void",
|
|
47606
|
+
["number", "number"],
|
|
47607
|
+
[_ret, this.pointer],
|
|
47608
|
+
);
|
|
47609
|
+
var _nPtr = new Common.Array<Systems.Sequence>(
|
|
47610
|
+
getNativePointer(_ret),
|
|
47611
|
+
csp_systems_SequenceFactory,
|
|
47612
|
+
"csp_systems_Sequence",
|
|
47613
|
+
);
|
|
47614
|
+
Module._free(_ret);
|
|
47615
|
+
|
|
47616
|
+
return _nPtr;
|
|
47617
|
+
}
|
|
47618
|
+
|
|
47619
|
+
delete(): void {
|
|
47620
|
+
if (this.ownsPointer && !this.disposed) {
|
|
47621
|
+
Module.ccall(
|
|
47622
|
+
"csp_systems_SequencesResult_Dtor",
|
|
47623
|
+
"void",
|
|
47624
|
+
["number"],
|
|
47625
|
+
[this.pointer],
|
|
47626
|
+
);
|
|
47627
|
+
|
|
47628
|
+
this.disposed = true;
|
|
47629
|
+
}
|
|
47630
|
+
}
|
|
47631
|
+
}
|
|
47632
|
+
}
|
|
47633
|
+
|
|
47634
|
+
export namespace Systems {
|
|
47635
|
+
/**
|
|
47636
|
+
@ingroup Sequence System
|
|
47637
|
+
* @description Public facing system that allows the management of groupings of items in a space.
|
|
47638
|
+
*/
|
|
47639
|
+
export class SequenceSystem extends Systems.SystemBase {
|
|
47640
|
+
/** @internal */
|
|
47641
|
+
constructor(pointer: NativePointer) {
|
|
47642
|
+
super(pointer);
|
|
47643
|
+
}
|
|
47644
|
+
|
|
47645
|
+
static fromSystemBase(
|
|
47646
|
+
baseInstance: Systems.SystemBase,
|
|
47647
|
+
): Systems.SequenceSystem {
|
|
47648
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47649
|
+
return new Systems.SequenceSystem(
|
|
47650
|
+
new NativePointer(
|
|
47651
|
+
nativeClassWrapper.pointer,
|
|
47652
|
+
nativeClassWrapper.ownsPointer,
|
|
47653
|
+
),
|
|
47654
|
+
);
|
|
47655
|
+
}
|
|
47656
|
+
|
|
47657
|
+
/**
|
|
47658
|
+
* @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
|
|
47659
|
+
* isn't a creator of the space.
|
|
47660
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
47661
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
47662
|
+
* @param referenceId - The id of the reference
|
|
47663
|
+
* @param items - An ordered array of members
|
|
47664
|
+
* @param callback - Callback to call when a response is received
|
|
47665
|
+
*/
|
|
47666
|
+
|
|
47667
|
+
createSequence(
|
|
47668
|
+
sequenceKey: string,
|
|
47669
|
+
referenceType: string,
|
|
47670
|
+
referenceId: string,
|
|
47671
|
+
items: Common.Array<string>,
|
|
47672
|
+
callback: (result: Systems.SequenceResult) => void,
|
|
47673
|
+
): void {
|
|
47674
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47675
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
47676
|
+
callback(_result);
|
|
47677
|
+
};
|
|
47678
|
+
|
|
47679
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47680
|
+
|
|
47681
|
+
Module.ccall(
|
|
47682
|
+
"csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
|
|
47683
|
+
"void",
|
|
47684
|
+
["number", "string", "string", "string", "number", "number"],
|
|
47685
|
+
[
|
|
47686
|
+
this.pointer,
|
|
47687
|
+
sequenceKey,
|
|
47688
|
+
referenceType,
|
|
47689
|
+
referenceId,
|
|
47690
|
+
items.pointer,
|
|
47691
|
+
callbackPtr,
|
|
47692
|
+
],
|
|
47693
|
+
);
|
|
47694
|
+
}
|
|
47695
|
+
|
|
47696
|
+
/**
|
|
47697
|
+
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
47698
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
47699
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
47700
|
+
* @param referenceId - The id of the reference
|
|
47701
|
+
* @param items - An ordered array of members
|
|
47702
|
+
* @param callback - Callback to call when a response is received
|
|
47703
|
+
*/
|
|
47704
|
+
|
|
47705
|
+
updateSequence(
|
|
47706
|
+
sequenceKey: string,
|
|
47707
|
+
referenceType: string,
|
|
47708
|
+
referenceId: string,
|
|
47709
|
+
items: Common.Array<string>,
|
|
47710
|
+
callback: (result: Systems.SequenceResult) => void,
|
|
47711
|
+
): void {
|
|
47712
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47713
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
47714
|
+
callback(_result);
|
|
47715
|
+
};
|
|
47716
|
+
|
|
47717
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47718
|
+
|
|
47719
|
+
Module.ccall(
|
|
47720
|
+
"csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
|
|
47721
|
+
"void",
|
|
47722
|
+
["number", "string", "string", "string", "number", "number"],
|
|
47723
|
+
[
|
|
47724
|
+
this.pointer,
|
|
47725
|
+
sequenceKey,
|
|
47726
|
+
referenceType,
|
|
47727
|
+
referenceId,
|
|
47728
|
+
items.pointer,
|
|
47729
|
+
callbackPtr,
|
|
47730
|
+
],
|
|
47731
|
+
);
|
|
47732
|
+
}
|
|
47733
|
+
|
|
47734
|
+
/**
|
|
47735
|
+
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
47736
|
+
* @param oldSequenceKey - The current sequence key name
|
|
47737
|
+
* @param newSequenceKey - The new sequence key name
|
|
47738
|
+
* @param callback - Callback to call when a response is received
|
|
47739
|
+
*/
|
|
47740
|
+
|
|
47741
|
+
renameSequence(
|
|
47742
|
+
oldSequenceKey: string,
|
|
47743
|
+
newSequenceKey: string,
|
|
47744
|
+
callback: (result: Systems.SequenceResult) => void,
|
|
47745
|
+
): void {
|
|
47746
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47747
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
47748
|
+
callback(_result);
|
|
47749
|
+
};
|
|
47750
|
+
|
|
47751
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47752
|
+
|
|
47753
|
+
Module.ccall(
|
|
47754
|
+
"csp_systems_SequenceSystem_RenameSequence_void_StringRC_StringRC_SequenceResultCallback",
|
|
47755
|
+
"void",
|
|
47756
|
+
["number", "string", "string", "number"],
|
|
47757
|
+
[this.pointer, oldSequenceKey, newSequenceKey, callbackPtr],
|
|
47758
|
+
);
|
|
47759
|
+
}
|
|
47760
|
+
|
|
47761
|
+
/**
|
|
47762
|
+
* @description Finds sequences based on the given criteria
|
|
47763
|
+
* @param sequenceKeys - An array of sequence keys to search for
|
|
47764
|
+
* @param sequenceKeys - An optional regex string for searching keys
|
|
47765
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
|
|
47766
|
+
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
47767
|
+
* @param callback - Callback to call when a response is received
|
|
47768
|
+
*/
|
|
47769
|
+
|
|
47770
|
+
getSequencesByCriteria(
|
|
47771
|
+
sequenceKeys: Common.Array<string>,
|
|
47772
|
+
keyRegex: string,
|
|
47773
|
+
referenceType: string,
|
|
47774
|
+
referenceIds: Common.Array<string>,
|
|
47775
|
+
callback: (result: Systems.SequencesResult) => void,
|
|
47776
|
+
): void {
|
|
47777
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47778
|
+
var _result = new Systems.SequencesResult(getNativePointer(result));
|
|
47779
|
+
callback(_result);
|
|
47780
|
+
};
|
|
47781
|
+
|
|
47782
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47783
|
+
|
|
47784
|
+
Module.ccall(
|
|
47785
|
+
"csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_SequencesResultCallback",
|
|
47786
|
+
"void",
|
|
47787
|
+
["number", "number", "string", "string", "number", "number"],
|
|
47788
|
+
[
|
|
47789
|
+
this.pointer,
|
|
47790
|
+
sequenceKeys.pointer,
|
|
47791
|
+
keyRegex,
|
|
47792
|
+
referenceType,
|
|
47793
|
+
referenceIds.pointer,
|
|
47794
|
+
callbackPtr,
|
|
47795
|
+
],
|
|
47796
|
+
);
|
|
47797
|
+
}
|
|
47798
|
+
|
|
47799
|
+
/**
|
|
47800
|
+
* @description Gets a sequence by it's key
|
|
47801
|
+
* @param sequenceKey - The unique grouping name
|
|
47802
|
+
* @param callback - Callback to call when a response is received
|
|
47803
|
+
*/
|
|
47804
|
+
|
|
47805
|
+
getSequence(
|
|
47806
|
+
sequenceKey: string,
|
|
47807
|
+
callback: (result: Systems.SequenceResult) => void,
|
|
47808
|
+
): void {
|
|
47809
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47810
|
+
var _result = new Systems.SequenceResult(getNativePointer(result));
|
|
47811
|
+
callback(_result);
|
|
47812
|
+
};
|
|
47813
|
+
|
|
47814
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47815
|
+
|
|
47816
|
+
Module.ccall(
|
|
47817
|
+
"csp_systems_SequenceSystem_GetSequence_void_StringRC_SequenceResultCallback",
|
|
47818
|
+
"void",
|
|
47819
|
+
["number", "string", "number"],
|
|
47820
|
+
[this.pointer, sequenceKey, callbackPtr],
|
|
47821
|
+
);
|
|
47822
|
+
}
|
|
47823
|
+
|
|
47824
|
+
/**
|
|
47825
|
+
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
47826
|
+
* @param sequenceKeys - An array of sequence keys to delete
|
|
47827
|
+
* @param callback - Callback to call when a response is received
|
|
47828
|
+
*/
|
|
47829
|
+
|
|
47830
|
+
deleteSequences(
|
|
47831
|
+
sequenceKeys: Common.Array<string>,
|
|
47832
|
+
callback: (result: Systems.NullResult) => void,
|
|
47833
|
+
): void {
|
|
47834
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47835
|
+
var _result = new Systems.NullResult(getNativePointer(result));
|
|
47836
|
+
callback(_result);
|
|
47837
|
+
};
|
|
47838
|
+
|
|
47839
|
+
var callbackPtr = Module.addFunction(_callback, "vii");
|
|
47840
|
+
|
|
47841
|
+
Module.ccall(
|
|
47842
|
+
"csp_systems_SequenceSystem_DeleteSequences_void_ArrayRC_NullResultCallback",
|
|
47843
|
+
"void",
|
|
47844
|
+
["number", "number", "number"],
|
|
47845
|
+
[this.pointer, sequenceKeys.pointer, callbackPtr],
|
|
47846
|
+
);
|
|
47847
|
+
}
|
|
47848
|
+
}
|
|
47849
|
+
}
|
|
47850
|
+
|
|
46830
47851
|
export namespace Systems {
|
|
46831
47852
|
/**
|
|
46832
47853
|
@ingroup Settings System
|
|
@@ -53292,6 +54313,24 @@ export namespace Common {
|
|
|
53292
54313
|
return _inst;
|
|
53293
54314
|
}
|
|
53294
54315
|
|
|
54316
|
+
static ofcsp_systems_Sequence(): Array<Systems.Sequence> {
|
|
54317
|
+
var _ret = Module._malloc(8);
|
|
54318
|
+
Module.ccall(
|
|
54319
|
+
"csp_common_Array_Ctor_csp_systems_Sequence",
|
|
54320
|
+
"void",
|
|
54321
|
+
["number"],
|
|
54322
|
+
[_ret],
|
|
54323
|
+
);
|
|
54324
|
+
var _inst = new Array<Systems.Sequence>(
|
|
54325
|
+
getNativePointer(_ret),
|
|
54326
|
+
csp_systems_SequenceFactory,
|
|
54327
|
+
"csp_systems_Sequence",
|
|
54328
|
+
);
|
|
54329
|
+
Module._free(_ret);
|
|
54330
|
+
|
|
54331
|
+
return _inst;
|
|
54332
|
+
}
|
|
54333
|
+
|
|
53295
54334
|
static ofcsp_systems_Site(): Array<Systems.Site> {
|
|
53296
54335
|
var _ret = Module._malloc(8);
|
|
53297
54336
|
Module.ccall(
|
|
@@ -54048,6 +55087,26 @@ export namespace Common {
|
|
|
54048
55087
|
return _inst;
|
|
54049
55088
|
}
|
|
54050
55089
|
|
|
55090
|
+
static ofcsp_systems_Sequence_number(
|
|
55091
|
+
size: number,
|
|
55092
|
+
): Array<Systems.Sequence> {
|
|
55093
|
+
var _ret = Module._malloc(8);
|
|
55094
|
+
Module.ccall(
|
|
55095
|
+
"csp_common_Array_Conv_size_tC_csp_systems_Sequence",
|
|
55096
|
+
"void",
|
|
55097
|
+
["number", "number"],
|
|
55098
|
+
[_ret, size],
|
|
55099
|
+
);
|
|
55100
|
+
var _inst = new Array<Systems.Sequence>(
|
|
55101
|
+
getNativePointer(_ret),
|
|
55102
|
+
csp_systems_SequenceFactory,
|
|
55103
|
+
"csp_systems_Sequence",
|
|
55104
|
+
);
|
|
55105
|
+
Module._free(_ret);
|
|
55106
|
+
|
|
55107
|
+
return _inst;
|
|
55108
|
+
}
|
|
55109
|
+
|
|
54051
55110
|
static ofcsp_systems_Site_number(size: number): Array<Systems.Site> {
|
|
54052
55111
|
var _ret = Module._malloc(8);
|
|
54053
55112
|
Module.ccall(
|