connected-spaces-platform.web 6.6.0 → 6.8.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 +93 -65
- 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 +252 -137
- package/connectedspacesplatform.js +525 -284
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +955 -528
- package/package.json +1 -1
|
@@ -365,6 +365,16 @@ function csp_multiplayer_LockTypeFactory(nativePointer) {
|
|
|
365
365
|
}
|
|
366
366
|
ProxyClassFactories["csp_multiplayer_LockType"] =
|
|
367
367
|
csp_multiplayer_LockTypeFactory;
|
|
368
|
+
function csp_multiplayer_AIChatbotPropertyKeysFactory(nativePointer) {
|
|
369
|
+
return nativePointer.pointer;
|
|
370
|
+
}
|
|
371
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotPropertyKeys"] =
|
|
372
|
+
csp_multiplayer_AIChatbotPropertyKeysFactory;
|
|
373
|
+
function csp_multiplayer_AIChatbotVisualStateFactory(nativePointer) {
|
|
374
|
+
return nativePointer.pointer;
|
|
375
|
+
}
|
|
376
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotVisualState"] =
|
|
377
|
+
csp_multiplayer_AIChatbotVisualStateFactory;
|
|
368
378
|
function csp_multiplayer_AnimatedModelActionsFactory(nativePointer) {
|
|
369
379
|
return nativePointer.pointer;
|
|
370
380
|
}
|
|
@@ -956,6 +966,16 @@ function csp_systems_TicketedEventVendorAuthInfoFactory(nativePointer) {
|
|
|
956
966
|
}
|
|
957
967
|
ProxyClassFactories["csp_systems_TicketedEventVendorAuthInfo"] =
|
|
958
968
|
csp_systems_TicketedEventVendorAuthInfoFactory;
|
|
969
|
+
function csp_systems_ExternalServicesOperationParamsFactory(nativePointer) {
|
|
970
|
+
return new Systems.ExternalServicesOperationParams(nativePointer);
|
|
971
|
+
}
|
|
972
|
+
ProxyClassFactories["csp_systems_ExternalServicesOperationParams"] =
|
|
973
|
+
csp_systems_ExternalServicesOperationParamsFactory;
|
|
974
|
+
function csp_systems_AgoraUserTokenParamsFactory(nativePointer) {
|
|
975
|
+
return new Systems.AgoraUserTokenParams(nativePointer);
|
|
976
|
+
}
|
|
977
|
+
ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
|
|
978
|
+
csp_systems_AgoraUserTokenParamsFactory;
|
|
959
979
|
function csp_systems_HotspotGroupFactory(nativePointer) {
|
|
960
980
|
return new Systems.HotspotGroup(nativePointer);
|
|
961
981
|
}
|
|
@@ -1045,16 +1065,6 @@ function csp_systems_LoginTokenInfoFactory(nativePointer) {
|
|
|
1045
1065
|
}
|
|
1046
1066
|
ProxyClassFactories["csp_systems_LoginTokenInfo"] =
|
|
1047
1067
|
csp_systems_LoginTokenInfoFactory;
|
|
1048
|
-
function csp_systems_AgoraUserTokenParamsFactory(nativePointer) {
|
|
1049
|
-
return new Systems.AgoraUserTokenParams(nativePointer);
|
|
1050
|
-
}
|
|
1051
|
-
ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
|
|
1052
|
-
csp_systems_AgoraUserTokenParamsFactory;
|
|
1053
|
-
function csp_systems_TokenInfoParamsFactory(nativePointer) {
|
|
1054
|
-
return new Systems.TokenInfoParams(nativePointer);
|
|
1055
|
-
}
|
|
1056
|
-
ProxyClassFactories["csp_systems_TokenInfoParams"] =
|
|
1057
|
-
csp_systems_TokenInfoParamsFactory;
|
|
1058
1068
|
function csp_systems_TokenOptionsFactory(nativePointer) {
|
|
1059
1069
|
return new Systems.TokenOptions(nativePointer);
|
|
1060
1070
|
}
|
|
@@ -1104,6 +1114,11 @@ function csp_multiplayer_OnlineRealtimeEngineFactory(nativePointer) {
|
|
|
1104
1114
|
}
|
|
1105
1115
|
ProxyClassFactories["csp_multiplayer_OnlineRealtimeEngine"] =
|
|
1106
1116
|
csp_multiplayer_OnlineRealtimeEngineFactory;
|
|
1117
|
+
function csp_multiplayer_AIChatbotSpaceComponentFactory(nativePointer) {
|
|
1118
|
+
return new Multiplayer.AIChatbotSpaceComponent(nativePointer);
|
|
1119
|
+
}
|
|
1120
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotSpaceComponent"] =
|
|
1121
|
+
csp_multiplayer_AIChatbotSpaceComponentFactory;
|
|
1107
1122
|
function csp_multiplayer_AnimatedModelSpaceComponentFactory(nativePointer) {
|
|
1108
1123
|
return new Multiplayer.AnimatedModelSpaceComponent(nativePointer);
|
|
1109
1124
|
}
|
|
@@ -1331,6 +1346,11 @@ function csp_systems_AssetCollectionCountResultFactory(nativePointer) {
|
|
|
1331
1346
|
}
|
|
1332
1347
|
ProxyClassFactories["csp_systems_AssetCollectionCountResult"] =
|
|
1333
1348
|
csp_systems_AssetCollectionCountResultFactory;
|
|
1349
|
+
function csp_systems_AssetCollectionsCopyResultFactory(nativePointer) {
|
|
1350
|
+
return new Systems.AssetCollectionsCopyResult(nativePointer);
|
|
1351
|
+
}
|
|
1352
|
+
ProxyClassFactories["csp_systems_AssetCollectionsCopyResult"] =
|
|
1353
|
+
csp_systems_AssetCollectionsCopyResultFactory;
|
|
1334
1354
|
function csp_systems_AssetSystemFactory(nativePointer) {
|
|
1335
1355
|
return new Systems.AssetSystem(nativePointer);
|
|
1336
1356
|
}
|
|
@@ -1425,6 +1445,21 @@ function csp_systems_EventTicketingSystemFactory(nativePointer) {
|
|
|
1425
1445
|
}
|
|
1426
1446
|
ProxyClassFactories["csp_systems_EventTicketingSystem"] =
|
|
1427
1447
|
csp_systems_EventTicketingSystemFactory;
|
|
1448
|
+
function csp_systems_ExternalServiceInvocationResultFactory(nativePointer) {
|
|
1449
|
+
return new Systems.ExternalServiceInvocationResult(nativePointer);
|
|
1450
|
+
}
|
|
1451
|
+
ProxyClassFactories["csp_systems_ExternalServiceInvocationResult"] =
|
|
1452
|
+
csp_systems_ExternalServiceInvocationResultFactory;
|
|
1453
|
+
function csp_systems_GetAgoraTokenResultFactory(nativePointer) {
|
|
1454
|
+
return new Systems.GetAgoraTokenResult(nativePointer);
|
|
1455
|
+
}
|
|
1456
|
+
ProxyClassFactories["csp_systems_GetAgoraTokenResult"] =
|
|
1457
|
+
csp_systems_GetAgoraTokenResultFactory;
|
|
1458
|
+
function csp_systems_ExternalServiceProxySystemFactory(nativePointer) {
|
|
1459
|
+
return new Systems.ExternalServiceProxySystem(nativePointer);
|
|
1460
|
+
}
|
|
1461
|
+
ProxyClassFactories["csp_systems_ExternalServiceProxySystem"] =
|
|
1462
|
+
csp_systems_ExternalServiceProxySystemFactory;
|
|
1428
1463
|
function csp_systems_GraphQLResultFactory(nativePointer) {
|
|
1429
1464
|
return new Systems.GraphQLResult(nativePointer);
|
|
1430
1465
|
}
|
|
@@ -2273,9 +2308,10 @@ export var Systems;
|
|
|
2273
2308
|
ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
|
|
2274
2309
|
ComponentType[ComponentType["CinematicCamera"] = 27] = "CinematicCamera";
|
|
2275
2310
|
ComponentType[ComponentType["ScreenSharing"] = 28] = "ScreenSharing";
|
|
2311
|
+
ComponentType[ComponentType["AIChatbot"] = 29] = "AIChatbot";
|
|
2276
2312
|
//,
|
|
2277
|
-
ComponentType[ComponentType["spare"] =
|
|
2278
|
-
ComponentType[ComponentType["values"] =
|
|
2313
|
+
ComponentType[ComponentType["spare"] = 30] = "spare";
|
|
2314
|
+
ComponentType[ComponentType["values"] = 31] = "values";
|
|
2279
2315
|
ComponentType[ComponentType["Delete"] = 56] = "Delete";
|
|
2280
2316
|
})(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
|
|
2281
2317
|
})(Multiplayer || (Multiplayer = {}));
|
|
@@ -2377,6 +2413,33 @@ export var Systems;
|
|
|
2377
2413
|
LockType[LockType["UserAgnostic"] = 1] = "UserAgnostic";
|
|
2378
2414
|
})(LockType = Multiplayer.LockType || (Multiplayer.LockType = {}));
|
|
2379
2415
|
})(Multiplayer || (Multiplayer = {}));
|
|
2416
|
+
(function (Multiplayer) {
|
|
2417
|
+
/**
|
|
2418
|
+
* @description Enumerates the list of properties that can be replicated for a AI chatbot component.
|
|
2419
|
+
*/
|
|
2420
|
+
let AIChatbotPropertyKeys;
|
|
2421
|
+
(function (AIChatbotPropertyKeys) {
|
|
2422
|
+
AIChatbotPropertyKeys[AIChatbotPropertyKeys["Position"] = 0] = "Position";
|
|
2423
|
+
AIChatbotPropertyKeys[AIChatbotPropertyKeys["Voice"] = 1] = "Voice";
|
|
2424
|
+
AIChatbotPropertyKeys[AIChatbotPropertyKeys["GuardrailAssetCollectionId"] = 2] = "GuardrailAssetCollectionId";
|
|
2425
|
+
AIChatbotPropertyKeys[AIChatbotPropertyKeys["VisualState"] = 3] = "VisualState";
|
|
2426
|
+
AIChatbotPropertyKeys[AIChatbotPropertyKeys["Num"] = 4] = "Num";
|
|
2427
|
+
})(AIChatbotPropertyKeys = Multiplayer.AIChatbotPropertyKeys || (Multiplayer.AIChatbotPropertyKeys = {}));
|
|
2428
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2429
|
+
(function (Multiplayer) {
|
|
2430
|
+
/**
|
|
2431
|
+
* @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
|
|
2432
|
+
*/
|
|
2433
|
+
let AIChatbotVisualState;
|
|
2434
|
+
(function (AIChatbotVisualState) {
|
|
2435
|
+
AIChatbotVisualState[AIChatbotVisualState["Waiting"] = 0] = "Waiting";
|
|
2436
|
+
AIChatbotVisualState[AIChatbotVisualState["Listening"] = 1] = "Listening";
|
|
2437
|
+
AIChatbotVisualState[AIChatbotVisualState["Thinking"] = 2] = "Thinking";
|
|
2438
|
+
AIChatbotVisualState[AIChatbotVisualState["Speaking"] = 3] = "Speaking";
|
|
2439
|
+
AIChatbotVisualState[AIChatbotVisualState["Unknown"] = 4] = "Unknown";
|
|
2440
|
+
AIChatbotVisualState[AIChatbotVisualState["Num"] = 5] = "Num";
|
|
2441
|
+
})(AIChatbotVisualState = Multiplayer.AIChatbotVisualState || (Multiplayer.AIChatbotVisualState = {}));
|
|
2442
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2380
2443
|
(function (Multiplayer) {
|
|
2381
2444
|
/**
|
|
2382
2445
|
* @description Enumerates the actions that can be performed on an animated model component.
|
|
@@ -9300,7 +9363,7 @@ export class CSPFoundation {
|
|
|
9300
9363
|
}
|
|
9301
9364
|
/**
|
|
9302
9365
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
9303
|
-
*
|
|
9366
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
9304
9367
|
*/
|
|
9305
9368
|
static create() {
|
|
9306
9369
|
var _ptr = Module._malloc(8);
|
|
@@ -9380,14 +9443,23 @@ export class CSPFoundation {
|
|
|
9380
9443
|
}
|
|
9381
9444
|
/**
|
|
9382
9445
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
9383
|
-
* @param
|
|
9446
|
+
* @param inValue - Initial value.
|
|
9384
9447
|
*/
|
|
9385
|
-
static
|
|
9448
|
+
static create_value(value) {
|
|
9386
9449
|
var _ptr = Module._malloc(8);
|
|
9387
|
-
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr,
|
|
9450
|
+
Module.ccall("csp_common_ReplicatedValue_Ctor_MapRC", "void", ["number", "number"], [_ptr, value.pointer]);
|
|
9388
9451
|
var _nPtr = getNativePointer(_ptr);
|
|
9389
9452
|
return new ReplicatedValue(_nPtr);
|
|
9390
9453
|
}
|
|
9454
|
+
/**
|
|
9455
|
+
* @description Destroys the replicated value instance.
|
|
9456
|
+
*/
|
|
9457
|
+
delete() {
|
|
9458
|
+
if (this.ownsPointer && !this.disposed) {
|
|
9459
|
+
Module.ccall("csp_common_ReplicatedValue_Dtor", "void", ["number"], [this.pointer]);
|
|
9460
|
+
this.disposed = true;
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9391
9463
|
/**
|
|
9392
9464
|
* @description Copy constructor
|
|
9393
9465
|
* @param other - The value to copy.
|
|
@@ -9399,17 +9471,13 @@ export class CSPFoundation {
|
|
|
9399
9471
|
return new ReplicatedValue(_nPtr);
|
|
9400
9472
|
}
|
|
9401
9473
|
/**
|
|
9402
|
-
* @description
|
|
9474
|
+
* @description Copy assignment operator overload.
|
|
9475
|
+
* @param inValue - Other replicated value to set from.
|
|
9403
9476
|
*/
|
|
9404
|
-
|
|
9405
|
-
if (this.ownsPointer && !this.disposed) {
|
|
9406
|
-
Module.ccall("csp_common_ReplicatedValue_Dtor", "void", ["number"], [this.pointer]);
|
|
9407
|
-
this.disposed = true;
|
|
9408
|
-
}
|
|
9409
|
-
}
|
|
9477
|
+
// operator=
|
|
9410
9478
|
/**
|
|
9411
|
-
* @description
|
|
9412
|
-
* @param inValue - Other replicated value to
|
|
9479
|
+
* @description Move assignment operator overload.
|
|
9480
|
+
* @param inValue - Other replicated value to move from.
|
|
9413
9481
|
*/
|
|
9414
9482
|
// operator=
|
|
9415
9483
|
/**
|
|
@@ -9418,20 +9486,10 @@ export class CSPFoundation {
|
|
|
9418
9486
|
*/
|
|
9419
9487
|
// operator==
|
|
9420
9488
|
/**
|
|
9421
|
-
* @description
|
|
9489
|
+
* @description Inequality operator overload.
|
|
9422
9490
|
* @param replicatedValue - Other value to compare to.
|
|
9423
9491
|
*/
|
|
9424
9492
|
// operator!=
|
|
9425
|
-
/**
|
|
9426
|
-
* @description Less than operator overload.
|
|
9427
|
-
* @param replicatedValue - Other value to compare to.
|
|
9428
|
-
*/
|
|
9429
|
-
// operator<
|
|
9430
|
-
/**
|
|
9431
|
-
* @description Greater than operator overload.
|
|
9432
|
-
* @param replicatedValue - Other value to compare to.
|
|
9433
|
-
*/
|
|
9434
|
-
// operator>
|
|
9435
9493
|
/**
|
|
9436
9494
|
* @description Gets the type of replicated value.
|
|
9437
9495
|
* @return Enum representing all supported replication base types.
|
|
@@ -9449,8 +9507,7 @@ export class CSPFoundation {
|
|
|
9449
9507
|
}
|
|
9450
9508
|
/**
|
|
9451
9509
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
9452
|
-
*
|
|
9453
|
-
* /// @return bool
|
|
9510
|
+
* @return Bool
|
|
9454
9511
|
*/
|
|
9455
9512
|
getBool() {
|
|
9456
9513
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetBoolC_bool", "boolean", ["number"], [this.pointer]);
|
|
@@ -9467,8 +9524,7 @@ export class CSPFoundation {
|
|
|
9467
9524
|
}
|
|
9468
9525
|
/**
|
|
9469
9526
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
9470
|
-
*
|
|
9471
|
-
* /// @return float value
|
|
9527
|
+
* @return Float value
|
|
9472
9528
|
*/
|
|
9473
9529
|
getFloat() {
|
|
9474
9530
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetFloatC_float", "number", ["number"], [this.pointer]);
|
|
@@ -9485,8 +9541,7 @@ export class CSPFoundation {
|
|
|
9485
9541
|
}
|
|
9486
9542
|
/**
|
|
9487
9543
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
9488
|
-
*
|
|
9489
|
-
* /// @return int64 value
|
|
9544
|
+
* @return Int64 value
|
|
9490
9545
|
*/
|
|
9491
9546
|
getInt() {
|
|
9492
9547
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetIntC_int64_t", "bigint", ["number"], [this.pointer]);
|
|
@@ -9497,8 +9552,7 @@ export class CSPFoundation {
|
|
|
9497
9552
|
}
|
|
9498
9553
|
/**
|
|
9499
9554
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
9500
|
-
*
|
|
9501
|
-
* /// @return csp::common::String&
|
|
9555
|
+
* @return Csp::common::string&
|
|
9502
9556
|
*/
|
|
9503
9557
|
getString() {
|
|
9504
9558
|
let _result = Module.ccall("csp_common_ReplicatedValue_GetStringC_StringRC", "number", ["number"], [this.pointer]);
|
|
@@ -9515,8 +9569,7 @@ export class CSPFoundation {
|
|
|
9515
9569
|
}
|
|
9516
9570
|
/**
|
|
9517
9571
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
9518
|
-
*
|
|
9519
|
-
* /// @return csp::common::Vector2
|
|
9572
|
+
* @return Csp::common::vector2
|
|
9520
9573
|
*/
|
|
9521
9574
|
getVector2() {
|
|
9522
9575
|
var _ret = Module._malloc(8);
|
|
@@ -9533,8 +9586,7 @@ export class CSPFoundation {
|
|
|
9533
9586
|
}
|
|
9534
9587
|
/**
|
|
9535
9588
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
9536
|
-
*
|
|
9537
|
-
* /// @return csp::common::Vector3
|
|
9589
|
+
* @return Csp::common::vector3
|
|
9538
9590
|
*/
|
|
9539
9591
|
getVector3() {
|
|
9540
9592
|
var _ret = Module._malloc(8);
|
|
@@ -9551,8 +9603,7 @@ export class CSPFoundation {
|
|
|
9551
9603
|
}
|
|
9552
9604
|
/**
|
|
9553
9605
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
9554
|
-
*
|
|
9555
|
-
* /// @return csp::common::Vector4
|
|
9606
|
+
* @return Csp::common::vector4
|
|
9556
9607
|
*/
|
|
9557
9608
|
getVector4() {
|
|
9558
9609
|
var _ret = Module._malloc(8);
|
|
@@ -9564,8 +9615,7 @@ export class CSPFoundation {
|
|
|
9564
9615
|
/**
|
|
9565
9616
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
9566
9617
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
9567
|
-
*
|
|
9568
|
-
* /// @return csp::common::Map
|
|
9618
|
+
* @return Csp::common::map
|
|
9569
9619
|
*/
|
|
9570
9620
|
getStringMap() {
|
|
9571
9621
|
var _ret = Module._malloc(8);
|
|
@@ -10616,15 +10666,15 @@ export class CSPFoundation {
|
|
|
10616
10666
|
* @param inLogCallback - The callback to execute when a log occurs.
|
|
10617
10667
|
*/
|
|
10618
10668
|
setLogCallback(callback) {
|
|
10619
|
-
var _callback = (_stateObject__, arg1) => {
|
|
10669
|
+
var _callback = (_stateObject__, arg1, arg2) => {
|
|
10620
10670
|
{
|
|
10621
|
-
const _stringValue = Module.UTF8ToString(
|
|
10622
|
-
free(
|
|
10623
|
-
|
|
10671
|
+
const _stringValue = Module.UTF8ToString(arg2);
|
|
10672
|
+
free(arg2);
|
|
10673
|
+
arg2 = _stringValue;
|
|
10624
10674
|
}
|
|
10625
|
-
callback(arg1);
|
|
10675
|
+
callback(arg1, arg2);
|
|
10626
10676
|
};
|
|
10627
|
-
var _callbackPtr = Module.addFunction(_callback, "
|
|
10677
|
+
var _callbackPtr = Module.addFunction(_callback, "viii");
|
|
10628
10678
|
Module.ccall("csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
10629
10679
|
}
|
|
10630
10680
|
/**
|
|
@@ -12713,6 +12763,17 @@ export class CSPFoundation {
|
|
|
12713
12763
|
Module._free(_ret);
|
|
12714
12764
|
return _nPtr;
|
|
12715
12765
|
}
|
|
12766
|
+
/**
|
|
12767
|
+
* @description Retrieves external services proxy system.
|
|
12768
|
+
* @return Pointer to the external services proxy system class.
|
|
12769
|
+
*/
|
|
12770
|
+
getExternalServicesProxySystem() {
|
|
12771
|
+
var _ret = Module._malloc(8);
|
|
12772
|
+
Module.ccall("csp_systems_SystemsManager_GetExternalServicesProxySystem_ExternalServiceProxySystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
12773
|
+
var _nPtr = new Systems.ExternalServiceProxySystem(getNativePointer(_ret));
|
|
12774
|
+
Module._free(_ret);
|
|
12775
|
+
return _nPtr;
|
|
12776
|
+
}
|
|
12716
12777
|
getMultiplayerConnection() {
|
|
12717
12778
|
var _ret = Module._malloc(8);
|
|
12718
12779
|
Module.ccall("csp_systems_SystemsManager_GetMultiplayerConnection_MultiplayerConnectionP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
@@ -14307,6 +14368,142 @@ export class CSPFoundation {
|
|
|
14307
14368
|
}
|
|
14308
14369
|
Systems.TicketedEventVendorAuthInfo = TicketedEventVendorAuthInfo;
|
|
14309
14370
|
})(Systems || (Systems = {}));
|
|
14371
|
+
(function (Systems) {
|
|
14372
|
+
/**
|
|
14373
|
+
* *******************************************************************************************************************
|
|
14374
|
+
* @description Data structure used when making invocations of the external service proxy.
|
|
14375
|
+
*/
|
|
14376
|
+
class ExternalServicesOperationParams extends NativeClassWrapper {
|
|
14377
|
+
/** @internal */
|
|
14378
|
+
constructor(pointer) {
|
|
14379
|
+
super(pointer);
|
|
14380
|
+
}
|
|
14381
|
+
static create() {
|
|
14382
|
+
var _ptr = Module._malloc(8);
|
|
14383
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams_Ctor", "void", ["number"], [_ptr]);
|
|
14384
|
+
var _nPtr = getNativePointer(_ptr);
|
|
14385
|
+
return new ExternalServicesOperationParams(_nPtr);
|
|
14386
|
+
}
|
|
14387
|
+
delete() {
|
|
14388
|
+
if (this.ownsPointer && !this.disposed) {
|
|
14389
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams_Dtor", "void", ["number"], [this.pointer]);
|
|
14390
|
+
this.disposed = true;
|
|
14391
|
+
}
|
|
14392
|
+
}
|
|
14393
|
+
get serviceName() {
|
|
14394
|
+
let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_ServiceName", "string", ["number"], [this.pointer]);
|
|
14395
|
+
return _result;
|
|
14396
|
+
}
|
|
14397
|
+
set serviceName(value) {
|
|
14398
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams__Set_ServiceName", "void", ["number", "string"], [this.pointer, value]);
|
|
14399
|
+
}
|
|
14400
|
+
get operationName() {
|
|
14401
|
+
let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_OperationName", "string", ["number"], [this.pointer]);
|
|
14402
|
+
return _result;
|
|
14403
|
+
}
|
|
14404
|
+
set operationName(value) {
|
|
14405
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams__Set_OperationName", "void", ["number", "string"], [this.pointer, value]);
|
|
14406
|
+
}
|
|
14407
|
+
get setHelp() {
|
|
14408
|
+
let _result = Module.ccall("csp_systems_ExternalServicesOperationParams__Get_SetHelp", "boolean", ["number"], [this.pointer]);
|
|
14409
|
+
return _result;
|
|
14410
|
+
}
|
|
14411
|
+
set setHelp(value) {
|
|
14412
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams__Set_SetHelp", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14413
|
+
}
|
|
14414
|
+
get parameters() {
|
|
14415
|
+
const _ptr = Module._malloc(8);
|
|
14416
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams__Get_Parameters", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
14417
|
+
const _nPtr = getNativePointer(_ptr);
|
|
14418
|
+
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
14419
|
+
}
|
|
14420
|
+
set parameters(value) {
|
|
14421
|
+
Module.ccall("csp_systems_ExternalServicesOperationParams__Set_Parameters", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
14422
|
+
}
|
|
14423
|
+
}
|
|
14424
|
+
Systems.ExternalServicesOperationParams = ExternalServicesOperationParams;
|
|
14425
|
+
})(Systems || (Systems = {}));
|
|
14426
|
+
(function (Systems) {
|
|
14427
|
+
/**
|
|
14428
|
+
* *******************************************************************************************************************
|
|
14429
|
+
* @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
|
|
14430
|
+
*/
|
|
14431
|
+
class AgoraUserTokenParams extends NativeClassWrapper {
|
|
14432
|
+
/** @internal */
|
|
14433
|
+
constructor(pointer) {
|
|
14434
|
+
super(pointer);
|
|
14435
|
+
}
|
|
14436
|
+
static create() {
|
|
14437
|
+
var _ptr = Module._malloc(8);
|
|
14438
|
+
Module.ccall("csp_systems_AgoraUserTokenParams_Ctor", "void", ["number"], [_ptr]);
|
|
14439
|
+
var _nPtr = getNativePointer(_ptr);
|
|
14440
|
+
return new AgoraUserTokenParams(_nPtr);
|
|
14441
|
+
}
|
|
14442
|
+
delete() {
|
|
14443
|
+
if (this.ownsPointer && !this.disposed) {
|
|
14444
|
+
Module.ccall("csp_systems_AgoraUserTokenParams_Dtor", "void", ["number"], [this.pointer]);
|
|
14445
|
+
this.disposed = true;
|
|
14446
|
+
}
|
|
14447
|
+
}
|
|
14448
|
+
get agoraUserId() {
|
|
14449
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_AgoraUserId", "string", ["number"], [this.pointer]);
|
|
14450
|
+
return _result;
|
|
14451
|
+
}
|
|
14452
|
+
set agoraUserId(value) {
|
|
14453
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_AgoraUserId", "void", ["number", "string"], [this.pointer, value]);
|
|
14454
|
+
}
|
|
14455
|
+
get channelName() {
|
|
14456
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ChannelName", "string", ["number"], [this.pointer]);
|
|
14457
|
+
return _result;
|
|
14458
|
+
}
|
|
14459
|
+
set channelName(value) {
|
|
14460
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ChannelName", "void", ["number", "string"], [this.pointer, value]);
|
|
14461
|
+
}
|
|
14462
|
+
get referenceId() {
|
|
14463
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReferenceId", "string", ["number"], [this.pointer]);
|
|
14464
|
+
return _result;
|
|
14465
|
+
}
|
|
14466
|
+
set referenceId(value) {
|
|
14467
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
|
|
14468
|
+
}
|
|
14469
|
+
get lifespan() {
|
|
14470
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_Lifespan", "number", ["number"], [this.pointer]);
|
|
14471
|
+
return _result;
|
|
14472
|
+
}
|
|
14473
|
+
set lifespan(value) {
|
|
14474
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_Lifespan", "void", ["number", "number"], [this.pointer, value]);
|
|
14475
|
+
}
|
|
14476
|
+
get readOnly() {
|
|
14477
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReadOnly", "boolean", ["number"], [this.pointer]);
|
|
14478
|
+
return _result;
|
|
14479
|
+
}
|
|
14480
|
+
set readOnly(value) {
|
|
14481
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReadOnly", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14482
|
+
}
|
|
14483
|
+
get shareAudio() {
|
|
14484
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareAudio", "boolean", ["number"], [this.pointer]);
|
|
14485
|
+
return _result;
|
|
14486
|
+
}
|
|
14487
|
+
set shareAudio(value) {
|
|
14488
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareAudio", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14489
|
+
}
|
|
14490
|
+
get shareVideo() {
|
|
14491
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareVideo", "boolean", ["number"], [this.pointer]);
|
|
14492
|
+
return _result;
|
|
14493
|
+
}
|
|
14494
|
+
set shareVideo(value) {
|
|
14495
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareVideo", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14496
|
+
}
|
|
14497
|
+
get shareScreen() {
|
|
14498
|
+
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareScreen", "boolean", ["number"], [this.pointer]);
|
|
14499
|
+
return _result;
|
|
14500
|
+
}
|
|
14501
|
+
set shareScreen(value) {
|
|
14502
|
+
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareScreen", "void", ["number", "boolean"], [this.pointer, value]);
|
|
14503
|
+
}
|
|
14504
|
+
}
|
|
14505
|
+
Systems.AgoraUserTokenParams = AgoraUserTokenParams;
|
|
14506
|
+
})(Systems || (Systems = {}));
|
|
14310
14507
|
(function (Systems) {
|
|
14311
14508
|
/**
|
|
14312
14509
|
@ingroup HotspotSequence System
|
|
@@ -15469,140 +15666,6 @@ export class CSPFoundation {
|
|
|
15469
15666
|
}
|
|
15470
15667
|
Systems.LoginTokenInfo = LoginTokenInfo;
|
|
15471
15668
|
})(Systems || (Systems = {}));
|
|
15472
|
-
(function (Systems) {
|
|
15473
|
-
/**
|
|
15474
|
-
* @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
|
|
15475
|
-
*/
|
|
15476
|
-
class AgoraUserTokenParams extends NativeClassWrapper {
|
|
15477
|
-
/** @internal */
|
|
15478
|
-
constructor(pointer) {
|
|
15479
|
-
super(pointer);
|
|
15480
|
-
}
|
|
15481
|
-
static create() {
|
|
15482
|
-
var _ptr = Module._malloc(8);
|
|
15483
|
-
Module.ccall("csp_systems_AgoraUserTokenParams_Ctor", "void", ["number"], [_ptr]);
|
|
15484
|
-
var _nPtr = getNativePointer(_ptr);
|
|
15485
|
-
return new AgoraUserTokenParams(_nPtr);
|
|
15486
|
-
}
|
|
15487
|
-
delete() {
|
|
15488
|
-
if (this.ownsPointer && !this.disposed) {
|
|
15489
|
-
Module.ccall("csp_systems_AgoraUserTokenParams_Dtor", "void", ["number"], [this.pointer]);
|
|
15490
|
-
this.disposed = true;
|
|
15491
|
-
}
|
|
15492
|
-
}
|
|
15493
|
-
get agoraUserId() {
|
|
15494
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_AgoraUserId", "string", ["number"], [this.pointer]);
|
|
15495
|
-
return _result;
|
|
15496
|
-
}
|
|
15497
|
-
set agoraUserId(value) {
|
|
15498
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_AgoraUserId", "void", ["number", "string"], [this.pointer, value]);
|
|
15499
|
-
}
|
|
15500
|
-
get channelName() {
|
|
15501
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ChannelName", "string", ["number"], [this.pointer]);
|
|
15502
|
-
return _result;
|
|
15503
|
-
}
|
|
15504
|
-
set channelName(value) {
|
|
15505
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ChannelName", "void", ["number", "string"], [this.pointer, value]);
|
|
15506
|
-
}
|
|
15507
|
-
get referenceId() {
|
|
15508
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReferenceId", "string", ["number"], [this.pointer]);
|
|
15509
|
-
return _result;
|
|
15510
|
-
}
|
|
15511
|
-
set referenceId(value) {
|
|
15512
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReferenceId", "void", ["number", "string"], [this.pointer, value]);
|
|
15513
|
-
}
|
|
15514
|
-
get lifespan() {
|
|
15515
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_Lifespan", "number", ["number"], [this.pointer]);
|
|
15516
|
-
return _result;
|
|
15517
|
-
}
|
|
15518
|
-
set lifespan(value) {
|
|
15519
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_Lifespan", "void", ["number", "number"], [this.pointer, value]);
|
|
15520
|
-
}
|
|
15521
|
-
get readOnly() {
|
|
15522
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ReadOnly", "boolean", ["number"], [this.pointer]);
|
|
15523
|
-
return _result;
|
|
15524
|
-
}
|
|
15525
|
-
set readOnly(value) {
|
|
15526
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ReadOnly", "void", ["number", "boolean"], [this.pointer, value]);
|
|
15527
|
-
}
|
|
15528
|
-
get shareAudio() {
|
|
15529
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareAudio", "boolean", ["number"], [this.pointer]);
|
|
15530
|
-
return _result;
|
|
15531
|
-
}
|
|
15532
|
-
set shareAudio(value) {
|
|
15533
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareAudio", "void", ["number", "boolean"], [this.pointer, value]);
|
|
15534
|
-
}
|
|
15535
|
-
get shareVideo() {
|
|
15536
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareVideo", "boolean", ["number"], [this.pointer]);
|
|
15537
|
-
return _result;
|
|
15538
|
-
}
|
|
15539
|
-
set shareVideo(value) {
|
|
15540
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareVideo", "void", ["number", "boolean"], [this.pointer, value]);
|
|
15541
|
-
}
|
|
15542
|
-
get shareScreen() {
|
|
15543
|
-
let _result = Module.ccall("csp_systems_AgoraUserTokenParams__Get_ShareScreen", "boolean", ["number"], [this.pointer]);
|
|
15544
|
-
return _result;
|
|
15545
|
-
}
|
|
15546
|
-
set shareScreen(value) {
|
|
15547
|
-
Module.ccall("csp_systems_AgoraUserTokenParams__Set_ShareScreen", "void", ["number", "boolean"], [this.pointer, value]);
|
|
15548
|
-
}
|
|
15549
|
-
}
|
|
15550
|
-
Systems.AgoraUserTokenParams = AgoraUserTokenParams;
|
|
15551
|
-
})(Systems || (Systems = {}));
|
|
15552
|
-
(function (Systems) {
|
|
15553
|
-
/**
|
|
15554
|
-
* @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
|
|
15555
|
-
*/
|
|
15556
|
-
class TokenInfoParams extends NativeClassWrapper {
|
|
15557
|
-
/** @internal */
|
|
15558
|
-
constructor(pointer) {
|
|
15559
|
-
super(pointer);
|
|
15560
|
-
}
|
|
15561
|
-
static create() {
|
|
15562
|
-
var _ptr = Module._malloc(8);
|
|
15563
|
-
Module.ccall("csp_systems_TokenInfoParams_Ctor", "void", ["number"], [_ptr]);
|
|
15564
|
-
var _nPtr = getNativePointer(_ptr);
|
|
15565
|
-
return new TokenInfoParams(_nPtr);
|
|
15566
|
-
}
|
|
15567
|
-
delete() {
|
|
15568
|
-
if (this.ownsPointer && !this.disposed) {
|
|
15569
|
-
Module.ccall("csp_systems_TokenInfoParams_Dtor", "void", ["number"], [this.pointer]);
|
|
15570
|
-
this.disposed = true;
|
|
15571
|
-
}
|
|
15572
|
-
}
|
|
15573
|
-
get serviceName() {
|
|
15574
|
-
let _result = Module.ccall("csp_systems_TokenInfoParams__Get_ServiceName", "string", ["number"], [this.pointer]);
|
|
15575
|
-
return _result;
|
|
15576
|
-
}
|
|
15577
|
-
set serviceName(value) {
|
|
15578
|
-
Module.ccall("csp_systems_TokenInfoParams__Set_ServiceName", "void", ["number", "string"], [this.pointer, value]);
|
|
15579
|
-
}
|
|
15580
|
-
get operationName() {
|
|
15581
|
-
let _result = Module.ccall("csp_systems_TokenInfoParams__Get_OperationName", "string", ["number"], [this.pointer]);
|
|
15582
|
-
return _result;
|
|
15583
|
-
}
|
|
15584
|
-
set operationName(value) {
|
|
15585
|
-
Module.ccall("csp_systems_TokenInfoParams__Set_OperationName", "void", ["number", "string"], [this.pointer, value]);
|
|
15586
|
-
}
|
|
15587
|
-
get setHelp() {
|
|
15588
|
-
let _result = Module.ccall("csp_systems_TokenInfoParams__Get_SetHelp", "boolean", ["number"], [this.pointer]);
|
|
15589
|
-
return _result;
|
|
15590
|
-
}
|
|
15591
|
-
set setHelp(value) {
|
|
15592
|
-
Module.ccall("csp_systems_TokenInfoParams__Set_SetHelp", "void", ["number", "boolean"], [this.pointer, value]);
|
|
15593
|
-
}
|
|
15594
|
-
get parameters() {
|
|
15595
|
-
const _ptr = Module._malloc(8);
|
|
15596
|
-
Module.ccall("csp_systems_TokenInfoParams__Get_Parameters", "void", ["number", "number"], [_ptr, this.pointer]);
|
|
15597
|
-
const _nPtr = getNativePointer(_ptr);
|
|
15598
|
-
return new Common.Map(_nPtr, StringFactory, "String", StringFactory, "String");
|
|
15599
|
-
}
|
|
15600
|
-
set parameters(value) {
|
|
15601
|
-
Module.ccall("csp_systems_TokenInfoParams__Set_Parameters", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
15602
|
-
}
|
|
15603
|
-
}
|
|
15604
|
-
Systems.TokenInfoParams = TokenInfoParams;
|
|
15605
|
-
})(Systems || (Systems = {}));
|
|
15606
15669
|
(function (Systems) {
|
|
15607
15670
|
/**
|
|
15608
15671
|
* @description Data structure for overrides to the default token options
|
|
@@ -16735,6 +16798,100 @@ export class CSPFoundation {
|
|
|
16735
16798
|
}
|
|
16736
16799
|
Multiplayer.OnlineRealtimeEngine = OnlineRealtimeEngine;
|
|
16737
16800
|
})(Multiplayer || (Multiplayer = {}));
|
|
16801
|
+
(function (Multiplayer) {
|
|
16802
|
+
class AIChatbotSpaceComponent extends Multiplayer.ComponentBase {
|
|
16803
|
+
/** @internal */
|
|
16804
|
+
constructor(pointer) {
|
|
16805
|
+
super(pointer);
|
|
16806
|
+
}
|
|
16807
|
+
static fromComponentBase(baseInstance) {
|
|
16808
|
+
const nativeClassWrapper = baseInstance;
|
|
16809
|
+
return new Multiplayer.AIChatbotSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
16810
|
+
}
|
|
16811
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
16812
|
+
var _ptr = Module._malloc(8);
|
|
16813
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
16814
|
+
var _nPtr = getNativePointer(_ptr);
|
|
16815
|
+
return new AIChatbotSpaceComponent(_nPtr);
|
|
16816
|
+
}
|
|
16817
|
+
/**
|
|
16818
|
+
* @description Gets the voice name of the TTS model associated with this AI chatbot.
|
|
16819
|
+
* @return The name of the TTS voice associated with this AI chatbot.
|
|
16820
|
+
*/
|
|
16821
|
+
getVoice() {
|
|
16822
|
+
let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetVoiceC_StringRC", "number", ["number"], [this.pointer]);
|
|
16823
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
16824
|
+
free(_result);
|
|
16825
|
+
_result = _resultString;
|
|
16826
|
+
return _result;
|
|
16827
|
+
}
|
|
16828
|
+
/**
|
|
16829
|
+
* @description Sets the voice name of the TTS model associated with this AI chatbot.
|
|
16830
|
+
* @param value - The name of the TTS voice associated with this AI chatbot.
|
|
16831
|
+
*/
|
|
16832
|
+
setVoice(value) {
|
|
16833
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetVoice_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
16834
|
+
}
|
|
16835
|
+
/**
|
|
16836
|
+
* @description Gets the ID of the guardrail asset associated with this AI chatbot.
|
|
16837
|
+
* @return The ID of the guardrail asset collection associated with this AI chatbot.
|
|
16838
|
+
*/
|
|
16839
|
+
getGuardrailAssetCollectionId() {
|
|
16840
|
+
let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetGuardrailAssetCollectionIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
16841
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
16842
|
+
free(_result);
|
|
16843
|
+
_result = _resultString;
|
|
16844
|
+
return _result;
|
|
16845
|
+
}
|
|
16846
|
+
/**
|
|
16847
|
+
* @description Sets the ID of the guardrail asset associated with this AI chatbot.
|
|
16848
|
+
* @param value - The ID of the guardrail asset collection associated with this AI chatbot.
|
|
16849
|
+
*/
|
|
16850
|
+
setGuardrailAssetCollectionId(value) {
|
|
16851
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetGuardrailAssetCollectionId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
16852
|
+
}
|
|
16853
|
+
/**
|
|
16854
|
+
* @description Retrieves the visual state of the AI chatbot for this component.
|
|
16855
|
+
* @return The visual state of the AI chatbot.
|
|
16856
|
+
*/
|
|
16857
|
+
getVisualState() {
|
|
16858
|
+
let _result = Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetVisualStateC_AIChatbotVisualState", "number", ["number"], [this.pointer]);
|
|
16859
|
+
return _result;
|
|
16860
|
+
}
|
|
16861
|
+
/**
|
|
16862
|
+
* @description Sets the visual state of the AI chatbot for this component.
|
|
16863
|
+
* @param value - The visual state of the AI chatbot.
|
|
16864
|
+
*/
|
|
16865
|
+
setVisualState(value) {
|
|
16866
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetVisualState_void_AIChatbotVisualState", "void", ["number", "number"], [this.pointer, value]);
|
|
16867
|
+
}
|
|
16868
|
+
/**
|
|
16869
|
+
* \addtogroup IPositionComponent
|
|
16870
|
+
@{
|
|
16871
|
+
@copydoc IPositionComponent::GetPosition()
|
|
16872
|
+
*/
|
|
16873
|
+
getPosition() {
|
|
16874
|
+
var _ret = Module._malloc(8);
|
|
16875
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
16876
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
16877
|
+
Module._free(_ret);
|
|
16878
|
+
return _nPtr;
|
|
16879
|
+
}
|
|
16880
|
+
/**
|
|
16881
|
+
@copydoc IPositionComponent::SetPosition()
|
|
16882
|
+
*/
|
|
16883
|
+
setPosition(value) {
|
|
16884
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
16885
|
+
}
|
|
16886
|
+
delete() {
|
|
16887
|
+
if (this.ownsPointer && !this.disposed) {
|
|
16888
|
+
Module.ccall("csp_multiplayer_AIChatbotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
16889
|
+
this.disposed = true;
|
|
16890
|
+
}
|
|
16891
|
+
}
|
|
16892
|
+
}
|
|
16893
|
+
Multiplayer.AIChatbotSpaceComponent = AIChatbotSpaceComponent;
|
|
16894
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
16738
16895
|
(function (Multiplayer) {
|
|
16739
16896
|
/**
|
|
16740
16897
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -19730,7 +19887,7 @@ export class CSPFoundation {
|
|
|
19730
19887
|
return _result;
|
|
19731
19888
|
}
|
|
19732
19889
|
/**
|
|
19733
|
-
* @description Sets the type of fog
|
|
19890
|
+
* @description Sets the type of fog to be used by this fog component.
|
|
19734
19891
|
* @param value - The modality of fog to be used by this component.
|
|
19735
19892
|
*/
|
|
19736
19893
|
setFogMode(value) {
|
|
@@ -19804,20 +19961,18 @@ export class CSPFoundation {
|
|
|
19804
19961
|
}
|
|
19805
19962
|
/**
|
|
19806
19963
|
@}
|
|
19807
|
-
* @description
|
|
19808
|
-
*
|
|
19809
|
-
*
|
|
19810
|
-
* @return Current start distance
|
|
19964
|
+
* @description Gets start distance.
|
|
19965
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
19966
|
+
* @return Current start distance.
|
|
19811
19967
|
*/
|
|
19812
19968
|
getStartDistance() {
|
|
19813
19969
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetStartDistanceC_float", "number", ["number"], [this.pointer]);
|
|
19814
19970
|
return _result;
|
|
19815
19971
|
}
|
|
19816
19972
|
/**
|
|
19817
|
-
* @description
|
|
19818
|
-
*
|
|
19819
|
-
*
|
|
19820
|
-
* @param value - Current start distance
|
|
19973
|
+
* @description Sets start distance.
|
|
19974
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
19975
|
+
* @param value - Start distance.
|
|
19821
19976
|
*/
|
|
19822
19977
|
setStartDistance(value) {
|
|
19823
19978
|
assert(value >= Limits.FLOAT_MIN);
|
|
@@ -19825,20 +19980,18 @@ export class CSPFoundation {
|
|
|
19825
19980
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetStartDistance_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
19826
19981
|
}
|
|
19827
19982
|
/**
|
|
19828
|
-
* @description
|
|
19829
|
-
*
|
|
19830
|
-
*
|
|
19831
|
-
* @return Current end distance
|
|
19983
|
+
* @description Gets end distance.
|
|
19984
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
19985
|
+
* @return Current end distance.
|
|
19832
19986
|
*/
|
|
19833
19987
|
getEndDistance() {
|
|
19834
19988
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetEndDistanceC_float", "number", ["number"], [this.pointer]);
|
|
19835
19989
|
return _result;
|
|
19836
19990
|
}
|
|
19837
19991
|
/**
|
|
19838
|
-
* @description
|
|
19839
|
-
*
|
|
19840
|
-
*
|
|
19841
|
-
* @param value - Current end distance
|
|
19992
|
+
* @description Sets end distance.
|
|
19993
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
19994
|
+
* @param value - End distance.
|
|
19842
19995
|
*/
|
|
19843
19996
|
setEndDistance(value) {
|
|
19844
19997
|
assert(value >= Limits.FLOAT_MIN);
|
|
@@ -19846,8 +19999,8 @@ export class CSPFoundation {
|
|
|
19846
19999
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetEndDistance_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
19847
20000
|
}
|
|
19848
20001
|
/**
|
|
19849
|
-
* @description
|
|
19850
|
-
* @return Current fog color
|
|
20002
|
+
* @description Gets fog color.
|
|
20003
|
+
* @return Current fog color.
|
|
19851
20004
|
*/
|
|
19852
20005
|
getColor() {
|
|
19853
20006
|
var _ret = Module._malloc(8);
|
|
@@ -19857,25 +20010,23 @@ export class CSPFoundation {
|
|
|
19857
20010
|
return _nPtr;
|
|
19858
20011
|
}
|
|
19859
20012
|
/**
|
|
19860
|
-
* @description
|
|
19861
|
-
* @param value -
|
|
20013
|
+
* @description Sets fog color.
|
|
20014
|
+
* @param value - Fog color.
|
|
19862
20015
|
*/
|
|
19863
20016
|
setColor(value) {
|
|
19864
20017
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetColor_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
19865
20018
|
}
|
|
19866
20019
|
/**
|
|
19867
|
-
* @description
|
|
19868
|
-
*
|
|
19869
|
-
* @return Current Global density factor
|
|
20020
|
+
* @description Gets global density factor.
|
|
20021
|
+
* @return Current global density factor.
|
|
19870
20022
|
*/
|
|
19871
20023
|
getDensity() {
|
|
19872
20024
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetDensityC_float", "number", ["number"], [this.pointer]);
|
|
19873
20025
|
return _result;
|
|
19874
20026
|
}
|
|
19875
20027
|
/**
|
|
19876
|
-
* @description
|
|
19877
|
-
*
|
|
19878
|
-
* @param value - Global density factor
|
|
20028
|
+
* @description Sets global density factor.
|
|
20029
|
+
* @param value - Global density factor.
|
|
19879
20030
|
*/
|
|
19880
20031
|
setDensity(value) {
|
|
19881
20032
|
assert(value >= Limits.FLOAT_MIN);
|
|
@@ -19883,18 +20034,18 @@ export class CSPFoundation {
|
|
|
19883
20034
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetDensity_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
19884
20035
|
}
|
|
19885
20036
|
/**
|
|
19886
|
-
* @description
|
|
19887
|
-
*
|
|
19888
|
-
* @return Current
|
|
20037
|
+
* @description Gets Height density factor.
|
|
20038
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
20039
|
+
* @return Current height density factor.
|
|
19889
20040
|
*/
|
|
19890
20041
|
getHeightFalloff() {
|
|
19891
20042
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetHeightFalloffC_float", "number", ["number"], [this.pointer]);
|
|
19892
20043
|
return _result;
|
|
19893
20044
|
}
|
|
19894
20045
|
/**
|
|
19895
|
-
* @description
|
|
19896
|
-
*
|
|
19897
|
-
* @param value - Height density factor
|
|
20046
|
+
* @description Sets Height density factor.
|
|
20047
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
20048
|
+
* @param value - Height density factor.
|
|
19898
20049
|
*/
|
|
19899
20050
|
setHeightFalloff(value) {
|
|
19900
20051
|
assert(value >= Limits.FLOAT_MIN);
|
|
@@ -19902,19 +20053,18 @@ export class CSPFoundation {
|
|
|
19902
20053
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetHeightFalloff_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
19903
20054
|
}
|
|
19904
20055
|
/**
|
|
19905
|
-
* @description
|
|
19906
|
-
*
|
|
19907
|
-
*
|
|
19908
|
-
* Note: 0 = fog colour will have no impact.
|
|
19909
|
-
* @return Current Maximum opacity of the Fog
|
|
20056
|
+
* @description Gets maximum opacity of the fog.
|
|
20057
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
20058
|
+
* @return Current maximum opacity.
|
|
19910
20059
|
*/
|
|
19911
20060
|
getMaxOpacity() {
|
|
19912
20061
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetMaxOpacityC_float", "number", ["number"], [this.pointer]);
|
|
19913
20062
|
return _result;
|
|
19914
20063
|
}
|
|
19915
20064
|
/**
|
|
19916
|
-
* @description
|
|
19917
|
-
*
|
|
20065
|
+
* @description Sets maximum opacity of the fog.
|
|
20066
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
20067
|
+
* @param value - Maximum opacity of the fog.
|
|
19918
20068
|
*/
|
|
19919
20069
|
setMaxOpacity(value) {
|
|
19920
20070
|
assert(value >= Limits.FLOAT_MIN);
|
|
@@ -19922,16 +20072,16 @@ export class CSPFoundation {
|
|
|
19922
20072
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetMaxOpacity_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
19923
20073
|
}
|
|
19924
20074
|
/**
|
|
19925
|
-
* @description
|
|
19926
|
-
* @
|
|
20075
|
+
* @description Gets IsFogVolumetric.
|
|
20076
|
+
* @return Current fog volumetric flag.
|
|
19927
20077
|
*/
|
|
19928
20078
|
getIsVolumetric() {
|
|
19929
20079
|
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetIsVolumetricC_bool", "boolean", ["number"], [this.pointer]);
|
|
19930
20080
|
return _result;
|
|
19931
20081
|
}
|
|
19932
20082
|
/**
|
|
19933
|
-
* @description
|
|
19934
|
-
* @param value -
|
|
20083
|
+
* @description Sets IsFogVolumetric.
|
|
20084
|
+
* @param value - Fog Volumetric Flag.
|
|
19935
20085
|
*/
|
|
19936
20086
|
setIsVolumetric(value) {
|
|
19937
20087
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetIsVolumetric_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
@@ -23554,6 +23704,29 @@ export class CSPFoundation {
|
|
|
23554
23704
|
}
|
|
23555
23705
|
Systems.AssetCollectionCountResult = AssetCollectionCountResult;
|
|
23556
23706
|
})(Systems || (Systems = {}));
|
|
23707
|
+
(function (Systems) {
|
|
23708
|
+
/**
|
|
23709
|
+
@ingroup Asset System
|
|
23710
|
+
* @description Data class used to process and represent information relating to copied asset collections.
|
|
23711
|
+
*/
|
|
23712
|
+
class AssetCollectionsCopyResult extends Systems.AssetCollectionsResult {
|
|
23713
|
+
/** @internal */
|
|
23714
|
+
constructor(pointer) {
|
|
23715
|
+
super(pointer);
|
|
23716
|
+
}
|
|
23717
|
+
static fromAssetCollectionsResult(baseInstance) {
|
|
23718
|
+
const nativeClassWrapper = baseInstance;
|
|
23719
|
+
return new Systems.AssetCollectionsCopyResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
23720
|
+
}
|
|
23721
|
+
delete() {
|
|
23722
|
+
if (this.ownsPointer && !this.disposed) {
|
|
23723
|
+
Module.ccall("csp_systems_AssetCollectionsCopyResult_Dtor", "void", ["number"], [this.pointer]);
|
|
23724
|
+
this.disposed = true;
|
|
23725
|
+
}
|
|
23726
|
+
}
|
|
23727
|
+
}
|
|
23728
|
+
Systems.AssetCollectionsCopyResult = AssetCollectionsCopyResult;
|
|
23729
|
+
})(Systems || (Systems = {}));
|
|
23557
23730
|
(function (Systems) {
|
|
23558
23731
|
/**
|
|
23559
23732
|
@ingroup Asset System
|
|
@@ -25884,6 +26057,122 @@ export class CSPFoundation {
|
|
|
25884
26057
|
}
|
|
25885
26058
|
Systems.EventTicketingSystem = EventTicketingSystem;
|
|
25886
26059
|
})(Systems || (Systems = {}));
|
|
26060
|
+
(function (Systems) {
|
|
26061
|
+
/**
|
|
26062
|
+
* @description Data class used to contain information relating to invocations via the external service proxy system.
|
|
26063
|
+
*/
|
|
26064
|
+
class ExternalServiceInvocationResult extends Systems.StringResult {
|
|
26065
|
+
/** @internal */
|
|
26066
|
+
constructor(pointer) {
|
|
26067
|
+
super(pointer);
|
|
26068
|
+
}
|
|
26069
|
+
static fromStringResult(baseInstance) {
|
|
26070
|
+
const nativeClassWrapper = baseInstance;
|
|
26071
|
+
return new Systems.ExternalServiceInvocationResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
26072
|
+
}
|
|
26073
|
+
delete() {
|
|
26074
|
+
if (this.ownsPointer && !this.disposed) {
|
|
26075
|
+
Module.ccall("csp_systems_ExternalServiceInvocationResult_Dtor", "void", ["number"], [this.pointer]);
|
|
26076
|
+
this.disposed = true;
|
|
26077
|
+
}
|
|
26078
|
+
}
|
|
26079
|
+
}
|
|
26080
|
+
Systems.ExternalServiceInvocationResult = ExternalServiceInvocationResult;
|
|
26081
|
+
})(Systems || (Systems = {}));
|
|
26082
|
+
(function (Systems) {
|
|
26083
|
+
/**
|
|
26084
|
+
* @description A specialisation of the result data class that handles respnses from the external service proxy system.
|
|
26085
|
+
*/
|
|
26086
|
+
class GetAgoraTokenResult extends Systems.ExternalServiceInvocationResult {
|
|
26087
|
+
/** @internal */
|
|
26088
|
+
constructor(pointer) {
|
|
26089
|
+
super(pointer);
|
|
26090
|
+
}
|
|
26091
|
+
static fromExternalServiceInvocationResult(baseInstance) {
|
|
26092
|
+
const nativeClassWrapper = baseInstance;
|
|
26093
|
+
return new Systems.GetAgoraTokenResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
26094
|
+
}
|
|
26095
|
+
delete() {
|
|
26096
|
+
if (this.ownsPointer && !this.disposed) {
|
|
26097
|
+
Module.ccall("csp_systems_GetAgoraTokenResult_Dtor", "void", ["number"], [this.pointer]);
|
|
26098
|
+
this.disposed = true;
|
|
26099
|
+
}
|
|
26100
|
+
}
|
|
26101
|
+
}
|
|
26102
|
+
Systems.GetAgoraTokenResult = GetAgoraTokenResult;
|
|
26103
|
+
})(Systems || (Systems = {}));
|
|
26104
|
+
(function (Systems) {
|
|
26105
|
+
/**
|
|
26106
|
+
* *******************************************************************************************************************
|
|
26107
|
+
@ingroup External Service Proxy System
|
|
26108
|
+
* @description Public facing system that allows client applications to interact with
|
|
26109
|
+
* backend services acting as a proxy for some other set of services.
|
|
26110
|
+
* /// In situations where a CSP client application needs secure access to some other set of third-party
|
|
26111
|
+
* services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
|
|
26112
|
+
* as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
|
|
26113
|
+
*/
|
|
26114
|
+
class ExternalServiceProxySystem extends Systems.SystemBase {
|
|
26115
|
+
/** @internal */
|
|
26116
|
+
constructor(pointer) {
|
|
26117
|
+
super(pointer);
|
|
26118
|
+
}
|
|
26119
|
+
static fromSystemBase(baseInstance) {
|
|
26120
|
+
const nativeClassWrapper = baseInstance;
|
|
26121
|
+
return new Systems.ExternalServiceProxySystem(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
26122
|
+
}
|
|
26123
|
+
/**
|
|
26124
|
+
* @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
|
|
26125
|
+
* service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
|
|
26126
|
+
* @param params - Params to specify service, operation, set help and parameters.
|
|
26127
|
+
* @param callback - Callback to call when a response is received.
|
|
26128
|
+
*/
|
|
26129
|
+
async invokeOperation(params) {
|
|
26130
|
+
var _resolve;
|
|
26131
|
+
var _promise = new Promise((_r) => {
|
|
26132
|
+
_resolve = _r;
|
|
26133
|
+
});
|
|
26134
|
+
var _callbackPtr;
|
|
26135
|
+
var _callback = (_stateObject__, result) => {
|
|
26136
|
+
var _resultPtr = getNativePointer(result);
|
|
26137
|
+
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
26138
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
26139
|
+
return;
|
|
26140
|
+
}
|
|
26141
|
+
_resolve(_resultInstance);
|
|
26142
|
+
Module.removeFunction(_callbackPtr);
|
|
26143
|
+
};
|
|
26144
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
26145
|
+
Module.ccall("csp_systems_ExternalServiceProxySystem_InvokeOperation_void_ExternalServicesOperationParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
|
|
26146
|
+
return _promise;
|
|
26147
|
+
}
|
|
26148
|
+
/**
|
|
26149
|
+
* @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
|
|
26150
|
+
* credentials. A good example for how client applications may wish to use PostServiceProxy.
|
|
26151
|
+
* @param params - Params to configure the User token.
|
|
26152
|
+
* @param callback - Callback to call when a response is received.
|
|
26153
|
+
*/
|
|
26154
|
+
async getAgoraUserToken(params) {
|
|
26155
|
+
var _resolve;
|
|
26156
|
+
var _promise = new Promise((_r) => {
|
|
26157
|
+
_resolve = _r;
|
|
26158
|
+
});
|
|
26159
|
+
var _callbackPtr;
|
|
26160
|
+
var _callback = (_stateObject__, result) => {
|
|
26161
|
+
var _resultPtr = getNativePointer(result);
|
|
26162
|
+
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
26163
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
26164
|
+
return;
|
|
26165
|
+
}
|
|
26166
|
+
_resolve(_resultInstance);
|
|
26167
|
+
Module.removeFunction(_callbackPtr);
|
|
26168
|
+
};
|
|
26169
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
26170
|
+
Module.ccall("csp_systems_ExternalServiceProxySystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
|
|
26171
|
+
return _promise;
|
|
26172
|
+
}
|
|
26173
|
+
}
|
|
26174
|
+
Systems.ExternalServiceProxySystem = ExternalServiceProxySystem;
|
|
26175
|
+
})(Systems || (Systems = {}));
|
|
25887
26176
|
(function (Systems) {
|
|
25888
26177
|
/**
|
|
25889
26178
|
@ingroup GraphQL System
|
|
@@ -31043,54 +31332,6 @@ export class CSPFoundation {
|
|
|
31043
31332
|
Module.ccall("csp_systems_UserSystem_Ping_void_NullResultCallback", "void", ["number", "number", "number"], [this.pointer, _callbackPtr, 0]);
|
|
31044
31333
|
return _promise;
|
|
31045
31334
|
}
|
|
31046
|
-
/**
|
|
31047
|
-
* @description Retrieve User token from Agora
|
|
31048
|
-
* @param params - Params to configure the User token
|
|
31049
|
-
* @param callback - Callback to call when a response is received
|
|
31050
|
-
*/
|
|
31051
|
-
async getAgoraUserToken(params) {
|
|
31052
|
-
var _resolve;
|
|
31053
|
-
var _promise = new Promise((_r) => {
|
|
31054
|
-
_resolve = _r;
|
|
31055
|
-
});
|
|
31056
|
-
var _callbackPtr;
|
|
31057
|
-
var _callback = (_stateObject__, result) => {
|
|
31058
|
-
var _resultPtr = getNativePointer(result);
|
|
31059
|
-
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
31060
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
31061
|
-
return;
|
|
31062
|
-
}
|
|
31063
|
-
_resolve(_resultInstance);
|
|
31064
|
-
Module.removeFunction(_callbackPtr);
|
|
31065
|
-
};
|
|
31066
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
31067
|
-
Module.ccall("csp_systems_UserSystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
|
|
31068
|
-
return _promise;
|
|
31069
|
-
}
|
|
31070
|
-
/**
|
|
31071
|
-
* @description Post Service Proxy to perform specified operation of specified service
|
|
31072
|
-
* @param params - Params to specify service, operation, set help and parameters
|
|
31073
|
-
* @param callback - Callback to call when a response is received
|
|
31074
|
-
*/
|
|
31075
|
-
async postServiceProxy(params) {
|
|
31076
|
-
var _resolve;
|
|
31077
|
-
var _promise = new Promise((_r) => {
|
|
31078
|
-
_resolve = _r;
|
|
31079
|
-
});
|
|
31080
|
-
var _callbackPtr;
|
|
31081
|
-
var _callback = (_stateObject__, result) => {
|
|
31082
|
-
var _resultPtr = getNativePointer(result);
|
|
31083
|
-
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
31084
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
31085
|
-
return;
|
|
31086
|
-
}
|
|
31087
|
-
_resolve(_resultInstance);
|
|
31088
|
-
Module.removeFunction(_callbackPtr);
|
|
31089
|
-
};
|
|
31090
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
31091
|
-
Module.ccall("csp_systems_UserSystem_PostServiceProxy_void_TokenInfoParamsRC_StringResultCallback", "void", ["number", "number", "number", "number"], [this.pointer, params.pointer, _callbackPtr, 0]);
|
|
31092
|
-
return _promise;
|
|
31093
|
-
}
|
|
31094
31335
|
/**
|
|
31095
31336
|
* @description Re-send user verification email
|
|
31096
31337
|
* @param inEmail - User's email address
|