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.
- package/Debug/ConnectedSpacesPlatform_WASM.js +119 -59
- 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 +51 -42
- package/connectedspacesplatform.js +207 -134
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +517 -316
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -21944,6 +22022,253 @@ export namespace Common {
|
|
|
21944
22022
|
}
|
|
21945
22023
|
}
|
|
21946
22024
|
|
|
22025
|
+
export namespace Common {
|
|
22026
|
+
/**
|
|
22027
|
+
@ingroup Application Settings System
|
|
22028
|
+
* @description Represents configuration settings for an application context.
|
|
22029
|
+
*/
|
|
22030
|
+
export class ApplicationSettings
|
|
22031
|
+
extends NativeClassWrapper
|
|
22032
|
+
implements INativeResource
|
|
22033
|
+
{
|
|
22034
|
+
/** @internal */
|
|
22035
|
+
constructor(pointer: NativePointer) {
|
|
22036
|
+
super(pointer);
|
|
22037
|
+
}
|
|
22038
|
+
|
|
22039
|
+
// operator==
|
|
22040
|
+
|
|
22041
|
+
// operator!=
|
|
22042
|
+
|
|
22043
|
+
static create(): ApplicationSettings {
|
|
22044
|
+
var _ptr = Module._malloc(8);
|
|
22045
|
+
Module.ccall(
|
|
22046
|
+
"csp_common_ApplicationSettings_Ctor",
|
|
22047
|
+
"void",
|
|
22048
|
+
["number"],
|
|
22049
|
+
[_ptr],
|
|
22050
|
+
);
|
|
22051
|
+
var _nPtr = getNativePointer(_ptr);
|
|
22052
|
+
|
|
22053
|
+
return new ApplicationSettings(_nPtr);
|
|
22054
|
+
}
|
|
22055
|
+
|
|
22056
|
+
delete(): void {
|
|
22057
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22058
|
+
Module.ccall(
|
|
22059
|
+
"csp_common_ApplicationSettings_Dtor",
|
|
22060
|
+
"void",
|
|
22061
|
+
["number"],
|
|
22062
|
+
[this.pointer],
|
|
22063
|
+
);
|
|
22064
|
+
|
|
22065
|
+
this.disposed = true;
|
|
22066
|
+
}
|
|
22067
|
+
}
|
|
22068
|
+
|
|
22069
|
+
get applicationName(): string {
|
|
22070
|
+
let _result = Module.ccall(
|
|
22071
|
+
"csp_common_ApplicationSettings__Get_ApplicationName",
|
|
22072
|
+
"string",
|
|
22073
|
+
["number"],
|
|
22074
|
+
[this.pointer],
|
|
22075
|
+
);
|
|
22076
|
+
|
|
22077
|
+
return _result;
|
|
22078
|
+
}
|
|
22079
|
+
|
|
22080
|
+
set applicationName(value: string) {
|
|
22081
|
+
Module.ccall(
|
|
22082
|
+
"csp_common_ApplicationSettings__Set_ApplicationName",
|
|
22083
|
+
"void",
|
|
22084
|
+
["number", "string"],
|
|
22085
|
+
[this.pointer, value],
|
|
22086
|
+
);
|
|
22087
|
+
}
|
|
22088
|
+
|
|
22089
|
+
get context(): string {
|
|
22090
|
+
let _result = Module.ccall(
|
|
22091
|
+
"csp_common_ApplicationSettings__Get_Context",
|
|
22092
|
+
"string",
|
|
22093
|
+
["number"],
|
|
22094
|
+
[this.pointer],
|
|
22095
|
+
);
|
|
22096
|
+
|
|
22097
|
+
return _result;
|
|
22098
|
+
}
|
|
22099
|
+
|
|
22100
|
+
set context(value: string) {
|
|
22101
|
+
Module.ccall(
|
|
22102
|
+
"csp_common_ApplicationSettings__Set_Context",
|
|
22103
|
+
"void",
|
|
22104
|
+
["number", "string"],
|
|
22105
|
+
[this.pointer, value],
|
|
22106
|
+
);
|
|
22107
|
+
}
|
|
22108
|
+
|
|
22109
|
+
get allowAnonymous(): boolean {
|
|
22110
|
+
let _result = Module.ccall(
|
|
22111
|
+
"csp_common_ApplicationSettings__Get_AllowAnonymous",
|
|
22112
|
+
"boolean",
|
|
22113
|
+
["number"],
|
|
22114
|
+
[this.pointer],
|
|
22115
|
+
);
|
|
22116
|
+
|
|
22117
|
+
return _result;
|
|
22118
|
+
}
|
|
22119
|
+
|
|
22120
|
+
set allowAnonymous(value: boolean) {
|
|
22121
|
+
Module.ccall(
|
|
22122
|
+
"csp_common_ApplicationSettings__Set_AllowAnonymous",
|
|
22123
|
+
"void",
|
|
22124
|
+
["number", "boolean"],
|
|
22125
|
+
[this.pointer, value],
|
|
22126
|
+
);
|
|
22127
|
+
}
|
|
22128
|
+
|
|
22129
|
+
get settings(): Common.Map<string, string> {
|
|
22130
|
+
const _ptr = Module._malloc(8);
|
|
22131
|
+
Module.ccall(
|
|
22132
|
+
"csp_common_ApplicationSettings__Get_Settings",
|
|
22133
|
+
"void",
|
|
22134
|
+
["number", "number"],
|
|
22135
|
+
[_ptr, this.pointer],
|
|
22136
|
+
);
|
|
22137
|
+
|
|
22138
|
+
const _nPtr = getNativePointer(_ptr);
|
|
22139
|
+
return new Common.Map<string, string>(
|
|
22140
|
+
_nPtr,
|
|
22141
|
+
StringFactory,
|
|
22142
|
+
"String",
|
|
22143
|
+
StringFactory,
|
|
22144
|
+
"String",
|
|
22145
|
+
);
|
|
22146
|
+
}
|
|
22147
|
+
|
|
22148
|
+
set settings(value: Common.Map<string, string>) {
|
|
22149
|
+
Module.ccall(
|
|
22150
|
+
"csp_common_ApplicationSettings__Set_Settings",
|
|
22151
|
+
"void",
|
|
22152
|
+
["number", "number"],
|
|
22153
|
+
[this.pointer, value.pointer],
|
|
22154
|
+
);
|
|
22155
|
+
}
|
|
22156
|
+
}
|
|
22157
|
+
}
|
|
22158
|
+
|
|
22159
|
+
export namespace Common {
|
|
22160
|
+
/**
|
|
22161
|
+
* @description Represents configuration settings related to a user in a specific context
|
|
22162
|
+
*/
|
|
22163
|
+
export class SettingsCollection
|
|
22164
|
+
extends NativeClassWrapper
|
|
22165
|
+
implements INativeResource
|
|
22166
|
+
{
|
|
22167
|
+
/** @internal */
|
|
22168
|
+
constructor(pointer: NativePointer) {
|
|
22169
|
+
super(pointer);
|
|
22170
|
+
}
|
|
22171
|
+
|
|
22172
|
+
static create(): SettingsCollection {
|
|
22173
|
+
var _ptr = Module._malloc(8);
|
|
22174
|
+
Module.ccall(
|
|
22175
|
+
"csp_common_SettingsCollection_Ctor",
|
|
22176
|
+
"void",
|
|
22177
|
+
["number"],
|
|
22178
|
+
[_ptr],
|
|
22179
|
+
);
|
|
22180
|
+
var _nPtr = getNativePointer(_ptr);
|
|
22181
|
+
|
|
22182
|
+
return new SettingsCollection(_nPtr);
|
|
22183
|
+
}
|
|
22184
|
+
|
|
22185
|
+
// operator==
|
|
22186
|
+
|
|
22187
|
+
// operator!=
|
|
22188
|
+
|
|
22189
|
+
delete(): void {
|
|
22190
|
+
if (this.ownsPointer && !this.disposed) {
|
|
22191
|
+
Module.ccall(
|
|
22192
|
+
"csp_common_SettingsCollection_Dtor",
|
|
22193
|
+
"void",
|
|
22194
|
+
["number"],
|
|
22195
|
+
[this.pointer],
|
|
22196
|
+
);
|
|
22197
|
+
|
|
22198
|
+
this.disposed = true;
|
|
22199
|
+
}
|
|
22200
|
+
}
|
|
22201
|
+
|
|
22202
|
+
get userId(): string {
|
|
22203
|
+
let _result = Module.ccall(
|
|
22204
|
+
"csp_common_SettingsCollection__Get_UserId",
|
|
22205
|
+
"string",
|
|
22206
|
+
["number"],
|
|
22207
|
+
[this.pointer],
|
|
22208
|
+
);
|
|
22209
|
+
|
|
22210
|
+
return _result;
|
|
22211
|
+
}
|
|
22212
|
+
|
|
22213
|
+
set userId(value: string) {
|
|
22214
|
+
Module.ccall(
|
|
22215
|
+
"csp_common_SettingsCollection__Set_UserId",
|
|
22216
|
+
"void",
|
|
22217
|
+
["number", "string"],
|
|
22218
|
+
[this.pointer, value],
|
|
22219
|
+
);
|
|
22220
|
+
}
|
|
22221
|
+
|
|
22222
|
+
get context(): string {
|
|
22223
|
+
let _result = Module.ccall(
|
|
22224
|
+
"csp_common_SettingsCollection__Get_Context",
|
|
22225
|
+
"string",
|
|
22226
|
+
["number"],
|
|
22227
|
+
[this.pointer],
|
|
22228
|
+
);
|
|
22229
|
+
|
|
22230
|
+
return _result;
|
|
22231
|
+
}
|
|
22232
|
+
|
|
22233
|
+
set context(value: string) {
|
|
22234
|
+
Module.ccall(
|
|
22235
|
+
"csp_common_SettingsCollection__Set_Context",
|
|
22236
|
+
"void",
|
|
22237
|
+
["number", "string"],
|
|
22238
|
+
[this.pointer, value],
|
|
22239
|
+
);
|
|
22240
|
+
}
|
|
22241
|
+
|
|
22242
|
+
get settings(): Common.Map<string, string> {
|
|
22243
|
+
const _ptr = Module._malloc(8);
|
|
22244
|
+
Module.ccall(
|
|
22245
|
+
"csp_common_SettingsCollection__Get_Settings",
|
|
22246
|
+
"void",
|
|
22247
|
+
["number", "number"],
|
|
22248
|
+
[_ptr, this.pointer],
|
|
22249
|
+
);
|
|
22250
|
+
|
|
22251
|
+
const _nPtr = getNativePointer(_ptr);
|
|
22252
|
+
return new Common.Map<string, string>(
|
|
22253
|
+
_nPtr,
|
|
22254
|
+
StringFactory,
|
|
22255
|
+
"String",
|
|
22256
|
+
StringFactory,
|
|
22257
|
+
"String",
|
|
22258
|
+
);
|
|
22259
|
+
}
|
|
22260
|
+
|
|
22261
|
+
set settings(value: Common.Map<string, string>) {
|
|
22262
|
+
Module.ccall(
|
|
22263
|
+
"csp_common_SettingsCollection__Set_Settings",
|
|
22264
|
+
"void",
|
|
22265
|
+
["number", "number"],
|
|
22266
|
+
[this.pointer, value.pointer],
|
|
22267
|
+
);
|
|
22268
|
+
}
|
|
22269
|
+
}
|
|
22270
|
+
}
|
|
22271
|
+
|
|
21947
22272
|
export namespace Common {
|
|
21948
22273
|
/**
|
|
21949
22274
|
* @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
|
|
@@ -31705,246 +32030,6 @@ export namespace Systems {
|
|
|
31705
32030
|
}
|
|
31706
32031
|
}
|
|
31707
32032
|
|
|
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
32033
|
export namespace Systems {
|
|
31949
32034
|
/**
|
|
31950
32035
|
@ingroup Space System
|
|
@@ -55481,7 +55566,7 @@ export namespace Systems {
|
|
|
55481
55566
|
);
|
|
55482
55567
|
}
|
|
55483
55568
|
|
|
55484
|
-
getApplicationSettings():
|
|
55569
|
+
getApplicationSettings(): Common.ApplicationSettings {
|
|
55485
55570
|
var _ret = Module._malloc(8);
|
|
55486
55571
|
|
|
55487
55572
|
Module.ccall(
|
|
@@ -55490,7 +55575,7 @@ export namespace Systems {
|
|
|
55490
55575
|
["number", "number"],
|
|
55491
55576
|
[_ret, this.pointer],
|
|
55492
55577
|
);
|
|
55493
|
-
var _nPtr = new
|
|
55578
|
+
var _nPtr = new Common.ApplicationSettings(getNativePointer(_ret));
|
|
55494
55579
|
Module._free(_ret);
|
|
55495
55580
|
|
|
55496
55581
|
return _nPtr;
|
|
@@ -55676,7 +55761,7 @@ export namespace Systems {
|
|
|
55676
55761
|
* @return Const ref of settings collection class
|
|
55677
55762
|
*/
|
|
55678
55763
|
|
|
55679
|
-
getSettingsCollection():
|
|
55764
|
+
getSettingsCollection(): Common.SettingsCollection {
|
|
55680
55765
|
var _ret = Module._malloc(8);
|
|
55681
55766
|
|
|
55682
55767
|
Module.ccall(
|
|
@@ -55685,7 +55770,7 @@ export namespace Systems {
|
|
|
55685
55770
|
["number", "number"],
|
|
55686
55771
|
[_ret, this.pointer],
|
|
55687
55772
|
);
|
|
55688
|
-
var _nPtr = new
|
|
55773
|
+
var _nPtr = new Common.SettingsCollection(getNativePointer(_ret));
|
|
55689
55774
|
Module._free(_ret);
|
|
55690
55775
|
|
|
55691
55776
|
return _nPtr;
|
|
@@ -63940,6 +64025,42 @@ export namespace Common {
|
|
|
63940
64025
|
private TTypeFactory: ProxyClassFactory;
|
|
63941
64026
|
private TTypeName: string;
|
|
63942
64027
|
|
|
64028
|
+
static ofcsp_common_ApplicationSettings(): List<Common.ApplicationSettings> {
|
|
64029
|
+
var _ret = Module._malloc(8);
|
|
64030
|
+
Module.ccall(
|
|
64031
|
+
"csp_common_List_Ctor_csp_common_ApplicationSettings",
|
|
64032
|
+
"void",
|
|
64033
|
+
["number"],
|
|
64034
|
+
[_ret],
|
|
64035
|
+
);
|
|
64036
|
+
var _inst = new List<Common.ApplicationSettings>(
|
|
64037
|
+
getNativePointer(_ret),
|
|
64038
|
+
csp_common_ApplicationSettingsFactory,
|
|
64039
|
+
"csp_common_ApplicationSettings",
|
|
64040
|
+
);
|
|
64041
|
+
Module._free(_ret);
|
|
64042
|
+
|
|
64043
|
+
return _inst;
|
|
64044
|
+
}
|
|
64045
|
+
|
|
64046
|
+
static ofcsp_common_SettingsCollection(): List<Common.SettingsCollection> {
|
|
64047
|
+
var _ret = Module._malloc(8);
|
|
64048
|
+
Module.ccall(
|
|
64049
|
+
"csp_common_List_Ctor_csp_common_SettingsCollection",
|
|
64050
|
+
"void",
|
|
64051
|
+
["number"],
|
|
64052
|
+
[_ret],
|
|
64053
|
+
);
|
|
64054
|
+
var _inst = new List<Common.SettingsCollection>(
|
|
64055
|
+
getNativePointer(_ret),
|
|
64056
|
+
csp_common_SettingsCollectionFactory,
|
|
64057
|
+
"csp_common_SettingsCollection",
|
|
64058
|
+
);
|
|
64059
|
+
Module._free(_ret);
|
|
64060
|
+
|
|
64061
|
+
return _inst;
|
|
64062
|
+
}
|
|
64063
|
+
|
|
63943
64064
|
static ofcsp_multiplayer_SpaceEntity(): List<Multiplayer.SpaceEntity> {
|
|
63944
64065
|
var _ret = Module._malloc(8);
|
|
63945
64066
|
Module.ccall(
|
|
@@ -63989,6 +64110,46 @@ export namespace Common {
|
|
|
63989
64110
|
return _inst;
|
|
63990
64111
|
}
|
|
63991
64112
|
|
|
64113
|
+
static ofcsp_common_ApplicationSettings_number(
|
|
64114
|
+
minimumSize: number,
|
|
64115
|
+
): List<Common.ApplicationSettings> {
|
|
64116
|
+
var _ret = Module._malloc(8);
|
|
64117
|
+
Module.ccall(
|
|
64118
|
+
"csp_common_List_Ctor_size_t_csp_common_ApplicationSettings",
|
|
64119
|
+
"void",
|
|
64120
|
+
["number", "number"],
|
|
64121
|
+
[_ret, minimumSize],
|
|
64122
|
+
);
|
|
64123
|
+
var _inst = new List<Common.ApplicationSettings>(
|
|
64124
|
+
getNativePointer(_ret),
|
|
64125
|
+
csp_common_ApplicationSettingsFactory,
|
|
64126
|
+
"csp_common_ApplicationSettings",
|
|
64127
|
+
);
|
|
64128
|
+
Module._free(_ret);
|
|
64129
|
+
|
|
64130
|
+
return _inst;
|
|
64131
|
+
}
|
|
64132
|
+
|
|
64133
|
+
static ofcsp_common_SettingsCollection_number(
|
|
64134
|
+
minimumSize: number,
|
|
64135
|
+
): List<Common.SettingsCollection> {
|
|
64136
|
+
var _ret = Module._malloc(8);
|
|
64137
|
+
Module.ccall(
|
|
64138
|
+
"csp_common_List_Ctor_size_t_csp_common_SettingsCollection",
|
|
64139
|
+
"void",
|
|
64140
|
+
["number", "number"],
|
|
64141
|
+
[_ret, minimumSize],
|
|
64142
|
+
);
|
|
64143
|
+
var _inst = new List<Common.SettingsCollection>(
|
|
64144
|
+
getNativePointer(_ret),
|
|
64145
|
+
csp_common_SettingsCollectionFactory,
|
|
64146
|
+
"csp_common_SettingsCollection",
|
|
64147
|
+
);
|
|
64148
|
+
Module._free(_ret);
|
|
64149
|
+
|
|
64150
|
+
return _inst;
|
|
64151
|
+
}
|
|
64152
|
+
|
|
63992
64153
|
static ofcsp_multiplayer_SpaceEntity_number(
|
|
63993
64154
|
minimumSize: number,
|
|
63994
64155
|
): List<Multiplayer.SpaceEntity> {
|
|
@@ -64047,6 +64208,46 @@ export namespace Common {
|
|
|
64047
64208
|
return _inst;
|
|
64048
64209
|
}
|
|
64049
64210
|
|
|
64211
|
+
static ofcsp_common_ApplicationSettings_List(
|
|
64212
|
+
other: Common.List<Common.ApplicationSettings>,
|
|
64213
|
+
): List<Common.ApplicationSettings> {
|
|
64214
|
+
var _ret = Module._malloc(8);
|
|
64215
|
+
Module.ccall(
|
|
64216
|
+
"csp_common_List_Ctor_ListRC_csp_common_ApplicationSettings",
|
|
64217
|
+
"void",
|
|
64218
|
+
["number", "number"],
|
|
64219
|
+
[_ret, other.pointer],
|
|
64220
|
+
);
|
|
64221
|
+
var _inst = new List<Common.ApplicationSettings>(
|
|
64222
|
+
getNativePointer(_ret),
|
|
64223
|
+
csp_common_ApplicationSettingsFactory,
|
|
64224
|
+
"csp_common_ApplicationSettings",
|
|
64225
|
+
);
|
|
64226
|
+
Module._free(_ret);
|
|
64227
|
+
|
|
64228
|
+
return _inst;
|
|
64229
|
+
}
|
|
64230
|
+
|
|
64231
|
+
static ofcsp_common_SettingsCollection_List(
|
|
64232
|
+
other: Common.List<Common.SettingsCollection>,
|
|
64233
|
+
): List<Common.SettingsCollection> {
|
|
64234
|
+
var _ret = Module._malloc(8);
|
|
64235
|
+
Module.ccall(
|
|
64236
|
+
"csp_common_List_Ctor_ListRC_csp_common_SettingsCollection",
|
|
64237
|
+
"void",
|
|
64238
|
+
["number", "number"],
|
|
64239
|
+
[_ret, other.pointer],
|
|
64240
|
+
);
|
|
64241
|
+
var _inst = new List<Common.SettingsCollection>(
|
|
64242
|
+
getNativePointer(_ret),
|
|
64243
|
+
csp_common_SettingsCollectionFactory,
|
|
64244
|
+
"csp_common_SettingsCollection",
|
|
64245
|
+
);
|
|
64246
|
+
Module._free(_ret);
|
|
64247
|
+
|
|
64248
|
+
return _inst;
|
|
64249
|
+
}
|
|
64250
|
+
|
|
64050
64251
|
static ofcsp_multiplayer_SpaceEntity_List(
|
|
64051
64252
|
other: Common.List<Multiplayer.SpaceEntity>,
|
|
64052
64253
|
): List<Multiplayer.SpaceEntity> {
|
|
@@ -64279,6 +64480,26 @@ export namespace Common {
|
|
|
64279
64480
|
return _inst;
|
|
64280
64481
|
}
|
|
64281
64482
|
|
|
64483
|
+
static ofStringAndString(): Map<string, string> {
|
|
64484
|
+
var _ret = Module._malloc(8);
|
|
64485
|
+
Module.ccall(
|
|
64486
|
+
"csp_common_Map_Ctor_String_String",
|
|
64487
|
+
"void",
|
|
64488
|
+
["number"],
|
|
64489
|
+
[_ret],
|
|
64490
|
+
);
|
|
64491
|
+
var _inst = new Map<string, string>(
|
|
64492
|
+
getNativePointer(_ret),
|
|
64493
|
+
StringFactory,
|
|
64494
|
+
"String",
|
|
64495
|
+
StringFactory,
|
|
64496
|
+
"String",
|
|
64497
|
+
);
|
|
64498
|
+
Module._free(_ret);
|
|
64499
|
+
|
|
64500
|
+
return _inst;
|
|
64501
|
+
}
|
|
64502
|
+
|
|
64282
64503
|
static ofUInt32Andcsp_common_ReplicatedValue(): Map<
|
|
64283
64504
|
number,
|
|
64284
64505
|
Common.ReplicatedValue
|
|
@@ -64325,26 +64546,6 @@ export namespace Common {
|
|
|
64325
64546
|
return _inst;
|
|
64326
64547
|
}
|
|
64327
64548
|
|
|
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
64549
|
static ofStringAndcsp_systems_Asset(): Map<string, Systems.Asset> {
|
|
64349
64550
|
var _ret = Module._malloc(8);
|
|
64350
64551
|
Module.ccall(
|
|
@@ -64433,6 +64634,28 @@ export namespace Common {
|
|
|
64433
64634
|
return _inst;
|
|
64434
64635
|
}
|
|
64435
64636
|
|
|
64637
|
+
static ofStringAndString_Map(
|
|
64638
|
+
other: Common.Map<string, string>,
|
|
64639
|
+
): Map<string, string> {
|
|
64640
|
+
var _ret = Module._malloc(8);
|
|
64641
|
+
Module.ccall(
|
|
64642
|
+
"csp_common_Map_Ctor_MapRC_String_String",
|
|
64643
|
+
"void",
|
|
64644
|
+
["number", "number"],
|
|
64645
|
+
[_ret, other.pointer],
|
|
64646
|
+
);
|
|
64647
|
+
var _inst = new Map<string, string>(
|
|
64648
|
+
getNativePointer(_ret),
|
|
64649
|
+
StringFactory,
|
|
64650
|
+
"String",
|
|
64651
|
+
StringFactory,
|
|
64652
|
+
"String",
|
|
64653
|
+
);
|
|
64654
|
+
Module._free(_ret);
|
|
64655
|
+
|
|
64656
|
+
return _inst;
|
|
64657
|
+
}
|
|
64658
|
+
|
|
64436
64659
|
static ofUInt32Andcsp_common_ReplicatedValue_Map(
|
|
64437
64660
|
other: Common.Map<number, Common.ReplicatedValue>,
|
|
64438
64661
|
): Map<number, Common.ReplicatedValue> {
|
|
@@ -64477,28 +64700,6 @@ export namespace Common {
|
|
|
64477
64700
|
return _inst;
|
|
64478
64701
|
}
|
|
64479
64702
|
|
|
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
64703
|
static ofStringAndcsp_systems_Asset_Map(
|
|
64503
64704
|
other: Common.Map<string, Systems.Asset>,
|
|
64504
64705
|
): Map<string, Systems.Asset> {
|