connected-spaces-platform.web 6.5.0 → 6.6.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.
@@ -1804,6 +1804,10 @@ export declare namespace Common {
1804
1804
  set userId(value: string);
1805
1805
  get deviceId(): string;
1806
1806
  set deviceId(value: string);
1807
+ get defaultApplicationSettings(): Common.List<Common.ApplicationSettings>;
1808
+ set defaultApplicationSettings(value: Common.List<Common.ApplicationSettings>);
1809
+ get defaultSettings(): Common.List<Common.SettingsCollection>;
1810
+ set defaultSettings(value: Common.List<Common.SettingsCollection>);
1807
1811
  }
1808
1812
  }
1809
1813
  export declare namespace Common {
@@ -3574,6 +3578,43 @@ export declare namespace Common {
3574
3578
  setStringMap(value: Common.Map<string, Common.ReplicatedValue>): void;
3575
3579
  }
3576
3580
  }
3581
+ export declare namespace Common {
3582
+ /**
3583
+ @ingroup Application Settings System
3584
+ * @description Represents configuration settings for an application context.
3585
+ */
3586
+ class ApplicationSettings extends NativeClassWrapper implements INativeResource {
3587
+ /** @internal */
3588
+ constructor(pointer: NativePointer);
3589
+ static create(): ApplicationSettings;
3590
+ delete(): void;
3591
+ get applicationName(): string;
3592
+ set applicationName(value: string);
3593
+ get context(): string;
3594
+ set context(value: string);
3595
+ get allowAnonymous(): boolean;
3596
+ set allowAnonymous(value: boolean);
3597
+ get settings(): Common.Map<string, string>;
3598
+ set settings(value: Common.Map<string, string>);
3599
+ }
3600
+ }
3601
+ export declare namespace Common {
3602
+ /**
3603
+ * @description Represents configuration settings related to a user in a specific context
3604
+ */
3605
+ class SettingsCollection extends NativeClassWrapper implements INativeResource {
3606
+ /** @internal */
3607
+ constructor(pointer: NativePointer);
3608
+ static create(): SettingsCollection;
3609
+ delete(): void;
3610
+ get userId(): string;
3611
+ set userId(value: string);
3612
+ get context(): string;
3613
+ set context(value: string);
3614
+ get settings(): Common.Map<string, string>;
3615
+ set settings(value: Common.Map<string, string>);
3616
+ }
3617
+ }
3577
3618
  export declare namespace Common {
3578
3619
  /**
3579
3620
  * @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
@@ -5779,44 +5820,6 @@ export declare namespace Systems {
5779
5820
  set metaData(value: Common.Map<string, string>);
5780
5821
  }
5781
5822
  }
5782
- export declare namespace Systems {
5783
- /**
5784
- @ingroup Application Settings System
5785
- * @description Represents configuration settings for an application context.
5786
- */
5787
- class ApplicationSettings extends NativeClassWrapper implements INativeResource {
5788
- /** @internal */
5789
- constructor(pointer: NativePointer);
5790
- static create(): ApplicationSettings;
5791
- delete(): void;
5792
- get applicationName(): string;
5793
- set applicationName(value: string);
5794
- get context(): string;
5795
- set context(value: string);
5796
- get allowAnonymous(): boolean;
5797
- set allowAnonymous(value: boolean);
5798
- get settings(): Common.Map<string, string>;
5799
- set settings(value: Common.Map<string, string>);
5800
- }
5801
- }
5802
- export declare namespace Systems {
5803
- /**
5804
- @ingroup Settings System
5805
- * @description Data representation of a Settings collection which maps to a UserService::Settings.
5806
- */
5807
- class SettingsCollection extends NativeClassWrapper implements INativeResource {
5808
- /** @internal */
5809
- constructor(pointer: NativePointer);
5810
- static create(): SettingsCollection;
5811
- delete(): void;
5812
- get userId(): string;
5813
- set userId(value: string);
5814
- get context(): string;
5815
- set context(value: string);
5816
- get settings(): Common.Map<string, string>;
5817
- set settings(value: Common.Map<string, string>);
5818
- }
5819
- }
5820
5823
  export declare namespace Systems {
5821
5824
  /**
5822
5825
  @ingroup Space System
@@ -11712,7 +11715,7 @@ export declare namespace Systems {
11712
11715
  /** @internal */
11713
11716
  constructor(pointer: NativePointer);
11714
11717
  static fromResultBase(baseInstance: Systems.ResultBase): Systems.ApplicationSettingsResult;
11715
- getApplicationSettings(): Systems.ApplicationSettings;
11718
+ getApplicationSettings(): Common.ApplicationSettings;
11716
11719
  delete(): void;
11717
11720
  }
11718
11721
  }
@@ -11759,7 +11762,7 @@ export declare namespace Systems {
11759
11762
  * @description Retrieves the settings collection result.
11760
11763
  * @return Const ref of settings collection class
11761
11764
  */
11762
- getSettingsCollection(): Systems.SettingsCollection;
11765
+ getSettingsCollection(): Common.SettingsCollection;
11763
11766
  delete(): void;
11764
11767
  }
11765
11768
  }
@@ -13085,12 +13088,18 @@ export declare namespace Common {
13085
13088
  constructor(pointer: NativePointer, TTypeFactory: ProxyClassFactory, TTypeName: string);
13086
13089
  private TTypeFactory;
13087
13090
  private TTypeName;
13091
+ static ofcsp_common_ApplicationSettings(): List<Common.ApplicationSettings>;
13092
+ static ofcsp_common_SettingsCollection(): List<Common.SettingsCollection>;
13088
13093
  static ofcsp_multiplayer_SpaceEntity(): List<Multiplayer.SpaceEntity>;
13089
13094
  static ofString(): List<string>;
13090
13095
  static ofcsp_common_Vector3(): List<Common.Vector3>;
13096
+ static ofcsp_common_ApplicationSettings_number(minimumSize: number): List<Common.ApplicationSettings>;
13097
+ static ofcsp_common_SettingsCollection_number(minimumSize: number): List<Common.SettingsCollection>;
13091
13098
  static ofcsp_multiplayer_SpaceEntity_number(minimumSize: number): List<Multiplayer.SpaceEntity>;
13092
13099
  static ofString_number(minimumSize: number): List<string>;
13093
13100
  static ofcsp_common_Vector3_number(minimumSize: number): List<Common.Vector3>;
13101
+ static ofcsp_common_ApplicationSettings_List(other: Common.List<Common.ApplicationSettings>): List<Common.ApplicationSettings>;
13102
+ static ofcsp_common_SettingsCollection_List(other: Common.List<Common.SettingsCollection>): List<Common.SettingsCollection>;
13094
13103
  static ofcsp_multiplayer_SpaceEntity_List(other: Common.List<Multiplayer.SpaceEntity>): List<Multiplayer.SpaceEntity>;
13095
13104
  static ofString_List(other: Common.List<string>): List<string>;
13096
13105
  static ofcsp_common_Vector3_List(other: Common.List<Common.Vector3>): List<Common.Vector3>;
@@ -13115,16 +13124,16 @@ export declare namespace Common {
13115
13124
  private TValueTypeFactory;
13116
13125
  private TValueTypeName;
13117
13126
  static ofStringAndcsp_common_ReplicatedValue(): Map<string, Common.ReplicatedValue>;
13127
+ static ofStringAndString(): Map<string, string>;
13118
13128
  static ofUInt32Andcsp_common_ReplicatedValue(): Map<number, Common.ReplicatedValue>;
13119
13129
  static ofUInt16Andcsp_multiplayer_ComponentBase(): Map<number, Multiplayer.ComponentBase>;
13120
- static ofStringAndString(): Map<string, string>;
13121
13130
  static ofStringAndcsp_systems_Asset(): Map<string, Systems.Asset>;
13122
13131
  static ofStringAndcsp_common_Map_String_String(): Map<string, Common.Map<string, string>>;
13123
13132
  static ofStringAndcsp_common_Array_String(): Map<string, Common.Array<string>>;
13124
13133
  static ofStringAndcsp_common_ReplicatedValue_Map(other: Common.Map<string, Common.ReplicatedValue>): Map<string, Common.ReplicatedValue>;
13134
+ static ofStringAndString_Map(other: Common.Map<string, string>): Map<string, string>;
13125
13135
  static ofUInt32Andcsp_common_ReplicatedValue_Map(other: Common.Map<number, Common.ReplicatedValue>): Map<number, Common.ReplicatedValue>;
13126
13136
  static ofUInt16Andcsp_multiplayer_ComponentBase_Map(other: Common.Map<number, Multiplayer.ComponentBase>): Map<number, Multiplayer.ComponentBase>;
13127
- static ofStringAndString_Map(other: Common.Map<string, string>): Map<string, string>;
13128
13137
  static ofStringAndcsp_systems_Asset_Map(other: Common.Map<string, Systems.Asset>): Map<string, Systems.Asset>;
13129
13138
  static ofStringAndcsp_common_Map_String_String_Map(other: Common.Map<string, Common.Map<string, string>>): Map<string, Common.Map<string, string>>;
13130
13139
  static ofStringAndcsp_common_Array_String_Map(other: Common.Map<string, Common.Array<string>>): Map<string, Common.Array<string>>;
@@ -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 = {}));
@@ -9555,6 +9583,112 @@ export class CSPFoundation {
9555
9583
  }
9556
9584
  Common.ReplicatedValue = ReplicatedValue;
9557
9585
  })(Common || (Common = {}));
9586
+ (function (Common) {
9587
+ /**
9588
+ @ingroup Application Settings System
9589
+ * @description Represents configuration settings for an application context.
9590
+ */
9591
+ class ApplicationSettings extends NativeClassWrapper {
9592
+ /** @internal */
9593
+ constructor(pointer) {
9594
+ super(pointer);
9595
+ }
9596
+ // operator==
9597
+ // operator!=
9598
+ static create() {
9599
+ var _ptr = Module._malloc(8);
9600
+ Module.ccall("csp_common_ApplicationSettings_Ctor", "void", ["number"], [_ptr]);
9601
+ var _nPtr = getNativePointer(_ptr);
9602
+ return new ApplicationSettings(_nPtr);
9603
+ }
9604
+ delete() {
9605
+ if (this.ownsPointer && !this.disposed) {
9606
+ Module.ccall("csp_common_ApplicationSettings_Dtor", "void", ["number"], [this.pointer]);
9607
+ this.disposed = true;
9608
+ }
9609
+ }
9610
+ get applicationName() {
9611
+ let _result = Module.ccall("csp_common_ApplicationSettings__Get_ApplicationName", "string", ["number"], [this.pointer]);
9612
+ return _result;
9613
+ }
9614
+ set applicationName(value) {
9615
+ Module.ccall("csp_common_ApplicationSettings__Set_ApplicationName", "void", ["number", "string"], [this.pointer, value]);
9616
+ }
9617
+ get context() {
9618
+ let _result = Module.ccall("csp_common_ApplicationSettings__Get_Context", "string", ["number"], [this.pointer]);
9619
+ return _result;
9620
+ }
9621
+ set context(value) {
9622
+ Module.ccall("csp_common_ApplicationSettings__Set_Context", "void", ["number", "string"], [this.pointer, value]);
9623
+ }
9624
+ get allowAnonymous() {
9625
+ let _result = Module.ccall("csp_common_ApplicationSettings__Get_AllowAnonymous", "boolean", ["number"], [this.pointer]);
9626
+ return _result;
9627
+ }
9628
+ set allowAnonymous(value) {
9629
+ Module.ccall("csp_common_ApplicationSettings__Set_AllowAnonymous", "void", ["number", "boolean"], [this.pointer, value]);
9630
+ }
9631
+ get settings() {
9632
+ const _ptr = Module._malloc(8);
9633
+ Module.ccall("csp_common_ApplicationSettings__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
9634
+ const _nPtr = getNativePointer(_ptr);
9635
+ return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
9636
+ }
9637
+ set settings(value) {
9638
+ Module.ccall("csp_common_ApplicationSettings__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
9639
+ }
9640
+ }
9641
+ Common.ApplicationSettings = ApplicationSettings;
9642
+ })(Common || (Common = {}));
9643
+ (function (Common) {
9644
+ /**
9645
+ * @description Represents configuration settings related to a user in a specific context
9646
+ */
9647
+ class SettingsCollection extends NativeClassWrapper {
9648
+ /** @internal */
9649
+ constructor(pointer) {
9650
+ super(pointer);
9651
+ }
9652
+ static create() {
9653
+ var _ptr = Module._malloc(8);
9654
+ Module.ccall("csp_common_SettingsCollection_Ctor", "void", ["number"], [_ptr]);
9655
+ var _nPtr = getNativePointer(_ptr);
9656
+ return new SettingsCollection(_nPtr);
9657
+ }
9658
+ // operator==
9659
+ // operator!=
9660
+ delete() {
9661
+ if (this.ownsPointer && !this.disposed) {
9662
+ Module.ccall("csp_common_SettingsCollection_Dtor", "void", ["number"], [this.pointer]);
9663
+ this.disposed = true;
9664
+ }
9665
+ }
9666
+ get userId() {
9667
+ let _result = Module.ccall("csp_common_SettingsCollection__Get_UserId", "string", ["number"], [this.pointer]);
9668
+ return _result;
9669
+ }
9670
+ set userId(value) {
9671
+ Module.ccall("csp_common_SettingsCollection__Set_UserId", "void", ["number", "string"], [this.pointer, value]);
9672
+ }
9673
+ get context() {
9674
+ let _result = Module.ccall("csp_common_SettingsCollection__Get_Context", "string", ["number"], [this.pointer]);
9675
+ return _result;
9676
+ }
9677
+ set context(value) {
9678
+ Module.ccall("csp_common_SettingsCollection__Set_Context", "void", ["number", "string"], [this.pointer, value]);
9679
+ }
9680
+ get settings() {
9681
+ const _ptr = Module._malloc(8);
9682
+ Module.ccall("csp_common_SettingsCollection__Get_Settings", "void", ["number", "number"], [_ptr, this.pointer]);
9683
+ const _nPtr = getNativePointer(_ptr);
9684
+ return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
9685
+ }
9686
+ set settings(value) {
9687
+ Module.ccall("csp_common_SettingsCollection__Set_Settings", "void", ["number", "number"], [this.pointer, value.pointer]);
9688
+ }
9689
+ }
9690
+ Common.SettingsCollection = SettingsCollection;
9691
+ })(Common || (Common = {}));
9558
9692
  (function (Common) {
9559
9693
  /**
9560
9694
  * @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
@@ -14474,109 +14608,6 @@ export class CSPFoundation {
14474
14608
  }
14475
14609
  Systems.Sequence = Sequence;
14476
14610
  })(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
14611
  (function (Systems) {
14581
14612
  /**
14582
14613
  @ingroup Space System
@@ -27167,7 +27198,7 @@ export class CSPFoundation {
27167
27198
  getApplicationSettings() {
27168
27199
  var _ret = Module._malloc(8);
27169
27200
  Module.ccall("csp_systems_ApplicationSettingsResult_GetApplicationSettingsC_ApplicationSettingsRC", "void", ["number", "number"], [_ret, this.pointer]);
27170
- var _nPtr = new Systems.ApplicationSettings(getNativePointer(_ret));
27201
+ var _nPtr = new Common.ApplicationSettings(getNativePointer(_ret));
27171
27202
  Module._free(_ret);
27172
27203
  return _nPtr;
27173
27204
  }
@@ -27288,7 +27319,7 @@ export class CSPFoundation {
27288
27319
  getSettingsCollection() {
27289
27320
  var _ret = Module._malloc(8);
27290
27321
  Module.ccall("csp_systems_SettingsCollectionResult_GetSettingsCollectionC_SettingsCollectionRC", "void", ["number", "number"], [_ret, this.pointer]);
27291
- var _nPtr = new Systems.SettingsCollection(getNativePointer(_ret));
27322
+ var _nPtr = new Common.SettingsCollection(getNativePointer(_ret));
27292
27323
  Module._free(_ret);
27293
27324
  return _nPtr;
27294
27325
  }
@@ -31824,6 +31855,20 @@ export class CSPFoundation {
31824
31855
  this.TTypeFactory = TTypeFactory;
31825
31856
  this.TTypeName = TTypeName;
31826
31857
  }
31858
+ static ofcsp_common_ApplicationSettings() {
31859
+ var _ret = Module._malloc(8);
31860
+ Module.ccall("csp_common_List_Ctor_csp_common_ApplicationSettings", "void", ["number"], [_ret]);
31861
+ var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
31862
+ Module._free(_ret);
31863
+ return _inst;
31864
+ }
31865
+ static ofcsp_common_SettingsCollection() {
31866
+ var _ret = Module._malloc(8);
31867
+ Module.ccall("csp_common_List_Ctor_csp_common_SettingsCollection", "void", ["number"], [_ret]);
31868
+ var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
31869
+ Module._free(_ret);
31870
+ return _inst;
31871
+ }
31827
31872
  static ofcsp_multiplayer_SpaceEntity() {
31828
31873
  var _ret = Module._malloc(8);
31829
31874
  Module.ccall("csp_common_List_Ctor_csp_multiplayer_SpaceEntity", "void", ["number"], [_ret]);
@@ -31845,6 +31890,20 @@ export class CSPFoundation {
31845
31890
  Module._free(_ret);
31846
31891
  return _inst;
31847
31892
  }
31893
+ static ofcsp_common_ApplicationSettings_number(minimumSize) {
31894
+ var _ret = Module._malloc(8);
31895
+ Module.ccall("csp_common_List_Ctor_size_t_csp_common_ApplicationSettings", "void", ["number", "number"], [_ret, minimumSize]);
31896
+ var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
31897
+ Module._free(_ret);
31898
+ return _inst;
31899
+ }
31900
+ static ofcsp_common_SettingsCollection_number(minimumSize) {
31901
+ var _ret = Module._malloc(8);
31902
+ Module.ccall("csp_common_List_Ctor_size_t_csp_common_SettingsCollection", "void", ["number", "number"], [_ret, minimumSize]);
31903
+ var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
31904
+ Module._free(_ret);
31905
+ return _inst;
31906
+ }
31848
31907
  static ofcsp_multiplayer_SpaceEntity_number(minimumSize) {
31849
31908
  var _ret = Module._malloc(8);
31850
31909
  Module.ccall("csp_common_List_Ctor_size_t_csp_multiplayer_SpaceEntity", "void", ["number", "number"], [_ret, minimumSize]);
@@ -31866,6 +31925,20 @@ export class CSPFoundation {
31866
31925
  Module._free(_ret);
31867
31926
  return _inst;
31868
31927
  }
31928
+ static ofcsp_common_ApplicationSettings_List(other) {
31929
+ var _ret = Module._malloc(8);
31930
+ Module.ccall("csp_common_List_Ctor_ListRC_csp_common_ApplicationSettings", "void", ["number", "number"], [_ret, other.pointer]);
31931
+ var _inst = new List(getNativePointer(_ret), csp_common_ApplicationSettingsFactory, "csp_common_ApplicationSettings");
31932
+ Module._free(_ret);
31933
+ return _inst;
31934
+ }
31935
+ static ofcsp_common_SettingsCollection_List(other) {
31936
+ var _ret = Module._malloc(8);
31937
+ Module.ccall("csp_common_List_Ctor_ListRC_csp_common_SettingsCollection", "void", ["number", "number"], [_ret, other.pointer]);
31938
+ var _inst = new List(getNativePointer(_ret), csp_common_SettingsCollectionFactory, "csp_common_SettingsCollection");
31939
+ Module._free(_ret);
31940
+ return _inst;
31941
+ }
31869
31942
  static ofcsp_multiplayer_SpaceEntity_List(other) {
31870
31943
  var _ret = Module._malloc(8);
31871
31944
  Module.ccall("csp_common_List_Ctor_ListRC_csp_multiplayer_SpaceEntity", "void", ["number", "number"], [_ret, other.pointer]);
@@ -31961,6 +32034,13 @@ export class CSPFoundation {
31961
32034
  Module._free(_ret);
31962
32035
  return _inst;
31963
32036
  }
32037
+ static ofStringAndString() {
32038
+ var _ret = Module._malloc(8);
32039
+ Module.ccall("csp_common_Map_Ctor_String_String", "void", ["number"], [_ret]);
32040
+ var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
32041
+ Module._free(_ret);
32042
+ return _inst;
32043
+ }
31964
32044
  static ofUInt32Andcsp_common_ReplicatedValue() {
31965
32045
  var _ret = Module._malloc(8);
31966
32046
  Module.ccall("csp_common_Map_Ctor_UInt32_csp_common_ReplicatedValue", "void", ["number"], [_ret]);
@@ -31975,13 +32055,6 @@ export class CSPFoundation {
31975
32055
  Module._free(_ret);
31976
32056
  return _inst;
31977
32057
  }
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
32058
  static ofStringAndcsp_systems_Asset() {
31986
32059
  var _ret = Module._malloc(8);
31987
32060
  Module.ccall("csp_common_Map_Ctor_String_csp_systems_Asset", "void", ["number"], [_ret]);
@@ -32010,6 +32083,13 @@ export class CSPFoundation {
32010
32083
  Module._free(_ret);
32011
32084
  return _inst;
32012
32085
  }
32086
+ static ofStringAndString_Map(other) {
32087
+ var _ret = Module._malloc(8);
32088
+ Module.ccall("csp_common_Map_Ctor_MapRC_String_String", "void", ["number", "number"], [_ret, other.pointer]);
32089
+ var _inst = new Map(getNativePointer(_ret), StringFactory, "String", StringFactory, "String");
32090
+ Module._free(_ret);
32091
+ return _inst;
32092
+ }
32013
32093
  static ofUInt32Andcsp_common_ReplicatedValue_Map(other) {
32014
32094
  var _ret = Module._malloc(8);
32015
32095
  Module.ccall("csp_common_Map_Ctor_MapRC_UInt32_csp_common_ReplicatedValue", "void", ["number", "number"], [_ret, other.pointer]);
@@ -32024,13 +32104,6 @@ export class CSPFoundation {
32024
32104
  Module._free(_ret);
32025
32105
  return _inst;
32026
32106
  }
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
32107
  static ofStringAndcsp_systems_Asset_Map(other) {
32035
32108
  var _ret = Module._malloc(8);
32036
32109
  Module.ccall("csp_common_Map_Ctor_MapRC_String_csp_systems_Asset", "void", ["number", "number"], [_ret, other.pointer]);