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
|
@@ -498,6 +498,22 @@ function csp_multiplayer_LockTypeFactory(
|
|
|
498
498
|
ProxyClassFactories["csp_multiplayer_LockType"] =
|
|
499
499
|
csp_multiplayer_LockTypeFactory;
|
|
500
500
|
|
|
501
|
+
function csp_multiplayer_AIChatbotPropertyKeysFactory(
|
|
502
|
+
nativePointer: NativePointer,
|
|
503
|
+
): Multiplayer.AIChatbotPropertyKeys {
|
|
504
|
+
return nativePointer.pointer as Multiplayer.AIChatbotPropertyKeys;
|
|
505
|
+
}
|
|
506
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotPropertyKeys"] =
|
|
507
|
+
csp_multiplayer_AIChatbotPropertyKeysFactory;
|
|
508
|
+
|
|
509
|
+
function csp_multiplayer_AIChatbotVisualStateFactory(
|
|
510
|
+
nativePointer: NativePointer,
|
|
511
|
+
): Multiplayer.AIChatbotVisualState {
|
|
512
|
+
return nativePointer.pointer as Multiplayer.AIChatbotVisualState;
|
|
513
|
+
}
|
|
514
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotVisualState"] =
|
|
515
|
+
csp_multiplayer_AIChatbotVisualStateFactory;
|
|
516
|
+
|
|
501
517
|
function csp_multiplayer_AnimatedModelActionsFactory(
|
|
502
518
|
nativePointer: NativePointer,
|
|
503
519
|
): Multiplayer.AnimatedModelActions {
|
|
@@ -1461,6 +1477,22 @@ function csp_systems_TicketedEventVendorAuthInfoFactory(
|
|
|
1461
1477
|
ProxyClassFactories["csp_systems_TicketedEventVendorAuthInfo"] =
|
|
1462
1478
|
csp_systems_TicketedEventVendorAuthInfoFactory;
|
|
1463
1479
|
|
|
1480
|
+
function csp_systems_ExternalServicesOperationParamsFactory(
|
|
1481
|
+
nativePointer: NativePointer,
|
|
1482
|
+
): NativeClassWrapper {
|
|
1483
|
+
return new Systems.ExternalServicesOperationParams(nativePointer);
|
|
1484
|
+
}
|
|
1485
|
+
ProxyClassFactories["csp_systems_ExternalServicesOperationParams"] =
|
|
1486
|
+
csp_systems_ExternalServicesOperationParamsFactory;
|
|
1487
|
+
|
|
1488
|
+
function csp_systems_AgoraUserTokenParamsFactory(
|
|
1489
|
+
nativePointer: NativePointer,
|
|
1490
|
+
): NativeClassWrapper {
|
|
1491
|
+
return new Systems.AgoraUserTokenParams(nativePointer);
|
|
1492
|
+
}
|
|
1493
|
+
ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
|
|
1494
|
+
csp_systems_AgoraUserTokenParamsFactory;
|
|
1495
|
+
|
|
1464
1496
|
function csp_systems_HotspotGroupFactory(
|
|
1465
1497
|
nativePointer: NativePointer,
|
|
1466
1498
|
): NativeClassWrapper {
|
|
@@ -1607,22 +1639,6 @@ function csp_systems_LoginTokenInfoFactory(
|
|
|
1607
1639
|
ProxyClassFactories["csp_systems_LoginTokenInfo"] =
|
|
1608
1640
|
csp_systems_LoginTokenInfoFactory;
|
|
1609
1641
|
|
|
1610
|
-
function csp_systems_AgoraUserTokenParamsFactory(
|
|
1611
|
-
nativePointer: NativePointer,
|
|
1612
|
-
): NativeClassWrapper {
|
|
1613
|
-
return new Systems.AgoraUserTokenParams(nativePointer);
|
|
1614
|
-
}
|
|
1615
|
-
ProxyClassFactories["csp_systems_AgoraUserTokenParams"] =
|
|
1616
|
-
csp_systems_AgoraUserTokenParamsFactory;
|
|
1617
|
-
|
|
1618
|
-
function csp_systems_TokenInfoParamsFactory(
|
|
1619
|
-
nativePointer: NativePointer,
|
|
1620
|
-
): NativeClassWrapper {
|
|
1621
|
-
return new Systems.TokenInfoParams(nativePointer);
|
|
1622
|
-
}
|
|
1623
|
-
ProxyClassFactories["csp_systems_TokenInfoParams"] =
|
|
1624
|
-
csp_systems_TokenInfoParamsFactory;
|
|
1625
|
-
|
|
1626
1642
|
function csp_systems_TokenOptionsFactory(
|
|
1627
1643
|
nativePointer: NativePointer,
|
|
1628
1644
|
): NativeClassWrapper {
|
|
@@ -1702,6 +1718,14 @@ function csp_multiplayer_OnlineRealtimeEngineFactory(
|
|
|
1702
1718
|
ProxyClassFactories["csp_multiplayer_OnlineRealtimeEngine"] =
|
|
1703
1719
|
csp_multiplayer_OnlineRealtimeEngineFactory;
|
|
1704
1720
|
|
|
1721
|
+
function csp_multiplayer_AIChatbotSpaceComponentFactory(
|
|
1722
|
+
nativePointer: NativePointer,
|
|
1723
|
+
): NativeClassWrapper {
|
|
1724
|
+
return new Multiplayer.AIChatbotSpaceComponent(nativePointer);
|
|
1725
|
+
}
|
|
1726
|
+
ProxyClassFactories["csp_multiplayer_AIChatbotSpaceComponent"] =
|
|
1727
|
+
csp_multiplayer_AIChatbotSpaceComponentFactory;
|
|
1728
|
+
|
|
1705
1729
|
function csp_multiplayer_AnimatedModelSpaceComponentFactory(
|
|
1706
1730
|
nativePointer: NativePointer,
|
|
1707
1731
|
): NativeClassWrapper {
|
|
@@ -2067,6 +2091,14 @@ function csp_systems_AssetCollectionCountResultFactory(
|
|
|
2067
2091
|
ProxyClassFactories["csp_systems_AssetCollectionCountResult"] =
|
|
2068
2092
|
csp_systems_AssetCollectionCountResultFactory;
|
|
2069
2093
|
|
|
2094
|
+
function csp_systems_AssetCollectionsCopyResultFactory(
|
|
2095
|
+
nativePointer: NativePointer,
|
|
2096
|
+
): NativeClassWrapper {
|
|
2097
|
+
return new Systems.AssetCollectionsCopyResult(nativePointer);
|
|
2098
|
+
}
|
|
2099
|
+
ProxyClassFactories["csp_systems_AssetCollectionsCopyResult"] =
|
|
2100
|
+
csp_systems_AssetCollectionsCopyResultFactory;
|
|
2101
|
+
|
|
2070
2102
|
function csp_systems_AssetSystemFactory(
|
|
2071
2103
|
nativePointer: NativePointer,
|
|
2072
2104
|
): NativeClassWrapper {
|
|
@@ -2218,6 +2250,30 @@ function csp_systems_EventTicketingSystemFactory(
|
|
|
2218
2250
|
ProxyClassFactories["csp_systems_EventTicketingSystem"] =
|
|
2219
2251
|
csp_systems_EventTicketingSystemFactory;
|
|
2220
2252
|
|
|
2253
|
+
function csp_systems_ExternalServiceInvocationResultFactory(
|
|
2254
|
+
nativePointer: NativePointer,
|
|
2255
|
+
): NativeClassWrapper {
|
|
2256
|
+
return new Systems.ExternalServiceInvocationResult(nativePointer);
|
|
2257
|
+
}
|
|
2258
|
+
ProxyClassFactories["csp_systems_ExternalServiceInvocationResult"] =
|
|
2259
|
+
csp_systems_ExternalServiceInvocationResultFactory;
|
|
2260
|
+
|
|
2261
|
+
function csp_systems_GetAgoraTokenResultFactory(
|
|
2262
|
+
nativePointer: NativePointer,
|
|
2263
|
+
): NativeClassWrapper {
|
|
2264
|
+
return new Systems.GetAgoraTokenResult(nativePointer);
|
|
2265
|
+
}
|
|
2266
|
+
ProxyClassFactories["csp_systems_GetAgoraTokenResult"] =
|
|
2267
|
+
csp_systems_GetAgoraTokenResultFactory;
|
|
2268
|
+
|
|
2269
|
+
function csp_systems_ExternalServiceProxySystemFactory(
|
|
2270
|
+
nativePointer: NativePointer,
|
|
2271
|
+
): NativeClassWrapper {
|
|
2272
|
+
return new Systems.ExternalServiceProxySystem(nativePointer);
|
|
2273
|
+
}
|
|
2274
|
+
ProxyClassFactories["csp_systems_ExternalServiceProxySystem"] =
|
|
2275
|
+
csp_systems_ExternalServiceProxySystemFactory;
|
|
2276
|
+
|
|
2221
2277
|
function csp_systems_GraphQLResultFactory(
|
|
2222
2278
|
nativePointer: NativePointer,
|
|
2223
2279
|
): NativeClassWrapper {
|
|
@@ -3608,6 +3664,7 @@ export namespace Multiplayer {
|
|
|
3608
3664
|
Hotspot = 26,
|
|
3609
3665
|
CinematicCamera = 27,
|
|
3610
3666
|
ScreenSharing = 28,
|
|
3667
|
+
AIChatbot = 29,
|
|
3611
3668
|
//,
|
|
3612
3669
|
spare,
|
|
3613
3670
|
values,
|
|
@@ -3713,6 +3770,33 @@ export namespace Multiplayer {
|
|
|
3713
3770
|
}
|
|
3714
3771
|
}
|
|
3715
3772
|
|
|
3773
|
+
export namespace Multiplayer {
|
|
3774
|
+
/**
|
|
3775
|
+
* @description Enumerates the list of properties that can be replicated for a AI chatbot component.
|
|
3776
|
+
*/
|
|
3777
|
+
export enum AIChatbotPropertyKeys {
|
|
3778
|
+
Position = 0,
|
|
3779
|
+
Voice,
|
|
3780
|
+
GuardrailAssetCollectionId,
|
|
3781
|
+
VisualState,
|
|
3782
|
+
Num,
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
export namespace Multiplayer {
|
|
3787
|
+
/**
|
|
3788
|
+
* @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
|
|
3789
|
+
*/
|
|
3790
|
+
export enum AIChatbotVisualState {
|
|
3791
|
+
Waiting = 0,
|
|
3792
|
+
Listening,
|
|
3793
|
+
Thinking,
|
|
3794
|
+
Speaking,
|
|
3795
|
+
Unknown,
|
|
3796
|
+
Num,
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3716
3800
|
export namespace Multiplayer {
|
|
3717
3801
|
/**
|
|
3718
3802
|
* @description Enumerates the actions that can be performed on an animated model component.
|
|
@@ -21515,7 +21599,7 @@ export namespace Common {
|
|
|
21515
21599
|
|
|
21516
21600
|
/**
|
|
21517
21601
|
* @description A default ReplicatedValue will not have a valid type ("ReplicatedValueType::InvalidType"), and will have no internal value associated.
|
|
21518
|
-
*
|
|
21602
|
+
* This constuctor will create the value in an invalid state. Do not use unless you know what you are doing!
|
|
21519
21603
|
*/
|
|
21520
21604
|
static create(): ReplicatedValue {
|
|
21521
21605
|
var _ptr = Module._malloc(8);
|
|
@@ -21651,23 +21735,39 @@ export namespace Common {
|
|
|
21651
21735
|
|
|
21652
21736
|
/**
|
|
21653
21737
|
* @description Construct a ReplicatedValue based on an csp::common::Map type with a string value as the key.
|
|
21654
|
-
* @param
|
|
21738
|
+
* @param inValue - Initial value.
|
|
21655
21739
|
*/
|
|
21656
|
-
static
|
|
21657
|
-
|
|
21740
|
+
static create_value(
|
|
21741
|
+
value: Common.Map<string, Common.ReplicatedValue>,
|
|
21658
21742
|
): ReplicatedValue {
|
|
21659
21743
|
var _ptr = Module._malloc(8);
|
|
21660
21744
|
Module.ccall(
|
|
21661
21745
|
"csp_common_ReplicatedValue_Ctor_MapRC",
|
|
21662
21746
|
"void",
|
|
21663
21747
|
["number", "number"],
|
|
21664
|
-
[_ptr,
|
|
21748
|
+
[_ptr, value.pointer],
|
|
21665
21749
|
);
|
|
21666
21750
|
var _nPtr = getNativePointer(_ptr);
|
|
21667
21751
|
|
|
21668
21752
|
return new ReplicatedValue(_nPtr);
|
|
21669
21753
|
}
|
|
21670
21754
|
|
|
21755
|
+
/**
|
|
21756
|
+
* @description Destroys the replicated value instance.
|
|
21757
|
+
*/
|
|
21758
|
+
delete(): void {
|
|
21759
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21760
|
+
Module.ccall(
|
|
21761
|
+
"csp_common_ReplicatedValue_Dtor",
|
|
21762
|
+
"void",
|
|
21763
|
+
["number"],
|
|
21764
|
+
[this.pointer],
|
|
21765
|
+
);
|
|
21766
|
+
|
|
21767
|
+
this.disposed = true;
|
|
21768
|
+
}
|
|
21769
|
+
}
|
|
21770
|
+
|
|
21671
21771
|
/**
|
|
21672
21772
|
* @description Copy constructor
|
|
21673
21773
|
* @param other - The value to copy.
|
|
@@ -21686,24 +21786,14 @@ export namespace Common {
|
|
|
21686
21786
|
}
|
|
21687
21787
|
|
|
21688
21788
|
/**
|
|
21689
|
-
* @description
|
|
21789
|
+
* @description Copy assignment operator overload.
|
|
21790
|
+
* @param inValue - Other replicated value to set from.
|
|
21690
21791
|
*/
|
|
21691
|
-
|
|
21692
|
-
if (this.ownsPointer && !this.disposed) {
|
|
21693
|
-
Module.ccall(
|
|
21694
|
-
"csp_common_ReplicatedValue_Dtor",
|
|
21695
|
-
"void",
|
|
21696
|
-
["number"],
|
|
21697
|
-
[this.pointer],
|
|
21698
|
-
);
|
|
21699
|
-
|
|
21700
|
-
this.disposed = true;
|
|
21701
|
-
}
|
|
21702
|
-
}
|
|
21792
|
+
// operator=
|
|
21703
21793
|
|
|
21704
21794
|
/**
|
|
21705
|
-
* @description
|
|
21706
|
-
* @param inValue - Other replicated value to
|
|
21795
|
+
* @description Move assignment operator overload.
|
|
21796
|
+
* @param inValue - Other replicated value to move from.
|
|
21707
21797
|
*/
|
|
21708
21798
|
// operator=
|
|
21709
21799
|
|
|
@@ -21714,23 +21804,11 @@ export namespace Common {
|
|
|
21714
21804
|
// operator==
|
|
21715
21805
|
|
|
21716
21806
|
/**
|
|
21717
|
-
* @description
|
|
21807
|
+
* @description Inequality operator overload.
|
|
21718
21808
|
* @param replicatedValue - Other value to compare to.
|
|
21719
21809
|
*/
|
|
21720
21810
|
// operator!=
|
|
21721
21811
|
|
|
21722
|
-
/**
|
|
21723
|
-
* @description Less than operator overload.
|
|
21724
|
-
* @param replicatedValue - Other value to compare to.
|
|
21725
|
-
*/
|
|
21726
|
-
// operator<
|
|
21727
|
-
|
|
21728
|
-
/**
|
|
21729
|
-
* @description Greater than operator overload.
|
|
21730
|
-
* @param replicatedValue - Other value to compare to.
|
|
21731
|
-
*/
|
|
21732
|
-
// operator>
|
|
21733
|
-
|
|
21734
21812
|
/**
|
|
21735
21813
|
* @description Gets the type of replicated value.
|
|
21736
21814
|
* @return Enum representing all supported replication base types.
|
|
@@ -21763,8 +21841,7 @@ export namespace Common {
|
|
|
21763
21841
|
|
|
21764
21842
|
/**
|
|
21765
21843
|
* @description Get a bool value from this replicated value, will assert if not a bool type.
|
|
21766
|
-
*
|
|
21767
|
-
* /// @return bool
|
|
21844
|
+
* @return Bool
|
|
21768
21845
|
*/
|
|
21769
21846
|
|
|
21770
21847
|
getBool(): boolean {
|
|
@@ -21797,8 +21874,7 @@ export namespace Common {
|
|
|
21797
21874
|
|
|
21798
21875
|
/**
|
|
21799
21876
|
* @description Get a float value from this replicated value, will assert if not a float type.
|
|
21800
|
-
*
|
|
21801
|
-
* /// @return float value
|
|
21877
|
+
* @return Float value
|
|
21802
21878
|
*/
|
|
21803
21879
|
|
|
21804
21880
|
getFloat(): number {
|
|
@@ -21831,8 +21907,7 @@ export namespace Common {
|
|
|
21831
21907
|
|
|
21832
21908
|
/**
|
|
21833
21909
|
* @description Get a int64 value from this replicated value, will assert if not a int64 type.
|
|
21834
|
-
*
|
|
21835
|
-
* /// @return int64 value
|
|
21910
|
+
* @return Int64 value
|
|
21836
21911
|
*/
|
|
21837
21912
|
|
|
21838
21913
|
getInt(): bigint {
|
|
@@ -21857,8 +21932,7 @@ export namespace Common {
|
|
|
21857
21932
|
|
|
21858
21933
|
/**
|
|
21859
21934
|
* @description Get a csp::common::String& value from this replicated value, will assert if not a csp::common::String type.
|
|
21860
|
-
*
|
|
21861
|
-
* /// @return csp::common::String&
|
|
21935
|
+
* @return Csp::common::string&
|
|
21862
21936
|
*/
|
|
21863
21937
|
|
|
21864
21938
|
getString(): string {
|
|
@@ -21892,8 +21966,7 @@ export namespace Common {
|
|
|
21892
21966
|
|
|
21893
21967
|
/**
|
|
21894
21968
|
* @description Get a csp::common::Vector2 value from this replicated value, will assert if not a csp::common::Vector2 type.
|
|
21895
|
-
*
|
|
21896
|
-
* /// @return csp::common::Vector2
|
|
21969
|
+
* @return Csp::common::vector2
|
|
21897
21970
|
*/
|
|
21898
21971
|
|
|
21899
21972
|
getVector2(): Common.Vector2 {
|
|
@@ -21926,8 +21999,7 @@ export namespace Common {
|
|
|
21926
21999
|
|
|
21927
22000
|
/**
|
|
21928
22001
|
* @description Get a csp::common::Vector3 value from this replicated value, will assert if not a csp::common::Vector3 type.
|
|
21929
|
-
*
|
|
21930
|
-
* /// @return csp::common::Vector3
|
|
22002
|
+
* @return Csp::common::vector3
|
|
21931
22003
|
*/
|
|
21932
22004
|
|
|
21933
22005
|
getVector3(): Common.Vector3 {
|
|
@@ -21960,8 +22032,7 @@ export namespace Common {
|
|
|
21960
22032
|
|
|
21961
22033
|
/**
|
|
21962
22034
|
* @description Get a csp::common::Vector4 value from this replicated value, will assert if not a csp::common::Vector4 type.
|
|
21963
|
-
*
|
|
21964
|
-
* /// @return csp::common::Vector4
|
|
22035
|
+
* @return Csp::common::vector4
|
|
21965
22036
|
*/
|
|
21966
22037
|
|
|
21967
22038
|
getVector4(): Common.Vector4 {
|
|
@@ -21982,8 +22053,7 @@ export namespace Common {
|
|
|
21982
22053
|
/**
|
|
21983
22054
|
* @description Get a csp::common::Map value with a string value as the key.
|
|
21984
22055
|
* This will assert if not a csp::common::Map type with a string value as the key.
|
|
21985
|
-
*
|
|
21986
|
-
* /// @return csp::common::Map
|
|
22056
|
+
* @return Csp::common::map
|
|
21987
22057
|
*/
|
|
21988
22058
|
|
|
21989
22059
|
getStringMap(): Common.Map<string, Common.ReplicatedValue> {
|
|
@@ -23866,19 +23936,19 @@ export namespace Common {
|
|
|
23866
23936
|
* @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
|
|
23867
23937
|
* @param inLogCallback - The callback to execute when a log occurs.
|
|
23868
23938
|
*/
|
|
23869
|
-
setLogCallback(callback: (arg1: string) => void) {
|
|
23870
|
-
var _callback = (_stateObject__: number, arg1) => {
|
|
23939
|
+
setLogCallback(callback: (arg1: Common.LogLevel, arg2: string) => void) {
|
|
23940
|
+
var _callback = (_stateObject__: number, arg1, arg2) => {
|
|
23871
23941
|
{
|
|
23872
|
-
const _stringValue = Module.UTF8ToString(
|
|
23873
|
-
free(
|
|
23942
|
+
const _stringValue = Module.UTF8ToString(arg2);
|
|
23943
|
+
free(arg2);
|
|
23874
23944
|
|
|
23875
|
-
|
|
23945
|
+
arg2 = _stringValue;
|
|
23876
23946
|
}
|
|
23877
23947
|
|
|
23878
|
-
callback(arg1);
|
|
23948
|
+
callback(arg1, arg2);
|
|
23879
23949
|
};
|
|
23880
23950
|
|
|
23881
|
-
var _callbackPtr = Module.addFunction(_callback, "
|
|
23951
|
+
var _callbackPtr = Module.addFunction(_callback, "viii");
|
|
23882
23952
|
|
|
23883
23953
|
Module.ccall(
|
|
23884
23954
|
"csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler",
|
|
@@ -27911,6 +27981,28 @@ export namespace Systems {
|
|
|
27911
27981
|
return _nPtr;
|
|
27912
27982
|
}
|
|
27913
27983
|
|
|
27984
|
+
/**
|
|
27985
|
+
* @description Retrieves external services proxy system.
|
|
27986
|
+
* @return Pointer to the external services proxy system class.
|
|
27987
|
+
*/
|
|
27988
|
+
|
|
27989
|
+
getExternalServicesProxySystem(): Systems.ExternalServiceProxySystem {
|
|
27990
|
+
var _ret = Module._malloc(8);
|
|
27991
|
+
|
|
27992
|
+
Module.ccall(
|
|
27993
|
+
"csp_systems_SystemsManager_GetExternalServicesProxySystem_ExternalServiceProxySystemP",
|
|
27994
|
+
"void",
|
|
27995
|
+
["number", "number"],
|
|
27996
|
+
[_ret, this.pointer],
|
|
27997
|
+
);
|
|
27998
|
+
var _nPtr = new Systems.ExternalServiceProxySystem(
|
|
27999
|
+
getNativePointer(_ret),
|
|
28000
|
+
);
|
|
28001
|
+
Module._free(_ret);
|
|
28002
|
+
|
|
28003
|
+
return _nPtr;
|
|
28004
|
+
}
|
|
28005
|
+
|
|
27914
28006
|
getMultiplayerConnection(): Multiplayer.MultiplayerConnection {
|
|
27915
28007
|
var _ret = Module._malloc(8);
|
|
27916
28008
|
|
|
@@ -31372,6 +31464,338 @@ export namespace Systems {
|
|
|
31372
31464
|
}
|
|
31373
31465
|
}
|
|
31374
31466
|
|
|
31467
|
+
export namespace Systems {
|
|
31468
|
+
/**
|
|
31469
|
+
* *******************************************************************************************************************
|
|
31470
|
+
* @description Data structure used when making invocations of the external service proxy.
|
|
31471
|
+
*/
|
|
31472
|
+
export class ExternalServicesOperationParams
|
|
31473
|
+
extends NativeClassWrapper
|
|
31474
|
+
implements INativeResource
|
|
31475
|
+
{
|
|
31476
|
+
/** @internal */
|
|
31477
|
+
constructor(pointer: NativePointer) {
|
|
31478
|
+
super(pointer);
|
|
31479
|
+
}
|
|
31480
|
+
|
|
31481
|
+
static create(): ExternalServicesOperationParams {
|
|
31482
|
+
var _ptr = Module._malloc(8);
|
|
31483
|
+
Module.ccall(
|
|
31484
|
+
"csp_systems_ExternalServicesOperationParams_Ctor",
|
|
31485
|
+
"void",
|
|
31486
|
+
["number"],
|
|
31487
|
+
[_ptr],
|
|
31488
|
+
);
|
|
31489
|
+
var _nPtr = getNativePointer(_ptr);
|
|
31490
|
+
|
|
31491
|
+
return new ExternalServicesOperationParams(_nPtr);
|
|
31492
|
+
}
|
|
31493
|
+
|
|
31494
|
+
delete(): void {
|
|
31495
|
+
if (this.ownsPointer && !this.disposed) {
|
|
31496
|
+
Module.ccall(
|
|
31497
|
+
"csp_systems_ExternalServicesOperationParams_Dtor",
|
|
31498
|
+
"void",
|
|
31499
|
+
["number"],
|
|
31500
|
+
[this.pointer],
|
|
31501
|
+
);
|
|
31502
|
+
|
|
31503
|
+
this.disposed = true;
|
|
31504
|
+
}
|
|
31505
|
+
}
|
|
31506
|
+
|
|
31507
|
+
get serviceName(): string {
|
|
31508
|
+
let _result = Module.ccall(
|
|
31509
|
+
"csp_systems_ExternalServicesOperationParams__Get_ServiceName",
|
|
31510
|
+
"string",
|
|
31511
|
+
["number"],
|
|
31512
|
+
[this.pointer],
|
|
31513
|
+
);
|
|
31514
|
+
|
|
31515
|
+
return _result;
|
|
31516
|
+
}
|
|
31517
|
+
|
|
31518
|
+
set serviceName(value: string) {
|
|
31519
|
+
Module.ccall(
|
|
31520
|
+
"csp_systems_ExternalServicesOperationParams__Set_ServiceName",
|
|
31521
|
+
"void",
|
|
31522
|
+
["number", "string"],
|
|
31523
|
+
[this.pointer, value],
|
|
31524
|
+
);
|
|
31525
|
+
}
|
|
31526
|
+
|
|
31527
|
+
get operationName(): string {
|
|
31528
|
+
let _result = Module.ccall(
|
|
31529
|
+
"csp_systems_ExternalServicesOperationParams__Get_OperationName",
|
|
31530
|
+
"string",
|
|
31531
|
+
["number"],
|
|
31532
|
+
[this.pointer],
|
|
31533
|
+
);
|
|
31534
|
+
|
|
31535
|
+
return _result;
|
|
31536
|
+
}
|
|
31537
|
+
|
|
31538
|
+
set operationName(value: string) {
|
|
31539
|
+
Module.ccall(
|
|
31540
|
+
"csp_systems_ExternalServicesOperationParams__Set_OperationName",
|
|
31541
|
+
"void",
|
|
31542
|
+
["number", "string"],
|
|
31543
|
+
[this.pointer, value],
|
|
31544
|
+
);
|
|
31545
|
+
}
|
|
31546
|
+
|
|
31547
|
+
get setHelp(): boolean {
|
|
31548
|
+
let _result = Module.ccall(
|
|
31549
|
+
"csp_systems_ExternalServicesOperationParams__Get_SetHelp",
|
|
31550
|
+
"boolean",
|
|
31551
|
+
["number"],
|
|
31552
|
+
[this.pointer],
|
|
31553
|
+
);
|
|
31554
|
+
|
|
31555
|
+
return _result;
|
|
31556
|
+
}
|
|
31557
|
+
|
|
31558
|
+
set setHelp(value: boolean) {
|
|
31559
|
+
Module.ccall(
|
|
31560
|
+
"csp_systems_ExternalServicesOperationParams__Set_SetHelp",
|
|
31561
|
+
"void",
|
|
31562
|
+
["number", "boolean"],
|
|
31563
|
+
[this.pointer, value],
|
|
31564
|
+
);
|
|
31565
|
+
}
|
|
31566
|
+
|
|
31567
|
+
get parameters(): Common.Map<string, string> {
|
|
31568
|
+
const _ptr = Module._malloc(8);
|
|
31569
|
+
Module.ccall(
|
|
31570
|
+
"csp_systems_ExternalServicesOperationParams__Get_Parameters",
|
|
31571
|
+
"void",
|
|
31572
|
+
["number", "number"],
|
|
31573
|
+
[_ptr, this.pointer],
|
|
31574
|
+
);
|
|
31575
|
+
|
|
31576
|
+
const _nPtr = getNativePointer(_ptr);
|
|
31577
|
+
return new Common.Map<string, string>(
|
|
31578
|
+
_nPtr,
|
|
31579
|
+
StringFactory,
|
|
31580
|
+
"String",
|
|
31581
|
+
StringFactory,
|
|
31582
|
+
"String",
|
|
31583
|
+
);
|
|
31584
|
+
}
|
|
31585
|
+
|
|
31586
|
+
set parameters(value: Common.Map<string, string>) {
|
|
31587
|
+
Module.ccall(
|
|
31588
|
+
"csp_systems_ExternalServicesOperationParams__Set_Parameters",
|
|
31589
|
+
"void",
|
|
31590
|
+
["number", "number"],
|
|
31591
|
+
[this.pointer, value.pointer],
|
|
31592
|
+
);
|
|
31593
|
+
}
|
|
31594
|
+
}
|
|
31595
|
+
}
|
|
31596
|
+
|
|
31597
|
+
export namespace Systems {
|
|
31598
|
+
/**
|
|
31599
|
+
* *******************************************************************************************************************
|
|
31600
|
+
* @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
|
|
31601
|
+
*/
|
|
31602
|
+
export class AgoraUserTokenParams
|
|
31603
|
+
extends NativeClassWrapper
|
|
31604
|
+
implements INativeResource
|
|
31605
|
+
{
|
|
31606
|
+
/** @internal */
|
|
31607
|
+
constructor(pointer: NativePointer) {
|
|
31608
|
+
super(pointer);
|
|
31609
|
+
}
|
|
31610
|
+
|
|
31611
|
+
static create(): AgoraUserTokenParams {
|
|
31612
|
+
var _ptr = Module._malloc(8);
|
|
31613
|
+
Module.ccall(
|
|
31614
|
+
"csp_systems_AgoraUserTokenParams_Ctor",
|
|
31615
|
+
"void",
|
|
31616
|
+
["number"],
|
|
31617
|
+
[_ptr],
|
|
31618
|
+
);
|
|
31619
|
+
var _nPtr = getNativePointer(_ptr);
|
|
31620
|
+
|
|
31621
|
+
return new AgoraUserTokenParams(_nPtr);
|
|
31622
|
+
}
|
|
31623
|
+
|
|
31624
|
+
delete(): void {
|
|
31625
|
+
if (this.ownsPointer && !this.disposed) {
|
|
31626
|
+
Module.ccall(
|
|
31627
|
+
"csp_systems_AgoraUserTokenParams_Dtor",
|
|
31628
|
+
"void",
|
|
31629
|
+
["number"],
|
|
31630
|
+
[this.pointer],
|
|
31631
|
+
);
|
|
31632
|
+
|
|
31633
|
+
this.disposed = true;
|
|
31634
|
+
}
|
|
31635
|
+
}
|
|
31636
|
+
|
|
31637
|
+
get agoraUserId(): string {
|
|
31638
|
+
let _result = Module.ccall(
|
|
31639
|
+
"csp_systems_AgoraUserTokenParams__Get_AgoraUserId",
|
|
31640
|
+
"string",
|
|
31641
|
+
["number"],
|
|
31642
|
+
[this.pointer],
|
|
31643
|
+
);
|
|
31644
|
+
|
|
31645
|
+
return _result;
|
|
31646
|
+
}
|
|
31647
|
+
|
|
31648
|
+
set agoraUserId(value: string) {
|
|
31649
|
+
Module.ccall(
|
|
31650
|
+
"csp_systems_AgoraUserTokenParams__Set_AgoraUserId",
|
|
31651
|
+
"void",
|
|
31652
|
+
["number", "string"],
|
|
31653
|
+
[this.pointer, value],
|
|
31654
|
+
);
|
|
31655
|
+
}
|
|
31656
|
+
|
|
31657
|
+
get channelName(): string {
|
|
31658
|
+
let _result = Module.ccall(
|
|
31659
|
+
"csp_systems_AgoraUserTokenParams__Get_ChannelName",
|
|
31660
|
+
"string",
|
|
31661
|
+
["number"],
|
|
31662
|
+
[this.pointer],
|
|
31663
|
+
);
|
|
31664
|
+
|
|
31665
|
+
return _result;
|
|
31666
|
+
}
|
|
31667
|
+
|
|
31668
|
+
set channelName(value: string) {
|
|
31669
|
+
Module.ccall(
|
|
31670
|
+
"csp_systems_AgoraUserTokenParams__Set_ChannelName",
|
|
31671
|
+
"void",
|
|
31672
|
+
["number", "string"],
|
|
31673
|
+
[this.pointer, value],
|
|
31674
|
+
);
|
|
31675
|
+
}
|
|
31676
|
+
|
|
31677
|
+
get referenceId(): string {
|
|
31678
|
+
let _result = Module.ccall(
|
|
31679
|
+
"csp_systems_AgoraUserTokenParams__Get_ReferenceId",
|
|
31680
|
+
"string",
|
|
31681
|
+
["number"],
|
|
31682
|
+
[this.pointer],
|
|
31683
|
+
);
|
|
31684
|
+
|
|
31685
|
+
return _result;
|
|
31686
|
+
}
|
|
31687
|
+
|
|
31688
|
+
set referenceId(value: string) {
|
|
31689
|
+
Module.ccall(
|
|
31690
|
+
"csp_systems_AgoraUserTokenParams__Set_ReferenceId",
|
|
31691
|
+
"void",
|
|
31692
|
+
["number", "string"],
|
|
31693
|
+
[this.pointer, value],
|
|
31694
|
+
);
|
|
31695
|
+
}
|
|
31696
|
+
|
|
31697
|
+
get lifespan(): number {
|
|
31698
|
+
let _result = Module.ccall(
|
|
31699
|
+
"csp_systems_AgoraUserTokenParams__Get_Lifespan",
|
|
31700
|
+
"number",
|
|
31701
|
+
["number"],
|
|
31702
|
+
[this.pointer],
|
|
31703
|
+
);
|
|
31704
|
+
|
|
31705
|
+
return _result;
|
|
31706
|
+
}
|
|
31707
|
+
|
|
31708
|
+
set lifespan(value: number) {
|
|
31709
|
+
Module.ccall(
|
|
31710
|
+
"csp_systems_AgoraUserTokenParams__Set_Lifespan",
|
|
31711
|
+
"void",
|
|
31712
|
+
["number", "number"],
|
|
31713
|
+
[this.pointer, value],
|
|
31714
|
+
);
|
|
31715
|
+
}
|
|
31716
|
+
|
|
31717
|
+
get readOnly(): boolean {
|
|
31718
|
+
let _result = Module.ccall(
|
|
31719
|
+
"csp_systems_AgoraUserTokenParams__Get_ReadOnly",
|
|
31720
|
+
"boolean",
|
|
31721
|
+
["number"],
|
|
31722
|
+
[this.pointer],
|
|
31723
|
+
);
|
|
31724
|
+
|
|
31725
|
+
return _result;
|
|
31726
|
+
}
|
|
31727
|
+
|
|
31728
|
+
set readOnly(value: boolean) {
|
|
31729
|
+
Module.ccall(
|
|
31730
|
+
"csp_systems_AgoraUserTokenParams__Set_ReadOnly",
|
|
31731
|
+
"void",
|
|
31732
|
+
["number", "boolean"],
|
|
31733
|
+
[this.pointer, value],
|
|
31734
|
+
);
|
|
31735
|
+
}
|
|
31736
|
+
|
|
31737
|
+
get shareAudio(): boolean {
|
|
31738
|
+
let _result = Module.ccall(
|
|
31739
|
+
"csp_systems_AgoraUserTokenParams__Get_ShareAudio",
|
|
31740
|
+
"boolean",
|
|
31741
|
+
["number"],
|
|
31742
|
+
[this.pointer],
|
|
31743
|
+
);
|
|
31744
|
+
|
|
31745
|
+
return _result;
|
|
31746
|
+
}
|
|
31747
|
+
|
|
31748
|
+
set shareAudio(value: boolean) {
|
|
31749
|
+
Module.ccall(
|
|
31750
|
+
"csp_systems_AgoraUserTokenParams__Set_ShareAudio",
|
|
31751
|
+
"void",
|
|
31752
|
+
["number", "boolean"],
|
|
31753
|
+
[this.pointer, value],
|
|
31754
|
+
);
|
|
31755
|
+
}
|
|
31756
|
+
|
|
31757
|
+
get shareVideo(): boolean {
|
|
31758
|
+
let _result = Module.ccall(
|
|
31759
|
+
"csp_systems_AgoraUserTokenParams__Get_ShareVideo",
|
|
31760
|
+
"boolean",
|
|
31761
|
+
["number"],
|
|
31762
|
+
[this.pointer],
|
|
31763
|
+
);
|
|
31764
|
+
|
|
31765
|
+
return _result;
|
|
31766
|
+
}
|
|
31767
|
+
|
|
31768
|
+
set shareVideo(value: boolean) {
|
|
31769
|
+
Module.ccall(
|
|
31770
|
+
"csp_systems_AgoraUserTokenParams__Set_ShareVideo",
|
|
31771
|
+
"void",
|
|
31772
|
+
["number", "boolean"],
|
|
31773
|
+
[this.pointer, value],
|
|
31774
|
+
);
|
|
31775
|
+
}
|
|
31776
|
+
|
|
31777
|
+
get shareScreen(): boolean {
|
|
31778
|
+
let _result = Module.ccall(
|
|
31779
|
+
"csp_systems_AgoraUserTokenParams__Get_ShareScreen",
|
|
31780
|
+
"boolean",
|
|
31781
|
+
["number"],
|
|
31782
|
+
[this.pointer],
|
|
31783
|
+
);
|
|
31784
|
+
|
|
31785
|
+
return _result;
|
|
31786
|
+
}
|
|
31787
|
+
|
|
31788
|
+
set shareScreen(value: boolean) {
|
|
31789
|
+
Module.ccall(
|
|
31790
|
+
"csp_systems_AgoraUserTokenParams__Set_ShareScreen",
|
|
31791
|
+
"void",
|
|
31792
|
+
["number", "boolean"],
|
|
31793
|
+
[this.pointer, value],
|
|
31794
|
+
);
|
|
31795
|
+
}
|
|
31796
|
+
}
|
|
31797
|
+
}
|
|
31798
|
+
|
|
31375
31799
|
export namespace Systems {
|
|
31376
31800
|
/**
|
|
31377
31801
|
@ingroup HotspotSequence System
|
|
@@ -34015,336 +34439,6 @@ export namespace Systems {
|
|
|
34015
34439
|
}
|
|
34016
34440
|
}
|
|
34017
34441
|
|
|
34018
|
-
export namespace Systems {
|
|
34019
|
-
/**
|
|
34020
|
-
* @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
|
|
34021
|
-
*/
|
|
34022
|
-
export class AgoraUserTokenParams
|
|
34023
|
-
extends NativeClassWrapper
|
|
34024
|
-
implements INativeResource
|
|
34025
|
-
{
|
|
34026
|
-
/** @internal */
|
|
34027
|
-
constructor(pointer: NativePointer) {
|
|
34028
|
-
super(pointer);
|
|
34029
|
-
}
|
|
34030
|
-
|
|
34031
|
-
static create(): AgoraUserTokenParams {
|
|
34032
|
-
var _ptr = Module._malloc(8);
|
|
34033
|
-
Module.ccall(
|
|
34034
|
-
"csp_systems_AgoraUserTokenParams_Ctor",
|
|
34035
|
-
"void",
|
|
34036
|
-
["number"],
|
|
34037
|
-
[_ptr],
|
|
34038
|
-
);
|
|
34039
|
-
var _nPtr = getNativePointer(_ptr);
|
|
34040
|
-
|
|
34041
|
-
return new AgoraUserTokenParams(_nPtr);
|
|
34042
|
-
}
|
|
34043
|
-
|
|
34044
|
-
delete(): void {
|
|
34045
|
-
if (this.ownsPointer && !this.disposed) {
|
|
34046
|
-
Module.ccall(
|
|
34047
|
-
"csp_systems_AgoraUserTokenParams_Dtor",
|
|
34048
|
-
"void",
|
|
34049
|
-
["number"],
|
|
34050
|
-
[this.pointer],
|
|
34051
|
-
);
|
|
34052
|
-
|
|
34053
|
-
this.disposed = true;
|
|
34054
|
-
}
|
|
34055
|
-
}
|
|
34056
|
-
|
|
34057
|
-
get agoraUserId(): string {
|
|
34058
|
-
let _result = Module.ccall(
|
|
34059
|
-
"csp_systems_AgoraUserTokenParams__Get_AgoraUserId",
|
|
34060
|
-
"string",
|
|
34061
|
-
["number"],
|
|
34062
|
-
[this.pointer],
|
|
34063
|
-
);
|
|
34064
|
-
|
|
34065
|
-
return _result;
|
|
34066
|
-
}
|
|
34067
|
-
|
|
34068
|
-
set agoraUserId(value: string) {
|
|
34069
|
-
Module.ccall(
|
|
34070
|
-
"csp_systems_AgoraUserTokenParams__Set_AgoraUserId",
|
|
34071
|
-
"void",
|
|
34072
|
-
["number", "string"],
|
|
34073
|
-
[this.pointer, value],
|
|
34074
|
-
);
|
|
34075
|
-
}
|
|
34076
|
-
|
|
34077
|
-
get channelName(): string {
|
|
34078
|
-
let _result = Module.ccall(
|
|
34079
|
-
"csp_systems_AgoraUserTokenParams__Get_ChannelName",
|
|
34080
|
-
"string",
|
|
34081
|
-
["number"],
|
|
34082
|
-
[this.pointer],
|
|
34083
|
-
);
|
|
34084
|
-
|
|
34085
|
-
return _result;
|
|
34086
|
-
}
|
|
34087
|
-
|
|
34088
|
-
set channelName(value: string) {
|
|
34089
|
-
Module.ccall(
|
|
34090
|
-
"csp_systems_AgoraUserTokenParams__Set_ChannelName",
|
|
34091
|
-
"void",
|
|
34092
|
-
["number", "string"],
|
|
34093
|
-
[this.pointer, value],
|
|
34094
|
-
);
|
|
34095
|
-
}
|
|
34096
|
-
|
|
34097
|
-
get referenceId(): string {
|
|
34098
|
-
let _result = Module.ccall(
|
|
34099
|
-
"csp_systems_AgoraUserTokenParams__Get_ReferenceId",
|
|
34100
|
-
"string",
|
|
34101
|
-
["number"],
|
|
34102
|
-
[this.pointer],
|
|
34103
|
-
);
|
|
34104
|
-
|
|
34105
|
-
return _result;
|
|
34106
|
-
}
|
|
34107
|
-
|
|
34108
|
-
set referenceId(value: string) {
|
|
34109
|
-
Module.ccall(
|
|
34110
|
-
"csp_systems_AgoraUserTokenParams__Set_ReferenceId",
|
|
34111
|
-
"void",
|
|
34112
|
-
["number", "string"],
|
|
34113
|
-
[this.pointer, value],
|
|
34114
|
-
);
|
|
34115
|
-
}
|
|
34116
|
-
|
|
34117
|
-
get lifespan(): number {
|
|
34118
|
-
let _result = Module.ccall(
|
|
34119
|
-
"csp_systems_AgoraUserTokenParams__Get_Lifespan",
|
|
34120
|
-
"number",
|
|
34121
|
-
["number"],
|
|
34122
|
-
[this.pointer],
|
|
34123
|
-
);
|
|
34124
|
-
|
|
34125
|
-
return _result;
|
|
34126
|
-
}
|
|
34127
|
-
|
|
34128
|
-
set lifespan(value: number) {
|
|
34129
|
-
Module.ccall(
|
|
34130
|
-
"csp_systems_AgoraUserTokenParams__Set_Lifespan",
|
|
34131
|
-
"void",
|
|
34132
|
-
["number", "number"],
|
|
34133
|
-
[this.pointer, value],
|
|
34134
|
-
);
|
|
34135
|
-
}
|
|
34136
|
-
|
|
34137
|
-
get readOnly(): boolean {
|
|
34138
|
-
let _result = Module.ccall(
|
|
34139
|
-
"csp_systems_AgoraUserTokenParams__Get_ReadOnly",
|
|
34140
|
-
"boolean",
|
|
34141
|
-
["number"],
|
|
34142
|
-
[this.pointer],
|
|
34143
|
-
);
|
|
34144
|
-
|
|
34145
|
-
return _result;
|
|
34146
|
-
}
|
|
34147
|
-
|
|
34148
|
-
set readOnly(value: boolean) {
|
|
34149
|
-
Module.ccall(
|
|
34150
|
-
"csp_systems_AgoraUserTokenParams__Set_ReadOnly",
|
|
34151
|
-
"void",
|
|
34152
|
-
["number", "boolean"],
|
|
34153
|
-
[this.pointer, value],
|
|
34154
|
-
);
|
|
34155
|
-
}
|
|
34156
|
-
|
|
34157
|
-
get shareAudio(): boolean {
|
|
34158
|
-
let _result = Module.ccall(
|
|
34159
|
-
"csp_systems_AgoraUserTokenParams__Get_ShareAudio",
|
|
34160
|
-
"boolean",
|
|
34161
|
-
["number"],
|
|
34162
|
-
[this.pointer],
|
|
34163
|
-
);
|
|
34164
|
-
|
|
34165
|
-
return _result;
|
|
34166
|
-
}
|
|
34167
|
-
|
|
34168
|
-
set shareAudio(value: boolean) {
|
|
34169
|
-
Module.ccall(
|
|
34170
|
-
"csp_systems_AgoraUserTokenParams__Set_ShareAudio",
|
|
34171
|
-
"void",
|
|
34172
|
-
["number", "boolean"],
|
|
34173
|
-
[this.pointer, value],
|
|
34174
|
-
);
|
|
34175
|
-
}
|
|
34176
|
-
|
|
34177
|
-
get shareVideo(): boolean {
|
|
34178
|
-
let _result = Module.ccall(
|
|
34179
|
-
"csp_systems_AgoraUserTokenParams__Get_ShareVideo",
|
|
34180
|
-
"boolean",
|
|
34181
|
-
["number"],
|
|
34182
|
-
[this.pointer],
|
|
34183
|
-
);
|
|
34184
|
-
|
|
34185
|
-
return _result;
|
|
34186
|
-
}
|
|
34187
|
-
|
|
34188
|
-
set shareVideo(value: boolean) {
|
|
34189
|
-
Module.ccall(
|
|
34190
|
-
"csp_systems_AgoraUserTokenParams__Set_ShareVideo",
|
|
34191
|
-
"void",
|
|
34192
|
-
["number", "boolean"],
|
|
34193
|
-
[this.pointer, value],
|
|
34194
|
-
);
|
|
34195
|
-
}
|
|
34196
|
-
|
|
34197
|
-
get shareScreen(): boolean {
|
|
34198
|
-
let _result = Module.ccall(
|
|
34199
|
-
"csp_systems_AgoraUserTokenParams__Get_ShareScreen",
|
|
34200
|
-
"boolean",
|
|
34201
|
-
["number"],
|
|
34202
|
-
[this.pointer],
|
|
34203
|
-
);
|
|
34204
|
-
|
|
34205
|
-
return _result;
|
|
34206
|
-
}
|
|
34207
|
-
|
|
34208
|
-
set shareScreen(value: boolean) {
|
|
34209
|
-
Module.ccall(
|
|
34210
|
-
"csp_systems_AgoraUserTokenParams__Set_ShareScreen",
|
|
34211
|
-
"void",
|
|
34212
|
-
["number", "boolean"],
|
|
34213
|
-
[this.pointer, value],
|
|
34214
|
-
);
|
|
34215
|
-
}
|
|
34216
|
-
}
|
|
34217
|
-
}
|
|
34218
|
-
|
|
34219
|
-
export namespace Systems {
|
|
34220
|
-
/**
|
|
34221
|
-
* @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
|
|
34222
|
-
*/
|
|
34223
|
-
export class TokenInfoParams
|
|
34224
|
-
extends NativeClassWrapper
|
|
34225
|
-
implements INativeResource
|
|
34226
|
-
{
|
|
34227
|
-
/** @internal */
|
|
34228
|
-
constructor(pointer: NativePointer) {
|
|
34229
|
-
super(pointer);
|
|
34230
|
-
}
|
|
34231
|
-
|
|
34232
|
-
static create(): TokenInfoParams {
|
|
34233
|
-
var _ptr = Module._malloc(8);
|
|
34234
|
-
Module.ccall(
|
|
34235
|
-
"csp_systems_TokenInfoParams_Ctor",
|
|
34236
|
-
"void",
|
|
34237
|
-
["number"],
|
|
34238
|
-
[_ptr],
|
|
34239
|
-
);
|
|
34240
|
-
var _nPtr = getNativePointer(_ptr);
|
|
34241
|
-
|
|
34242
|
-
return new TokenInfoParams(_nPtr);
|
|
34243
|
-
}
|
|
34244
|
-
|
|
34245
|
-
delete(): void {
|
|
34246
|
-
if (this.ownsPointer && !this.disposed) {
|
|
34247
|
-
Module.ccall(
|
|
34248
|
-
"csp_systems_TokenInfoParams_Dtor",
|
|
34249
|
-
"void",
|
|
34250
|
-
["number"],
|
|
34251
|
-
[this.pointer],
|
|
34252
|
-
);
|
|
34253
|
-
|
|
34254
|
-
this.disposed = true;
|
|
34255
|
-
}
|
|
34256
|
-
}
|
|
34257
|
-
|
|
34258
|
-
get serviceName(): string {
|
|
34259
|
-
let _result = Module.ccall(
|
|
34260
|
-
"csp_systems_TokenInfoParams__Get_ServiceName",
|
|
34261
|
-
"string",
|
|
34262
|
-
["number"],
|
|
34263
|
-
[this.pointer],
|
|
34264
|
-
);
|
|
34265
|
-
|
|
34266
|
-
return _result;
|
|
34267
|
-
}
|
|
34268
|
-
|
|
34269
|
-
set serviceName(value: string) {
|
|
34270
|
-
Module.ccall(
|
|
34271
|
-
"csp_systems_TokenInfoParams__Set_ServiceName",
|
|
34272
|
-
"void",
|
|
34273
|
-
["number", "string"],
|
|
34274
|
-
[this.pointer, value],
|
|
34275
|
-
);
|
|
34276
|
-
}
|
|
34277
|
-
|
|
34278
|
-
get operationName(): string {
|
|
34279
|
-
let _result = Module.ccall(
|
|
34280
|
-
"csp_systems_TokenInfoParams__Get_OperationName",
|
|
34281
|
-
"string",
|
|
34282
|
-
["number"],
|
|
34283
|
-
[this.pointer],
|
|
34284
|
-
);
|
|
34285
|
-
|
|
34286
|
-
return _result;
|
|
34287
|
-
}
|
|
34288
|
-
|
|
34289
|
-
set operationName(value: string) {
|
|
34290
|
-
Module.ccall(
|
|
34291
|
-
"csp_systems_TokenInfoParams__Set_OperationName",
|
|
34292
|
-
"void",
|
|
34293
|
-
["number", "string"],
|
|
34294
|
-
[this.pointer, value],
|
|
34295
|
-
);
|
|
34296
|
-
}
|
|
34297
|
-
|
|
34298
|
-
get setHelp(): boolean {
|
|
34299
|
-
let _result = Module.ccall(
|
|
34300
|
-
"csp_systems_TokenInfoParams__Get_SetHelp",
|
|
34301
|
-
"boolean",
|
|
34302
|
-
["number"],
|
|
34303
|
-
[this.pointer],
|
|
34304
|
-
);
|
|
34305
|
-
|
|
34306
|
-
return _result;
|
|
34307
|
-
}
|
|
34308
|
-
|
|
34309
|
-
set setHelp(value: boolean) {
|
|
34310
|
-
Module.ccall(
|
|
34311
|
-
"csp_systems_TokenInfoParams__Set_SetHelp",
|
|
34312
|
-
"void",
|
|
34313
|
-
["number", "boolean"],
|
|
34314
|
-
[this.pointer, value],
|
|
34315
|
-
);
|
|
34316
|
-
}
|
|
34317
|
-
|
|
34318
|
-
get parameters(): Common.Map<string, string> {
|
|
34319
|
-
const _ptr = Module._malloc(8);
|
|
34320
|
-
Module.ccall(
|
|
34321
|
-
"csp_systems_TokenInfoParams__Get_Parameters",
|
|
34322
|
-
"void",
|
|
34323
|
-
["number", "number"],
|
|
34324
|
-
[_ptr, this.pointer],
|
|
34325
|
-
);
|
|
34326
|
-
|
|
34327
|
-
const _nPtr = getNativePointer(_ptr);
|
|
34328
|
-
return new Common.Map<string, string>(
|
|
34329
|
-
_nPtr,
|
|
34330
|
-
StringFactory,
|
|
34331
|
-
"String",
|
|
34332
|
-
StringFactory,
|
|
34333
|
-
"String",
|
|
34334
|
-
);
|
|
34335
|
-
}
|
|
34336
|
-
|
|
34337
|
-
set parameters(value: Common.Map<string, string>) {
|
|
34338
|
-
Module.ccall(
|
|
34339
|
-
"csp_systems_TokenInfoParams__Set_Parameters",
|
|
34340
|
-
"void",
|
|
34341
|
-
["number", "number"],
|
|
34342
|
-
[this.pointer, value.pointer],
|
|
34343
|
-
);
|
|
34344
|
-
}
|
|
34345
|
-
}
|
|
34346
|
-
}
|
|
34347
|
-
|
|
34348
34442
|
export namespace Systems {
|
|
34349
34443
|
/**
|
|
34350
34444
|
* @description Data structure for overrides to the default token options
|
|
@@ -36487,6 +36581,193 @@ export namespace Multiplayer {
|
|
|
36487
36581
|
}
|
|
36488
36582
|
}
|
|
36489
36583
|
|
|
36584
|
+
export namespace Multiplayer {
|
|
36585
|
+
export class AIChatbotSpaceComponent
|
|
36586
|
+
extends Multiplayer.ComponentBase
|
|
36587
|
+
implements Multiplayer.IPositionComponent, INativeResource
|
|
36588
|
+
{
|
|
36589
|
+
/** @internal */
|
|
36590
|
+
constructor(pointer: NativePointer) {
|
|
36591
|
+
super(pointer);
|
|
36592
|
+
}
|
|
36593
|
+
|
|
36594
|
+
static fromComponentBase(
|
|
36595
|
+
baseInstance: Multiplayer.ComponentBase,
|
|
36596
|
+
): Multiplayer.AIChatbotSpaceComponent {
|
|
36597
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
36598
|
+
return new Multiplayer.AIChatbotSpaceComponent(
|
|
36599
|
+
new NativePointer(
|
|
36600
|
+
nativeClassWrapper.pointer,
|
|
36601
|
+
nativeClassWrapper.ownsPointer,
|
|
36602
|
+
),
|
|
36603
|
+
);
|
|
36604
|
+
}
|
|
36605
|
+
|
|
36606
|
+
static create_logSystem_parent(
|
|
36607
|
+
logSystem: Common.LogSystem,
|
|
36608
|
+
parent: Multiplayer.SpaceEntity,
|
|
36609
|
+
): AIChatbotSpaceComponent {
|
|
36610
|
+
var _ptr = Module._malloc(8);
|
|
36611
|
+
Module.ccall(
|
|
36612
|
+
"csp_multiplayer_AIChatbotSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
|
|
36613
|
+
"void",
|
|
36614
|
+
["number", "number", "number"],
|
|
36615
|
+
[_ptr, logSystem.pointer, parent.pointer],
|
|
36616
|
+
);
|
|
36617
|
+
var _nPtr = getNativePointer(_ptr);
|
|
36618
|
+
|
|
36619
|
+
return new AIChatbotSpaceComponent(_nPtr);
|
|
36620
|
+
}
|
|
36621
|
+
|
|
36622
|
+
/**
|
|
36623
|
+
* @description Gets the voice name of the TTS model associated with this AI chatbot.
|
|
36624
|
+
* @return The name of the TTS voice associated with this AI chatbot.
|
|
36625
|
+
*/
|
|
36626
|
+
|
|
36627
|
+
getVoice(): string {
|
|
36628
|
+
let _result = Module.ccall(
|
|
36629
|
+
"csp_multiplayer_AIChatbotSpaceComponent_GetVoiceC_StringRC",
|
|
36630
|
+
"number",
|
|
36631
|
+
["number"],
|
|
36632
|
+
[this.pointer],
|
|
36633
|
+
);
|
|
36634
|
+
|
|
36635
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
36636
|
+
free(_result);
|
|
36637
|
+
|
|
36638
|
+
_result = _resultString;
|
|
36639
|
+
|
|
36640
|
+
return _result;
|
|
36641
|
+
}
|
|
36642
|
+
|
|
36643
|
+
/**
|
|
36644
|
+
* @description Sets the voice name of the TTS model associated with this AI chatbot.
|
|
36645
|
+
* @param value - The name of the TTS voice associated with this AI chatbot.
|
|
36646
|
+
*/
|
|
36647
|
+
|
|
36648
|
+
setVoice(value: string): void {
|
|
36649
|
+
Module.ccall(
|
|
36650
|
+
"csp_multiplayer_AIChatbotSpaceComponent_SetVoice_void_StringRC",
|
|
36651
|
+
"void",
|
|
36652
|
+
["number", "string"],
|
|
36653
|
+
[this.pointer, value],
|
|
36654
|
+
);
|
|
36655
|
+
}
|
|
36656
|
+
|
|
36657
|
+
/**
|
|
36658
|
+
* @description Gets the ID of the guardrail asset associated with this AI chatbot.
|
|
36659
|
+
* @return The ID of the guardrail asset collection associated with this AI chatbot.
|
|
36660
|
+
*/
|
|
36661
|
+
|
|
36662
|
+
getGuardrailAssetCollectionId(): string {
|
|
36663
|
+
let _result = Module.ccall(
|
|
36664
|
+
"csp_multiplayer_AIChatbotSpaceComponent_GetGuardrailAssetCollectionIdC_StringRC",
|
|
36665
|
+
"number",
|
|
36666
|
+
["number"],
|
|
36667
|
+
[this.pointer],
|
|
36668
|
+
);
|
|
36669
|
+
|
|
36670
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
36671
|
+
free(_result);
|
|
36672
|
+
|
|
36673
|
+
_result = _resultString;
|
|
36674
|
+
|
|
36675
|
+
return _result;
|
|
36676
|
+
}
|
|
36677
|
+
|
|
36678
|
+
/**
|
|
36679
|
+
* @description Sets the ID of the guardrail asset associated with this AI chatbot.
|
|
36680
|
+
* @param value - The ID of the guardrail asset collection associated with this AI chatbot.
|
|
36681
|
+
*/
|
|
36682
|
+
|
|
36683
|
+
setGuardrailAssetCollectionId(value: string): void {
|
|
36684
|
+
Module.ccall(
|
|
36685
|
+
"csp_multiplayer_AIChatbotSpaceComponent_SetGuardrailAssetCollectionId_void_StringRC",
|
|
36686
|
+
"void",
|
|
36687
|
+
["number", "string"],
|
|
36688
|
+
[this.pointer, value],
|
|
36689
|
+
);
|
|
36690
|
+
}
|
|
36691
|
+
|
|
36692
|
+
/**
|
|
36693
|
+
* @description Retrieves the visual state of the AI chatbot for this component.
|
|
36694
|
+
* @return The visual state of the AI chatbot.
|
|
36695
|
+
*/
|
|
36696
|
+
|
|
36697
|
+
getVisualState(): Multiplayer.AIChatbotVisualState {
|
|
36698
|
+
let _result = Module.ccall(
|
|
36699
|
+
"csp_multiplayer_AIChatbotSpaceComponent_GetVisualStateC_AIChatbotVisualState",
|
|
36700
|
+
"number",
|
|
36701
|
+
["number"],
|
|
36702
|
+
[this.pointer],
|
|
36703
|
+
);
|
|
36704
|
+
|
|
36705
|
+
return _result;
|
|
36706
|
+
}
|
|
36707
|
+
|
|
36708
|
+
/**
|
|
36709
|
+
* @description Sets the visual state of the AI chatbot for this component.
|
|
36710
|
+
* @param value - The visual state of the AI chatbot.
|
|
36711
|
+
*/
|
|
36712
|
+
|
|
36713
|
+
setVisualState(value: Multiplayer.AIChatbotVisualState): void {
|
|
36714
|
+
Module.ccall(
|
|
36715
|
+
"csp_multiplayer_AIChatbotSpaceComponent_SetVisualState_void_AIChatbotVisualState",
|
|
36716
|
+
"void",
|
|
36717
|
+
["number", "number"],
|
|
36718
|
+
[this.pointer, value],
|
|
36719
|
+
);
|
|
36720
|
+
}
|
|
36721
|
+
|
|
36722
|
+
/**
|
|
36723
|
+
* \addtogroup IPositionComponent
|
|
36724
|
+
@{
|
|
36725
|
+
@copydoc IPositionComponent::GetPosition()
|
|
36726
|
+
*/
|
|
36727
|
+
|
|
36728
|
+
getPosition(): Common.Vector3 {
|
|
36729
|
+
var _ret = Module._malloc(8);
|
|
36730
|
+
|
|
36731
|
+
Module.ccall(
|
|
36732
|
+
"csp_multiplayer_AIChatbotSpaceComponent_GetPositionC_Vector3RC",
|
|
36733
|
+
"void",
|
|
36734
|
+
["number", "number"],
|
|
36735
|
+
[_ret, this.pointer],
|
|
36736
|
+
);
|
|
36737
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
36738
|
+
Module._free(_ret);
|
|
36739
|
+
|
|
36740
|
+
return _nPtr;
|
|
36741
|
+
}
|
|
36742
|
+
|
|
36743
|
+
/**
|
|
36744
|
+
@copydoc IPositionComponent::SetPosition()
|
|
36745
|
+
*/
|
|
36746
|
+
|
|
36747
|
+
setPosition(value: Common.Vector3): void {
|
|
36748
|
+
Module.ccall(
|
|
36749
|
+
"csp_multiplayer_AIChatbotSpaceComponent_SetPosition_void_Vector3RC",
|
|
36750
|
+
"void",
|
|
36751
|
+
["number", "number"],
|
|
36752
|
+
[this.pointer, value.pointer],
|
|
36753
|
+
);
|
|
36754
|
+
}
|
|
36755
|
+
|
|
36756
|
+
delete(): void {
|
|
36757
|
+
if (this.ownsPointer && !this.disposed) {
|
|
36758
|
+
Module.ccall(
|
|
36759
|
+
"csp_multiplayer_AIChatbotSpaceComponent_Dtor",
|
|
36760
|
+
"void",
|
|
36761
|
+
["number"],
|
|
36762
|
+
[this.pointer],
|
|
36763
|
+
);
|
|
36764
|
+
|
|
36765
|
+
this.disposed = true;
|
|
36766
|
+
}
|
|
36767
|
+
}
|
|
36768
|
+
}
|
|
36769
|
+
}
|
|
36770
|
+
|
|
36490
36771
|
export namespace Multiplayer {
|
|
36491
36772
|
/**
|
|
36492
36773
|
@ingroup AnimatedModelSpaceComponent
|
|
@@ -42047,7 +42328,7 @@ export namespace Multiplayer {
|
|
|
42047
42328
|
}
|
|
42048
42329
|
|
|
42049
42330
|
/**
|
|
42050
|
-
* @description Sets the type of fog
|
|
42331
|
+
* @description Sets the type of fog to be used by this fog component.
|
|
42051
42332
|
* @param value - The modality of fog to be used by this component.
|
|
42052
42333
|
*/
|
|
42053
42334
|
|
|
@@ -42191,10 +42472,9 @@ export namespace Multiplayer {
|
|
|
42191
42472
|
|
|
42192
42473
|
/**
|
|
42193
42474
|
@}
|
|
42194
|
-
* @description
|
|
42195
|
-
*
|
|
42196
|
-
*
|
|
42197
|
-
* @return Current start distance
|
|
42475
|
+
* @description Gets start distance.
|
|
42476
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
42477
|
+
* @return Current start distance.
|
|
42198
42478
|
*/
|
|
42199
42479
|
|
|
42200
42480
|
getStartDistance(): number {
|
|
@@ -42209,10 +42489,9 @@ export namespace Multiplayer {
|
|
|
42209
42489
|
}
|
|
42210
42490
|
|
|
42211
42491
|
/**
|
|
42212
|
-
* @description
|
|
42213
|
-
*
|
|
42214
|
-
*
|
|
42215
|
-
* @param value - Current start distance
|
|
42492
|
+
* @description Sets start distance.
|
|
42493
|
+
* NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
|
|
42494
|
+
* @param value - Start distance.
|
|
42216
42495
|
*/
|
|
42217
42496
|
|
|
42218
42497
|
setStartDistance(value: number): void {
|
|
@@ -42228,10 +42507,9 @@ export namespace Multiplayer {
|
|
|
42228
42507
|
}
|
|
42229
42508
|
|
|
42230
42509
|
/**
|
|
42231
|
-
* @description
|
|
42232
|
-
*
|
|
42233
|
-
*
|
|
42234
|
-
* @return Current end distance
|
|
42510
|
+
* @description Gets end distance.
|
|
42511
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
42512
|
+
* @return Current end distance.
|
|
42235
42513
|
*/
|
|
42236
42514
|
|
|
42237
42515
|
getEndDistance(): number {
|
|
@@ -42246,10 +42524,9 @@ export namespace Multiplayer {
|
|
|
42246
42524
|
}
|
|
42247
42525
|
|
|
42248
42526
|
/**
|
|
42249
|
-
* @description
|
|
42250
|
-
*
|
|
42251
|
-
*
|
|
42252
|
-
* @param value - Current end distance
|
|
42527
|
+
* @description Sets end distance.
|
|
42528
|
+
* NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
|
|
42529
|
+
* @param value - End distance.
|
|
42253
42530
|
*/
|
|
42254
42531
|
|
|
42255
42532
|
setEndDistance(value: number): void {
|
|
@@ -42265,8 +42542,8 @@ export namespace Multiplayer {
|
|
|
42265
42542
|
}
|
|
42266
42543
|
|
|
42267
42544
|
/**
|
|
42268
|
-
* @description
|
|
42269
|
-
* @return Current fog color
|
|
42545
|
+
* @description Gets fog color.
|
|
42546
|
+
* @return Current fog color.
|
|
42270
42547
|
*/
|
|
42271
42548
|
|
|
42272
42549
|
getColor(): Common.Vector3 {
|
|
@@ -42285,8 +42562,8 @@ export namespace Multiplayer {
|
|
|
42285
42562
|
}
|
|
42286
42563
|
|
|
42287
42564
|
/**
|
|
42288
|
-
* @description
|
|
42289
|
-
* @param value -
|
|
42565
|
+
* @description Sets fog color.
|
|
42566
|
+
* @param value - Fog color.
|
|
42290
42567
|
*/
|
|
42291
42568
|
|
|
42292
42569
|
setColor(value: Common.Vector3): void {
|
|
@@ -42299,9 +42576,8 @@ export namespace Multiplayer {
|
|
|
42299
42576
|
}
|
|
42300
42577
|
|
|
42301
42578
|
/**
|
|
42302
|
-
* @description
|
|
42303
|
-
*
|
|
42304
|
-
* @return Current Global density factor
|
|
42579
|
+
* @description Gets global density factor.
|
|
42580
|
+
* @return Current global density factor.
|
|
42305
42581
|
*/
|
|
42306
42582
|
|
|
42307
42583
|
getDensity(): number {
|
|
@@ -42316,9 +42592,8 @@ export namespace Multiplayer {
|
|
|
42316
42592
|
}
|
|
42317
42593
|
|
|
42318
42594
|
/**
|
|
42319
|
-
* @description
|
|
42320
|
-
*
|
|
42321
|
-
* @param value - Global density factor
|
|
42595
|
+
* @description Sets global density factor.
|
|
42596
|
+
* @param value - Global density factor.
|
|
42322
42597
|
*/
|
|
42323
42598
|
|
|
42324
42599
|
setDensity(value: number): void {
|
|
@@ -42334,9 +42609,9 @@ export namespace Multiplayer {
|
|
|
42334
42609
|
}
|
|
42335
42610
|
|
|
42336
42611
|
/**
|
|
42337
|
-
* @description
|
|
42338
|
-
*
|
|
42339
|
-
* @return Current
|
|
42612
|
+
* @description Gets Height density factor.
|
|
42613
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
42614
|
+
* @return Current height density factor.
|
|
42340
42615
|
*/
|
|
42341
42616
|
|
|
42342
42617
|
getHeightFalloff(): number {
|
|
@@ -42351,9 +42626,9 @@ export namespace Multiplayer {
|
|
|
42351
42626
|
}
|
|
42352
42627
|
|
|
42353
42628
|
/**
|
|
42354
|
-
* @description
|
|
42355
|
-
*
|
|
42356
|
-
* @param value - Height density factor
|
|
42629
|
+
* @description Sets Height density factor.
|
|
42630
|
+
* NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
|
|
42631
|
+
* @param value - Height density factor.
|
|
42357
42632
|
*/
|
|
42358
42633
|
|
|
42359
42634
|
setHeightFalloff(value: number): void {
|
|
@@ -42369,11 +42644,9 @@ export namespace Multiplayer {
|
|
|
42369
42644
|
}
|
|
42370
42645
|
|
|
42371
42646
|
/**
|
|
42372
|
-
* @description
|
|
42373
|
-
*
|
|
42374
|
-
*
|
|
42375
|
-
* Note: 0 = fog colour will have no impact.
|
|
42376
|
-
* @return Current Maximum opacity of the Fog
|
|
42647
|
+
* @description Gets maximum opacity of the fog.
|
|
42648
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
42649
|
+
* @return Current maximum opacity.
|
|
42377
42650
|
*/
|
|
42378
42651
|
|
|
42379
42652
|
getMaxOpacity(): number {
|
|
@@ -42388,8 +42661,9 @@ export namespace Multiplayer {
|
|
|
42388
42661
|
}
|
|
42389
42662
|
|
|
42390
42663
|
/**
|
|
42391
|
-
* @description
|
|
42392
|
-
*
|
|
42664
|
+
* @description Sets maximum opacity of the fog.
|
|
42665
|
+
* NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
|
|
42666
|
+
* @param value - Maximum opacity of the fog.
|
|
42393
42667
|
*/
|
|
42394
42668
|
|
|
42395
42669
|
setMaxOpacity(value: number): void {
|
|
@@ -42405,8 +42679,8 @@ export namespace Multiplayer {
|
|
|
42405
42679
|
}
|
|
42406
42680
|
|
|
42407
42681
|
/**
|
|
42408
|
-
* @description
|
|
42409
|
-
* @
|
|
42682
|
+
* @description Gets IsFogVolumetric.
|
|
42683
|
+
* @return Current fog volumetric flag.
|
|
42410
42684
|
*/
|
|
42411
42685
|
|
|
42412
42686
|
getIsVolumetric(): boolean {
|
|
@@ -42421,8 +42695,8 @@ export namespace Multiplayer {
|
|
|
42421
42695
|
}
|
|
42422
42696
|
|
|
42423
42697
|
/**
|
|
42424
|
-
* @description
|
|
42425
|
-
* @param value -
|
|
42698
|
+
* @description Sets IsFogVolumetric.
|
|
42699
|
+
* @param value - Fog Volumetric Flag.
|
|
42426
42700
|
*/
|
|
42427
42701
|
|
|
42428
42702
|
setIsVolumetric(value: boolean): void {
|
|
@@ -49369,6 +49643,47 @@ export namespace Systems {
|
|
|
49369
49643
|
}
|
|
49370
49644
|
}
|
|
49371
49645
|
|
|
49646
|
+
export namespace Systems {
|
|
49647
|
+
/**
|
|
49648
|
+
@ingroup Asset System
|
|
49649
|
+
* @description Data class used to process and represent information relating to copied asset collections.
|
|
49650
|
+
*/
|
|
49651
|
+
export class AssetCollectionsCopyResult
|
|
49652
|
+
extends Systems.AssetCollectionsResult
|
|
49653
|
+
implements INativeResource
|
|
49654
|
+
{
|
|
49655
|
+
/** @internal */
|
|
49656
|
+
constructor(pointer: NativePointer) {
|
|
49657
|
+
super(pointer);
|
|
49658
|
+
}
|
|
49659
|
+
|
|
49660
|
+
static fromAssetCollectionsResult(
|
|
49661
|
+
baseInstance: Systems.AssetCollectionsResult,
|
|
49662
|
+
): Systems.AssetCollectionsCopyResult {
|
|
49663
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
49664
|
+
return new Systems.AssetCollectionsCopyResult(
|
|
49665
|
+
new NativePointer(
|
|
49666
|
+
nativeClassWrapper.pointer,
|
|
49667
|
+
nativeClassWrapper.ownsPointer,
|
|
49668
|
+
),
|
|
49669
|
+
);
|
|
49670
|
+
}
|
|
49671
|
+
|
|
49672
|
+
delete(): void {
|
|
49673
|
+
if (this.ownsPointer && !this.disposed) {
|
|
49674
|
+
Module.ccall(
|
|
49675
|
+
"csp_systems_AssetCollectionsCopyResult_Dtor",
|
|
49676
|
+
"void",
|
|
49677
|
+
["number"],
|
|
49678
|
+
[this.pointer],
|
|
49679
|
+
);
|
|
49680
|
+
|
|
49681
|
+
this.disposed = true;
|
|
49682
|
+
}
|
|
49683
|
+
}
|
|
49684
|
+
}
|
|
49685
|
+
}
|
|
49686
|
+
|
|
49372
49687
|
export namespace Systems {
|
|
49373
49688
|
/**
|
|
49374
49689
|
@ingroup Asset System
|
|
@@ -53304,6 +53619,200 @@ export namespace Systems {
|
|
|
53304
53619
|
}
|
|
53305
53620
|
}
|
|
53306
53621
|
|
|
53622
|
+
export namespace Systems {
|
|
53623
|
+
/**
|
|
53624
|
+
* @description Data class used to contain information relating to invocations via the external service proxy system.
|
|
53625
|
+
*/
|
|
53626
|
+
export class ExternalServiceInvocationResult
|
|
53627
|
+
extends Systems.StringResult
|
|
53628
|
+
implements INativeResource
|
|
53629
|
+
{
|
|
53630
|
+
/** @internal */
|
|
53631
|
+
constructor(pointer: NativePointer) {
|
|
53632
|
+
super(pointer);
|
|
53633
|
+
}
|
|
53634
|
+
|
|
53635
|
+
static fromStringResult(
|
|
53636
|
+
baseInstance: Systems.StringResult,
|
|
53637
|
+
): Systems.ExternalServiceInvocationResult {
|
|
53638
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
53639
|
+
return new Systems.ExternalServiceInvocationResult(
|
|
53640
|
+
new NativePointer(
|
|
53641
|
+
nativeClassWrapper.pointer,
|
|
53642
|
+
nativeClassWrapper.ownsPointer,
|
|
53643
|
+
),
|
|
53644
|
+
);
|
|
53645
|
+
}
|
|
53646
|
+
|
|
53647
|
+
delete(): void {
|
|
53648
|
+
if (this.ownsPointer && !this.disposed) {
|
|
53649
|
+
Module.ccall(
|
|
53650
|
+
"csp_systems_ExternalServiceInvocationResult_Dtor",
|
|
53651
|
+
"void",
|
|
53652
|
+
["number"],
|
|
53653
|
+
[this.pointer],
|
|
53654
|
+
);
|
|
53655
|
+
|
|
53656
|
+
this.disposed = true;
|
|
53657
|
+
}
|
|
53658
|
+
}
|
|
53659
|
+
}
|
|
53660
|
+
}
|
|
53661
|
+
|
|
53662
|
+
export namespace Systems {
|
|
53663
|
+
/**
|
|
53664
|
+
* @description A specialisation of the result data class that handles respnses from the external service proxy system.
|
|
53665
|
+
*/
|
|
53666
|
+
export class GetAgoraTokenResult
|
|
53667
|
+
extends Systems.ExternalServiceInvocationResult
|
|
53668
|
+
implements INativeResource
|
|
53669
|
+
{
|
|
53670
|
+
/** @internal */
|
|
53671
|
+
constructor(pointer: NativePointer) {
|
|
53672
|
+
super(pointer);
|
|
53673
|
+
}
|
|
53674
|
+
|
|
53675
|
+
static fromExternalServiceInvocationResult(
|
|
53676
|
+
baseInstance: Systems.ExternalServiceInvocationResult,
|
|
53677
|
+
): Systems.GetAgoraTokenResult {
|
|
53678
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
53679
|
+
return new Systems.GetAgoraTokenResult(
|
|
53680
|
+
new NativePointer(
|
|
53681
|
+
nativeClassWrapper.pointer,
|
|
53682
|
+
nativeClassWrapper.ownsPointer,
|
|
53683
|
+
),
|
|
53684
|
+
);
|
|
53685
|
+
}
|
|
53686
|
+
|
|
53687
|
+
delete(): void {
|
|
53688
|
+
if (this.ownsPointer && !this.disposed) {
|
|
53689
|
+
Module.ccall(
|
|
53690
|
+
"csp_systems_GetAgoraTokenResult_Dtor",
|
|
53691
|
+
"void",
|
|
53692
|
+
["number"],
|
|
53693
|
+
[this.pointer],
|
|
53694
|
+
);
|
|
53695
|
+
|
|
53696
|
+
this.disposed = true;
|
|
53697
|
+
}
|
|
53698
|
+
}
|
|
53699
|
+
}
|
|
53700
|
+
}
|
|
53701
|
+
|
|
53702
|
+
export namespace Systems {
|
|
53703
|
+
/**
|
|
53704
|
+
* *******************************************************************************************************************
|
|
53705
|
+
@ingroup External Service Proxy System
|
|
53706
|
+
* @description Public facing system that allows client applications to interact with
|
|
53707
|
+
* backend services acting as a proxy for some other set of services.
|
|
53708
|
+
* /// In situations where a CSP client application needs secure access to some other set of third-party
|
|
53709
|
+
* services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
|
|
53710
|
+
* as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
|
|
53711
|
+
*/
|
|
53712
|
+
export class ExternalServiceProxySystem extends Systems.SystemBase {
|
|
53713
|
+
/** @internal */
|
|
53714
|
+
constructor(pointer: NativePointer) {
|
|
53715
|
+
super(pointer);
|
|
53716
|
+
}
|
|
53717
|
+
|
|
53718
|
+
static fromSystemBase(
|
|
53719
|
+
baseInstance: Systems.SystemBase,
|
|
53720
|
+
): Systems.ExternalServiceProxySystem {
|
|
53721
|
+
const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
|
|
53722
|
+
return new Systems.ExternalServiceProxySystem(
|
|
53723
|
+
new NativePointer(
|
|
53724
|
+
nativeClassWrapper.pointer,
|
|
53725
|
+
nativeClassWrapper.ownsPointer,
|
|
53726
|
+
),
|
|
53727
|
+
);
|
|
53728
|
+
}
|
|
53729
|
+
|
|
53730
|
+
/**
|
|
53731
|
+
* @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
|
|
53732
|
+
* service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
|
|
53733
|
+
* @param params - Params to specify service, operation, set help and parameters.
|
|
53734
|
+
* @param callback - Callback to call when a response is received.
|
|
53735
|
+
*/
|
|
53736
|
+
|
|
53737
|
+
async invokeOperation(
|
|
53738
|
+
params: Systems.ExternalServicesOperationParams,
|
|
53739
|
+
): Promise<Systems.StringResult> {
|
|
53740
|
+
var _resolve;
|
|
53741
|
+
|
|
53742
|
+
var _promise = new Promise<Systems.StringResult>((_r) => {
|
|
53743
|
+
_resolve = _r;
|
|
53744
|
+
});
|
|
53745
|
+
|
|
53746
|
+
var _callbackPtr: number;
|
|
53747
|
+
var _callback = (_stateObject__: number, result) => {
|
|
53748
|
+
var _resultPtr = getNativePointer(result);
|
|
53749
|
+
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
53750
|
+
|
|
53751
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
53752
|
+
return;
|
|
53753
|
+
}
|
|
53754
|
+
|
|
53755
|
+
_resolve(_resultInstance);
|
|
53756
|
+
|
|
53757
|
+
Module.removeFunction(_callbackPtr);
|
|
53758
|
+
};
|
|
53759
|
+
|
|
53760
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
53761
|
+
|
|
53762
|
+
Module.ccall(
|
|
53763
|
+
"csp_systems_ExternalServiceProxySystem_InvokeOperation_void_ExternalServicesOperationParamsRC_StringResultCallback",
|
|
53764
|
+
"void",
|
|
53765
|
+
["number", "number", "number", "number"],
|
|
53766
|
+
[this.pointer, params.pointer, _callbackPtr, 0],
|
|
53767
|
+
);
|
|
53768
|
+
|
|
53769
|
+
return _promise;
|
|
53770
|
+
}
|
|
53771
|
+
|
|
53772
|
+
/**
|
|
53773
|
+
* @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
|
|
53774
|
+
* credentials. A good example for how client applications may wish to use PostServiceProxy.
|
|
53775
|
+
* @param params - Params to configure the User token.
|
|
53776
|
+
* @param callback - Callback to call when a response is received.
|
|
53777
|
+
*/
|
|
53778
|
+
|
|
53779
|
+
async getAgoraUserToken(
|
|
53780
|
+
params: Systems.AgoraUserTokenParams,
|
|
53781
|
+
): Promise<Systems.StringResult> {
|
|
53782
|
+
var _resolve;
|
|
53783
|
+
|
|
53784
|
+
var _promise = new Promise<Systems.StringResult>((_r) => {
|
|
53785
|
+
_resolve = _r;
|
|
53786
|
+
});
|
|
53787
|
+
|
|
53788
|
+
var _callbackPtr: number;
|
|
53789
|
+
var _callback = (_stateObject__: number, result) => {
|
|
53790
|
+
var _resultPtr = getNativePointer(result);
|
|
53791
|
+
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
53792
|
+
|
|
53793
|
+
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
53794
|
+
return;
|
|
53795
|
+
}
|
|
53796
|
+
|
|
53797
|
+
_resolve(_resultInstance);
|
|
53798
|
+
|
|
53799
|
+
Module.removeFunction(_callbackPtr);
|
|
53800
|
+
};
|
|
53801
|
+
|
|
53802
|
+
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
53803
|
+
|
|
53804
|
+
Module.ccall(
|
|
53805
|
+
"csp_systems_ExternalServiceProxySystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback",
|
|
53806
|
+
"void",
|
|
53807
|
+
["number", "number", "number", "number"],
|
|
53808
|
+
[this.pointer, params.pointer, _callbackPtr, 0],
|
|
53809
|
+
);
|
|
53810
|
+
|
|
53811
|
+
return _promise;
|
|
53812
|
+
}
|
|
53813
|
+
}
|
|
53814
|
+
}
|
|
53815
|
+
|
|
53307
53816
|
export namespace Systems {
|
|
53308
53817
|
/**
|
|
53309
53818
|
@ingroup GraphQL System
|
|
@@ -62025,88 +62534,6 @@ export namespace Systems {
|
|
|
62025
62534
|
return _promise;
|
|
62026
62535
|
}
|
|
62027
62536
|
|
|
62028
|
-
/**
|
|
62029
|
-
* @description Retrieve User token from Agora
|
|
62030
|
-
* @param params - Params to configure the User token
|
|
62031
|
-
* @param callback - Callback to call when a response is received
|
|
62032
|
-
*/
|
|
62033
|
-
|
|
62034
|
-
async getAgoraUserToken(
|
|
62035
|
-
params: Systems.AgoraUserTokenParams,
|
|
62036
|
-
): Promise<Systems.StringResult> {
|
|
62037
|
-
var _resolve;
|
|
62038
|
-
|
|
62039
|
-
var _promise = new Promise<Systems.StringResult>((_r) => {
|
|
62040
|
-
_resolve = _r;
|
|
62041
|
-
});
|
|
62042
|
-
|
|
62043
|
-
var _callbackPtr: number;
|
|
62044
|
-
var _callback = (_stateObject__: number, result) => {
|
|
62045
|
-
var _resultPtr = getNativePointer(result);
|
|
62046
|
-
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
62047
|
-
|
|
62048
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
62049
|
-
return;
|
|
62050
|
-
}
|
|
62051
|
-
|
|
62052
|
-
_resolve(_resultInstance);
|
|
62053
|
-
|
|
62054
|
-
Module.removeFunction(_callbackPtr);
|
|
62055
|
-
};
|
|
62056
|
-
|
|
62057
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
62058
|
-
|
|
62059
|
-
Module.ccall(
|
|
62060
|
-
"csp_systems_UserSystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback",
|
|
62061
|
-
"void",
|
|
62062
|
-
["number", "number", "number", "number"],
|
|
62063
|
-
[this.pointer, params.pointer, _callbackPtr, 0],
|
|
62064
|
-
);
|
|
62065
|
-
|
|
62066
|
-
return _promise;
|
|
62067
|
-
}
|
|
62068
|
-
|
|
62069
|
-
/**
|
|
62070
|
-
* @description Post Service Proxy to perform specified operation of specified service
|
|
62071
|
-
* @param params - Params to specify service, operation, set help and parameters
|
|
62072
|
-
* @param callback - Callback to call when a response is received
|
|
62073
|
-
*/
|
|
62074
|
-
|
|
62075
|
-
async postServiceProxy(
|
|
62076
|
-
params: Systems.TokenInfoParams,
|
|
62077
|
-
): Promise<Systems.StringResult> {
|
|
62078
|
-
var _resolve;
|
|
62079
|
-
|
|
62080
|
-
var _promise = new Promise<Systems.StringResult>((_r) => {
|
|
62081
|
-
_resolve = _r;
|
|
62082
|
-
});
|
|
62083
|
-
|
|
62084
|
-
var _callbackPtr: number;
|
|
62085
|
-
var _callback = (_stateObject__: number, result) => {
|
|
62086
|
-
var _resultPtr = getNativePointer(result);
|
|
62087
|
-
var _resultInstance = new Systems.StringResult(_resultPtr);
|
|
62088
|
-
|
|
62089
|
-
if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
|
|
62090
|
-
return;
|
|
62091
|
-
}
|
|
62092
|
-
|
|
62093
|
-
_resolve(_resultInstance);
|
|
62094
|
-
|
|
62095
|
-
Module.removeFunction(_callbackPtr);
|
|
62096
|
-
};
|
|
62097
|
-
|
|
62098
|
-
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
62099
|
-
|
|
62100
|
-
Module.ccall(
|
|
62101
|
-
"csp_systems_UserSystem_PostServiceProxy_void_TokenInfoParamsRC_StringResultCallback",
|
|
62102
|
-
"void",
|
|
62103
|
-
["number", "number", "number", "number"],
|
|
62104
|
-
[this.pointer, params.pointer, _callbackPtr, 0],
|
|
62105
|
-
);
|
|
62106
|
-
|
|
62107
|
-
return _promise;
|
|
62108
|
-
}
|
|
62109
|
-
|
|
62110
62537
|
/**
|
|
62111
62538
|
* @description Re-send user verification email
|
|
62112
62539
|
* @param inEmail - User's email address
|