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.
@@ -1077,6 +1077,22 @@ function csp_common_ReplicatedValueFactory(
1077
1077
  ProxyClassFactories["csp_common_ReplicatedValue"] =
1078
1078
  csp_common_ReplicatedValueFactory;
1079
1079
 
1080
+ function csp_common_ApplicationSettingsFactory(
1081
+ nativePointer: NativePointer,
1082
+ ): NativeClassWrapper {
1083
+ return new Common.ApplicationSettings(nativePointer);
1084
+ }
1085
+ ProxyClassFactories["csp_common_ApplicationSettings"] =
1086
+ csp_common_ApplicationSettingsFactory;
1087
+
1088
+ function csp_common_SettingsCollectionFactory(
1089
+ nativePointer: NativePointer,
1090
+ ): NativeClassWrapper {
1091
+ return new Common.SettingsCollection(nativePointer);
1092
+ }
1093
+ ProxyClassFactories["csp_common_SettingsCollection"] =
1094
+ csp_common_SettingsCollectionFactory;
1095
+
1080
1096
  function csp_common_VariantFactory(
1081
1097
  nativePointer: NativePointer,
1082
1098
  ): NativeClassWrapper {
@@ -1492,22 +1508,6 @@ function csp_systems_SequenceFactory(
1492
1508
  }
1493
1509
  ProxyClassFactories["csp_systems_Sequence"] = csp_systems_SequenceFactory;
1494
1510
 
1495
- function csp_systems_ApplicationSettingsFactory(
1496
- nativePointer: NativePointer,
1497
- ): NativeClassWrapper {
1498
- return new Systems.ApplicationSettings(nativePointer);
1499
- }
1500
- ProxyClassFactories["csp_systems_ApplicationSettings"] =
1501
- csp_systems_ApplicationSettingsFactory;
1502
-
1503
- function csp_systems_SettingsCollectionFactory(
1504
- nativePointer: NativePointer,
1505
- ): NativeClassWrapper {
1506
- return new Systems.SettingsCollection(nativePointer);
1507
- }
1508
- ProxyClassFactories["csp_systems_SettingsCollection"] =
1509
- csp_systems_SettingsCollectionFactory;
1510
-
1511
1511
  function csp_systems_SiteFactory(
1512
1512
  nativePointer: NativePointer,
1513
1513
  ): NativeClassWrapper {
@@ -3133,6 +3133,30 @@ function csp_common_Array_csp_common_Array_StringFactory(
3133
3133
  ProxyClassFactories["csp_common_Array_csp_common_Array_String"] =
3134
3134
  csp_common_Array_csp_common_Array_StringFactory;
3135
3135
 
3136
+ function csp_common_List_csp_common_ApplicationSettingsFactory(
3137
+ nativePointer: NativePointer,
3138
+ ): NativeClassWrapper {
3139
+ return new Common.List<Common.ApplicationSettings>(
3140
+ nativePointer,
3141
+ csp_common_ApplicationSettingsFactory,
3142
+ "csp_common_ApplicationSettings",
3143
+ );
3144
+ }
3145
+ ProxyClassFactories["csp_common_List_csp_common_ApplicationSettings"] =
3146
+ csp_common_List_csp_common_ApplicationSettingsFactory;
3147
+
3148
+ function csp_common_List_csp_common_SettingsCollectionFactory(
3149
+ nativePointer: NativePointer,
3150
+ ): NativeClassWrapper {
3151
+ return new Common.List<Common.SettingsCollection>(
3152
+ nativePointer,
3153
+ csp_common_SettingsCollectionFactory,
3154
+ "csp_common_SettingsCollection",
3155
+ );
3156
+ }
3157
+ ProxyClassFactories["csp_common_List_csp_common_SettingsCollection"] =
3158
+ csp_common_List_csp_common_SettingsCollectionFactory;
3159
+
3136
3160
  function csp_common_List_csp_multiplayer_SpaceEntityFactory(
3137
3161
  nativePointer: NativePointer,
3138
3162
  ): NativeClassWrapper {
@@ -3178,6 +3202,20 @@ function csp_common_Map_String_csp_common_ReplicatedValueFactory(
3178
3202
  ProxyClassFactories["csp_common_Map_String_csp_common_ReplicatedValue"] =
3179
3203
  csp_common_Map_String_csp_common_ReplicatedValueFactory;
3180
3204
 
3205
+ function csp_common_Map_String_StringFactory(
3206
+ nativePointer: NativePointer,
3207
+ ): NativeClassWrapper {
3208
+ return new Common.Map<string, string>(
3209
+ nativePointer,
3210
+ StringFactory,
3211
+ "String",
3212
+ StringFactory,
3213
+ "String",
3214
+ );
3215
+ }
3216
+ ProxyClassFactories["csp_common_Map_String_String"] =
3217
+ csp_common_Map_String_StringFactory;
3218
+
3181
3219
  function csp_common_Map_UInt32_csp_common_ReplicatedValueFactory(
3182
3220
  nativePointer: NativePointer,
3183
3221
  ): NativeClassWrapper {
@@ -3206,20 +3244,6 @@ function csp_common_Map_UInt16_csp_multiplayer_ComponentBaseFactory(
3206
3244
  ProxyClassFactories["csp_common_Map_UInt16_csp_multiplayer_ComponentBase"] =
3207
3245
  csp_common_Map_UInt16_csp_multiplayer_ComponentBaseFactory;
3208
3246
 
3209
- function csp_common_Map_String_StringFactory(
3210
- nativePointer: NativePointer,
3211
- ): NativeClassWrapper {
3212
- return new Common.Map<string, string>(
3213
- nativePointer,
3214
- StringFactory,
3215
- "String",
3216
- StringFactory,
3217
- "String",
3218
- );
3219
- }
3220
- ProxyClassFactories["csp_common_Map_String_String"] =
3221
- csp_common_Map_String_StringFactory;
3222
-
3223
3247
  function csp_common_Map_String_csp_systems_AssetFactory(
3224
3248
  nativePointer: NativePointer,
3225
3249
  ): NativeClassWrapper {
@@ -5862,6 +5886,60 @@ export namespace Common {
5862
5886
  [this.pointer, value],
5863
5887
  );
5864
5888
  }
5889
+
5890
+ get defaultApplicationSettings(): Common.List<Common.ApplicationSettings> {
5891
+ const _ptr = Module._malloc(8);
5892
+ Module.ccall(
5893
+ "csp_common_LoginState__Get_DefaultApplicationSettings",
5894
+ "void",
5895
+ ["number", "number"],
5896
+ [_ptr, this.pointer],
5897
+ );
5898
+
5899
+ const _nPtr = getNativePointer(_ptr);
5900
+ return new Common.List<Common.ApplicationSettings>(
5901
+ _nPtr,
5902
+ csp_common_ApplicationSettingsFactory,
5903
+ "csp_common_ApplicationSettings",
5904
+ );
5905
+ }
5906
+
5907
+ set defaultApplicationSettings(
5908
+ value: Common.List<Common.ApplicationSettings>,
5909
+ ) {
5910
+ Module.ccall(
5911
+ "csp_common_LoginState__Set_DefaultApplicationSettings",
5912
+ "void",
5913
+ ["number", "number"],
5914
+ [this.pointer, value.pointer],
5915
+ );
5916
+ }
5917
+
5918
+ get defaultSettings(): Common.List<Common.SettingsCollection> {
5919
+ const _ptr = Module._malloc(8);
5920
+ Module.ccall(
5921
+ "csp_common_LoginState__Get_DefaultSettings",
5922
+ "void",
5923
+ ["number", "number"],
5924
+ [_ptr, this.pointer],
5925
+ );
5926
+
5927
+ const _nPtr = getNativePointer(_ptr);
5928
+ return new Common.List<Common.SettingsCollection>(
5929
+ _nPtr,
5930
+ csp_common_SettingsCollectionFactory,
5931
+ "csp_common_SettingsCollection",
5932
+ );
5933
+ }
5934
+
5935
+ set defaultSettings(value: Common.List<Common.SettingsCollection>) {
5936
+ Module.ccall(
5937
+ "csp_common_LoginState__Set_DefaultSettings",
5938
+ "void",
5939
+ ["number", "number"],
5940
+ [this.pointer, value.pointer],
5941
+ );
5942
+ }
5865
5943
  }
5866
5944
  }
5867
5945
 
@@ -21437,7 +21515,7 @@ export namespace Common {
21437
21515
 
21438
21516
  /**
21439
21517
  * @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
21440
- * /// Do not use this constructor unless you know what you are doing!
21518
+ * This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
21441
21519
  */
21442
21520
  static create(): ReplicatedValue {
21443
21521
  var _ptr = Module._malloc(8);
@@ -21573,34 +21651,17 @@ export namespace Common {
21573
21651
 
21574
21652
  /**
21575
21653
  * @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
21576
- * @param inMapValue - Initial value.
21654
+ * @param inValue - Initial value.
21577
21655
  */
21578
- static create_mapValue(
21579
- mapValue: Common.Map<string, Common.ReplicatedValue>,
21656
+ static create_value(
21657
+ value: Common.Map<string, Common.ReplicatedValue>,
21580
21658
  ): ReplicatedValue {
21581
21659
  var _ptr = Module._malloc(8);
21582
21660
  Module.ccall(
21583
21661
  "csp_common_ReplicatedValue_Ctor_MapRC",
21584
21662
  "void",
21585
21663
  ["number", "number"],
21586
- [_ptr, mapValue.pointer],
21587
- );
21588
- var _nPtr = getNativePointer(_ptr);
21589
-
21590
- return new ReplicatedValue(_nPtr);
21591
- }
21592
-
21593
- /**
21594
- * @description Copy constructor
21595
- * @param other - The value to copy.
21596
- */
21597
- static create_other(other: Common.ReplicatedValue): ReplicatedValue {
21598
- var _ptr = Module._malloc(8);
21599
- Module.ccall(
21600
- "csp_common_ReplicatedValue_Ctor_ReplicatedValueRC",
21601
- "void",
21602
- ["number", "number"],
21603
- [_ptr, other.pointer],
21664
+ [_ptr, value.pointer],
21604
21665
  );
21605
21666
  var _nPtr = getNativePointer(_ptr);
21606
21667
 
@@ -21623,36 +21684,6 @@ export namespace Common {
21623
21684
  }
21624
21685
  }
21625
21686
 
21626
- /**
21627
- * @description Assignment operator overload.
21628
- * @param inValue - Other replicated value to set this one to.
21629
- */
21630
- // operator=
21631
-
21632
- /**
21633
- * @description Equality operator overload.
21634
- * @param replicatedValue - Other value to compare to.
21635
- */
21636
- // operator==
21637
-
21638
- /**
21639
- * @description Non equality operator overload.
21640
- * @param replicatedValue - Other value to compare to.
21641
- */
21642
- // operator!=
21643
-
21644
- /**
21645
- * @description Less than operator overload.
21646
- * @param replicatedValue - Other value to compare to.
21647
- */
21648
- // operator&lt;
21649
-
21650
- /**
21651
- * @description Greater than operator overload.
21652
- * @param replicatedValue - Other value to compare to.
21653
- */
21654
- // operator&gt;
21655
-
21656
21687
  /**
21657
21688
  * @description Gets the type of replicated value.
21658
21689
  * @return Enum representing all supported replication base types.
@@ -21685,8 +21716,7 @@ export namespace Common {
21685
21716
 
21686
21717
  /**
21687
21718
  * @description Get a bool value from this replicated value, will assert if not a bool type.
21688
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21689
- * /// @return bool
21719
+ * @return Bool
21690
21720
  */
21691
21721
 
21692
21722
  getBool(): boolean {
@@ -21719,8 +21749,7 @@ export namespace Common {
21719
21749
 
21720
21750
  /**
21721
21751
  * @description Get a float value from this replicated value, will assert if not a float type.
21722
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21723
- * /// @return float value
21752
+ * @return Float value
21724
21753
  */
21725
21754
 
21726
21755
  getFloat(): number {
@@ -21753,8 +21782,7 @@ export namespace Common {
21753
21782
 
21754
21783
  /**
21755
21784
  * @description Get a int64 value from this replicated value, will assert if not a int64 type.
21756
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21757
- * /// @return int64 value
21785
+ * @return Int64 value
21758
21786
  */
21759
21787
 
21760
21788
  getInt(): bigint {
@@ -21779,8 +21807,7 @@ export namespace Common {
21779
21807
 
21780
21808
  /**
21781
21809
  * @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
21782
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21783
- * /// @return csp::common::String&
21810
+ * @return Csp::common::string&
21784
21811
  */
21785
21812
 
21786
21813
  getString(): string {
@@ -21814,8 +21841,7 @@ export namespace Common {
21814
21841
 
21815
21842
  /**
21816
21843
  * @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
21817
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21818
- * /// @return csp::common::Vector2
21844
+ * @return Csp::common::vector2
21819
21845
  */
21820
21846
 
21821
21847
  getVector2(): Common.Vector2 {
@@ -21848,8 +21874,7 @@ export namespace Common {
21848
21874
 
21849
21875
  /**
21850
21876
  * @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
21851
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21852
- * /// @return csp::common::Vector3
21877
+ * @return Csp::common::vector3
21853
21878
  */
21854
21879
 
21855
21880
  getVector3(): Common.Vector3 {
@@ -21882,8 +21907,7 @@ export namespace Common {
21882
21907
 
21883
21908
  /**
21884
21909
  * @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
21885
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21886
- * /// @return csp::common::Vector4
21910
+ * @return Csp::common::vector4
21887
21911
  */
21888
21912
 
21889
21913
  getVector4(): Common.Vector4 {
@@ -21904,8 +21928,7 @@ export namespace Common {
21904
21928
  /**
21905
21929
  * @description Get a csp::common::Map value with a string value as the key.
21906
21930
  * This will assert if not a csp::common::Map type with a string value as the key.
21907
- * /// Use ReplicatedValue::GetReplicatedValueType to ensure type before accessing.
21908
- * /// @return csp::common::Map
21931
+ * @return Csp::common::map
21909
21932
  */
21910
21933
 
21911
21934
  getStringMap(): Common.Map<string, Common.ReplicatedValue> {
@@ -21944,6 +21967,253 @@ export namespace Common {
21944
21967
  }
21945
21968
  }
21946
21969
 
21970
+ export namespace Common {
21971
+ /**
21972
+ @ingroup Application Settings System
21973
+ * @description Represents configuration settings for an application context.
21974
+ */
21975
+ export class ApplicationSettings
21976
+ extends NativeClassWrapper
21977
+ implements INativeResource
21978
+ {
21979
+ /** @internal */
21980
+ constructor(pointer: NativePointer) {
21981
+ super(pointer);
21982
+ }
21983
+
21984
+ // operator==
21985
+
21986
+ // operator!=
21987
+
21988
+ static create(): ApplicationSettings {
21989
+ var _ptr = Module._malloc(8);
21990
+ Module.ccall(
21991
+ "csp_common_ApplicationSettings_Ctor",
21992
+ "void",
21993
+ ["number"],
21994
+ [_ptr],
21995
+ );
21996
+ var _nPtr = getNativePointer(_ptr);
21997
+
21998
+ return new ApplicationSettings(_nPtr);
21999
+ }
22000
+
22001
+ delete(): void {
22002
+ if (this.ownsPointer && !this.disposed) {
22003
+ Module.ccall(
22004
+ "csp_common_ApplicationSettings_Dtor",
22005
+ "void",
22006
+ ["number"],
22007
+ [this.pointer],
22008
+ );
22009
+
22010
+ this.disposed = true;
22011
+ }
22012
+ }
22013
+
22014
+ get applicationName(): string {
22015
+ let _result = Module.ccall(
22016
+ "csp_common_ApplicationSettings__Get_ApplicationName",
22017
+ "string",
22018
+ ["number"],
22019
+ [this.pointer],
22020
+ );
22021
+
22022
+ return _result;
22023
+ }
22024
+
22025
+ set applicationName(value: string) {
22026
+ Module.ccall(
22027
+ "csp_common_ApplicationSettings__Set_ApplicationName",
22028
+ "void",
22029
+ ["number", "string"],
22030
+ [this.pointer, value],
22031
+ );
22032
+ }
22033
+
22034
+ get context(): string {
22035
+ let _result = Module.ccall(
22036
+ "csp_common_ApplicationSettings__Get_Context",
22037
+ "string",
22038
+ ["number"],
22039
+ [this.pointer],
22040
+ );
22041
+
22042
+ return _result;
22043
+ }
22044
+
22045
+ set context(value: string) {
22046
+ Module.ccall(
22047
+ "csp_common_ApplicationSettings__Set_Context",
22048
+ "void",
22049
+ ["number", "string"],
22050
+ [this.pointer, value],
22051
+ );
22052
+ }
22053
+
22054
+ get allowAnonymous(): boolean {
22055
+ let _result = Module.ccall(
22056
+ "csp_common_ApplicationSettings__Get_AllowAnonymous",
22057
+ "boolean",
22058
+ ["number"],
22059
+ [this.pointer],
22060
+ );
22061
+
22062
+ return _result;
22063
+ }
22064
+
22065
+ set allowAnonymous(value: boolean) {
22066
+ Module.ccall(
22067
+ "csp_common_ApplicationSettings__Set_AllowAnonymous",
22068
+ "void",
22069
+ ["number", "boolean"],
22070
+ [this.pointer, value],
22071
+ );
22072
+ }
22073
+
22074
+ get settings(): Common.Map<string, string> {
22075
+ const _ptr = Module._malloc(8);
22076
+ Module.ccall(
22077
+ "csp_common_ApplicationSettings__Get_Settings",
22078
+ "void",
22079
+ ["number", "number"],
22080
+ [_ptr, this.pointer],
22081
+ );
22082
+
22083
+ const _nPtr = getNativePointer(_ptr);
22084
+ return new Common.Map<string, string>(
22085
+ _nPtr,
22086
+ StringFactory,
22087
+ "String",
22088
+ StringFactory,
22089
+ "String",
22090
+ );
22091
+ }
22092
+
22093
+ set settings(value: Common.Map<string, string>) {
22094
+ Module.ccall(
22095
+ "csp_common_ApplicationSettings__Set_Settings",
22096
+ "void",
22097
+ ["number", "number"],
22098
+ [this.pointer, value.pointer],
22099
+ );
22100
+ }
22101
+ }
22102
+ }
22103
+
22104
+ export namespace Common {
22105
+ /**
22106
+ * @description Represents configuration settings related to a user in a specific context
22107
+ */
22108
+ export class SettingsCollection
22109
+ extends NativeClassWrapper
22110
+ implements INativeResource
22111
+ {
22112
+ /** @internal */
22113
+ constructor(pointer: NativePointer) {
22114
+ super(pointer);
22115
+ }
22116
+
22117
+ static create(): SettingsCollection {
22118
+ var _ptr = Module._malloc(8);
22119
+ Module.ccall(
22120
+ "csp_common_SettingsCollection_Ctor",
22121
+ "void",
22122
+ ["number"],
22123
+ [_ptr],
22124
+ );
22125
+ var _nPtr = getNativePointer(_ptr);
22126
+
22127
+ return new SettingsCollection(_nPtr);
22128
+ }
22129
+
22130
+ // operator==
22131
+
22132
+ // operator!=
22133
+
22134
+ delete(): void {
22135
+ if (this.ownsPointer && !this.disposed) {
22136
+ Module.ccall(
22137
+ "csp_common_SettingsCollection_Dtor",
22138
+ "void",
22139
+ ["number"],
22140
+ [this.pointer],
22141
+ );
22142
+
22143
+ this.disposed = true;
22144
+ }
22145
+ }
22146
+
22147
+ get userId(): string {
22148
+ let _result = Module.ccall(
22149
+ "csp_common_SettingsCollection__Get_UserId",
22150
+ "string",
22151
+ ["number"],
22152
+ [this.pointer],
22153
+ );
22154
+
22155
+ return _result;
22156
+ }
22157
+
22158
+ set userId(value: string) {
22159
+ Module.ccall(
22160
+ "csp_common_SettingsCollection__Set_UserId",
22161
+ "void",
22162
+ ["number", "string"],
22163
+ [this.pointer, value],
22164
+ );
22165
+ }
22166
+
22167
+ get context(): string {
22168
+ let _result = Module.ccall(
22169
+ "csp_common_SettingsCollection__Get_Context",
22170
+ "string",
22171
+ ["number"],
22172
+ [this.pointer],
22173
+ );
22174
+
22175
+ return _result;
22176
+ }
22177
+
22178
+ set context(value: string) {
22179
+ Module.ccall(
22180
+ "csp_common_SettingsCollection__Set_Context",
22181
+ "void",
22182
+ ["number", "string"],
22183
+ [this.pointer, value],
22184
+ );
22185
+ }
22186
+
22187
+ get settings(): Common.Map<string, string> {
22188
+ const _ptr = Module._malloc(8);
22189
+ Module.ccall(
22190
+ "csp_common_SettingsCollection__Get_Settings",
22191
+ "void",
22192
+ ["number", "number"],
22193
+ [_ptr, this.pointer],
22194
+ );
22195
+
22196
+ const _nPtr = getNativePointer(_ptr);
22197
+ return new Common.Map<string, string>(
22198
+ _nPtr,
22199
+ StringFactory,
22200
+ "String",
22201
+ StringFactory,
22202
+ "String",
22203
+ );
22204
+ }
22205
+
22206
+ set settings(value: Common.Map<string, string>) {
22207
+ Module.ccall(
22208
+ "csp_common_SettingsCollection__Set_Settings",
22209
+ "void",
22210
+ ["number", "number"],
22211
+ [this.pointer, value.pointer],
22212
+ );
22213
+ }
22214
+ }
22215
+ }
22216
+
21947
22217
  export namespace Common {
21948
22218
  /**
21949
22219
  * @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
@@ -31705,246 +31975,6 @@ export namespace Systems {
31705
31975
  }
31706
31976
  }
31707
31977
 
31708
- export namespace Systems {
31709
- /**
31710
- @ingroup Application Settings System
31711
- * @description Represents configuration settings for an application context.
31712
- */
31713
- export class ApplicationSettings
31714
- extends NativeClassWrapper
31715
- implements INativeResource
31716
- {
31717
- /** @internal */
31718
- constructor(pointer: NativePointer) {
31719
- super(pointer);
31720
- }
31721
-
31722
- static create(): ApplicationSettings {
31723
- var _ptr = Module._malloc(8);
31724
- Module.ccall(
31725
- "csp_systems_ApplicationSettings_Ctor",
31726
- "void",
31727
- ["number"],
31728
- [_ptr],
31729
- );
31730
- var _nPtr = getNativePointer(_ptr);
31731
-
31732
- return new ApplicationSettings(_nPtr);
31733
- }
31734
-
31735
- delete(): void {
31736
- if (this.ownsPointer && !this.disposed) {
31737
- Module.ccall(
31738
- "csp_systems_ApplicationSettings_Dtor",
31739
- "void",
31740
- ["number"],
31741
- [this.pointer],
31742
- );
31743
-
31744
- this.disposed = true;
31745
- }
31746
- }
31747
-
31748
- get applicationName(): string {
31749
- let _result = Module.ccall(
31750
- "csp_systems_ApplicationSettings__Get_ApplicationName",
31751
- "string",
31752
- ["number"],
31753
- [this.pointer],
31754
- );
31755
-
31756
- return _result;
31757
- }
31758
-
31759
- set applicationName(value: string) {
31760
- Module.ccall(
31761
- "csp_systems_ApplicationSettings__Set_ApplicationName",
31762
- "void",
31763
- ["number", "string"],
31764
- [this.pointer, value],
31765
- );
31766
- }
31767
-
31768
- get context(): string {
31769
- let _result = Module.ccall(
31770
- "csp_systems_ApplicationSettings__Get_Context",
31771
- "string",
31772
- ["number"],
31773
- [this.pointer],
31774
- );
31775
-
31776
- return _result;
31777
- }
31778
-
31779
- set context(value: string) {
31780
- Module.ccall(
31781
- "csp_systems_ApplicationSettings__Set_Context",
31782
- "void",
31783
- ["number", "string"],
31784
- [this.pointer, value],
31785
- );
31786
- }
31787
-
31788
- get allowAnonymous(): boolean {
31789
- let _result = Module.ccall(
31790
- "csp_systems_ApplicationSettings__Get_AllowAnonymous",
31791
- "boolean",
31792
- ["number"],
31793
- [this.pointer],
31794
- );
31795
-
31796
- return _result;
31797
- }
31798
-
31799
- set allowAnonymous(value: boolean) {
31800
- Module.ccall(
31801
- "csp_systems_ApplicationSettings__Set_AllowAnonymous",
31802
- "void",
31803
- ["number", "boolean"],
31804
- [this.pointer, value],
31805
- );
31806
- }
31807
-
31808
- get settings(): Common.Map<string, string> {
31809
- const _ptr = Module._malloc(8);
31810
- Module.ccall(
31811
- "csp_systems_ApplicationSettings__Get_Settings",
31812
- "void",
31813
- ["number", "number"],
31814
- [_ptr, this.pointer],
31815
- );
31816
-
31817
- const _nPtr = getNativePointer(_ptr);
31818
- return new Common.Map<string, string>(
31819
- _nPtr,
31820
- StringFactory,
31821
- "String",
31822
- StringFactory,
31823
- "String",
31824
- );
31825
- }
31826
-
31827
- set settings(value: Common.Map<string, string>) {
31828
- Module.ccall(
31829
- "csp_systems_ApplicationSettings__Set_Settings",
31830
- "void",
31831
- ["number", "number"],
31832
- [this.pointer, value.pointer],
31833
- );
31834
- }
31835
- }
31836
- }
31837
-
31838
- export namespace Systems {
31839
- /**
31840
- @ingroup Settings System
31841
- * @description Data representation of a Settings collection which maps to a UserService::Settings.
31842
- */
31843
- export class SettingsCollection
31844
- extends NativeClassWrapper
31845
- implements INativeResource
31846
- {
31847
- /** @internal */
31848
- constructor(pointer: NativePointer) {
31849
- super(pointer);
31850
- }
31851
-
31852
- static create(): SettingsCollection {
31853
- var _ptr = Module._malloc(8);
31854
- Module.ccall(
31855
- "csp_systems_SettingsCollection_Ctor",
31856
- "void",
31857
- ["number"],
31858
- [_ptr],
31859
- );
31860
- var _nPtr = getNativePointer(_ptr);
31861
-
31862
- return new SettingsCollection(_nPtr);
31863
- }
31864
-
31865
- delete(): void {
31866
- if (this.ownsPointer && !this.disposed) {
31867
- Module.ccall(
31868
- "csp_systems_SettingsCollection_Dtor",
31869
- "void",
31870
- ["number"],
31871
- [this.pointer],
31872
- );
31873
-
31874
- this.disposed = true;
31875
- }
31876
- }
31877
-
31878
- get userId(): string {
31879
- let _result = Module.ccall(
31880
- "csp_systems_SettingsCollection__Get_UserId",
31881
- "string",
31882
- ["number"],
31883
- [this.pointer],
31884
- );
31885
-
31886
- return _result;
31887
- }
31888
-
31889
- set userId(value: string) {
31890
- Module.ccall(
31891
- "csp_systems_SettingsCollection__Set_UserId",
31892
- "void",
31893
- ["number", "string"],
31894
- [this.pointer, value],
31895
- );
31896
- }
31897
-
31898
- get context(): string {
31899
- let _result = Module.ccall(
31900
- "csp_systems_SettingsCollection__Get_Context",
31901
- "string",
31902
- ["number"],
31903
- [this.pointer],
31904
- );
31905
-
31906
- return _result;
31907
- }
31908
-
31909
- set context(value: string) {
31910
- Module.ccall(
31911
- "csp_systems_SettingsCollection__Set_Context",
31912
- "void",
31913
- ["number", "string"],
31914
- [this.pointer, value],
31915
- );
31916
- }
31917
-
31918
- get settings(): Common.Map<string, string> {
31919
- const _ptr = Module._malloc(8);
31920
- Module.ccall(
31921
- "csp_systems_SettingsCollection__Get_Settings",
31922
- "void",
31923
- ["number", "number"],
31924
- [_ptr, this.pointer],
31925
- );
31926
-
31927
- const _nPtr = getNativePointer(_ptr);
31928
- return new Common.Map<string, string>(
31929
- _nPtr,
31930
- StringFactory,
31931
- "String",
31932
- StringFactory,
31933
- "String",
31934
- );
31935
- }
31936
-
31937
- set settings(value: Common.Map<string, string>) {
31938
- Module.ccall(
31939
- "csp_systems_SettingsCollection__Set_Settings",
31940
- "void",
31941
- ["number", "number"],
31942
- [this.pointer, value.pointer],
31943
- );
31944
- }
31945
- }
31946
- }
31947
-
31948
31978
  export namespace Systems {
31949
31979
  /**
31950
31980
  @ingroup Space System
@@ -55481,7 +55511,7 @@ export namespace Systems {
55481
55511
  );
55482
55512
  }
55483
55513
 
55484
- getApplicationSettings(): Systems.ApplicationSettings {
55514
+ getApplicationSettings(): Common.ApplicationSettings {
55485
55515
  var _ret = Module._malloc(8);
55486
55516
 
55487
55517
  Module.ccall(
@@ -55490,7 +55520,7 @@ export namespace Systems {
55490
55520
  ["number", "number"],
55491
55521
  [_ret, this.pointer],
55492
55522
  );
55493
- var _nPtr = new Systems.ApplicationSettings(getNativePointer(_ret));
55523
+ var _nPtr = new Common.ApplicationSettings(getNativePointer(_ret));
55494
55524
  Module._free(_ret);
55495
55525
 
55496
55526
  return _nPtr;
@@ -55676,7 +55706,7 @@ export namespace Systems {
55676
55706
  * @return Const ref of settings collection class
55677
55707
  */
55678
55708
 
55679
- getSettingsCollection(): Systems.SettingsCollection {
55709
+ getSettingsCollection(): Common.SettingsCollection {
55680
55710
  var _ret = Module._malloc(8);
55681
55711
 
55682
55712
  Module.ccall(
@@ -55685,7 +55715,7 @@ export namespace Systems {
55685
55715
  ["number", "number"],
55686
55716
  [_ret, this.pointer],
55687
55717
  );
55688
- var _nPtr = new Systems.SettingsCollection(getNativePointer(_ret));
55718
+ var _nPtr = new Common.SettingsCollection(getNativePointer(_ret));
55689
55719
  Module._free(_ret);
55690
55720
 
55691
55721
  return _nPtr;
@@ -63940,6 +63970,42 @@ export namespace Common {
63940
63970
  private TTypeFactory: ProxyClassFactory;
63941
63971
  private TTypeName: string;
63942
63972
 
63973
+ static ofcsp_common_ApplicationSettings(): List<Common.ApplicationSettings> {
63974
+ var _ret = Module._malloc(8);
63975
+ Module.ccall(
63976
+ "csp_common_List_Ctor_csp_common_ApplicationSettings",
63977
+ "void",
63978
+ ["number"],
63979
+ [_ret],
63980
+ );
63981
+ var _inst = new List<Common.ApplicationSettings>(
63982
+ getNativePointer(_ret),
63983
+ csp_common_ApplicationSettingsFactory,
63984
+ "csp_common_ApplicationSettings",
63985
+ );
63986
+ Module._free(_ret);
63987
+
63988
+ return _inst;
63989
+ }
63990
+
63991
+ static ofcsp_common_SettingsCollection(): List<Common.SettingsCollection> {
63992
+ var _ret = Module._malloc(8);
63993
+ Module.ccall(
63994
+ "csp_common_List_Ctor_csp_common_SettingsCollection",
63995
+ "void",
63996
+ ["number"],
63997
+ [_ret],
63998
+ );
63999
+ var _inst = new List<Common.SettingsCollection>(
64000
+ getNativePointer(_ret),
64001
+ csp_common_SettingsCollectionFactory,
64002
+ "csp_common_SettingsCollection",
64003
+ );
64004
+ Module._free(_ret);
64005
+
64006
+ return _inst;
64007
+ }
64008
+
63943
64009
  static ofcsp_multiplayer_SpaceEntity(): List<Multiplayer.SpaceEntity> {
63944
64010
  var _ret = Module._malloc(8);
63945
64011
  Module.ccall(
@@ -63989,6 +64055,46 @@ export namespace Common {
63989
64055
  return _inst;
63990
64056
  }
63991
64057
 
64058
+ static ofcsp_common_ApplicationSettings_number(
64059
+ minimumSize: number,
64060
+ ): List<Common.ApplicationSettings> {
64061
+ var _ret = Module._malloc(8);
64062
+ Module.ccall(
64063
+ "csp_common_List_Ctor_size_t_csp_common_ApplicationSettings",
64064
+ "void",
64065
+ ["number", "number"],
64066
+ [_ret, minimumSize],
64067
+ );
64068
+ var _inst = new List<Common.ApplicationSettings>(
64069
+ getNativePointer(_ret),
64070
+ csp_common_ApplicationSettingsFactory,
64071
+ "csp_common_ApplicationSettings",
64072
+ );
64073
+ Module._free(_ret);
64074
+
64075
+ return _inst;
64076
+ }
64077
+
64078
+ static ofcsp_common_SettingsCollection_number(
64079
+ minimumSize: number,
64080
+ ): List<Common.SettingsCollection> {
64081
+ var _ret = Module._malloc(8);
64082
+ Module.ccall(
64083
+ "csp_common_List_Ctor_size_t_csp_common_SettingsCollection",
64084
+ "void",
64085
+ ["number", "number"],
64086
+ [_ret, minimumSize],
64087
+ );
64088
+ var _inst = new List<Common.SettingsCollection>(
64089
+ getNativePointer(_ret),
64090
+ csp_common_SettingsCollectionFactory,
64091
+ "csp_common_SettingsCollection",
64092
+ );
64093
+ Module._free(_ret);
64094
+
64095
+ return _inst;
64096
+ }
64097
+
63992
64098
  static ofcsp_multiplayer_SpaceEntity_number(
63993
64099
  minimumSize: number,
63994
64100
  ): List<Multiplayer.SpaceEntity> {
@@ -64047,6 +64153,46 @@ export namespace Common {
64047
64153
  return _inst;
64048
64154
  }
64049
64155
 
64156
+ static ofcsp_common_ApplicationSettings_List(
64157
+ other: Common.List<Common.ApplicationSettings>,
64158
+ ): List<Common.ApplicationSettings> {
64159
+ var _ret = Module._malloc(8);
64160
+ Module.ccall(
64161
+ "csp_common_List_Ctor_ListRC_csp_common_ApplicationSettings",
64162
+ "void",
64163
+ ["number", "number"],
64164
+ [_ret, other.pointer],
64165
+ );
64166
+ var _inst = new List<Common.ApplicationSettings>(
64167
+ getNativePointer(_ret),
64168
+ csp_common_ApplicationSettingsFactory,
64169
+ "csp_common_ApplicationSettings",
64170
+ );
64171
+ Module._free(_ret);
64172
+
64173
+ return _inst;
64174
+ }
64175
+
64176
+ static ofcsp_common_SettingsCollection_List(
64177
+ other: Common.List<Common.SettingsCollection>,
64178
+ ): List<Common.SettingsCollection> {
64179
+ var _ret = Module._malloc(8);
64180
+ Module.ccall(
64181
+ "csp_common_List_Ctor_ListRC_csp_common_SettingsCollection",
64182
+ "void",
64183
+ ["number", "number"],
64184
+ [_ret, other.pointer],
64185
+ );
64186
+ var _inst = new List<Common.SettingsCollection>(
64187
+ getNativePointer(_ret),
64188
+ csp_common_SettingsCollectionFactory,
64189
+ "csp_common_SettingsCollection",
64190
+ );
64191
+ Module._free(_ret);
64192
+
64193
+ return _inst;
64194
+ }
64195
+
64050
64196
  static ofcsp_multiplayer_SpaceEntity_List(
64051
64197
  other: Common.List<Multiplayer.SpaceEntity>,
64052
64198
  ): List<Multiplayer.SpaceEntity> {
@@ -64279,6 +64425,26 @@ export namespace Common {
64279
64425
  return _inst;
64280
64426
  }
64281
64427
 
64428
+ static ofStringAndString(): Map<string, string> {
64429
+ var _ret = Module._malloc(8);
64430
+ Module.ccall(
64431
+ "csp_common_Map_Ctor_String_String",
64432
+ "void",
64433
+ ["number"],
64434
+ [_ret],
64435
+ );
64436
+ var _inst = new Map<string, string>(
64437
+ getNativePointer(_ret),
64438
+ StringFactory,
64439
+ "String",
64440
+ StringFactory,
64441
+ "String",
64442
+ );
64443
+ Module._free(_ret);
64444
+
64445
+ return _inst;
64446
+ }
64447
+
64282
64448
  static ofUInt32Andcsp_common_ReplicatedValue(): Map<
64283
64449
  number,
64284
64450
  Common.ReplicatedValue
@@ -64325,26 +64491,6 @@ export namespace Common {
64325
64491
  return _inst;
64326
64492
  }
64327
64493
 
64328
- static ofStringAndString(): Map<string, string> {
64329
- var _ret = Module._malloc(8);
64330
- Module.ccall(
64331
- "csp_common_Map_Ctor_String_String",
64332
- "void",
64333
- ["number"],
64334
- [_ret],
64335
- );
64336
- var _inst = new Map<string, string>(
64337
- getNativePointer(_ret),
64338
- StringFactory,
64339
- "String",
64340
- StringFactory,
64341
- "String",
64342
- );
64343
- Module._free(_ret);
64344
-
64345
- return _inst;
64346
- }
64347
-
64348
64494
  static ofStringAndcsp_systems_Asset(): Map<string, Systems.Asset> {
64349
64495
  var _ret = Module._malloc(8);
64350
64496
  Module.ccall(
@@ -64433,6 +64579,28 @@ export namespace Common {
64433
64579
  return _inst;
64434
64580
  }
64435
64581
 
64582
+ static ofStringAndString_Map(
64583
+ other: Common.Map<string, string>,
64584
+ ): Map<string, string> {
64585
+ var _ret = Module._malloc(8);
64586
+ Module.ccall(
64587
+ "csp_common_Map_Ctor_MapRC_String_String",
64588
+ "void",
64589
+ ["number", "number"],
64590
+ [_ret, other.pointer],
64591
+ );
64592
+ var _inst = new Map<string, string>(
64593
+ getNativePointer(_ret),
64594
+ StringFactory,
64595
+ "String",
64596
+ StringFactory,
64597
+ "String",
64598
+ );
64599
+ Module._free(_ret);
64600
+
64601
+ return _inst;
64602
+ }
64603
+
64436
64604
  static ofUInt32Andcsp_common_ReplicatedValue_Map(
64437
64605
  other: Common.Map<number, Common.ReplicatedValue>,
64438
64606
  ): Map<number, Common.ReplicatedValue> {
@@ -64477,28 +64645,6 @@ export namespace Common {
64477
64645
  return _inst;
64478
64646
  }
64479
64647
 
64480
- static ofStringAndString_Map(
64481
- other: Common.Map<string, string>,
64482
- ): Map<string, string> {
64483
- var _ret = Module._malloc(8);
64484
- Module.ccall(
64485
- "csp_common_Map_Ctor_MapRC_String_String",
64486
- "void",
64487
- ["number", "number"],
64488
- [_ret, other.pointer],
64489
- );
64490
- var _inst = new Map<string, string>(
64491
- getNativePointer(_ret),
64492
- StringFactory,
64493
- "String",
64494
- StringFactory,
64495
- "String",
64496
- );
64497
- Module._free(_ret);
64498
-
64499
- return _inst;
64500
- }
64501
-
64502
64648
  static ofStringAndcsp_systems_Asset_Map(
64503
64649
  other: Common.Map<string, Systems.Asset>,
64504
64650
  ): Map<string, Systems.Asset> {