connected-spaces-platform.web 5.4.0 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Debug/ConnectedSpacesPlatform_WASM.js +7 -85
- package/Debug/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/Debug/ConnectedSpacesPlatform_WASM.wasm.debug.wasm +0 -0
- package/README.md +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.js +1 -1
- package/Release/ConnectedSpacesPlatform_WASM.wasm +0 -0
- package/connectedspacesplatform.d.ts +13 -112
- package/connectedspacesplatform.js +29 -407
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +38 -766
- package/package.json +1 -1
|
@@ -1038,14 +1038,6 @@ function csp_multiplayer_SequenceChangedParamsFactory(
|
|
|
1038
1038
|
ProxyClassFactories["csp_multiplayer_SequenceChangedParams"] =
|
|
1039
1039
|
csp_multiplayer_SequenceChangedParamsFactory;
|
|
1040
1040
|
|
|
1041
|
-
function csp_multiplayer_SequenceHierarchyChangedParamsFactory(
|
|
1042
|
-
nativePointer: NativePointer,
|
|
1043
|
-
): NativeClassWrapper {
|
|
1044
|
-
return new Multiplayer.SequenceHierarchyChangedParams(nativePointer);
|
|
1045
|
-
}
|
|
1046
|
-
ProxyClassFactories["csp_multiplayer_SequenceHierarchyChangedParams"] =
|
|
1047
|
-
csp_multiplayer_SequenceHierarchyChangedParamsFactory;
|
|
1048
|
-
|
|
1049
1041
|
function csp_multiplayer_SequenceHotspotChangedParamsFactory(
|
|
1050
1042
|
nativePointer: NativePointer,
|
|
1051
1043
|
): NativeClassWrapper {
|
|
@@ -1070,14 +1062,6 @@ function csp_multiplayer_ReplicatedValueFactory(
|
|
|
1070
1062
|
ProxyClassFactories["csp_multiplayer_ReplicatedValue"] =
|
|
1071
1063
|
csp_multiplayer_ReplicatedValueFactory;
|
|
1072
1064
|
|
|
1073
|
-
function csp_multiplayer_SequenceHierarchyFactory(
|
|
1074
|
-
nativePointer: NativePointer,
|
|
1075
|
-
): NativeClassWrapper {
|
|
1076
|
-
return new Multiplayer.SequenceHierarchy(nativePointer);
|
|
1077
|
-
}
|
|
1078
|
-
ProxyClassFactories["csp_multiplayer_SequenceHierarchy"] =
|
|
1079
|
-
csp_multiplayer_SequenceHierarchyFactory;
|
|
1080
|
-
|
|
1081
1065
|
function csp_multiplayer_ComponentUpdateInfoFactory(
|
|
1082
1066
|
nativePointer: NativePointer,
|
|
1083
1067
|
): NativeClassWrapper {
|
|
@@ -1556,22 +1540,6 @@ function csp_systems_VoipSystemFactory(
|
|
|
1556
1540
|
}
|
|
1557
1541
|
ProxyClassFactories["csp_systems_VoipSystem"] = csp_systems_VoipSystemFactory;
|
|
1558
1542
|
|
|
1559
|
-
function csp_multiplayer_SequenceHierarchyResultFactory(
|
|
1560
|
-
nativePointer: NativePointer,
|
|
1561
|
-
): NativeClassWrapper {
|
|
1562
|
-
return new Multiplayer.SequenceHierarchyResult(nativePointer);
|
|
1563
|
-
}
|
|
1564
|
-
ProxyClassFactories["csp_multiplayer_SequenceHierarchyResult"] =
|
|
1565
|
-
csp_multiplayer_SequenceHierarchyResultFactory;
|
|
1566
|
-
|
|
1567
|
-
function csp_multiplayer_SequenceHierarchyCollectionResultFactory(
|
|
1568
|
-
nativePointer: NativePointer,
|
|
1569
|
-
): NativeClassWrapper {
|
|
1570
|
-
return new Multiplayer.SequenceHierarchyCollectionResult(nativePointer);
|
|
1571
|
-
}
|
|
1572
|
-
ProxyClassFactories["csp_multiplayer_SequenceHierarchyCollectionResult"] =
|
|
1573
|
-
csp_multiplayer_SequenceHierarchyCollectionResultFactory;
|
|
1574
|
-
|
|
1575
1543
|
function csp_multiplayer_AnimatedModelSpaceComponentFactory(
|
|
1576
1544
|
nativePointer: NativePointer,
|
|
1577
1545
|
): NativeClassWrapper {
|
|
@@ -2444,26 +2412,6 @@ function csp_common_Array_csp_systems_SpaceUserRoleFactory(
|
|
|
2444
2412
|
ProxyClassFactories["csp_common_Array_csp_systems_SpaceUserRole"] =
|
|
2445
2413
|
csp_common_Array_csp_systems_SpaceUserRoleFactory;
|
|
2446
2414
|
|
|
2447
|
-
function csp_common_Array_uint64_tFactory(
|
|
2448
|
-
nativePointer: NativePointer,
|
|
2449
|
-
): NativeClassWrapper {
|
|
2450
|
-
return new Common.Array<bigint>(nativePointer, NumberFactory, "uint64_t");
|
|
2451
|
-
}
|
|
2452
|
-
ProxyClassFactories["csp_common_Array_uint64_t"] =
|
|
2453
|
-
csp_common_Array_uint64_tFactory;
|
|
2454
|
-
|
|
2455
|
-
function csp_common_Array_csp_multiplayer_SequenceHierarchyFactory(
|
|
2456
|
-
nativePointer: NativePointer,
|
|
2457
|
-
): NativeClassWrapper {
|
|
2458
|
-
return new Common.Array<Multiplayer.SequenceHierarchy>(
|
|
2459
|
-
nativePointer,
|
|
2460
|
-
csp_multiplayer_SequenceHierarchyFactory,
|
|
2461
|
-
"csp_multiplayer_SequenceHierarchy",
|
|
2462
|
-
);
|
|
2463
|
-
}
|
|
2464
|
-
ProxyClassFactories["csp_common_Array_csp_multiplayer_SequenceHierarchy"] =
|
|
2465
|
-
csp_common_Array_csp_multiplayer_SequenceHierarchyFactory;
|
|
2466
|
-
|
|
2467
2415
|
function csp_common_Array_csp_multiplayer_MessageInfoFactory(
|
|
2468
2416
|
nativePointer: NativePointer,
|
|
2469
2417
|
): NativeClassWrapper {
|
|
@@ -3153,17 +3101,19 @@ export namespace Multiplayer {
|
|
|
3153
3101
|
export namespace Multiplayer {
|
|
3154
3102
|
/**
|
|
3155
3103
|
* @description Enum representing the type of a replicated value.
|
|
3104
|
+
* These values are serialized and stored as integers.
|
|
3105
|
+
* When adding new values, always add to the end
|
|
3156
3106
|
*/
|
|
3157
3107
|
export enum ReplicatedValueType {
|
|
3158
|
-
InvalidType,
|
|
3159
|
-
Boolean,
|
|
3160
|
-
Integer,
|
|
3161
|
-
Float,
|
|
3162
|
-
String,
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
Map,
|
|
3108
|
+
InvalidType = 0,
|
|
3109
|
+
Boolean = 1,
|
|
3110
|
+
Integer = 2,
|
|
3111
|
+
Float = 3,
|
|
3112
|
+
String = 4,
|
|
3113
|
+
Vector3 = 5,
|
|
3114
|
+
Vector4 = 6,
|
|
3115
|
+
Vector2 = 7,
|
|
3116
|
+
Map = 8,
|
|
3167
3117
|
}
|
|
3168
3118
|
}
|
|
3169
3119
|
|
|
@@ -22272,110 +22222,6 @@ export namespace Multiplayer {
|
|
|
22272
22222
|
}
|
|
22273
22223
|
}
|
|
22274
22224
|
|
|
22275
|
-
export namespace Multiplayer {
|
|
22276
|
-
export class SequenceHierarchyChangedParams
|
|
22277
|
-
extends NativeClassWrapper
|
|
22278
|
-
implements INativeResource
|
|
22279
|
-
{
|
|
22280
|
-
/** @internal */
|
|
22281
|
-
constructor(pointer: NativePointer) {
|
|
22282
|
-
super(pointer);
|
|
22283
|
-
}
|
|
22284
|
-
|
|
22285
|
-
static create(): SequenceHierarchyChangedParams {
|
|
22286
|
-
var _ptr = Module._malloc(8);
|
|
22287
|
-
Module.ccall(
|
|
22288
|
-
"csp_multiplayer_SequenceHierarchyChangedParams_Ctor",
|
|
22289
|
-
"void",
|
|
22290
|
-
["number"],
|
|
22291
|
-
[_ptr],
|
|
22292
|
-
);
|
|
22293
|
-
var _nPtr = getNativePointer(_ptr);
|
|
22294
|
-
|
|
22295
|
-
return new SequenceHierarchyChangedParams(_nPtr);
|
|
22296
|
-
}
|
|
22297
|
-
|
|
22298
|
-
delete(): void {
|
|
22299
|
-
if (this.ownsPointer && !this.disposed) {
|
|
22300
|
-
Module.ccall(
|
|
22301
|
-
"csp_multiplayer_SequenceHierarchyChangedParams_Dtor",
|
|
22302
|
-
"void",
|
|
22303
|
-
["number"],
|
|
22304
|
-
[this.pointer],
|
|
22305
|
-
);
|
|
22306
|
-
|
|
22307
|
-
this.disposed = true;
|
|
22308
|
-
}
|
|
22309
|
-
}
|
|
22310
|
-
|
|
22311
|
-
get updateType(): Multiplayer.ESequenceUpdateType {
|
|
22312
|
-
let _result = Module.ccall(
|
|
22313
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Get_UpdateType",
|
|
22314
|
-
"number",
|
|
22315
|
-
["number"],
|
|
22316
|
-
[this.pointer],
|
|
22317
|
-
);
|
|
22318
|
-
|
|
22319
|
-
return _result;
|
|
22320
|
-
}
|
|
22321
|
-
|
|
22322
|
-
set updateType(value: Multiplayer.ESequenceUpdateType) {
|
|
22323
|
-
Module.ccall(
|
|
22324
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Set_UpdateType",
|
|
22325
|
-
"void",
|
|
22326
|
-
["number", "number"],
|
|
22327
|
-
[this.pointer, value],
|
|
22328
|
-
);
|
|
22329
|
-
}
|
|
22330
|
-
|
|
22331
|
-
get parentId(): bigint {
|
|
22332
|
-
let _result = Module.ccall(
|
|
22333
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Get_ParentId",
|
|
22334
|
-
"bigint",
|
|
22335
|
-
["number"],
|
|
22336
|
-
[this.pointer],
|
|
22337
|
-
);
|
|
22338
|
-
|
|
22339
|
-
const _unfixedValue = _result;
|
|
22340
|
-
let _fixedValue =
|
|
22341
|
-
_unfixedValue < 0 ? _unfixedValue + 2n ** 64n : _unfixedValue;
|
|
22342
|
-
|
|
22343
|
-
_result = _fixedValue;
|
|
22344
|
-
|
|
22345
|
-
return _result;
|
|
22346
|
-
}
|
|
22347
|
-
|
|
22348
|
-
set parentId(value: bigint) {
|
|
22349
|
-
Module.ccall(
|
|
22350
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Set_ParentId",
|
|
22351
|
-
"void",
|
|
22352
|
-
["number", "bigint"],
|
|
22353
|
-
[this.pointer, value],
|
|
22354
|
-
);
|
|
22355
|
-
}
|
|
22356
|
-
|
|
22357
|
-
get isRoot(): boolean {
|
|
22358
|
-
let _result = Module.ccall(
|
|
22359
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Get_IsRoot",
|
|
22360
|
-
"boolean",
|
|
22361
|
-
["number"],
|
|
22362
|
-
[this.pointer],
|
|
22363
|
-
);
|
|
22364
|
-
|
|
22365
|
-
return _result;
|
|
22366
|
-
}
|
|
22367
|
-
|
|
22368
|
-
set isRoot(value: boolean) {
|
|
22369
|
-
Module.ccall(
|
|
22370
|
-
"csp_multiplayer_SequenceHierarchyChangedParams__Set_IsRoot",
|
|
22371
|
-
"void",
|
|
22372
|
-
["number", "boolean"],
|
|
22373
|
-
[this.pointer, value],
|
|
22374
|
-
);
|
|
22375
|
-
}
|
|
22376
|
-
}
|
|
22377
|
-
}
|
|
22378
|
-
|
|
22379
22225
|
export namespace Multiplayer {
|
|
22380
22226
|
export class SequenceHotspotChangedParams
|
|
22381
22227
|
extends NativeClassWrapper
|
|
@@ -23484,108 +23330,6 @@ export namespace Multiplayer {
|
|
|
23484
23330
|
}
|
|
23485
23331
|
}
|
|
23486
23332
|
|
|
23487
|
-
export namespace Multiplayer {
|
|
23488
|
-
/**
|
|
23489
|
-
@ingroup Space Entity System
|
|
23490
|
-
* @description Class which exposes data that is relevent to entity hierarchies, which comes from the underlying Sequence System.
|
|
23491
|
-
* This allows users to manage the ordering of child entites within their parent.
|
|
23492
|
-
*/
|
|
23493
|
-
export class SequenceHierarchy
|
|
23494
|
-
extends NativeClassWrapper
|
|
23495
|
-
implements INativeResource
|
|
23496
|
-
{
|
|
23497
|
-
/** @internal */
|
|
23498
|
-
constructor(pointer: NativePointer) {
|
|
23499
|
-
super(pointer);
|
|
23500
|
-
}
|
|
23501
|
-
|
|
23502
|
-
hasParent(): boolean {
|
|
23503
|
-
let _result = Module.ccall(
|
|
23504
|
-
"csp_multiplayer_SequenceHierarchy_HasParentC_bool",
|
|
23505
|
-
"boolean",
|
|
23506
|
-
["number"],
|
|
23507
|
-
[this.pointer],
|
|
23508
|
-
);
|
|
23509
|
-
|
|
23510
|
-
return _result;
|
|
23511
|
-
}
|
|
23512
|
-
|
|
23513
|
-
static create(): SequenceHierarchy {
|
|
23514
|
-
var _ptr = Module._malloc(8);
|
|
23515
|
-
Module.ccall(
|
|
23516
|
-
"csp_multiplayer_SequenceHierarchy_Ctor",
|
|
23517
|
-
"void",
|
|
23518
|
-
["number"],
|
|
23519
|
-
[_ptr],
|
|
23520
|
-
);
|
|
23521
|
-
var _nPtr = getNativePointer(_ptr);
|
|
23522
|
-
|
|
23523
|
-
return new SequenceHierarchy(_nPtr);
|
|
23524
|
-
}
|
|
23525
|
-
|
|
23526
|
-
delete(): void {
|
|
23527
|
-
if (this.ownsPointer && !this.disposed) {
|
|
23528
|
-
Module.ccall(
|
|
23529
|
-
"csp_multiplayer_SequenceHierarchy_Dtor",
|
|
23530
|
-
"void",
|
|
23531
|
-
["number"],
|
|
23532
|
-
[this.pointer],
|
|
23533
|
-
);
|
|
23534
|
-
|
|
23535
|
-
this.disposed = true;
|
|
23536
|
-
}
|
|
23537
|
-
}
|
|
23538
|
-
|
|
23539
|
-
get ids(): Common.Array<bigint> {
|
|
23540
|
-
const _ptr = Module._malloc(8);
|
|
23541
|
-
Module.ccall(
|
|
23542
|
-
"csp_multiplayer_SequenceHierarchy__Get_Ids",
|
|
23543
|
-
"void",
|
|
23544
|
-
["number", "number"],
|
|
23545
|
-
[_ptr, this.pointer],
|
|
23546
|
-
);
|
|
23547
|
-
|
|
23548
|
-
const _nPtr = getNativePointer(_ptr);
|
|
23549
|
-
return new Common.Array<bigint>(_nPtr, NumberFactory, "uint64_t");
|
|
23550
|
-
}
|
|
23551
|
-
|
|
23552
|
-
set ids(value: Common.Array<bigint>) {
|
|
23553
|
-
Module.ccall(
|
|
23554
|
-
"csp_multiplayer_SequenceHierarchy__Set_Ids",
|
|
23555
|
-
"void",
|
|
23556
|
-
["number", "number"],
|
|
23557
|
-
[this.pointer, value.pointer],
|
|
23558
|
-
);
|
|
23559
|
-
}
|
|
23560
|
-
|
|
23561
|
-
get parentId(): bigint {
|
|
23562
|
-
let _result = Module.ccall(
|
|
23563
|
-
"csp_multiplayer_SequenceHierarchy__Get_ParentId",
|
|
23564
|
-
"bigint",
|
|
23565
|
-
["number"],
|
|
23566
|
-
[this.pointer],
|
|
23567
|
-
);
|
|
23568
|
-
|
|
23569
|
-
const _unfixedValue = _result;
|
|
23570
|
-
let _fixedValue =
|
|
23571
|
-
_unfixedValue < 0 ? _unfixedValue + 2n ** 64n : _unfixedValue;
|
|
23572
|
-
|
|
23573
|
-
_result = _fixedValue;
|
|
23574
|
-
|
|
23575
|
-
return _result;
|
|
23576
|
-
}
|
|
23577
|
-
|
|
23578
|
-
set parentId(value: bigint) {
|
|
23579
|
-
Module.ccall(
|
|
23580
|
-
"csp_multiplayer_SequenceHierarchy__Set_ParentId",
|
|
23581
|
-
"void",
|
|
23582
|
-
["number", "bigint"],
|
|
23583
|
-
[this.pointer, value],
|
|
23584
|
-
);
|
|
23585
|
-
}
|
|
23586
|
-
}
|
|
23587
|
-
}
|
|
23588
|
-
|
|
23589
23333
|
export namespace Multiplayer {
|
|
23590
23334
|
/**
|
|
23591
23335
|
* @description Info class that specifies a type of update and the ID of a component the update is applied to.
|
|
@@ -25427,300 +25171,6 @@ export namespace Multiplayer {
|
|
|
25427
25171
|
|
|
25428
25172
|
return _nPtr;
|
|
25429
25173
|
}
|
|
25430
|
-
|
|
25431
|
-
/**
|
|
25432
|
-
* @description Creates an entity hierarchy for a given parent entity id. Pass null to create a hiererchy for the root.
|
|
25433
|
-
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
25434
|
-
* @param hierarchyItemIds - An array of entity ids.
|
|
25435
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
25436
|
-
*/
|
|
25437
|
-
|
|
25438
|
-
async createSequenceHierarchy(
|
|
25439
|
-
parentId: bigint | null,
|
|
25440
|
-
hierarchyItemIds: Common.Array<bigint>,
|
|
25441
|
-
): Promise<Multiplayer.SequenceHierarchyResult> {
|
|
25442
|
-
var _resolve;
|
|
25443
|
-
|
|
25444
|
-
var _promise = new Promise<Multiplayer.SequenceHierarchyResult>((_r) => {
|
|
25445
|
-
_resolve = _r;
|
|
25446
|
-
});
|
|
25447
|
-
|
|
25448
|
-
var _callbackPtr: number;
|
|
25449
|
-
var _callback = (_stateObject__: number, result) => {
|
|
25450
|
-
var _resultPtr = getNativePointer(result);
|
|
25451
|
-
var _resultInstance = new Multiplayer.SequenceHierarchyResult(
|
|
25452
|
-
_resultPtr,
|
|
25453
|
-
);
|
|
25454
|
-
|
|
25455
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
25456
|
-
return;
|
|
25457
|
-
}
|
|
25458
|
-
|
|
25459
|
-
_resolve(_resultInstance);
|
|
25460
|
-
|
|
25461
|
-
Module.removeFunction(_callbackPtr);
|
|
25462
|
-
};
|
|
25463
|
-
|
|
25464
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25465
|
-
|
|
25466
|
-
var parentIdPointer = 0;
|
|
25467
|
-
if (parentId != null) {
|
|
25468
|
-
parentIdPointer = Module._malloc(4);
|
|
25469
|
-
Module.setValue(parentIdPointer, parentId, "i32");
|
|
25470
|
-
}
|
|
25471
|
-
|
|
25472
|
-
Module.ccall(
|
|
25473
|
-
"csp_multiplayer_SpaceEntitySystem_CreateSequenceHierarchy_void_uint64_tRC_ArrayRC_SequenceHierarchyResultCallback",
|
|
25474
|
-
"void",
|
|
25475
|
-
["number", "bigint", "number", "number", "number"],
|
|
25476
|
-
[
|
|
25477
|
-
this.pointer,
|
|
25478
|
-
parentIdPointer,
|
|
25479
|
-
hierarchyItemIds.pointer,
|
|
25480
|
-
_callbackPtr,
|
|
25481
|
-
0,
|
|
25482
|
-
],
|
|
25483
|
-
);
|
|
25484
|
-
|
|
25485
|
-
if (parentIdPointer) {
|
|
25486
|
-
Module._free(parentIdPointer);
|
|
25487
|
-
}
|
|
25488
|
-
|
|
25489
|
-
return _promise;
|
|
25490
|
-
}
|
|
25491
|
-
|
|
25492
|
-
/**
|
|
25493
|
-
* @description Updates an entity hierarchy for a given parent entity id. Pass null to update the root.
|
|
25494
|
-
* This will create a hierarchy if it doesnt exist.
|
|
25495
|
-
* @param parentId - An optional parent. Pass null to create a hiererchy for the root.
|
|
25496
|
-
* @param hierarchyItemIds - An array of entity ids.
|
|
25497
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
25498
|
-
*/
|
|
25499
|
-
|
|
25500
|
-
async updateSequenceHierarchy(
|
|
25501
|
-
parentId: bigint | null,
|
|
25502
|
-
hierarchyItemIds: Common.Array<bigint>,
|
|
25503
|
-
): Promise<Multiplayer.SequenceHierarchyResult> {
|
|
25504
|
-
var _resolve;
|
|
25505
|
-
|
|
25506
|
-
var _promise = new Promise<Multiplayer.SequenceHierarchyResult>((_r) => {
|
|
25507
|
-
_resolve = _r;
|
|
25508
|
-
});
|
|
25509
|
-
|
|
25510
|
-
var _callbackPtr: number;
|
|
25511
|
-
var _callback = (_stateObject__: number, result) => {
|
|
25512
|
-
var _resultPtr = getNativePointer(result);
|
|
25513
|
-
var _resultInstance = new Multiplayer.SequenceHierarchyResult(
|
|
25514
|
-
_resultPtr,
|
|
25515
|
-
);
|
|
25516
|
-
|
|
25517
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
25518
|
-
return;
|
|
25519
|
-
}
|
|
25520
|
-
|
|
25521
|
-
_resolve(_resultInstance);
|
|
25522
|
-
|
|
25523
|
-
Module.removeFunction(_callbackPtr);
|
|
25524
|
-
};
|
|
25525
|
-
|
|
25526
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25527
|
-
|
|
25528
|
-
var parentIdPointer = 0;
|
|
25529
|
-
if (parentId != null) {
|
|
25530
|
-
parentIdPointer = Module._malloc(4);
|
|
25531
|
-
Module.setValue(parentIdPointer, parentId, "i32");
|
|
25532
|
-
}
|
|
25533
|
-
|
|
25534
|
-
Module.ccall(
|
|
25535
|
-
"csp_multiplayer_SpaceEntitySystem_UpdateSequenceHierarchy_void_uint64_tRC_ArrayRC_SequenceHierarchyResultCallback",
|
|
25536
|
-
"void",
|
|
25537
|
-
["number", "bigint", "number", "number", "number"],
|
|
25538
|
-
[
|
|
25539
|
-
this.pointer,
|
|
25540
|
-
parentIdPointer,
|
|
25541
|
-
hierarchyItemIds.pointer,
|
|
25542
|
-
_callbackPtr,
|
|
25543
|
-
0,
|
|
25544
|
-
],
|
|
25545
|
-
);
|
|
25546
|
-
|
|
25547
|
-
if (parentIdPointer) {
|
|
25548
|
-
Module._free(parentIdPointer);
|
|
25549
|
-
}
|
|
25550
|
-
|
|
25551
|
-
return _promise;
|
|
25552
|
-
}
|
|
25553
|
-
|
|
25554
|
-
/**
|
|
25555
|
-
* @description Gets an entity hierarchy for a given parent entity id. Pass null to get the root hierarchy.
|
|
25556
|
-
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
25557
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
25558
|
-
*/
|
|
25559
|
-
|
|
25560
|
-
async getSequenceHierarchy(
|
|
25561
|
-
parentId: bigint | null,
|
|
25562
|
-
): Promise<Multiplayer.SequenceHierarchyResult> {
|
|
25563
|
-
var _resolve;
|
|
25564
|
-
|
|
25565
|
-
var _promise = new Promise<Multiplayer.SequenceHierarchyResult>((_r) => {
|
|
25566
|
-
_resolve = _r;
|
|
25567
|
-
});
|
|
25568
|
-
|
|
25569
|
-
var _callbackPtr: number;
|
|
25570
|
-
var _callback = (_stateObject__: number, result) => {
|
|
25571
|
-
var _resultPtr = getNativePointer(result);
|
|
25572
|
-
var _resultInstance = new Multiplayer.SequenceHierarchyResult(
|
|
25573
|
-
_resultPtr,
|
|
25574
|
-
);
|
|
25575
|
-
|
|
25576
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
25577
|
-
return;
|
|
25578
|
-
}
|
|
25579
|
-
|
|
25580
|
-
_resolve(_resultInstance);
|
|
25581
|
-
|
|
25582
|
-
Module.removeFunction(_callbackPtr);
|
|
25583
|
-
};
|
|
25584
|
-
|
|
25585
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25586
|
-
|
|
25587
|
-
var parentIdPointer = 0;
|
|
25588
|
-
if (parentId != null) {
|
|
25589
|
-
parentIdPointer = Module._malloc(4);
|
|
25590
|
-
Module.setValue(parentIdPointer, parentId, "i32");
|
|
25591
|
-
}
|
|
25592
|
-
|
|
25593
|
-
Module.ccall(
|
|
25594
|
-
"csp_multiplayer_SpaceEntitySystem_GetSequenceHierarchy_void_uint64_tRC_SequenceHierarchyResultCallback",
|
|
25595
|
-
"void",
|
|
25596
|
-
["number", "bigint", "number", "number"],
|
|
25597
|
-
[this.pointer, parentIdPointer, _callbackPtr, 0],
|
|
25598
|
-
);
|
|
25599
|
-
|
|
25600
|
-
if (parentIdPointer) {
|
|
25601
|
-
Module._free(parentIdPointer);
|
|
25602
|
-
}
|
|
25603
|
-
|
|
25604
|
-
return _promise;
|
|
25605
|
-
}
|
|
25606
|
-
|
|
25607
|
-
/**
|
|
25608
|
-
* @description Gets all hierarchies for a space
|
|
25609
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
25610
|
-
*/
|
|
25611
|
-
|
|
25612
|
-
async getAllSequenceHierarchies(): Promise<Multiplayer.SequenceHierarchyCollectionResult> {
|
|
25613
|
-
var _resolve;
|
|
25614
|
-
|
|
25615
|
-
var _promise = new Promise<Multiplayer.SequenceHierarchyCollectionResult>(
|
|
25616
|
-
(_r) => {
|
|
25617
|
-
_resolve = _r;
|
|
25618
|
-
},
|
|
25619
|
-
);
|
|
25620
|
-
|
|
25621
|
-
var _callbackPtr: number;
|
|
25622
|
-
var _callback = (_stateObject__: number, result) => {
|
|
25623
|
-
var _resultPtr = getNativePointer(result);
|
|
25624
|
-
var _resultInstance = new Multiplayer.SequenceHierarchyCollectionResult(
|
|
25625
|
-
_resultPtr,
|
|
25626
|
-
);
|
|
25627
|
-
|
|
25628
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
25629
|
-
return;
|
|
25630
|
-
}
|
|
25631
|
-
|
|
25632
|
-
_resolve(_resultInstance);
|
|
25633
|
-
|
|
25634
|
-
Module.removeFunction(_callbackPtr);
|
|
25635
|
-
};
|
|
25636
|
-
|
|
25637
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25638
|
-
|
|
25639
|
-
Module.ccall(
|
|
25640
|
-
"csp_multiplayer_SpaceEntitySystem_GetAllSequenceHierarchies_void_SequenceHierarchyCollectionResultCallback",
|
|
25641
|
-
"void",
|
|
25642
|
-
["number", "number", "number"],
|
|
25643
|
-
[this.pointer, _callbackPtr, 0],
|
|
25644
|
-
);
|
|
25645
|
-
|
|
25646
|
-
return _promise;
|
|
25647
|
-
}
|
|
25648
|
-
|
|
25649
|
-
/**
|
|
25650
|
-
* @description Deletes an entity hierarchy for a given parent entity id. Pass null to delete the root hierarchy.
|
|
25651
|
-
* @param parentId - An optional parent. Pass null to get the root hierarchy.
|
|
25652
|
-
* @param callback - A callback when the asynchronous task finishes.
|
|
25653
|
-
*/
|
|
25654
|
-
|
|
25655
|
-
async deleteSequenceHierarchy(
|
|
25656
|
-
parentId: bigint | null,
|
|
25657
|
-
): Promise<Systems.NullResult> {
|
|
25658
|
-
var _resolve;
|
|
25659
|
-
|
|
25660
|
-
var _promise = new Promise<Systems.NullResult>((_r) => {
|
|
25661
|
-
_resolve = _r;
|
|
25662
|
-
});
|
|
25663
|
-
|
|
25664
|
-
var _callbackPtr: number;
|
|
25665
|
-
var _callback = (_stateObject__: number, result) => {
|
|
25666
|
-
var _resultPtr = getNativePointer(result);
|
|
25667
|
-
var _resultInstance = new Systems.NullResult(_resultPtr);
|
|
25668
|
-
|
|
25669
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
25670
|
-
return;
|
|
25671
|
-
}
|
|
25672
|
-
|
|
25673
|
-
_resolve(_resultInstance);
|
|
25674
|
-
|
|
25675
|
-
Module.removeFunction(_callbackPtr);
|
|
25676
|
-
};
|
|
25677
|
-
|
|
25678
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
25679
|
-
|
|
25680
|
-
var parentIdPointer = 0;
|
|
25681
|
-
if (parentId != null) {
|
|
25682
|
-
parentIdPointer = Module._malloc(4);
|
|
25683
|
-
Module.setValue(parentIdPointer, parentId, "i32");
|
|
25684
|
-
}
|
|
25685
|
-
|
|
25686
|
-
Module.ccall(
|
|
25687
|
-
"csp_multiplayer_SpaceEntitySystem_DeleteSequenceHierarchy_void_uint64_tRC_NullResultCallback",
|
|
25688
|
-
"void",
|
|
25689
|
-
["number", "bigint", "number", "number"],
|
|
25690
|
-
[this.pointer, parentIdPointer, _callbackPtr, 0],
|
|
25691
|
-
);
|
|
25692
|
-
|
|
25693
|
-
if (parentIdPointer) {
|
|
25694
|
-
Module._free(parentIdPointer);
|
|
25695
|
-
}
|
|
25696
|
-
|
|
25697
|
-
return _promise;
|
|
25698
|
-
}
|
|
25699
|
-
|
|
25700
|
-
/**
|
|
25701
|
-
* @description Sets a callback for a sequence hierarchy changed event.
|
|
25702
|
-
* @param callback - Callback to receive data for the sequence hierarchy that has been changed.
|
|
25703
|
-
*/
|
|
25704
|
-
setSequenceHierarchyChangedCallback(
|
|
25705
|
-
callback: (arg1: Multiplayer.SequenceHierarchyChangedParams) => void,
|
|
25706
|
-
) {
|
|
25707
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
25708
|
-
var _arg1 = new Multiplayer.SequenceHierarchyChangedParams(
|
|
25709
|
-
getNativePointer(arg1),
|
|
25710
|
-
);
|
|
25711
|
-
|
|
25712
|
-
callback(_arg1);
|
|
25713
|
-
};
|
|
25714
|
-
|
|
25715
|
-
var _callbackPtr = Module.addFunction(_callback, "vii");
|
|
25716
|
-
|
|
25717
|
-
Module.ccall(
|
|
25718
|
-
"csp_multiplayer_SpaceEntitySystem_SetSequenceHierarchyChangedCallback_void_SequenceHierarchyChangedCallbackHandler",
|
|
25719
|
-
"void",
|
|
25720
|
-
["number", "number", "number"],
|
|
25721
|
-
[this.pointer, _callbackPtr, 0],
|
|
25722
|
-
);
|
|
25723
|
-
}
|
|
25724
25174
|
}
|
|
25725
25175
|
}
|
|
25726
25176
|
|
|
@@ -34601,130 +34051,6 @@ export namespace Systems {
|
|
|
34601
34051
|
}
|
|
34602
34052
|
}
|
|
34603
34053
|
|
|
34604
|
-
export namespace Multiplayer {
|
|
34605
|
-
/**
|
|
34606
|
-
@ingroup Space Entity System
|
|
34607
|
-
* @description Data class used to contain information when attempting to get a sequence hierarchy
|
|
34608
|
-
*/
|
|
34609
|
-
export class SequenceHierarchyResult
|
|
34610
|
-
extends Systems.ResultBase
|
|
34611
|
-
implements INativeResource
|
|
34612
|
-
{
|
|
34613
|
-
/** @internal */
|
|
34614
|
-
constructor(pointer: NativePointer) {
|
|
34615
|
-
super(pointer);
|
|
34616
|
-
}
|
|
34617
|
-
|
|
34618
|
-
static fromResultBase(
|
|
34619
|
-
baseInstance: Systems.ResultBase,
|
|
34620
|
-
): Multiplayer.SequenceHierarchyResult {
|
|
34621
|
-
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
34622
|
-
return new Multiplayer.SequenceHierarchyResult(
|
|
34623
|
-
new NativePointer(
|
|
34624
|
-
nativeClassWrapper.pointer,
|
|
34625
|
-
nativeClassWrapper.ownsPointer,
|
|
34626
|
-
),
|
|
34627
|
-
);
|
|
34628
|
-
}
|
|
34629
|
-
|
|
34630
|
-
/**
|
|
34631
|
-
* @description Retreives the SequenceHierarchy from the result.
|
|
34632
|
-
*/
|
|
34633
|
-
|
|
34634
|
-
getSequenceHierarchy(): Multiplayer.SequenceHierarchy {
|
|
34635
|
-
var _ret = Module._malloc(8);
|
|
34636
|
-
|
|
34637
|
-
Module.ccall(
|
|
34638
|
-
"csp_multiplayer_SequenceHierarchyResult_GetSequenceHierarchyC_SequenceHierarchyRC",
|
|
34639
|
-
"void",
|
|
34640
|
-
["number", "number"],
|
|
34641
|
-
[_ret, this.pointer],
|
|
34642
|
-
);
|
|
34643
|
-
var _nPtr = new Multiplayer.SequenceHierarchy(getNativePointer(_ret));
|
|
34644
|
-
Module._free(_ret);
|
|
34645
|
-
|
|
34646
|
-
return _nPtr;
|
|
34647
|
-
}
|
|
34648
|
-
|
|
34649
|
-
delete(): void {
|
|
34650
|
-
if (this.ownsPointer && !this.disposed) {
|
|
34651
|
-
Module.ccall(
|
|
34652
|
-
"csp_multiplayer_SequenceHierarchyResult_Dtor",
|
|
34653
|
-
"void",
|
|
34654
|
-
["number"],
|
|
34655
|
-
[this.pointer],
|
|
34656
|
-
);
|
|
34657
|
-
|
|
34658
|
-
this.disposed = true;
|
|
34659
|
-
}
|
|
34660
|
-
}
|
|
34661
|
-
}
|
|
34662
|
-
}
|
|
34663
|
-
|
|
34664
|
-
export namespace Multiplayer {
|
|
34665
|
-
/**
|
|
34666
|
-
@ingroup Space Entity System
|
|
34667
|
-
* @description Data class used to contain information when attempting to get an array of sequence hierachies
|
|
34668
|
-
*/
|
|
34669
|
-
export class SequenceHierarchyCollectionResult
|
|
34670
|
-
extends Systems.ResultBase
|
|
34671
|
-
implements INativeResource
|
|
34672
|
-
{
|
|
34673
|
-
/** @internal */
|
|
34674
|
-
constructor(pointer: NativePointer) {
|
|
34675
|
-
super(pointer);
|
|
34676
|
-
}
|
|
34677
|
-
|
|
34678
|
-
static fromResultBase(
|
|
34679
|
-
baseInstance: Systems.ResultBase,
|
|
34680
|
-
): Multiplayer.SequenceHierarchyCollectionResult {
|
|
34681
|
-
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
34682
|
-
return new Multiplayer.SequenceHierarchyCollectionResult(
|
|
34683
|
-
new NativePointer(
|
|
34684
|
-
nativeClassWrapper.pointer,
|
|
34685
|
-
nativeClassWrapper.ownsPointer,
|
|
34686
|
-
),
|
|
34687
|
-
);
|
|
34688
|
-
}
|
|
34689
|
-
|
|
34690
|
-
/**
|
|
34691
|
-
* @description Retreives the SequenceHierarchies from the result.
|
|
34692
|
-
*/
|
|
34693
|
-
|
|
34694
|
-
getSequenceHierarchyCollection(): Common.Array<Multiplayer.SequenceHierarchy> {
|
|
34695
|
-
var _ret = Module._malloc(8);
|
|
34696
|
-
|
|
34697
|
-
Module.ccall(
|
|
34698
|
-
"csp_multiplayer_SequenceHierarchyCollectionResult_GetSequenceHierarchyCollectionC_ArrayRC",
|
|
34699
|
-
"void",
|
|
34700
|
-
["number", "number"],
|
|
34701
|
-
[_ret, this.pointer],
|
|
34702
|
-
);
|
|
34703
|
-
var _nPtr = new Common.Array<Multiplayer.SequenceHierarchy>(
|
|
34704
|
-
getNativePointer(_ret),
|
|
34705
|
-
csp_multiplayer_SequenceHierarchyFactory,
|
|
34706
|
-
"csp_multiplayer_SequenceHierarchy",
|
|
34707
|
-
);
|
|
34708
|
-
Module._free(_ret);
|
|
34709
|
-
|
|
34710
|
-
return _nPtr;
|
|
34711
|
-
}
|
|
34712
|
-
|
|
34713
|
-
delete(): void {
|
|
34714
|
-
if (this.ownsPointer && !this.disposed) {
|
|
34715
|
-
Module.ccall(
|
|
34716
|
-
"csp_multiplayer_SequenceHierarchyCollectionResult_Dtor",
|
|
34717
|
-
"void",
|
|
34718
|
-
["number"],
|
|
34719
|
-
[this.pointer],
|
|
34720
|
-
);
|
|
34721
|
-
|
|
34722
|
-
this.disposed = true;
|
|
34723
|
-
}
|
|
34724
|
-
}
|
|
34725
|
-
}
|
|
34726
|
-
}
|
|
34727
|
-
|
|
34728
34054
|
export namespace Multiplayer {
|
|
34729
34055
|
/**
|
|
34730
34056
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -45773,12 +45099,14 @@ export namespace Systems {
|
|
|
45773
45099
|
* @description Updates the Metadata field of an Asset Collection
|
|
45774
45100
|
* @param assetCollection - Asset collection to be updated
|
|
45775
45101
|
* @param newMetadata - The new metadata information that will replace the previous
|
|
45102
|
+
* @param tags - Optional array of strings to replace the tags
|
|
45776
45103
|
* @param callback - Callback when asynchronous task finishes
|
|
45777
45104
|
*/
|
|
45778
45105
|
|
|
45779
45106
|
async updateAssetCollectionMetadata(
|
|
45780
45107
|
assetCollection: Systems.AssetCollection,
|
|
45781
45108
|
newMetadata: Common.Map<string, string>,
|
|
45109
|
+
tags: Common.Array<string> | null,
|
|
45782
45110
|
): Promise<Systems.AssetCollectionResult> {
|
|
45783
45111
|
var _resolve;
|
|
45784
45112
|
|
|
@@ -45803,13 +45131,14 @@ export namespace Systems {
|
|
|
45803
45131
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
45804
45132
|
|
|
45805
45133
|
Module.ccall(
|
|
45806
|
-
"
|
|
45134
|
+
"csp_systems_AssetSystem_UpdateAssetCollectionMetadata_void_AssetCollectionRC_MapRC_ArrayRC_AssetCollectionResultCallback",
|
|
45807
45135
|
"void",
|
|
45808
|
-
["number", "number", "number", "number", "number"],
|
|
45136
|
+
["number", "number", "number", "number", "number", "number"],
|
|
45809
45137
|
[
|
|
45810
45138
|
this.pointer,
|
|
45811
45139
|
assetCollection.pointer,
|
|
45812
45140
|
newMetadata.pointer,
|
|
45141
|
+
tags != null ? tags.pointer : 0,
|
|
45813
45142
|
_callbackPtr,
|
|
45814
45143
|
0,
|
|
45815
45144
|
],
|
|
@@ -52650,6 +51979,7 @@ export namespace Systems {
|
|
|
52650
51979
|
* their emails and roles
|
|
52651
51980
|
* @param metadata - Metadata information for the new space
|
|
52652
51981
|
* @param fileThumbnail - Optional thumbnail image for the new space
|
|
51982
|
+
* @param tags - Optional array of strings to set the metadata tags for the new space
|
|
52653
51983
|
* @param callback - Callback when asynchronous task finishes
|
|
52654
51984
|
*/
|
|
52655
51985
|
|
|
@@ -52660,6 +51990,7 @@ export namespace Systems {
|
|
|
52660
51990
|
inviteUsers: Systems.InviteUserRoleInfoCollection | null,
|
|
52661
51991
|
metadata: Common.Map<string, string>,
|
|
52662
51992
|
fileThumbnail: Systems.FileAssetDataSource | null,
|
|
51993
|
+
tags: Common.Array<string> | null,
|
|
52663
51994
|
): Promise<Systems.SpaceResult> {
|
|
52664
51995
|
var _resolve;
|
|
52665
51996
|
|
|
@@ -52684,7 +52015,7 @@ export namespace Systems {
|
|
|
52684
52015
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
52685
52016
|
|
|
52686
52017
|
Module.ccall(
|
|
52687
|
-
"
|
|
52018
|
+
"csp_systems_SpaceSystem_CreateSpace_void_StringRC_StringRC_SpaceAttributes_InviteUserRoleInfoCollectionRC_MapRC_FileAssetDataSourceRC_ArrayRC_SpaceResultCallback",
|
|
52688
52019
|
"void",
|
|
52689
52020
|
[
|
|
52690
52021
|
"number",
|
|
@@ -52696,6 +52027,7 @@ export namespace Systems {
|
|
|
52696
52027
|
"number",
|
|
52697
52028
|
"number",
|
|
52698
52029
|
"number",
|
|
52030
|
+
"number",
|
|
52699
52031
|
],
|
|
52700
52032
|
[
|
|
52701
52033
|
this.pointer,
|
|
@@ -52705,6 +52037,7 @@ export namespace Systems {
|
|
|
52705
52037
|
inviteUsers != null ? inviteUsers.pointer : 0,
|
|
52706
52038
|
metadata.pointer,
|
|
52707
52039
|
fileThumbnail != null ? fileThumbnail.pointer : 0,
|
|
52040
|
+
tags != null ? tags.pointer : 0,
|
|
52708
52041
|
_callbackPtr,
|
|
52709
52042
|
0,
|
|
52710
52043
|
],
|
|
@@ -52722,6 +52055,7 @@ export namespace Systems {
|
|
|
52722
52055
|
* their emails and roles
|
|
52723
52056
|
* @param metadata - Metadata information for the new space
|
|
52724
52057
|
* @param thumbnail - Thumbnail image buffer for the new space
|
|
52058
|
+
* @param tags - Optional array of strings to set the metadata tags for the new space
|
|
52725
52059
|
* @param callback - Callback when asynchronous task finishes
|
|
52726
52060
|
*/
|
|
52727
52061
|
|
|
@@ -52732,6 +52066,7 @@ export namespace Systems {
|
|
|
52732
52066
|
inviteUsers: Systems.InviteUserRoleInfoCollection | null,
|
|
52733
52067
|
metadata: Common.Map<string, string>,
|
|
52734
52068
|
thumbnail: Systems.BufferAssetDataSource,
|
|
52069
|
+
tags: Common.Array<string> | null,
|
|
52735
52070
|
): Promise<Systems.SpaceResult> {
|
|
52736
52071
|
var _resolve;
|
|
52737
52072
|
|
|
@@ -52756,7 +52091,7 @@ export namespace Systems {
|
|
|
52756
52091
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
52757
52092
|
|
|
52758
52093
|
Module.ccall(
|
|
52759
|
-
"
|
|
52094
|
+
"csp_systems_SpaceSystem_CreateSpaceWithBuffer_void_StringRC_StringRC_SpaceAttributes_InviteUserRoleInfoCollectionRC_MapRC_BufferAssetDataSourceRC_ArrayRC_SpaceResultCallback",
|
|
52760
52095
|
"void",
|
|
52761
52096
|
[
|
|
52762
52097
|
"number",
|
|
@@ -52768,6 +52103,7 @@ export namespace Systems {
|
|
|
52768
52103
|
"number",
|
|
52769
52104
|
"number",
|
|
52770
52105
|
"number",
|
|
52106
|
+
"number",
|
|
52771
52107
|
],
|
|
52772
52108
|
[
|
|
52773
52109
|
this.pointer,
|
|
@@ -52777,6 +52113,7 @@ export namespace Systems {
|
|
|
52777
52113
|
inviteUsers != null ? inviteUsers.pointer : 0,
|
|
52778
52114
|
metadata.pointer,
|
|
52779
52115
|
thumbnail.pointer,
|
|
52116
|
+
tags != null ? tags.pointer : 0,
|
|
52780
52117
|
_callbackPtr,
|
|
52781
52118
|
0,
|
|
52782
52119
|
],
|
|
@@ -53627,12 +52964,14 @@ export namespace Systems {
|
|
|
53627
52964
|
* @description Updates the Space metadata information with the new one provided
|
|
53628
52965
|
* @param spaceId - ID of Space for which the metadata will be updated
|
|
53629
52966
|
* @param newMetadata - New metadata information that will replace the previous one
|
|
52967
|
+
* @param tags - Optional array of strings to replace the tags in the metadata
|
|
53630
52968
|
* @param callback - Callback when asynchronous task finishes
|
|
53631
52969
|
*/
|
|
53632
52970
|
|
|
53633
52971
|
async updateSpaceMetadata(
|
|
53634
52972
|
spaceId: string,
|
|
53635
52973
|
newMetadata: Common.Map<string, string>,
|
|
52974
|
+
tags: Common.Array<string> | null,
|
|
53636
52975
|
): Promise<Systems.NullResult> {
|
|
53637
52976
|
var _resolve;
|
|
53638
52977
|
|
|
@@ -53657,10 +52996,17 @@ export namespace Systems {
|
|
|
53657
52996
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
53658
52997
|
|
|
53659
52998
|
Module.ccall(
|
|
53660
|
-
"
|
|
52999
|
+
"csp_systems_SpaceSystem_UpdateSpaceMetadata_void_StringRC_MapRC_ArrayRC_NullResultCallback",
|
|
53661
53000
|
"void",
|
|
53662
|
-
["number", "string", "number", "number", "number"],
|
|
53663
|
-
[
|
|
53001
|
+
["number", "string", "number", "number", "number", "number"],
|
|
53002
|
+
[
|
|
53003
|
+
this.pointer,
|
|
53004
|
+
spaceId,
|
|
53005
|
+
newMetadata.pointer,
|
|
53006
|
+
tags != null ? tags.pointer : 0,
|
|
53007
|
+
_callbackPtr,
|
|
53008
|
+
0,
|
|
53009
|
+
],
|
|
53664
53010
|
);
|
|
53665
53011
|
|
|
53666
53012
|
return _promise;
|
|
@@ -57023,42 +56369,6 @@ export namespace Common {
|
|
|
57023
56369
|
return _inst;
|
|
57024
56370
|
}
|
|
57025
56371
|
|
|
57026
|
-
static ofuint64_t(): Array<bigint> {
|
|
57027
|
-
var _ret = Module._malloc(8);
|
|
57028
|
-
Module.ccall(
|
|
57029
|
-
"csp_common_Array_Ctor_uint64_t",
|
|
57030
|
-
"void",
|
|
57031
|
-
["number"],
|
|
57032
|
-
[_ret],
|
|
57033
|
-
);
|
|
57034
|
-
var _inst = new Array<bigint>(
|
|
57035
|
-
getNativePointer(_ret),
|
|
57036
|
-
NumberFactory,
|
|
57037
|
-
"uint64_t",
|
|
57038
|
-
);
|
|
57039
|
-
Module._free(_ret);
|
|
57040
|
-
|
|
57041
|
-
return _inst;
|
|
57042
|
-
}
|
|
57043
|
-
|
|
57044
|
-
static ofcsp_multiplayer_SequenceHierarchy(): Array<Multiplayer.SequenceHierarchy> {
|
|
57045
|
-
var _ret = Module._malloc(8);
|
|
57046
|
-
Module.ccall(
|
|
57047
|
-
"csp_common_Array_Ctor_csp_multiplayer_SequenceHierarchy",
|
|
57048
|
-
"void",
|
|
57049
|
-
["number"],
|
|
57050
|
-
[_ret],
|
|
57051
|
-
);
|
|
57052
|
-
var _inst = new Array<Multiplayer.SequenceHierarchy>(
|
|
57053
|
-
getNativePointer(_ret),
|
|
57054
|
-
csp_multiplayer_SequenceHierarchyFactory,
|
|
57055
|
-
"csp_multiplayer_SequenceHierarchy",
|
|
57056
|
-
);
|
|
57057
|
-
Module._free(_ret);
|
|
57058
|
-
|
|
57059
|
-
return _inst;
|
|
57060
|
-
}
|
|
57061
|
-
|
|
57062
56372
|
static ofcsp_multiplayer_MessageInfo(): Array<Multiplayer.MessageInfo> {
|
|
57063
56373
|
var _ret = Module._malloc(8);
|
|
57064
56374
|
Module.ccall(
|
|
@@ -57806,44 +57116,6 @@ export namespace Common {
|
|
|
57806
57116
|
return _inst;
|
|
57807
57117
|
}
|
|
57808
57118
|
|
|
57809
|
-
static ofuint64_t_number(size: number): Array<bigint> {
|
|
57810
|
-
var _ret = Module._malloc(8);
|
|
57811
|
-
Module.ccall(
|
|
57812
|
-
"csp_common_Array_Conv_size_tC_uint64_t",
|
|
57813
|
-
"void",
|
|
57814
|
-
["number", "number"],
|
|
57815
|
-
[_ret, size],
|
|
57816
|
-
);
|
|
57817
|
-
var _inst = new Array<bigint>(
|
|
57818
|
-
getNativePointer(_ret),
|
|
57819
|
-
NumberFactory,
|
|
57820
|
-
"uint64_t",
|
|
57821
|
-
);
|
|
57822
|
-
Module._free(_ret);
|
|
57823
|
-
|
|
57824
|
-
return _inst;
|
|
57825
|
-
}
|
|
57826
|
-
|
|
57827
|
-
static ofcsp_multiplayer_SequenceHierarchy_number(
|
|
57828
|
-
size: number,
|
|
57829
|
-
): Array<Multiplayer.SequenceHierarchy> {
|
|
57830
|
-
var _ret = Module._malloc(8);
|
|
57831
|
-
Module.ccall(
|
|
57832
|
-
"csp_common_Array_Conv_size_tC_csp_multiplayer_SequenceHierarchy",
|
|
57833
|
-
"void",
|
|
57834
|
-
["number", "number"],
|
|
57835
|
-
[_ret, size],
|
|
57836
|
-
);
|
|
57837
|
-
var _inst = new Array<Multiplayer.SequenceHierarchy>(
|
|
57838
|
-
getNativePointer(_ret),
|
|
57839
|
-
csp_multiplayer_SequenceHierarchyFactory,
|
|
57840
|
-
"csp_multiplayer_SequenceHierarchy",
|
|
57841
|
-
);
|
|
57842
|
-
Module._free(_ret);
|
|
57843
|
-
|
|
57844
|
-
return _inst;
|
|
57845
|
-
}
|
|
57846
|
-
|
|
57847
57119
|
static ofcsp_multiplayer_MessageInfo_number(
|
|
57848
57120
|
size: number,
|
|
57849
57121
|
): Array<Multiplayer.MessageInfo> {
|