connected-spaces-platform.web 4.29.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/ConnectedSpacesPlatform_WASM.d.ts +2 -0
- package/Debug/ConnectedSpacesPlatform_WASM.js +83 -5
- 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 +156 -15
- package/connectedspacesplatform.js +389 -23
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +737 -25
- 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,
|
|
@@ -21657,6 +21710,104 @@ export namespace Multiplayer {
|
|
|
21657
21710
|
}
|
|
21658
21711
|
}
|
|
21659
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
|
+
|
|
21660
21811
|
export namespace Multiplayer {
|
|
21661
21812
|
/**
|
|
21662
21813
|
@ingroup Multiplayer
|
|
@@ -21904,6 +22055,31 @@ export namespace Multiplayer {
|
|
|
21904
22055
|
);
|
|
21905
22056
|
}
|
|
21906
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
|
+
|
|
21907
22083
|
/**
|
|
21908
22084
|
* @description Registers a callback to listen for the named event.
|
|
21909
22085
|
* @param eventName - The identifying name for the event to listen for.
|
|
@@ -25521,6 +25697,26 @@ export namespace Systems {
|
|
|
25521
25697
|
return _nPtr;
|
|
25522
25698
|
}
|
|
25523
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
|
+
|
|
25524
25720
|
getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem {
|
|
25525
25721
|
var _ret = Module._malloc(8);
|
|
25526
25722
|
|
|
@@ -29930,6 +30126,122 @@ export namespace Systems {
|
|
|
29930
30126
|
}
|
|
29931
30127
|
}
|
|
29932
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
|
+
|
|
29933
30245
|
export namespace Systems {
|
|
29934
30246
|
/**
|
|
29935
30247
|
@ingroup Settings System
|
|
@@ -37893,13 +38205,13 @@ export namespace Multiplayer {
|
|
|
37893
38205
|
}
|
|
37894
38206
|
|
|
37895
38207
|
/**
|
|
37896
|
-
* @description Gets the
|
|
38208
|
+
* @description Gets the IsTeleportPoint of this Hotspot.
|
|
37897
38209
|
*/
|
|
37898
38210
|
|
|
37899
|
-
|
|
38211
|
+
getIsTeleportPoint(): boolean {
|
|
37900
38212
|
let _result = Module.ccall(
|
|
37901
|
-
"
|
|
37902
|
-
"
|
|
38213
|
+
"csp_multiplayer_HotspotSpaceComponent_GetIsTeleportPointC_bool",
|
|
38214
|
+
"boolean",
|
|
37903
38215
|
["number"],
|
|
37904
38216
|
[this.pointer],
|
|
37905
38217
|
);
|
|
@@ -37908,15 +38220,44 @@ export namespace Multiplayer {
|
|
|
37908
38220
|
}
|
|
37909
38221
|
|
|
37910
38222
|
/**
|
|
37911
|
-
* @description Sets
|
|
37912
|
-
* @param
|
|
38223
|
+
* @description Sets this Hotspot to be a teleport point.
|
|
38224
|
+
* @param inValue - The teleport point state flag value.
|
|
37913
38225
|
*/
|
|
37914
38226
|
|
|
37915
|
-
|
|
38227
|
+
setIsTeleportPoint(value: boolean): void {
|
|
37916
38228
|
Module.ccall(
|
|
37917
|
-
"
|
|
38229
|
+
"csp_multiplayer_HotspotSpaceComponent_SetIsTeleportPoint_void_bool",
|
|
37918
38230
|
"void",
|
|
37919
|
-
["number", "
|
|
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"],
|
|
37920
38261
|
[this.pointer, value],
|
|
37921
38262
|
);
|
|
37922
38263
|
}
|
|
@@ -47174,6 +47515,339 @@ export namespace Systems {
|
|
|
47174
47515
|
}
|
|
47175
47516
|
}
|
|
47176
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
|
+
|
|
47177
47851
|
export namespace Systems {
|
|
47178
47852
|
/**
|
|
47179
47853
|
@ingroup Settings System
|
|
@@ -53639,6 +54313,24 @@ export namespace Common {
|
|
|
53639
54313
|
return _inst;
|
|
53640
54314
|
}
|
|
53641
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
|
+
|
|
53642
54334
|
static ofcsp_systems_Site(): Array<Systems.Site> {
|
|
53643
54335
|
var _ret = Module._malloc(8);
|
|
53644
54336
|
Module.ccall(
|
|
@@ -54395,6 +55087,26 @@ export namespace Common {
|
|
|
54395
55087
|
return _inst;
|
|
54396
55088
|
}
|
|
54397
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
|
+
|
|
54398
55110
|
static ofcsp_systems_Site_number(size: number): Array<Systems.Site> {
|
|
54399
55111
|
var _ret = Module._malloc(8);
|
|
54400
55112
|
Module.ccall(
|