connected-spaces-platform.web 6.5.0 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Debug/ConnectedSpacesPlatform_WASM.js +121 -63
- 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 +62 -86
- package/connectedspacesplatform.js +219 -189
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +530 -384
- package/package.json +1 -1
|
@@ -722,6 +722,16 @@ function csp_common_ReplicatedValueFactory(nativePointer) {
|
|
|
722
722
|
}
|
|
723
723
|
ProxyClassFactories["csp_common_ReplicatedValue"] =
|
|
724
724
|
csp_common_ReplicatedValueFactory;
|
|
725
|
+
function csp_common_ApplicationSettingsFactory(nativePointer) {
|
|
726
|
+
return new Common.ApplicationSettings(nativePointer);
|
|
727
|
+
}
|
|
728
|
+
ProxyClassFactories["csp_common_ApplicationSettings"] =
|
|
729
|
+
csp_common_ApplicationSettingsFactory;
|
|
730
|
+
function csp_common_SettingsCollectionFactory(nativePointer) {
|
|
731
|
+
return new Common.SettingsCollection(nativePointer);
|
|
732
|
+
}
|
|
733
|
+
ProxyClassFactories["csp_common_SettingsCollection"] =
|
|
734
|
+
csp_common_SettingsCollectionFactory;
|
|
725
735
|
function csp_common_VariantFactory(nativePointer) {
|
|
726
736
|
return new Common.Variant(nativePointer);
|
|
727
737
|
}
|
|
@@ -975,16 +985,6 @@ function csp_systems_SequenceFactory(nativePointer) {
|
|
|
975
985
|
return new Systems.Sequence(nativePointer);
|
|
976
986
|
}
|
|
977
987
|
ProxyClassFactories["csp_systems_Sequence"] = csp_systems_SequenceFactory;
|
|
978
|
-
function csp_systems_ApplicationSettingsFactory(nativePointer) {
|
|
979
|
-
return new Systems.ApplicationSettings(nativePointer);
|
|
980
|
-
}
|
|
981
|
-
ProxyClassFactories["csp_systems_ApplicationSettings"] =
|
|
982
|
-
csp_systems_ApplicationSettingsFactory;
|
|
983
|
-
function csp_systems_SettingsCollectionFactory(nativePointer) {
|
|
984
|
-
return new Systems.SettingsCollection(nativePointer);
|
|
985
|
-
}
|
|
986
|
-
ProxyClassFactories["csp_systems_SettingsCollection"] =
|
|
987
|
-
csp_systems_SettingsCollectionFactory;
|
|
988
988
|
function csp_systems_SiteFactory(nativePointer) {
|
|
989
989
|
return new Systems.Site(nativePointer);
|
|
990
990
|
}
|
|
@@ -1887,6 +1887,16 @@ function csp_common_Array_csp_common_Array_StringFactory(nativePointer) {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
ProxyClassFactories["csp_common_Array_csp_common_Array_String"] =
|
|
1889
1889
|
csp_common_Array_csp_common_Array_StringFactory;
|
|
1890
|
+
function csp_common_List_csp_common_ApplicationSettingsFactory(nativePointer) {
|
|
1891
|
+
return new Common.List(nativePointer, csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
|
|
1892
|
+
}
|
|
1893
|
+
ProxyClassFactories["csp_common_List_csp_common_ApplicationSettings"] =
|
|
1894
|
+
csp_common_List_csp_common_ApplicationSettingsFactory;
|
|
1895
|
+
function csp_common_List_csp_common_SettingsCollectionFactory(nativePointer) {
|
|
1896
|
+
return new Common.List(nativePointer, csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
|
|
1897
|
+
}
|
|
1898
|
+
ProxyClassFactories["csp_common_List_csp_common_SettingsCollection"] =
|
|
1899
|
+
csp_common_List_csp_common_SettingsCollectionFactory;
|
|
1890
1900
|
function csp_common_List_csp_multiplayer_SpaceEntityFactory(nativePointer) {
|
|
1891
1901
|
return new Common.List(nativePointer, csp_multiplayer_SpaceEntityFactory, "csp_multiplayer_SpaceEntity");
|
|
1892
1902
|
}
|
|
@@ -1906,6 +1916,11 @@ function csp_common_Map_String_csp_common_ReplicatedValueFactory(nativePointer)
|
|
|
1906
1916
|
}
|
|
1907
1917
|
ProxyClassFactories["csp_common_Map_String_csp_common_ReplicatedValue"] =
|
|
1908
1918
|
csp_common_Map_String_csp_common_ReplicatedValueFactory;
|
|
1919
|
+
function csp_common_Map_String_StringFactory(nativePointer) {
|
|
1920
|
+
return new Common.Map(nativePointer, StringFactory, "String", StringFactory, "String");
|
|
1921
|
+
}
|
|
1922
|
+
ProxyClassFactories["csp_common_Map_String_String"] =
|
|
1923
|
+
csp_common_Map_String_StringFactory;
|
|
1909
1924
|
function csp_common_Map_UInt32_csp_common_ReplicatedValueFactory(nativePointer) {
|
|
1910
1925
|
return new Common.Map(nativePointer, NumberFactory, "UInt32", csp_common_ReplicatedValueFactory, "csp_common_ReplicatedValue");
|
|
1911
1926
|
}
|
|
@@ -1916,11 +1931,6 @@ function csp_common_Map_UInt16_csp_multiplayer_ComponentBaseFactory(nativePointe
|
|
|
1916
1931
|
}
|
|
1917
1932
|
ProxyClassFactories["csp_common_Map_UInt16_csp_multiplayer_ComponentBase"] =
|
|
1918
1933
|
csp_common_Map_UInt16_csp_multiplayer_ComponentBaseFactory;
|
|
1919
|
-
function csp_common_Map_String_StringFactory(nativePointer) {
|
|
1920
|
-
return new Common.Map(nativePointer, StringFactory, "String", StringFactory, "String");
|
|
1921
|
-
}
|
|
1922
|
-
ProxyClassFactories["csp_common_Map_String_String"] =
|
|
1923
|
-
csp_common_Map_String_StringFactory;
|
|
1924
1934
|
function csp_common_Map_String_csp_systems_AssetFactory(nativePointer) {
|
|
1925
1935
|
return new Common.Map(nativePointer, StringFactory, "String", csp_systems_AssetFactory, "csp_systems_Asset");
|
|
1926
1936
|
}
|
|
@@ -3750,6 +3760,24 @@ export class CSPFoundation {
|
|
|
3750
3760
|
set deviceId(value) {
|
|
3751
3761
|
Module.ccall("csp_common_LoginState__Set_DeviceId", "void", ["number", "string"], [this.pointer, value]);
|
|
3752
3762
|
}
|
|
3763
|
+
get defaultApplicationSettings() {
|
|
3764
|
+
const _ptr = Module._malloc(8);
|
|
3765
|
+
Module.ccall("csp_common_LoginState__Get_DefaultApplicationSettings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
3766
|
+
const _nPtr = getNativePointer(_ptr);
|
|
3767
|
+
return new Common.List(_nPtr, csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
|
|
3768
|
+
}
|
|
3769
|
+
set defaultApplicationSettings(value) {
|
|
3770
|
+
Module.ccall("csp_common_LoginState__Set_DefaultApplicationSettings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
3771
|
+
}
|
|
3772
|
+
get defaultSettings() {
|
|
3773
|
+
const _ptr = Module._malloc(8);
|
|
3774
|
+
Module.ccall("csp_common_LoginState__Get_DefaultSettings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
3775
|
+
const _nPtr = getNativePointer(_ptr);
|
|
3776
|
+
return new Common.List(_nPtr, csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
|
|
3777
|
+
}
|
|
3778
|
+
set defaultSettings(value) {
|
|
3779
|
+
Module.ccall("csp_common_LoginState__Set_DefaultSettings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
3780
|
+
}
|
|
3753
3781
|
}
|
|
3754
3782
|
Common.LoginState = LoginState;
|
|
3755
3783
|
})(Common || (Common = {}));
|
|
@@ -9272,7 +9300,7 @@ export class CSPFoundation {
|
|
|
9272
9300
|
}
|
|
9273
9301
|
/**
|
|
9274
9302
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
9275
|
-
*
|
|
9303
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
9276
9304
|
*/
|
|
9277
9305
|
static create() {
|
|
9278
9306
|
var _ptr = Module._malloc(8);
|
|
@@ -9352,21 +9380,11 @@ export class CSPFoundation {
|
|
|
9352
9380
|
}
|
|
9353
9381
|
/**
|
|
9354
9382
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
9355
|
-
* @param
|
|
9383
|
+
* @param inValue - Initial value.
|
|
9356
9384
|
*/
|
|
9357
|
-
static
|
|
9385
|
+
static create_value(value) {
|
|
9358
9386
|
var _ptr = Module._malloc(8);
|
|
9359
|
-
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr,
|
|
9360
|
-
var _nPtr = getNativePointer(_ptr);
|
|
9361
|
-
return new ReplicatedValue(_nPtr);
|
|
9362
|
-
}
|
|
9363
|
-
/**
|
|
9364
|
-
* @description Copy constructor
|
|
9365
|
-
* @param other - The value to copy.
|
|
9366
|
-
*/
|
|
9367
|
-
static create_other(other) {
|
|
9368
|
-
var _ptr = Module._malloc(8);
|
|
9369
|
-
Module.ccall("csp_common_ReplicatedValue_Ctor_ReplicatedValueRC", "void", ["number", "number"], [_ptr, other.pointer]);
|
|
9387
|
+
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr, value.pointer]);
|
|
9370
9388
|
var _nPtr = getNativePointer(_ptr);
|
|
9371
9389
|
return new ReplicatedValue(_nPtr);
|
|
9372
9390
|
}
|
|
@@ -9379,31 +9397,6 @@ export class CSPFoundation {
|
|
|
9379
9397
|
this.disposed = true;
|
|
9380
9398
|
}
|
|
9381
9399
|
}
|
|
9382
|
-
/**
|
|
9383
|
-
* @description Assignment operator overload.
|
|
9384
|
-
* @param inValue - Other replicated value to set this one to.
|
|
9385
|
-
*/
|
|
9386
|
-
// operator=
|
|
9387
|
-
/**
|
|
9388
|
-
* @description Equality operator overload.
|
|
9389
|
-
* @param replicatedValue - Other value to compare to.
|
|
9390
|
-
*/
|
|
9391
|
-
// operator==
|
|
9392
|
-
/**
|
|
9393
|
-
* @description Non equality operator overload.
|
|
9394
|
-
* @param replicatedValue - Other value to compare to.
|
|
9395
|
-
*/
|
|
9396
|
-
// operator!=
|
|
9397
|
-
/**
|
|
9398
|
-
* @description Less than operator overload.
|
|
9399
|
-
* @param replicatedValue - Other value to compare to.
|
|
9400
|
-
*/
|
|
9401
|
-
// operator<
|
|
9402
|
-
/**
|
|
9403
|
-
* @description Greater than operator overload.
|
|
9404
|
-
* @param replicatedValue - Other value to compare to.
|
|
9405
|
-
*/
|
|
9406
|
-
// operator>
|
|
9407
9400
|
/**
|
|
9408
9401
|
* @description Gets the type of replicated value.
|
|
9409
9402
|
* @return Enum representing all supported replication base types.
|
|
@@ -9421,8 +9414,7 @@ export class CSPFoundation {
|
|
|
9421
9414
|
}
|
|
9422
9415
|
/**
|
|
9423
9416
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
9424
|
-
*
|
|
9425
|
-
* /// @return bool
|
|
9417
|
+
* @return Bool
|
|
9426
9418
|
*/
|
|
9427
9419
|
getBool() {
|
|
9428
9420
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetBoolC_bool", "boolean", ["number"], [this.pointer]);
|
|
@@ -9439,8 +9431,7 @@ export class CSPFoundation {
|
|
|
9439
9431
|
}
|
|
9440
9432
|
/**
|
|
9441
9433
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
9442
|
-
*
|
|
9443
|
-
* /// @return float value
|
|
9434
|
+
* @return Float value
|
|
9444
9435
|
*/
|
|
9445
9436
|
getFloat() {
|
|
9446
9437
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetFloatC_float", "number", ["number"], [this.pointer]);
|
|
@@ -9457,8 +9448,7 @@ export class CSPFoundation {
|
|
|
9457
9448
|
}
|
|
9458
9449
|
/**
|
|
9459
9450
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
9460
|
-
*
|
|
9461
|
-
* /// @return int64 value
|
|
9451
|
+
* @return Int64 value
|
|
9462
9452
|
*/
|
|
9463
9453
|
getInt() {
|
|
9464
9454
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetIntC_int64_t", "bigint", ["number"], [this.pointer]);
|
|
@@ -9469,8 +9459,7 @@ export class CSPFoundation {
|
|
|
9469
9459
|
}
|
|
9470
9460
|
/**
|
|
9471
9461
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
9472
|
-
*
|
|
9473
|
-
* /// @return csp::common::String&
|
|
9462
|
+
* @return Csp::common::string&
|
|
9474
9463
|
*/
|
|
9475
9464
|
getString() {
|
|
9476
9465
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetStringC_StringRC", "number", ["number"], [this.pointer]);
|
|
@@ -9487,8 +9476,7 @@ export class CSPFoundation {
|
|
|
9487
9476
|
}
|
|
9488
9477
|
/**
|
|
9489
9478
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
9490
|
-
*
|
|
9491
|
-
* /// @return csp::common::Vector2
|
|
9479
|
+
* @return Csp::common::vector2
|
|
9492
9480
|
*/
|
|
9493
9481
|
getVector2() {
|
|
9494
9482
|
var _ret = Module._malloc(8);
|
|
@@ -9505,8 +9493,7 @@ export class CSPFoundation {
|
|
|
9505
9493
|
}
|
|
9506
9494
|
/**
|
|
9507
9495
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
9508
|
-
*
|
|
9509
|
-
* /// @return csp::common::Vector3
|
|
9496
|
+
* @return Csp::common::vector3
|
|
9510
9497
|
*/
|
|
9511
9498
|
getVector3() {
|
|
9512
9499
|
var _ret = Module._malloc(8);
|
|
@@ -9523,8 +9510,7 @@ export class CSPFoundation {
|
|
|
9523
9510
|
}
|
|
9524
9511
|
/**
|
|
9525
9512
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
9526
|
-
*
|
|
9527
|
-
* /// @return csp::common::Vector4
|
|
9513
|
+
* @return Csp::common::vector4
|
|
9528
9514
|
*/
|
|
9529
9515
|
getVector4() {
|
|
9530
9516
|
var _ret = Module._malloc(8);
|
|
@@ -9536,8 +9522,7 @@ export class CSPFoundation {
|
|
|
9536
9522
|
/**
|
|
9537
9523
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
9538
9524
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
9539
|
-
*
|
|
9540
|
-
* /// @return csp::common::Map
|
|
9525
|
+
* @return Csp::common::map
|
|
9541
9526
|
*/
|
|
9542
9527
|
getStringMap() {
|
|
9543
9528
|
var _ret = Module._malloc(8);
|
|
@@ -9555,6 +9540,112 @@ export class CSPFoundation {
|
|
|
9555
9540
|
}
|
|
9556
9541
|
Common.ReplicatedValue = ReplicatedValue;
|
|
9557
9542
|
})(Common || (Common = {}));
|
|
9543
|
+
(function (Common) {
|
|
9544
|
+
/**
|
|
9545
|
+
@ingroup Application Settings System
|
|
9546
|
+
* @description Represents configuration settings for an application context.
|
|
9547
|
+
*/
|
|
9548
|
+
class ApplicationSettings extends NativeClassWrapper {
|
|
9549
|
+
/** @internal */
|
|
9550
|
+
constructor(pointer) {
|
|
9551
|
+
super(pointer);
|
|
9552
|
+
}
|
|
9553
|
+
// operator==
|
|
9554
|
+
// operator!=
|
|
9555
|
+
static create() {
|
|
9556
|
+
var _ptr = Module._malloc(8);
|
|
9557
|
+
Module.ccall("csp_common_ApplicationSettings_Ctor", "void", ["number"], [_ptr]);
|
|
9558
|
+
var _nPtr = getNativePointer(_ptr);
|
|
9559
|
+
return new ApplicationSettings(_nPtr);
|
|
9560
|
+
}
|
|
9561
|
+
delete() {
|
|
9562
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9563
|
+
Module.ccall("csp_common_ApplicationSettings_Dtor", "void", ["number"], [this.pointer]);
|
|
9564
|
+
this.disposed = true;
|
|
9565
|
+
}
|
|
9566
|
+
}
|
|
9567
|
+
get applicationName() {
|
|
9568
|
+
let _result = Module.ccall("csp_common_ApplicationSettings__Get_ApplicationName", "string", ["number"], [this.pointer]);
|
|
9569
|
+
return _result;
|
|
9570
|
+
}
|
|
9571
|
+
set applicationName(value) {
|
|
9572
|
+
Module.ccall("csp_common_ApplicationSettings__Set_ApplicationName", "void", ["number", "string"], [this.pointer, value]);
|
|
9573
|
+
}
|
|
9574
|
+
get context() {
|
|
9575
|
+
let _result = Module.ccall("csp_common_ApplicationSettings__Get_Context", "string", ["number"], [this.pointer]);
|
|
9576
|
+
return _result;
|
|
9577
|
+
}
|
|
9578
|
+
set context(value) {
|
|
9579
|
+
Module.ccall("csp_common_ApplicationSettings__Set_Context", "void", ["number", "string"], [this.pointer, value]);
|
|
9580
|
+
}
|
|
9581
|
+
get allowAnonymous() {
|
|
9582
|
+
let _result = Module.ccall("csp_common_ApplicationSettings__Get_AllowAnonymous", "boolean", ["number"], [this.pointer]);
|
|
9583
|
+
return _result;
|
|
9584
|
+
}
|
|
9585
|
+
set allowAnonymous(value) {
|
|
9586
|
+
Module.ccall("csp_common_ApplicationSettings__Set_AllowAnonymous", "void", ["number", "boolean"], [this.pointer, value]);
|
|
9587
|
+
}
|
|
9588
|
+
get settings() {
|
|
9589
|
+
const _ptr = Module._malloc(8);
|
|
9590
|
+
Module.ccall("csp_common_ApplicationSettings__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
9591
|
+
const _nPtr = getNativePointer(_ptr);
|
|
9592
|
+
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
9593
|
+
}
|
|
9594
|
+
set settings(value) {
|
|
9595
|
+
Module.ccall("csp_common_ApplicationSettings__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
9596
|
+
}
|
|
9597
|
+
}
|
|
9598
|
+
Common.ApplicationSettings = ApplicationSettings;
|
|
9599
|
+
})(Common || (Common = {}));
|
|
9600
|
+
(function (Common) {
|
|
9601
|
+
/**
|
|
9602
|
+
* @description Represents configuration settings related to a user in a specific context
|
|
9603
|
+
*/
|
|
9604
|
+
class SettingsCollection extends NativeClassWrapper {
|
|
9605
|
+
/** @internal */
|
|
9606
|
+
constructor(pointer) {
|
|
9607
|
+
super(pointer);
|
|
9608
|
+
}
|
|
9609
|
+
static create() {
|
|
9610
|
+
var _ptr = Module._malloc(8);
|
|
9611
|
+
Module.ccall("csp_common_SettingsCollection_Ctor", "void", ["number"], [_ptr]);
|
|
9612
|
+
var _nPtr = getNativePointer(_ptr);
|
|
9613
|
+
return new SettingsCollection(_nPtr);
|
|
9614
|
+
}
|
|
9615
|
+
// operator==
|
|
9616
|
+
// operator!=
|
|
9617
|
+
delete() {
|
|
9618
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9619
|
+
Module.ccall("csp_common_SettingsCollection_Dtor", "void", ["number"], [this.pointer]);
|
|
9620
|
+
this.disposed = true;
|
|
9621
|
+
}
|
|
9622
|
+
}
|
|
9623
|
+
get userId() {
|
|
9624
|
+
let _result = Module.ccall("csp_common_SettingsCollection__Get_UserId", "string", ["number"], [this.pointer]);
|
|
9625
|
+
return _result;
|
|
9626
|
+
}
|
|
9627
|
+
set userId(value) {
|
|
9628
|
+
Module.ccall("csp_common_SettingsCollection__Set_UserId", "void", ["number", "string"], [this.pointer, value]);
|
|
9629
|
+
}
|
|
9630
|
+
get context() {
|
|
9631
|
+
let _result = Module.ccall("csp_common_SettingsCollection__Get_Context", "string", ["number"], [this.pointer]);
|
|
9632
|
+
return _result;
|
|
9633
|
+
}
|
|
9634
|
+
set context(value) {
|
|
9635
|
+
Module.ccall("csp_common_SettingsCollection__Set_Context", "void", ["number", "string"], [this.pointer, value]);
|
|
9636
|
+
}
|
|
9637
|
+
get settings() {
|
|
9638
|
+
const _ptr = Module._malloc(8);
|
|
9639
|
+
Module.ccall("csp_common_SettingsCollection__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
9640
|
+
const _nPtr = getNativePointer(_ptr);
|
|
9641
|
+
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
9642
|
+
}
|
|
9643
|
+
set settings(value) {
|
|
9644
|
+
Module.ccall("csp_common_SettingsCollection__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
9645
|
+
}
|
|
9646
|
+
}
|
|
9647
|
+
Common.SettingsCollection = SettingsCollection;
|
|
9648
|
+
})(Common || (Common = {}));
|
|
9558
9649
|
(function (Common) {
|
|
9559
9650
|
/**
|
|
9560
9651
|
* @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
|
|
@@ -14474,109 +14565,6 @@ export class CSPFoundation {
|
|
|
14474
14565
|
}
|
|
14475
14566
|
Systems.Sequence = Sequence;
|
|
14476
14567
|
})(Systems || (Systems = {}));
|
|
14477
|
-
(function (Systems) {
|
|
14478
|
-
/**
|
|
14479
|
-
@ingroup Application Settings System
|
|
14480
|
-
* @description Represents configuration settings for an application context.
|
|
14481
|
-
*/
|
|
14482
|
-
class ApplicationSettings extends NativeClassWrapper {
|
|
14483
|
-
/** @internal */
|
|
14484
|
-
constructor(pointer) {
|
|
14485
|
-
super(pointer);
|
|
14486
|
-
}
|
|
14487
|
-
static create() {
|
|
14488
|
-
var _ptr = Module._malloc(8);
|
|
14489
|
-
Module.ccall("csp_systems_ApplicationSettings_Ctor", "void", ["number"], [_ptr]);
|
|
14490
|
-
var _nPtr = getNativePointer(_ptr);
|
|
14491
|
-
return new ApplicationSettings(_nPtr);
|
|
14492
|
-
}
|
|
14493
|
-
delete() {
|
|
14494
|
-
if (this.ownsPointer && !this.disposed) {
|
|
14495
|
-
Module.ccall("csp_systems_ApplicationSettings_Dtor", "void", ["number"], [this.pointer]);
|
|
14496
|
-
this.disposed = true;
|
|
14497
|
-
}
|
|
14498
|
-
}
|
|
14499
|
-
get applicationName() {
|
|
14500
|
-
let _result = Module.ccall("csp_systems_ApplicationSettings__Get_ApplicationName", "string", ["number"], [this.pointer]);
|
|
14501
|
-
return _result;
|
|
14502
|
-
}
|
|
14503
|
-
set applicationName(value) {
|
|
14504
|
-
Module.ccall("csp_systems_ApplicationSettings__Set_ApplicationName", "void", ["number", "string"], [this.pointer, value]);
|
|
14505
|
-
}
|
|
14506
|
-
get context() {
|
|
14507
|
-
let _result = Module.ccall("csp_systems_ApplicationSettings__Get_Context", "string", ["number"], [this.pointer]);
|
|
14508
|
-
return _result;
|
|
14509
|
-
}
|
|
14510
|
-
set context(value) {
|
|
14511
|
-
Module.ccall("csp_systems_ApplicationSettings__Set_Context", "void", ["number", "string"], [this.pointer, value]);
|
|
14512
|
-
}
|
|
14513
|
-
get allowAnonymous() {
|
|
14514
|
-
let _result = Module.ccall("csp_systems_ApplicationSettings__Get_AllowAnonymous", "boolean", ["number"], [this.pointer]);
|
|
14515
|
-
return _result;
|
|
14516
|
-
}
|
|
14517
|
-
set allowAnonymous(value) {
|
|
14518
|
-
Module.ccall("csp_systems_ApplicationSettings__Set_AllowAnonymous", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14519
|
-
}
|
|
14520
|
-
get settings() {
|
|
14521
|
-
const _ptr = Module._malloc(8);
|
|
14522
|
-
Module.ccall("csp_systems_ApplicationSettings__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
14523
|
-
const _nPtr = getNativePointer(_ptr);
|
|
14524
|
-
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
14525
|
-
}
|
|
14526
|
-
set settings(value) {
|
|
14527
|
-
Module.ccall("csp_systems_ApplicationSettings__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
14528
|
-
}
|
|
14529
|
-
}
|
|
14530
|
-
Systems.ApplicationSettings = ApplicationSettings;
|
|
14531
|
-
})(Systems || (Systems = {}));
|
|
14532
|
-
(function (Systems) {
|
|
14533
|
-
/**
|
|
14534
|
-
@ingroup Settings System
|
|
14535
|
-
* @description Data representation of a Settings collection which maps to a UserService::Settings.
|
|
14536
|
-
*/
|
|
14537
|
-
class SettingsCollection extends NativeClassWrapper {
|
|
14538
|
-
/** @internal */
|
|
14539
|
-
constructor(pointer) {
|
|
14540
|
-
super(pointer);
|
|
14541
|
-
}
|
|
14542
|
-
static create() {
|
|
14543
|
-
var _ptr = Module._malloc(8);
|
|
14544
|
-
Module.ccall("csp_systems_SettingsCollection_Ctor", "void", ["number"], [_ptr]);
|
|
14545
|
-
var _nPtr = getNativePointer(_ptr);
|
|
14546
|
-
return new SettingsCollection(_nPtr);
|
|
14547
|
-
}
|
|
14548
|
-
delete() {
|
|
14549
|
-
if (this.ownsPointer && !this.disposed) {
|
|
14550
|
-
Module.ccall("csp_systems_SettingsCollection_Dtor", "void", ["number"], [this.pointer]);
|
|
14551
|
-
this.disposed = true;
|
|
14552
|
-
}
|
|
14553
|
-
}
|
|
14554
|
-
get userId() {
|
|
14555
|
-
let _result = Module.ccall("csp_systems_SettingsCollection__Get_UserId", "string", ["number"], [this.pointer]);
|
|
14556
|
-
return _result;
|
|
14557
|
-
}
|
|
14558
|
-
set userId(value) {
|
|
14559
|
-
Module.ccall("csp_systems_SettingsCollection__Set_UserId", "void", ["number", "string"], [this.pointer, value]);
|
|
14560
|
-
}
|
|
14561
|
-
get context() {
|
|
14562
|
-
let _result = Module.ccall("csp_systems_SettingsCollection__Get_Context", "string", ["number"], [this.pointer]);
|
|
14563
|
-
return _result;
|
|
14564
|
-
}
|
|
14565
|
-
set context(value) {
|
|
14566
|
-
Module.ccall("csp_systems_SettingsCollection__Set_Context", "void", ["number", "string"], [this.pointer, value]);
|
|
14567
|
-
}
|
|
14568
|
-
get settings() {
|
|
14569
|
-
const _ptr = Module._malloc(8);
|
|
14570
|
-
Module.ccall("csp_systems_SettingsCollection__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
14571
|
-
const _nPtr = getNativePointer(_ptr);
|
|
14572
|
-
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
14573
|
-
}
|
|
14574
|
-
set settings(value) {
|
|
14575
|
-
Module.ccall("csp_systems_SettingsCollection__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
14576
|
-
}
|
|
14577
|
-
}
|
|
14578
|
-
Systems.SettingsCollection = SettingsCollection;
|
|
14579
|
-
})(Systems || (Systems = {}));
|
|
14580
14568
|
(function (Systems) {
|
|
14581
14569
|
/**
|
|
14582
14570
|
@ingroup Space System
|
|
@@ -27167,7 +27155,7 @@ export class CSPFoundation {
|
|
|
27167
27155
|
getApplicationSettings() {
|
|
27168
27156
|
var _ret = Module._malloc(8);
|
|
27169
27157
|
Module.ccall("csp_systems_ApplicationSettingsResult_GetApplicationSettingsC_ApplicationSettingsRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
27170
|
-
var _nPtr = new
|
|
27158
|
+
var _nPtr = new Common.ApplicationSettings(getNativePointer(_ret));
|
|
27171
27159
|
Module._free(_ret);
|
|
27172
27160
|
return _nPtr;
|
|
27173
27161
|
}
|
|
@@ -27288,7 +27276,7 @@ export class CSPFoundation {
|
|
|
27288
27276
|
getSettingsCollection() {
|
|
27289
27277
|
var _ret = Module._malloc(8);
|
|
27290
27278
|
Module.ccall("csp_systems_SettingsCollectionResult_GetSettingsCollectionC_SettingsCollectionRC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
27291
|
-
var _nPtr = new
|
|
27279
|
+
var _nPtr = new Common.SettingsCollection(getNativePointer(_ret));
|
|
27292
27280
|
Module._free(_ret);
|
|
27293
27281
|
return _nPtr;
|
|
27294
27282
|
}
|
|
@@ -31824,6 +31812,20 @@ export class CSPFoundation {
|
|
|
31824
31812
|
this.TTypeFactory = TTypeFactory;
|
|
31825
31813
|
this.TTypeName = TTypeName;
|
|
31826
31814
|
}
|
|
31815
|
+
static ofcsp_common_ApplicationSettings() {
|
|
31816
|
+
var _ret = Module._malloc(8);
|
|
31817
|
+
Module.ccall("csp_common_List_Ctor_csp_common_ApplicationSettings", "void", ["number"], [_ret]);
|
|
31818
|
+
var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
|
|
31819
|
+
Module._free(_ret);
|
|
31820
|
+
return _inst;
|
|
31821
|
+
}
|
|
31822
|
+
static ofcsp_common_SettingsCollection() {
|
|
31823
|
+
var _ret = Module._malloc(8);
|
|
31824
|
+
Module.ccall("csp_common_List_Ctor_csp_common_SettingsCollection", "void", ["number"], [_ret]);
|
|
31825
|
+
var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
|
|
31826
|
+
Module._free(_ret);
|
|
31827
|
+
return _inst;
|
|
31828
|
+
}
|
|
31827
31829
|
static ofcsp_multiplayer_SpaceEntity() {
|
|
31828
31830
|
var _ret = Module._malloc(8);
|
|
31829
31831
|
Module.ccall("csp_common_List_Ctor_csp_multiplayer_SpaceEntity", "void", ["number"], [_ret]);
|
|
@@ -31845,6 +31847,20 @@ export class CSPFoundation {
|
|
|
31845
31847
|
Module._free(_ret);
|
|
31846
31848
|
return _inst;
|
|
31847
31849
|
}
|
|
31850
|
+
static ofcsp_common_ApplicationSettings_number(minimumSize) {
|
|
31851
|
+
var _ret = Module._malloc(8);
|
|
31852
|
+
Module.ccall("csp_common_List_Ctor_size_t_csp_common_ApplicationSettings", "void", ["number", "number"], [_ret, minimumSize]);
|
|
31853
|
+
var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
|
|
31854
|
+
Module._free(_ret);
|
|
31855
|
+
return _inst;
|
|
31856
|
+
}
|
|
31857
|
+
static ofcsp_common_SettingsCollection_number(minimumSize) {
|
|
31858
|
+
var _ret = Module._malloc(8);
|
|
31859
|
+
Module.ccall("csp_common_List_Ctor_size_t_csp_common_SettingsCollection", "void", ["number", "number"], [_ret, minimumSize]);
|
|
31860
|
+
var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
|
|
31861
|
+
Module._free(_ret);
|
|
31862
|
+
return _inst;
|
|
31863
|
+
}
|
|
31848
31864
|
static ofcsp_multiplayer_SpaceEntity_number(minimumSize) {
|
|
31849
31865
|
var _ret = Module._malloc(8);
|
|
31850
31866
|
Module.ccall("csp_common_List_Ctor_size_t_csp_multiplayer_SpaceEntity", "void", ["number", "number"], [_ret, minimumSize]);
|
|
@@ -31866,6 +31882,20 @@ export class CSPFoundation {
|
|
|
31866
31882
|
Module._free(_ret);
|
|
31867
31883
|
return _inst;
|
|
31868
31884
|
}
|
|
31885
|
+
static ofcsp_common_ApplicationSettings_List(other) {
|
|
31886
|
+
var _ret = Module._malloc(8);
|
|
31887
|
+
Module.ccall("csp_common_List_Ctor_ListRC_csp_common_ApplicationSettings", "void", ["number", "number"], [_ret, other.pointer]);
|
|
31888
|
+
var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
|
|
31889
|
+
Module._free(_ret);
|
|
31890
|
+
return _inst;
|
|
31891
|
+
}
|
|
31892
|
+
static ofcsp_common_SettingsCollection_List(other) {
|
|
31893
|
+
var _ret = Module._malloc(8);
|
|
31894
|
+
Module.ccall("csp_common_List_Ctor_ListRC_csp_common_SettingsCollection", "void", ["number", "number"], [_ret, other.pointer]);
|
|
31895
|
+
var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
|
|
31896
|
+
Module._free(_ret);
|
|
31897
|
+
return _inst;
|
|
31898
|
+
}
|
|
31869
31899
|
static ofcsp_multiplayer_SpaceEntity_List(other) {
|
|
31870
31900
|
var _ret = Module._malloc(8);
|
|
31871
31901
|
Module.ccall("csp_common_List_Ctor_ListRC_csp_multiplayer_SpaceEntity", "void", ["number", "number"], [_ret, other.pointer]);
|
|
@@ -31961,6 +31991,13 @@ export class CSPFoundation {
|
|
|
31961
31991
|
Module._free(_ret);
|
|
31962
31992
|
return _inst;
|
|
31963
31993
|
}
|
|
31994
|
+
static ofStringAndString() {
|
|
31995
|
+
var _ret = Module._malloc(8);
|
|
31996
|
+
Module.ccall("csp_common_Map_Ctor_String_String", "void", ["number"], [_ret]);
|
|
31997
|
+
var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
|
|
31998
|
+
Module._free(_ret);
|
|
31999
|
+
return _inst;
|
|
32000
|
+
}
|
|
31964
32001
|
static ofUInt32Andcsp_common_ReplicatedValue() {
|
|
31965
32002
|
var _ret = Module._malloc(8);
|
|
31966
32003
|
Module.ccall("csp_common_Map_Ctor_UInt32_csp_common_ReplicatedValue", "void", ["number"], [_ret]);
|
|
@@ -31975,13 +32012,6 @@ export class CSPFoundation {
|
|
|
31975
32012
|
Module._free(_ret);
|
|
31976
32013
|
return _inst;
|
|
31977
32014
|
}
|
|
31978
|
-
static ofStringAndString() {
|
|
31979
|
-
var _ret = Module._malloc(8);
|
|
31980
|
-
Module.ccall("csp_common_Map_Ctor_String_String", "void", ["number"], [_ret]);
|
|
31981
|
-
var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
|
|
31982
|
-
Module._free(_ret);
|
|
31983
|
-
return _inst;
|
|
31984
|
-
}
|
|
31985
32015
|
static ofStringAndcsp_systems_Asset() {
|
|
31986
32016
|
var _ret = Module._malloc(8);
|
|
31987
32017
|
Module.ccall("csp_common_Map_Ctor_String_csp_systems_Asset", "void", ["number"], [_ret]);
|
|
@@ -32010,6 +32040,13 @@ export class CSPFoundation {
|
|
|
32010
32040
|
Module._free(_ret);
|
|
32011
32041
|
return _inst;
|
|
32012
32042
|
}
|
|
32043
|
+
static ofStringAndString_Map(other) {
|
|
32044
|
+
var _ret = Module._malloc(8);
|
|
32045
|
+
Module.ccall("csp_common_Map_Ctor_MapRC_String_String", "void", ["number", "number"], [_ret, other.pointer]);
|
|
32046
|
+
var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
|
|
32047
|
+
Module._free(_ret);
|
|
32048
|
+
return _inst;
|
|
32049
|
+
}
|
|
32013
32050
|
static ofUInt32Andcsp_common_ReplicatedValue_Map(other) {
|
|
32014
32051
|
var _ret = Module._malloc(8);
|
|
32015
32052
|
Module.ccall("csp_common_Map_Ctor_MapRC_UInt32_csp_common_ReplicatedValue", "void", ["number", "number"], [_ret, other.pointer]);
|
|
@@ -32024,13 +32061,6 @@ export class CSPFoundation {
|
|
|
32024
32061
|
Module._free(_ret);
|
|
32025
32062
|
return _inst;
|
|
32026
32063
|
}
|
|
32027
|
-
static ofStringAndString_Map(other) {
|
|
32028
|
-
var _ret = Module._malloc(8);
|
|
32029
|
-
Module.ccall("csp_common_Map_Ctor_MapRC_String_String", "void", ["number", "number"], [_ret, other.pointer]);
|
|
32030
|
-
var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
|
|
32031
|
-
Module._free(_ret);
|
|
32032
|
-
return _inst;
|
|
32033
|
-
}
|
|
32034
32064
|
static ofStringAndcsp_systems_Asset_Map(other) {
|
|
32035
32065
|
var _ret = Module._malloc(8);
|
|
32036
32066
|
Module.ccall("csp_common_Map_Ctor_MapRC_String_csp_systems_Asset", "void", ["number", "number"], [_ret, other.pointer]);
|