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
|
@@ -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,14 +605,6 @@ function csp_multiplayer_GaussianSplatPropertyKeysFactory(
|
|
|
597
605
|
ProxyClassFactories["csp_multiplayer_GaussianSplatPropertyKeys"] =
|
|
598
606
|
csp_multiplayer_GaussianSplatPropertyKeysFactory;
|
|
599
607
|
|
|
600
|
-
function csp_multiplayer_HotspotTypeFactory(
|
|
601
|
-
nativePointer: NativePointer,
|
|
602
|
-
): Multiplayer.HotspotType {
|
|
603
|
-
return nativePointer.pointer as Multiplayer.HotspotType;
|
|
604
|
-
}
|
|
605
|
-
ProxyClassFactories["csp_multiplayer_HotspotType"] =
|
|
606
|
-
csp_multiplayer_HotspotTypeFactory;
|
|
607
|
-
|
|
608
608
|
function csp_multiplayer_HotspotPropertyKeysFactory(
|
|
609
609
|
nativePointer: NativePointer,
|
|
610
610
|
): Multiplayer.HotspotPropertyKeys {
|
|
@@ -1015,6 +1015,14 @@ function csp_multiplayer_UserPermissionsParamsFactory(
|
|
|
1015
1015
|
ProxyClassFactories["csp_multiplayer_UserPermissionsParams"] =
|
|
1016
1016
|
csp_multiplayer_UserPermissionsParamsFactory;
|
|
1017
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
|
+
|
|
1018
1026
|
function csp_multiplayer_MultiplayerConnectionFactory(
|
|
1019
1027
|
nativePointer: NativePointer,
|
|
1020
1028
|
): NativeClassWrapper {
|
|
@@ -1349,6 +1357,13 @@ function csp_systems_ScriptSystemFactory(
|
|
|
1349
1357
|
ProxyClassFactories["csp_systems_ScriptSystem"] =
|
|
1350
1358
|
csp_systems_ScriptSystemFactory;
|
|
1351
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
|
+
|
|
1352
1367
|
function csp_systems_SettingsCollectionFactory(
|
|
1353
1368
|
nativePointer: NativePointer,
|
|
1354
1369
|
): NativeClassWrapper {
|
|
@@ -2033,6 +2048,30 @@ function csp_systems_QuotaSystemFactory(
|
|
|
2033
2048
|
}
|
|
2034
2049
|
ProxyClassFactories["csp_systems_QuotaSystem"] = csp_systems_QuotaSystemFactory;
|
|
2035
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
|
+
|
|
2036
2075
|
function csp_systems_SettingsCollectionResultFactory(
|
|
2037
2076
|
nativePointer: NativePointer,
|
|
2038
2077
|
): NativeClassWrapper {
|
|
@@ -2569,6 +2608,18 @@ function csp_common_Array_csp_systems_TierFeaturesFactory(
|
|
|
2569
2608
|
ProxyClassFactories["csp_common_Array_csp_systems_TierFeatures"] =
|
|
2570
2609
|
csp_common_Array_csp_systems_TierFeaturesFactory;
|
|
2571
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
|
+
|
|
2572
2623
|
function csp_common_Array_csp_systems_SiteFactory(
|
|
2573
2624
|
nativePointer: NativePointer,
|
|
2574
2625
|
): NativeClassWrapper {
|
|
@@ -2905,6 +2956,14 @@ export namespace Multiplayer {
|
|
|
2905
2956
|
}
|
|
2906
2957
|
}
|
|
2907
2958
|
|
|
2959
|
+
export namespace Multiplayer {
|
|
2960
|
+
export enum ESequenceUpdateType {
|
|
2961
|
+
Create,
|
|
2962
|
+
Update,
|
|
2963
|
+
Delete,
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2908
2967
|
export namespace Multiplayer {
|
|
2909
2968
|
/**
|
|
2910
2969
|
* @description Enum used to specify the current state of the multiplayer connection.
|
|
@@ -3337,13 +3396,6 @@ export namespace Multiplayer {
|
|
|
3337
3396
|
}
|
|
3338
3397
|
}
|
|
3339
3398
|
|
|
3340
|
-
export namespace Multiplayer {
|
|
3341
|
-
export enum HotspotType {
|
|
3342
|
-
TeleportHotspot = 0,
|
|
3343
|
-
SpawnHotspot,
|
|
3344
|
-
}
|
|
3345
|
-
}
|
|
3346
|
-
|
|
3347
3399
|
export namespace Multiplayer {
|
|
3348
3400
|
/**
|
|
3349
3401
|
* @description Enumerates the list of properties that can be replicated for an Hotspot space component.
|
|
@@ -3352,7 +3404,8 @@ export namespace Multiplayer {
|
|
|
3352
3404
|
Position,
|
|
3353
3405
|
Rotation,
|
|
3354
3406
|
Name,
|
|
3355
|
-
|
|
3407
|
+
IsTeleportPoint,
|
|
3408
|
+
IsSpawnPoint,
|
|
3356
3409
|
IsVisible,
|
|
3357
3410
|
IsARVisible,
|
|
3358
3411
|
Num,
|
|
@@ -3861,6 +3914,7 @@ export namespace Systems {
|
|
|
3861
3914
|
export namespace Systems {
|
|
3862
3915
|
export enum EPointOfInterestType {
|
|
3863
3916
|
DEFAULT,
|
|
3917
|
+
SPACE,
|
|
3864
3918
|
}
|
|
3865
3919
|
}
|
|
3866
3920
|
|
|
@@ -21657,6 +21711,104 @@ export namespace Multiplayer {
|
|
|
21657
21711
|
}
|
|
21658
21712
|
}
|
|
21659
21713
|
|
|
21714
|
+
export namespace Multiplayer {
|
|
21715
|
+
export class SequenceChangedParams
|
|
21716
|
+
extends NativeClassWrapper
|
|
21717
|
+
implements INativeResource
|
|
21718
|
+
{
|
|
21719
|
+
/** @internal */
|
|
21720
|
+
constructor(pointer: NativePointer) {
|
|
21721
|
+
super(pointer);
|
|
21722
|
+
}
|
|
21723
|
+
|
|
21724
|
+
static create(): SequenceChangedParams {
|
|
21725
|
+
var _ptr = Module._malloc(8);
|
|
21726
|
+
Module.ccall(
|
|
21727
|
+
"csp_multiplayer_SequenceChangedParams_Ctor",
|
|
21728
|
+
"void",
|
|
21729
|
+
["number"],
|
|
21730
|
+
[_ptr],
|
|
21731
|
+
);
|
|
21732
|
+
var _nPtr = getNativePointer(_ptr);
|
|
21733
|
+
|
|
21734
|
+
return new SequenceChangedParams(_nPtr);
|
|
21735
|
+
}
|
|
21736
|
+
|
|
21737
|
+
delete(): void {
|
|
21738
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21739
|
+
Module.ccall(
|
|
21740
|
+
"csp_multiplayer_SequenceChangedParams_Dtor",
|
|
21741
|
+
"void",
|
|
21742
|
+
["number"],
|
|
21743
|
+
[this.pointer],
|
|
21744
|
+
);
|
|
21745
|
+
|
|
21746
|
+
this.disposed = true;
|
|
21747
|
+
}
|
|
21748
|
+
}
|
|
21749
|
+
|
|
21750
|
+
get updateType(): Multiplayer.ESequenceUpdateType {
|
|
21751
|
+
let _result = Module.ccall(
|
|
21752
|
+
"csp_multiplayer_SequenceChangedParams__Get_UpdateType",
|
|
21753
|
+
"number",
|
|
21754
|
+
["number"],
|
|
21755
|
+
[this.pointer],
|
|
21756
|
+
);
|
|
21757
|
+
|
|
21758
|
+
return _result;
|
|
21759
|
+
}
|
|
21760
|
+
|
|
21761
|
+
set updateType(value: Multiplayer.ESequenceUpdateType) {
|
|
21762
|
+
Module.ccall(
|
|
21763
|
+
"csp_multiplayer_SequenceChangedParams__Set_UpdateType",
|
|
21764
|
+
"void",
|
|
21765
|
+
["number", "number"],
|
|
21766
|
+
[this.pointer, value],
|
|
21767
|
+
);
|
|
21768
|
+
}
|
|
21769
|
+
|
|
21770
|
+
get key(): string {
|
|
21771
|
+
let _result = Module.ccall(
|
|
21772
|
+
"csp_multiplayer_SequenceChangedParams__Get_Key",
|
|
21773
|
+
"string",
|
|
21774
|
+
["number"],
|
|
21775
|
+
[this.pointer],
|
|
21776
|
+
);
|
|
21777
|
+
|
|
21778
|
+
return _result;
|
|
21779
|
+
}
|
|
21780
|
+
|
|
21781
|
+
set key(value: string) {
|
|
21782
|
+
Module.ccall(
|
|
21783
|
+
"csp_multiplayer_SequenceChangedParams__Set_Key",
|
|
21784
|
+
"void",
|
|
21785
|
+
["number", "string"],
|
|
21786
|
+
[this.pointer, value],
|
|
21787
|
+
);
|
|
21788
|
+
}
|
|
21789
|
+
|
|
21790
|
+
get newKey(): string {
|
|
21791
|
+
let _result = Module.ccall(
|
|
21792
|
+
"csp_multiplayer_SequenceChangedParams__Get_NewKey",
|
|
21793
|
+
"string",
|
|
21794
|
+
["number"],
|
|
21795
|
+
[this.pointer],
|
|
21796
|
+
);
|
|
21797
|
+
|
|
21798
|
+
return _result;
|
|
21799
|
+
}
|
|
21800
|
+
|
|
21801
|
+
set newKey(value: string) {
|
|
21802
|
+
Module.ccall(
|
|
21803
|
+
"csp_multiplayer_SequenceChangedParams__Set_NewKey",
|
|
21804
|
+
"void",
|
|
21805
|
+
["number", "string"],
|
|
21806
|
+
[this.pointer, value],
|
|
21807
|
+
);
|
|
21808
|
+
}
|
|
21809
|
+
}
|
|
21810
|
+
}
|
|
21811
|
+
|
|
21660
21812
|
export namespace Multiplayer {
|
|
21661
21813
|
/**
|
|
21662
21814
|
@ingroup Multiplayer
|
|
@@ -21904,6 +22056,31 @@ export namespace Multiplayer {
|
|
|
21904
22056
|
);
|
|
21905
22057
|
}
|
|
21906
22058
|
|
|
22059
|
+
/**
|
|
22060
|
+
* @description Sets a callback for a sequence changed event.
|
|
22061
|
+
* @param callback - Callback to receive data for the sequence that has been changed.
|
|
22062
|
+
*/
|
|
22063
|
+
setSequenceChangedCallback(
|
|
22064
|
+
callback: (arg1: Multiplayer.SequenceChangedParams) => void,
|
|
22065
|
+
) {
|
|
22066
|
+
var _callback = (_stateObject__: number, arg1) => {
|
|
22067
|
+
var _arg1 = new Multiplayer.SequenceChangedParams(
|
|
22068
|
+
getNativePointer(arg1),
|
|
22069
|
+
);
|
|
22070
|
+
|
|
22071
|
+
callback(_arg1);
|
|
22072
|
+
};
|
|
22073
|
+
|
|
22074
|
+
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
22075
|
+
|
|
22076
|
+
Module.ccall(
|
|
22077
|
+
"csp_multiplayer_MultiplayerConnection_SetSequenceChangedCallback_void_SequenceChangedCallbackHandler",
|
|
22078
|
+
"void",
|
|
22079
|
+
["number", "number", "number"],
|
|
22080
|
+
[this.pointer, _callbackPtr, 0],
|
|
22081
|
+
);
|
|
22082
|
+
}
|
|
22083
|
+
|
|
21907
22084
|
/**
|
|
21908
22085
|
* @description Registers a callback to listen for the named event.
|
|
21909
22086
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -25521,6 +25698,26 @@ export namespace Systems {
|
|
|
25521
25698
|
return _nPtr;
|
|
25522
25699
|
}
|
|
25523
25700
|
|
|
25701
|
+
/**
|
|
25702
|
+
* @description Retrieves the Sequence system.
|
|
25703
|
+
* @return Pointer to the sequence system class
|
|
25704
|
+
*/
|
|
25705
|
+
|
|
25706
|
+
getSequenceSystem(): Systems.SequenceSystem {
|
|
25707
|
+
var _ret = Module._malloc(8);
|
|
25708
|
+
|
|
25709
|
+
Module.ccall(
|
|
25710
|
+
"csp_systems_SystemsManager_GetSequenceSystem_SequenceSystemP",
|
|
25711
|
+
"void",
|
|
25712
|
+
["number", "number"],
|
|
25713
|
+
[_ret, this.pointer],
|
|
25714
|
+
);
|
|
25715
|
+
var _nPtr = new Systems.SequenceSystem(getNativePointer(_ret));
|
|
25716
|
+
Module._free(_ret);
|
|
25717
|
+
|
|
25718
|
+
return _nPtr;
|
|
25719
|
+
}
|
|
25720
|
+
|
|
25524
25721
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem {
|
|
25525
25722
|
var _ret = Module._malloc(8);
|
|
25526
25723
|
|
|
@@ -29930,6 +30127,122 @@ export namespace Systems {
|
|
|
29930
30127
|
}
|
|
29931
30128
|
}
|
|
29932
30129
|
|
|
30130
|
+
export namespace Systems {
|
|
30131
|
+
/**
|
|
30132
|
+
@ingroup Sequence System
|
|
30133
|
+
* @description A basic class abstraction for a sequence, including key, and reference variables, and items.
|
|
30134
|
+
*/
|
|
30135
|
+
export class Sequence extends NativeClassWrapper implements INativeResource {
|
|
30136
|
+
/** @internal */
|
|
30137
|
+
constructor(pointer: NativePointer) {
|
|
30138
|
+
super(pointer);
|
|
30139
|
+
}
|
|
30140
|
+
|
|
30141
|
+
static create(): Sequence {
|
|
30142
|
+
var _ptr = Module._malloc(8);
|
|
30143
|
+
Module.ccall("csp_systems_Sequence_Ctor", "void", ["number"], [_ptr]);
|
|
30144
|
+
var _nPtr = getNativePointer(_ptr);
|
|
30145
|
+
|
|
30146
|
+
return new Sequence(_nPtr);
|
|
30147
|
+
}
|
|
30148
|
+
|
|
30149
|
+
delete(): void {
|
|
30150
|
+
if (this.ownsPointer && !this.disposed) {
|
|
30151
|
+
Module.ccall(
|
|
30152
|
+
"csp_systems_Sequence_Dtor",
|
|
30153
|
+
"void",
|
|
30154
|
+
["number"],
|
|
30155
|
+
[this.pointer],
|
|
30156
|
+
);
|
|
30157
|
+
|
|
30158
|
+
this.disposed = true;
|
|
30159
|
+
}
|
|
30160
|
+
}
|
|
30161
|
+
|
|
30162
|
+
get key(): string {
|
|
30163
|
+
let _result = Module.ccall(
|
|
30164
|
+
"csp_systems_Sequence__Get_Key",
|
|
30165
|
+
"string",
|
|
30166
|
+
["number"],
|
|
30167
|
+
[this.pointer],
|
|
30168
|
+
);
|
|
30169
|
+
|
|
30170
|
+
return _result;
|
|
30171
|
+
}
|
|
30172
|
+
|
|
30173
|
+
set key(value: string) {
|
|
30174
|
+
Module.ccall(
|
|
30175
|
+
"csp_systems_Sequence__Set_Key",
|
|
30176
|
+
"void",
|
|
30177
|
+
["number", "string"],
|
|
30178
|
+
[this.pointer, value],
|
|
30179
|
+
);
|
|
30180
|
+
}
|
|
30181
|
+
|
|
30182
|
+
get referenceType(): string {
|
|
30183
|
+
let _result = Module.ccall(
|
|
30184
|
+
"csp_systems_Sequence__Get_ReferenceType",
|
|
30185
|
+
"string",
|
|
30186
|
+
["number"],
|
|
30187
|
+
[this.pointer],
|
|
30188
|
+
);
|
|
30189
|
+
|
|
30190
|
+
return _result;
|
|
30191
|
+
}
|
|
30192
|
+
|
|
30193
|
+
set referenceType(value: string) {
|
|
30194
|
+
Module.ccall(
|
|
30195
|
+
"csp_systems_Sequence__Set_ReferenceType",
|
|
30196
|
+
"void",
|
|
30197
|
+
["number", "string"],
|
|
30198
|
+
[this.pointer, value],
|
|
30199
|
+
);
|
|
30200
|
+
}
|
|
30201
|
+
|
|
30202
|
+
get referenceId(): string {
|
|
30203
|
+
let _result = Module.ccall(
|
|
30204
|
+
"csp_systems_Sequence__Get_ReferenceId",
|
|
30205
|
+
"string",
|
|
30206
|
+
["number"],
|
|
30207
|
+
[this.pointer],
|
|
30208
|
+
);
|
|
30209
|
+
|
|
30210
|
+
return _result;
|
|
30211
|
+
}
|
|
30212
|
+
|
|
30213
|
+
set referenceId(value: string) {
|
|
30214
|
+
Module.ccall(
|
|
30215
|
+
"csp_systems_Sequence__Set_ReferenceId",
|
|
30216
|
+
"void",
|
|
30217
|
+
["number", "string"],
|
|
30218
|
+
[this.pointer, value],
|
|
30219
|
+
);
|
|
30220
|
+
}
|
|
30221
|
+
|
|
30222
|
+
get items(): Common.Array<string> {
|
|
30223
|
+
const _ptr = Module._malloc(8);
|
|
30224
|
+
Module.ccall(
|
|
30225
|
+
"csp_systems_Sequence__Get_Items",
|
|
30226
|
+
"void",
|
|
30227
|
+
["number", "number"],
|
|
30228
|
+
[_ptr, this.pointer],
|
|
30229
|
+
);
|
|
30230
|
+
|
|
30231
|
+
const _nPtr = getNativePointer(_ptr);
|
|
30232
|
+
return new Common.Array<string>(_nPtr, StringFactory, "String");
|
|
30233
|
+
}
|
|
30234
|
+
|
|
30235
|
+
set items(value: Common.Array<string>) {
|
|
30236
|
+
Module.ccall(
|
|
30237
|
+
"csp_systems_Sequence__Set_Items",
|
|
30238
|
+
"void",
|
|
30239
|
+
["number", "number"],
|
|
30240
|
+
[this.pointer, value.pointer],
|
|
30241
|
+
);
|
|
30242
|
+
}
|
|
30243
|
+
}
|
|
30244
|
+
}
|
|
30245
|
+
|
|
29933
30246
|
export namespace Systems {
|
|
29934
30247
|
/**
|
|
29935
30248
|
@ingroup Settings System
|
|
@@ -31607,6 +31920,26 @@ export namespace Systems {
|
|
|
31607
31920
|
[this.pointer, value],
|
|
31608
31921
|
);
|
|
31609
31922
|
}
|
|
31923
|
+
|
|
31924
|
+
get spaceId(): string {
|
|
31925
|
+
let _result = Module.ccall(
|
|
31926
|
+
"csp_systems_PointOfInterest__Get_SpaceId",
|
|
31927
|
+
"string",
|
|
31928
|
+
["number"],
|
|
31929
|
+
[this.pointer],
|
|
31930
|
+
);
|
|
31931
|
+
|
|
31932
|
+
return _result;
|
|
31933
|
+
}
|
|
31934
|
+
|
|
31935
|
+
set spaceId(value: string) {
|
|
31936
|
+
Module.ccall(
|
|
31937
|
+
"csp_systems_PointOfInterest__Set_SpaceId",
|
|
31938
|
+
"void",
|
|
31939
|
+
["number", "string"],
|
|
31940
|
+
[this.pointer, value],
|
|
31941
|
+
);
|
|
31942
|
+
}
|
|
31610
31943
|
}
|
|
31611
31944
|
}
|
|
31612
31945
|
|
|
@@ -37893,13 +38226,13 @@ export namespace Multiplayer {
|
|
|
37893
38226
|
}
|
|
37894
38227
|
|
|
37895
38228
|
/**
|
|
37896
|
-
* @description Gets the
|
|
38229
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
37897
38230
|
*/
|
|
37898
38231
|
|
|
37899
|
-
|
|
38232
|
+
getIsTeleportPoint(): boolean {
|
|
37900
38233
|
let _result = Module.ccall(
|
|
37901
|
-
"
|
|
37902
|
-
"
|
|
38234
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsTeleportPointC_bool",
|
|
38235
|
+
"boolean",
|
|
37903
38236
|
["number"],
|
|
37904
38237
|
[this.pointer],
|
|
37905
38238
|
);
|
|
@@ -37908,15 +38241,44 @@ export namespace Multiplayer {
|
|
|
37908
38241
|
}
|
|
37909
38242
|
|
|
37910
38243
|
/**
|
|
37911
|
-
* @description Sets
|
|
37912
|
-
* @param
|
|
38244
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
38245
|
+
* @param inValue - The teleport point state flag value.
|
|
37913
38246
|
*/
|
|
37914
38247
|
|
|
37915
|
-
|
|
38248
|
+
setIsTeleportPoint(value: boolean): void {
|
|
37916
38249
|
Module.ccall(
|
|
37917
|
-
"
|
|
38250
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsTeleportPoint_void_bool",
|
|
37918
38251
|
"void",
|
|
37919
|
-
["number", "
|
|
38252
|
+
["number", "boolean"],
|
|
38253
|
+
[this.pointer, value],
|
|
38254
|
+
);
|
|
38255
|
+
}
|
|
38256
|
+
|
|
38257
|
+
/**
|
|
38258
|
+
* @description Gets the IsSpawnPoint of this Hotspot.
|
|
38259
|
+
*/
|
|
38260
|
+
|
|
38261
|
+
getIsSpawnPoint(): boolean {
|
|
38262
|
+
let _result = Module.ccall(
|
|
38263
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsSpawnPointC_bool",
|
|
38264
|
+
"boolean",
|
|
38265
|
+
["number"],
|
|
38266
|
+
[this.pointer],
|
|
38267
|
+
);
|
|
38268
|
+
|
|
38269
|
+
return _result;
|
|
38270
|
+
}
|
|
38271
|
+
|
|
38272
|
+
/**
|
|
38273
|
+
* @description Sets this Hotspot to be a spawn point.
|
|
38274
|
+
* @param inValue - The spawn point state flag value.
|
|
38275
|
+
*/
|
|
38276
|
+
|
|
38277
|
+
setIsSpawnPoint(value: boolean): void {
|
|
38278
|
+
Module.ccall(
|
|
38279
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsSpawnPoint_void_bool",
|
|
38280
|
+
"void",
|
|
38281
|
+
["number", "boolean"],
|
|
37920
38282
|
[this.pointer, value],
|
|
37921
38283
|
);
|
|
37922
38284
|
}
|
|
@@ -47174,6 +47536,436 @@ export namespace Systems {
|
|
|
47174
47536
|
}
|
|
47175
47537
|
}
|
|
47176
47538
|
|
|
47539
|
+
export namespace Systems {
|
|
47540
|
+
/**
|
|
47541
|
+
@ingroup Sequence System
|
|
47542
|
+
* @description Result structure for a sequence result
|
|
47543
|
+
*/
|
|
47544
|
+
export class SequenceResult
|
|
47545
|
+
extends Systems.ResultBase
|
|
47546
|
+
implements INativeResource
|
|
47547
|
+
{
|
|
47548
|
+
/** @internal */
|
|
47549
|
+
constructor(pointer: NativePointer) {
|
|
47550
|
+
super(pointer);
|
|
47551
|
+
}
|
|
47552
|
+
|
|
47553
|
+
static fromResultBase(
|
|
47554
|
+
baseInstance: Systems.ResultBase,
|
|
47555
|
+
): Systems.SequenceResult {
|
|
47556
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47557
|
+
return new Systems.SequenceResult(
|
|
47558
|
+
new NativePointer(
|
|
47559
|
+
nativeClassWrapper.pointer,
|
|
47560
|
+
nativeClassWrapper.ownsPointer,
|
|
47561
|
+
),
|
|
47562
|
+
);
|
|
47563
|
+
}
|
|
47564
|
+
|
|
47565
|
+
getSequence(): Systems.Sequence {
|
|
47566
|
+
var _ret = Module._malloc(8);
|
|
47567
|
+
|
|
47568
|
+
Module.ccall(
|
|
47569
|
+
"csp_systems_SequenceResult_GetSequenceC_SequenceRC",
|
|
47570
|
+
"void",
|
|
47571
|
+
["number", "number"],
|
|
47572
|
+
[_ret, this.pointer],
|
|
47573
|
+
);
|
|
47574
|
+
var _nPtr = new Systems.Sequence(getNativePointer(_ret));
|
|
47575
|
+
Module._free(_ret);
|
|
47576
|
+
|
|
47577
|
+
return _nPtr;
|
|
47578
|
+
}
|
|
47579
|
+
|
|
47580
|
+
delete(): void {
|
|
47581
|
+
if (this.ownsPointer && !this.disposed) {
|
|
47582
|
+
Module.ccall(
|
|
47583
|
+
"csp_systems_SequenceResult_Dtor",
|
|
47584
|
+
"void",
|
|
47585
|
+
["number"],
|
|
47586
|
+
[this.pointer],
|
|
47587
|
+
);
|
|
47588
|
+
|
|
47589
|
+
this.disposed = true;
|
|
47590
|
+
}
|
|
47591
|
+
}
|
|
47592
|
+
}
|
|
47593
|
+
}
|
|
47594
|
+
|
|
47595
|
+
export namespace Systems {
|
|
47596
|
+
/**
|
|
47597
|
+
@ingroup Sequence System
|
|
47598
|
+
* @description Data class used to contain information when attempting to get an array of sequences.
|
|
47599
|
+
*/
|
|
47600
|
+
export class SequencesResult
|
|
47601
|
+
extends Systems.ResultBase
|
|
47602
|
+
implements INativeResource
|
|
47603
|
+
{
|
|
47604
|
+
/** @internal */
|
|
47605
|
+
constructor(pointer: NativePointer) {
|
|
47606
|
+
super(pointer);
|
|
47607
|
+
}
|
|
47608
|
+
|
|
47609
|
+
static fromResultBase(
|
|
47610
|
+
baseInstance: Systems.ResultBase,
|
|
47611
|
+
): Systems.SequencesResult {
|
|
47612
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47613
|
+
return new Systems.SequencesResult(
|
|
47614
|
+
new NativePointer(
|
|
47615
|
+
nativeClassWrapper.pointer,
|
|
47616
|
+
nativeClassWrapper.ownsPointer,
|
|
47617
|
+
),
|
|
47618
|
+
);
|
|
47619
|
+
}
|
|
47620
|
+
|
|
47621
|
+
getSequences(): Common.Array<Systems.Sequence> {
|
|
47622
|
+
var _ret = Module._malloc(8);
|
|
47623
|
+
|
|
47624
|
+
Module.ccall(
|
|
47625
|
+
"csp_systems_SequencesResult_GetSequencesC_ArrayRC",
|
|
47626
|
+
"void",
|
|
47627
|
+
["number", "number"],
|
|
47628
|
+
[_ret, this.pointer],
|
|
47629
|
+
);
|
|
47630
|
+
var _nPtr = new Common.Array<Systems.Sequence>(
|
|
47631
|
+
getNativePointer(_ret),
|
|
47632
|
+
csp_systems_SequenceFactory,
|
|
47633
|
+
"csp_systems_Sequence",
|
|
47634
|
+
);
|
|
47635
|
+
Module._free(_ret);
|
|
47636
|
+
|
|
47637
|
+
return _nPtr;
|
|
47638
|
+
}
|
|
47639
|
+
|
|
47640
|
+
delete(): void {
|
|
47641
|
+
if (this.ownsPointer && !this.disposed) {
|
|
47642
|
+
Module.ccall(
|
|
47643
|
+
"csp_systems_SequencesResult_Dtor",
|
|
47644
|
+
"void",
|
|
47645
|
+
["number"],
|
|
47646
|
+
[this.pointer],
|
|
47647
|
+
);
|
|
47648
|
+
|
|
47649
|
+
this.disposed = true;
|
|
47650
|
+
}
|
|
47651
|
+
}
|
|
47652
|
+
}
|
|
47653
|
+
}
|
|
47654
|
+
|
|
47655
|
+
export namespace Systems {
|
|
47656
|
+
/**
|
|
47657
|
+
@ingroup Sequence System
|
|
47658
|
+
* @description Public facing system that allows the management of groupings of items in a space.
|
|
47659
|
+
*/
|
|
47660
|
+
export class SequenceSystem extends Systems.SystemBase {
|
|
47661
|
+
/** @internal */
|
|
47662
|
+
constructor(pointer: NativePointer) {
|
|
47663
|
+
super(pointer);
|
|
47664
|
+
}
|
|
47665
|
+
|
|
47666
|
+
static fromSystemBase(
|
|
47667
|
+
baseInstance: Systems.SystemBase,
|
|
47668
|
+
): Systems.SequenceSystem {
|
|
47669
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
47670
|
+
return new Systems.SequenceSystem(
|
|
47671
|
+
new NativePointer(
|
|
47672
|
+
nativeClassWrapper.pointer,
|
|
47673
|
+
nativeClassWrapper.ownsPointer,
|
|
47674
|
+
),
|
|
47675
|
+
);
|
|
47676
|
+
}
|
|
47677
|
+
|
|
47678
|
+
/**
|
|
47679
|
+
* @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
|
|
47680
|
+
* This call will fail if the user isn't a creator of the space.
|
|
47681
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
47682
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
47683
|
+
* @param referenceId - The id of the reference
|
|
47684
|
+
* @param items - An ordered array of members
|
|
47685
|
+
* @param callback - Callback to call when a response is received
|
|
47686
|
+
*/
|
|
47687
|
+
|
|
47688
|
+
async createSequence(
|
|
47689
|
+
sequenceKey: string,
|
|
47690
|
+
referenceType: string,
|
|
47691
|
+
referenceId: string,
|
|
47692
|
+
items: Common.Array<string>,
|
|
47693
|
+
): Promise<Systems.SequenceResult> {
|
|
47694
|
+
var _resolve;
|
|
47695
|
+
|
|
47696
|
+
var _promise = new Promise<Systems.SequenceResult>((_r) => {
|
|
47697
|
+
_resolve = _r;
|
|
47698
|
+
});
|
|
47699
|
+
|
|
47700
|
+
var _callbackPtr: number;
|
|
47701
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47702
|
+
var _resultPtr = getNativePointer(result);
|
|
47703
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
47704
|
+
|
|
47705
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47706
|
+
return;
|
|
47707
|
+
}
|
|
47708
|
+
|
|
47709
|
+
_resolve(_resultInstance);
|
|
47710
|
+
|
|
47711
|
+
Module.removeFunction(_callbackPtr);
|
|
47712
|
+
};
|
|
47713
|
+
|
|
47714
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47715
|
+
|
|
47716
|
+
Module.ccall(
|
|
47717
|
+
"csp_systems_SequenceSystem_CreateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
|
|
47718
|
+
"void",
|
|
47719
|
+
["number", "string", "string", "string", "number", "number", "number"],
|
|
47720
|
+
[
|
|
47721
|
+
this.pointer,
|
|
47722
|
+
sequenceKey,
|
|
47723
|
+
referenceType,
|
|
47724
|
+
referenceId,
|
|
47725
|
+
items.pointer,
|
|
47726
|
+
_callbackPtr,
|
|
47727
|
+
0,
|
|
47728
|
+
],
|
|
47729
|
+
);
|
|
47730
|
+
|
|
47731
|
+
return _promise;
|
|
47732
|
+
}
|
|
47733
|
+
|
|
47734
|
+
/**
|
|
47735
|
+
* @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
|
|
47736
|
+
* @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
|
|
47737
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.)
|
|
47738
|
+
* @param referenceId - The id of the reference
|
|
47739
|
+
* @param items - An ordered array of members
|
|
47740
|
+
* @param callback - Callback to call when a response is received
|
|
47741
|
+
*/
|
|
47742
|
+
|
|
47743
|
+
async updateSequence(
|
|
47744
|
+
sequenceKey: string,
|
|
47745
|
+
referenceType: string,
|
|
47746
|
+
referenceId: string,
|
|
47747
|
+
items: Common.Array<string>,
|
|
47748
|
+
): Promise<Systems.SequenceResult> {
|
|
47749
|
+
var _resolve;
|
|
47750
|
+
|
|
47751
|
+
var _promise = new Promise<Systems.SequenceResult>((_r) => {
|
|
47752
|
+
_resolve = _r;
|
|
47753
|
+
});
|
|
47754
|
+
|
|
47755
|
+
var _callbackPtr: number;
|
|
47756
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47757
|
+
var _resultPtr = getNativePointer(result);
|
|
47758
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
47759
|
+
|
|
47760
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47761
|
+
return;
|
|
47762
|
+
}
|
|
47763
|
+
|
|
47764
|
+
_resolve(_resultInstance);
|
|
47765
|
+
|
|
47766
|
+
Module.removeFunction(_callbackPtr);
|
|
47767
|
+
};
|
|
47768
|
+
|
|
47769
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47770
|
+
|
|
47771
|
+
Module.ccall(
|
|
47772
|
+
"csp_systems_SequenceSystem_UpdateSequence_void_StringRC_StringRC_StringRC_ArrayRC_SequenceResultCallback",
|
|
47773
|
+
"void",
|
|
47774
|
+
["number", "string", "string", "string", "number", "number", "number"],
|
|
47775
|
+
[
|
|
47776
|
+
this.pointer,
|
|
47777
|
+
sequenceKey,
|
|
47778
|
+
referenceType,
|
|
47779
|
+
referenceId,
|
|
47780
|
+
items.pointer,
|
|
47781
|
+
_callbackPtr,
|
|
47782
|
+
0,
|
|
47783
|
+
],
|
|
47784
|
+
);
|
|
47785
|
+
|
|
47786
|
+
return _promise;
|
|
47787
|
+
}
|
|
47788
|
+
|
|
47789
|
+
/**
|
|
47790
|
+
* @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
|
|
47791
|
+
* @param oldSequenceKey - The current sequence key name
|
|
47792
|
+
* @param newSequenceKey - The new sequence key name
|
|
47793
|
+
* @param callback - Callback to call when a response is received
|
|
47794
|
+
*/
|
|
47795
|
+
|
|
47796
|
+
async renameSequence(
|
|
47797
|
+
oldSequenceKey: string,
|
|
47798
|
+
newSequenceKey: string,
|
|
47799
|
+
): Promise<Systems.SequenceResult> {
|
|
47800
|
+
var _resolve;
|
|
47801
|
+
|
|
47802
|
+
var _promise = new Promise<Systems.SequenceResult>((_r) => {
|
|
47803
|
+
_resolve = _r;
|
|
47804
|
+
});
|
|
47805
|
+
|
|
47806
|
+
var _callbackPtr: number;
|
|
47807
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47808
|
+
var _resultPtr = getNativePointer(result);
|
|
47809
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
47810
|
+
|
|
47811
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47812
|
+
return;
|
|
47813
|
+
}
|
|
47814
|
+
|
|
47815
|
+
_resolve(_resultInstance);
|
|
47816
|
+
|
|
47817
|
+
Module.removeFunction(_callbackPtr);
|
|
47818
|
+
};
|
|
47819
|
+
|
|
47820
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47821
|
+
|
|
47822
|
+
Module.ccall(
|
|
47823
|
+
"csp_systems_SequenceSystem_RenameSequence_void_StringRC_StringRC_SequenceResultCallback",
|
|
47824
|
+
"void",
|
|
47825
|
+
["number", "string", "string", "number", "number"],
|
|
47826
|
+
[this.pointer, oldSequenceKey, newSequenceKey, _callbackPtr, 0],
|
|
47827
|
+
);
|
|
47828
|
+
|
|
47829
|
+
return _promise;
|
|
47830
|
+
}
|
|
47831
|
+
|
|
47832
|
+
/**
|
|
47833
|
+
* @description Finds sequences based on the given criteria
|
|
47834
|
+
* @param sequenceKeys - An array of sequence keys to search for
|
|
47835
|
+
* @param sequenceKeys - An optional regex string for searching keys
|
|
47836
|
+
* @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
|
|
47837
|
+
* @param referenceIds - The ids of the reference. Must be used with ReferenceType
|
|
47838
|
+
* @param callback - Callback to call when a response is received
|
|
47839
|
+
*/
|
|
47840
|
+
|
|
47841
|
+
async getSequencesByCriteria(
|
|
47842
|
+
sequenceKeys: Common.Array<string>,
|
|
47843
|
+
keyRegex: string | null,
|
|
47844
|
+
referenceType: string | null,
|
|
47845
|
+
referenceIds: Common.Array<string>,
|
|
47846
|
+
): Promise<Systems.SequencesResult> {
|
|
47847
|
+
var _resolve;
|
|
47848
|
+
|
|
47849
|
+
var _promise = new Promise<Systems.SequencesResult>((_r) => {
|
|
47850
|
+
_resolve = _r;
|
|
47851
|
+
});
|
|
47852
|
+
|
|
47853
|
+
var _callbackPtr: number;
|
|
47854
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47855
|
+
var _resultPtr = getNativePointer(result);
|
|
47856
|
+
var _resultInstance = new Systems.SequencesResult(_resultPtr);
|
|
47857
|
+
|
|
47858
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47859
|
+
return;
|
|
47860
|
+
}
|
|
47861
|
+
|
|
47862
|
+
_resolve(_resultInstance);
|
|
47863
|
+
|
|
47864
|
+
Module.removeFunction(_callbackPtr);
|
|
47865
|
+
};
|
|
47866
|
+
|
|
47867
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47868
|
+
|
|
47869
|
+
Module.ccall(
|
|
47870
|
+
"csp_systems_SequenceSystem_GetSequencesByCriteria_void_ArrayRC_StringRC_StringRC_ArrayRC_SequencesResultCallback",
|
|
47871
|
+
"void",
|
|
47872
|
+
["number", "number", "string", "string", "number", "number", "number"],
|
|
47873
|
+
[
|
|
47874
|
+
this.pointer,
|
|
47875
|
+
sequenceKeys.pointer,
|
|
47876
|
+
keyRegex,
|
|
47877
|
+
referenceType,
|
|
47878
|
+
referenceIds.pointer,
|
|
47879
|
+
_callbackPtr,
|
|
47880
|
+
0,
|
|
47881
|
+
],
|
|
47882
|
+
);
|
|
47883
|
+
|
|
47884
|
+
return _promise;
|
|
47885
|
+
}
|
|
47886
|
+
|
|
47887
|
+
/**
|
|
47888
|
+
* @description Gets a sequence by it's key
|
|
47889
|
+
* @param sequenceKey - The unique grouping name
|
|
47890
|
+
* @param callback - Callback to call when a response is received
|
|
47891
|
+
*/
|
|
47892
|
+
|
|
47893
|
+
async getSequence(sequenceKey: string): Promise<Systems.SequenceResult> {
|
|
47894
|
+
var _resolve;
|
|
47895
|
+
|
|
47896
|
+
var _promise = new Promise<Systems.SequenceResult>((_r) => {
|
|
47897
|
+
_resolve = _r;
|
|
47898
|
+
});
|
|
47899
|
+
|
|
47900
|
+
var _callbackPtr: number;
|
|
47901
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47902
|
+
var _resultPtr = getNativePointer(result);
|
|
47903
|
+
var _resultInstance = new Systems.SequenceResult(_resultPtr);
|
|
47904
|
+
|
|
47905
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47906
|
+
return;
|
|
47907
|
+
}
|
|
47908
|
+
|
|
47909
|
+
_resolve(_resultInstance);
|
|
47910
|
+
|
|
47911
|
+
Module.removeFunction(_callbackPtr);
|
|
47912
|
+
};
|
|
47913
|
+
|
|
47914
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47915
|
+
|
|
47916
|
+
Module.ccall(
|
|
47917
|
+
"csp_systems_SequenceSystem_GetSequence_void_StringRC_SequenceResultCallback",
|
|
47918
|
+
"void",
|
|
47919
|
+
["number", "string", "number", "number"],
|
|
47920
|
+
[this.pointer, sequenceKey, _callbackPtr, 0],
|
|
47921
|
+
);
|
|
47922
|
+
|
|
47923
|
+
return _promise;
|
|
47924
|
+
}
|
|
47925
|
+
|
|
47926
|
+
/**
|
|
47927
|
+
* @description Deletes the given sequences. This call will fail if the user isn't a creator of the space
|
|
47928
|
+
* @param sequenceKeys - An array of sequence keys to delete
|
|
47929
|
+
* @param callback - Callback to call when a response is received
|
|
47930
|
+
*/
|
|
47931
|
+
|
|
47932
|
+
async deleteSequences(
|
|
47933
|
+
sequenceKeys: Common.Array<string>,
|
|
47934
|
+
): Promise<Systems.NullResult> {
|
|
47935
|
+
var _resolve;
|
|
47936
|
+
|
|
47937
|
+
var _promise = new Promise<Systems.NullResult>((_r) => {
|
|
47938
|
+
_resolve = _r;
|
|
47939
|
+
});
|
|
47940
|
+
|
|
47941
|
+
var _callbackPtr: number;
|
|
47942
|
+
var _callback = (_stateObject__: number, result) => {
|
|
47943
|
+
var _resultPtr = getNativePointer(result);
|
|
47944
|
+
var _resultInstance = new Systems.NullResult(_resultPtr);
|
|
47945
|
+
|
|
47946
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
47947
|
+
return;
|
|
47948
|
+
}
|
|
47949
|
+
|
|
47950
|
+
_resolve(_resultInstance);
|
|
47951
|
+
|
|
47952
|
+
Module.removeFunction(_callbackPtr);
|
|
47953
|
+
};
|
|
47954
|
+
|
|
47955
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
47956
|
+
|
|
47957
|
+
Module.ccall(
|
|
47958
|
+
"csp_systems_SequenceSystem_DeleteSequences_void_ArrayRC_NullResultCallback",
|
|
47959
|
+
"void",
|
|
47960
|
+
["number", "number", "number", "number"],
|
|
47961
|
+
[this.pointer, sequenceKeys.pointer, _callbackPtr, 0],
|
|
47962
|
+
);
|
|
47963
|
+
|
|
47964
|
+
return _promise;
|
|
47965
|
+
}
|
|
47966
|
+
}
|
|
47967
|
+
}
|
|
47968
|
+
|
|
47177
47969
|
export namespace Systems {
|
|
47178
47970
|
/**
|
|
47179
47971
|
@ingroup Settings System
|
|
@@ -51572,15 +52364,17 @@ export namespace Systems {
|
|
|
51572
52364
|
}
|
|
51573
52365
|
|
|
51574
52366
|
/**
|
|
51575
|
-
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters
|
|
51576
|
-
* @param originLocation -
|
|
51577
|
-
* @param areaRadius - Radius of the circular area origin
|
|
51578
|
-
* @param
|
|
52367
|
+
* @description Retrieves an array with all the Points of Interest that are located inside the circular area defined by the parameters..
|
|
52368
|
+
* @param originLocation - The latitude and longitude coordinates of origin of the search location.
|
|
52369
|
+
* @param areaRadius - The Radius of the circular area to search around the provided origin.
|
|
52370
|
+
* @param type - The type of POI to search for. If none is specified, all types will be included in the returned set.
|
|
52371
|
+
* @param callback - Callback when asynchronous task finishes.
|
|
51579
52372
|
*/
|
|
51580
52373
|
|
|
51581
52374
|
async getPOIsInArea(
|
|
51582
52375
|
originLocation: Systems.GeoLocation,
|
|
51583
52376
|
areaRadius: number,
|
|
52377
|
+
type: Systems.EPointOfInterestType | null,
|
|
51584
52378
|
): Promise<Systems.POICollectionResult> {
|
|
51585
52379
|
var _resolve;
|
|
51586
52380
|
|
|
@@ -51604,13 +52398,30 @@ export namespace Systems {
|
|
|
51604
52398
|
|
|
51605
52399
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
51606
52400
|
|
|
52401
|
+
var typePointer = 0;
|
|
52402
|
+
if (type != null) {
|
|
52403
|
+
typePointer = Module._malloc(4);
|
|
52404
|
+
Module.setValue(typePointer, type, "i32");
|
|
52405
|
+
}
|
|
52406
|
+
|
|
51607
52407
|
Module.ccall(
|
|
51608
|
-
"
|
|
52408
|
+
"csp_systems_PointOfInterestSystem_GetPOIsInArea_void_GeoLocationRC_doubleC_EPointOfInterestTypeRC_POICollectionResultCallback",
|
|
51609
52409
|
"void",
|
|
51610
|
-
["number", "number", "number", "number", "number"],
|
|
51611
|
-
[
|
|
52410
|
+
["number", "number", "number", "number", "number", "number"],
|
|
52411
|
+
[
|
|
52412
|
+
this.pointer,
|
|
52413
|
+
originLocation.pointer,
|
|
52414
|
+
areaRadius,
|
|
52415
|
+
typePointer,
|
|
52416
|
+
_callbackPtr,
|
|
52417
|
+
0,
|
|
52418
|
+
],
|
|
51612
52419
|
);
|
|
51613
52420
|
|
|
52421
|
+
if (typePointer) {
|
|
52422
|
+
Module._free(typePointer);
|
|
52423
|
+
}
|
|
52424
|
+
|
|
51614
52425
|
return _promise;
|
|
51615
52426
|
}
|
|
51616
52427
|
}
|
|
@@ -52933,13 +53744,52 @@ export namespace Systems {
|
|
|
52933
53744
|
return _promise;
|
|
52934
53745
|
}
|
|
52935
53746
|
|
|
53747
|
+
/** @deprecated
|
|
53748
|
+
Deprecated in favour of GetBasicProfilesByUserId
|
|
53749
|
+
*/
|
|
53750
|
+
|
|
53751
|
+
async getProfilesByUserId(
|
|
53752
|
+
userIds: Common.Array<string>,
|
|
53753
|
+
): Promise<Systems.BasicProfilesResult> {
|
|
53754
|
+
var _resolve;
|
|
53755
|
+
|
|
53756
|
+
var _promise = new Promise<Systems.BasicProfilesResult>((_r) => {
|
|
53757
|
+
_resolve = _r;
|
|
53758
|
+
});
|
|
53759
|
+
|
|
53760
|
+
var _callbackPtr: number;
|
|
53761
|
+
var _callback = (_stateObject__: number, result) => {
|
|
53762
|
+
var _resultPtr = getNativePointer(result);
|
|
53763
|
+
var _resultInstance = new Systems.BasicProfilesResult(_resultPtr);
|
|
53764
|
+
|
|
53765
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
53766
|
+
return;
|
|
53767
|
+
}
|
|
53768
|
+
|
|
53769
|
+
_resolve(_resultInstance);
|
|
53770
|
+
|
|
53771
|
+
Module.removeFunction(_callbackPtr);
|
|
53772
|
+
};
|
|
53773
|
+
|
|
53774
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
53775
|
+
|
|
53776
|
+
Module.ccall(
|
|
53777
|
+
"csp_systems_UserSystem_GetProfilesByUserId_void_ArrayRC_BasicProfilesResultCallback",
|
|
53778
|
+
"void",
|
|
53779
|
+
["number", "number", "number", "number"],
|
|
53780
|
+
[this.pointer, userIds.pointer, _callbackPtr, 0],
|
|
53781
|
+
);
|
|
53782
|
+
|
|
53783
|
+
return _promise;
|
|
53784
|
+
}
|
|
53785
|
+
|
|
52936
53786
|
/**
|
|
52937
53787
|
* @description Get a list of minimal profiles (avatarId, personalityType, userName, and platform) by user IDs.
|
|
52938
53788
|
* @param inUserIds - An array of user ids to search for users by
|
|
52939
53789
|
* @param callback - Callback to call when a response is received
|
|
52940
53790
|
*/
|
|
52941
53791
|
|
|
52942
|
-
async
|
|
53792
|
+
async getBasicProfilesByUserId(
|
|
52943
53793
|
userIds: Common.Array<string>,
|
|
52944
53794
|
): Promise<Systems.BasicProfilesResult> {
|
|
52945
53795
|
var _resolve;
|
|
@@ -52965,7 +53815,7 @@ export namespace Systems {
|
|
|
52965
53815
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
52966
53816
|
|
|
52967
53817
|
Module.ccall(
|
|
52968
|
-
"
|
|
53818
|
+
"csp_systems_UserSystem_GetBasicProfilesByUserId_void_ArrayRC_BasicProfilesResultCallback",
|
|
52969
53819
|
"void",
|
|
52970
53820
|
["number", "number", "number", "number"],
|
|
52971
53821
|
[this.pointer, userIds.pointer, _callbackPtr, 0],
|
|
@@ -53639,6 +54489,24 @@ export namespace Common {
|
|
|
53639
54489
|
return _inst;
|
|
53640
54490
|
}
|
|
53641
54491
|
|
|
54492
|
+
static ofcsp_systems_Sequence(): Array<Systems.Sequence> {
|
|
54493
|
+
var _ret = Module._malloc(8);
|
|
54494
|
+
Module.ccall(
|
|
54495
|
+
"csp_common_Array_Ctor_csp_systems_Sequence",
|
|
54496
|
+
"void",
|
|
54497
|
+
["number"],
|
|
54498
|
+
[_ret],
|
|
54499
|
+
);
|
|
54500
|
+
var _inst = new Array<Systems.Sequence>(
|
|
54501
|
+
getNativePointer(_ret),
|
|
54502
|
+
csp_systems_SequenceFactory,
|
|
54503
|
+
"csp_systems_Sequence",
|
|
54504
|
+
);
|
|
54505
|
+
Module._free(_ret);
|
|
54506
|
+
|
|
54507
|
+
return _inst;
|
|
54508
|
+
}
|
|
54509
|
+
|
|
53642
54510
|
static ofcsp_systems_Site(): Array<Systems.Site> {
|
|
53643
54511
|
var _ret = Module._malloc(8);
|
|
53644
54512
|
Module.ccall(
|
|
@@ -54395,6 +55263,26 @@ export namespace Common {
|
|
|
54395
55263
|
return _inst;
|
|
54396
55264
|
}
|
|
54397
55265
|
|
|
55266
|
+
static ofcsp_systems_Sequence_number(
|
|
55267
|
+
size: number,
|
|
55268
|
+
): Array<Systems.Sequence> {
|
|
55269
|
+
var _ret = Module._malloc(8);
|
|
55270
|
+
Module.ccall(
|
|
55271
|
+
"csp_common_Array_Conv_size_tC_csp_systems_Sequence",
|
|
55272
|
+
"void",
|
|
55273
|
+
["number", "number"],
|
|
55274
|
+
[_ret, size],
|
|
55275
|
+
);
|
|
55276
|
+
var _inst = new Array<Systems.Sequence>(
|
|
55277
|
+
getNativePointer(_ret),
|
|
55278
|
+
csp_systems_SequenceFactory,
|
|
55279
|
+
"csp_systems_Sequence",
|
|
55280
|
+
);
|
|
55281
|
+
Module._free(_ret);
|
|
55282
|
+
|
|
55283
|
+
return _inst;
|
|
55284
|
+
}
|
|
55285
|
+
|
|
54398
55286
|
static ofcsp_systems_Site_number(size: number): Array<Systems.Site> {
|
|
54399
55287
|
var _ret = Module._malloc(8);
|
|
54400
55288
|
Module.ccall(
|