connected-spaces-platform.web 6.7.0 → 6.9.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.
@@ -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,
@@ -3667,9 +3724,8 @@ export namespace Multiplayer {
3667
3724
  UPDATE_FLAGS_COMPONENTS = 16,
3668
3725
  UPDATE_FLAGS_SELECTION_ID = 32,
3669
3726
  UPDATE_FLAGS_THIRD_PARTY_REF = 64,
3670
- UPDATE_FLAGS_THIRD_PARTY_PLATFORM = 128,
3671
- UPDATE_FLAGS_PARENT = 256,
3672
- UPDATE_FLAGS_LOCK_TYPE = 512,
3727
+ UPDATE_FLAGS_PARENT = 128,
3728
+ UPDATE_FLAGS_LOCK_TYPE = 256,
3673
3729
  }
3674
3730
  }
3675
3731
 
@@ -3713,6 +3769,33 @@ export namespace Multiplayer {
3713
3769
  }
3714
3770
  }
3715
3771
 
3772
+ export namespace Multiplayer {
3773
+ /**
3774
+ * @description Enumerates the list of properties that can be replicated for a AI chatbot component.
3775
+ */
3776
+ export enum AIChatbotPropertyKeys {
3777
+ Position = 0,
3778
+ Voice,
3779
+ GuardrailAssetCollectionId,
3780
+ VisualState,
3781
+ Num,
3782
+ }
3783
+ }
3784
+
3785
+ export namespace Multiplayer {
3786
+ /**
3787
+ * @description Enumerates the list of potential visual states that can be replicated for a AI chatbot component.
3788
+ */
3789
+ export enum AIChatbotVisualState {
3790
+ Waiting = 0,
3791
+ Listening,
3792
+ Thinking,
3793
+ Speaking,
3794
+ Unknown,
3795
+ Num,
3796
+ }
3797
+ }
3798
+
3716
3799
  export namespace Multiplayer {
3717
3800
  /**
3718
3801
  * @description Enumerates the actions that can be performed on an animated model component.
@@ -21684,6 +21767,47 @@ export namespace Common {
21684
21767
  }
21685
21768
  }
21686
21769
 
21770
+ /**
21771
+ * @description Copy constructor
21772
+ * @param other - The value to copy.
21773
+ */
21774
+ static create_other(other: Common.ReplicatedValue): ReplicatedValue {
21775
+ var _ptr = Module._malloc(8);
21776
+ Module.ccall(
21777
+ "csp_common_ReplicatedValue_Ctor_ReplicatedValueRC",
21778
+ "void",
21779
+ ["number", "number"],
21780
+ [_ptr, other.pointer],
21781
+ );
21782
+ var _nPtr = getNativePointer(_ptr);
21783
+
21784
+ return new ReplicatedValue(_nPtr);
21785
+ }
21786
+
21787
+ /**
21788
+ * @description Copy assignment operator overload.
21789
+ * @param inValue - Other replicated value to set from.
21790
+ */
21791
+ // operator=
21792
+
21793
+ /**
21794
+ * @description Move assignment operator overload.
21795
+ * @param inValue - Other replicated value to move from.
21796
+ */
21797
+ // operator=
21798
+
21799
+ /**
21800
+ * @description Equality operator overload.
21801
+ * @param replicatedValue - Other value to compare to.
21802
+ */
21803
+ // operator==
21804
+
21805
+ /**
21806
+ * @description Inequality operator overload.
21807
+ * @param replicatedValue - Other value to compare to.
21808
+ */
21809
+ // operator!=
21810
+
21687
21811
  /**
21688
21812
  * @description Gets the type of replicated value.
21689
21813
  * @return Enum representing all supported replication base types.
@@ -23811,19 +23935,19 @@ export namespace Common {
23811
23935
  * @description Set a callback for handling a log. Can be used to debug Connected Spaces Platform within a client application.
23812
23936
  * @param inLogCallback - The callback to execute when a log occurs.
23813
23937
  */
23814
- setLogCallback(callback: (arg1: string) => void) {
23815
- var _callback = (_stateObject__: number, arg1) => {
23938
+ setLogCallback(callback: (arg1: Common.LogLevel, arg2: string) => void) {
23939
+ var _callback = (_stateObject__: number, arg1, arg2) => {
23816
23940
  {
23817
- const _stringValue = Module.UTF8ToString(arg1);
23818
- free(arg1);
23941
+ const _stringValue = Module.UTF8ToString(arg2);
23942
+ free(arg2);
23819
23943
 
23820
- arg1 = _stringValue;
23944
+ arg2 = _stringValue;
23821
23945
  }
23822
23946
 
23823
- callback(arg1);
23947
+ callback(arg1, arg2);
23824
23948
  };
23825
23949
 
23826
- var _callbackPtr = Module.addFunction(_callback, "vii");
23950
+ var _callbackPtr = Module.addFunction(_callback, "viii");
23827
23951
 
23828
23952
  Module.ccall(
23829
23953
  "csp_common_LogSystem_SetLogCallback_void_LogCallbackHandler",
@@ -25343,41 +25467,6 @@ export namespace Multiplayer {
25343
25467
  return _result;
25344
25468
  }
25345
25469
 
25346
- /**
25347
- * @description Get the third party platform type of this entity.
25348
- * @return A string representing third party platform type set for this entity.
25349
- */
25350
-
25351
- getThirdPartyPlatformType(): Systems.EThirdPartyPlatform {
25352
- let _result = Module.ccall(
25353
- "csp_multiplayer_SpaceEntity_GetThirdPartyPlatformTypeC_EThirdPartyPlatform",
25354
- "number",
25355
- ["number"],
25356
- [this.pointer],
25357
- );
25358
-
25359
- return _result;
25360
- }
25361
-
25362
- /**
25363
- * @description Set third party platform type for this entity.
25364
- * @param inThirdPartyPlatformType - The third party platform type to set.
25365
- * @return Whether a new value was set, may fail if not modifiable, or if a dirty property is already set to this value.
25366
- */
25367
-
25368
- setThirdPartyPlatformType(
25369
- thirdPartyPlatformType: Systems.EThirdPartyPlatform,
25370
- ): boolean {
25371
- let _result = Module.ccall(
25372
- "csp_multiplayer_SpaceEntity_SetThirdPartyPlatformType_bool_EThirdPartyPlatformC",
25373
- "boolean",
25374
- ["number", "number"],
25375
- [this.pointer, thirdPartyPlatformType],
25376
- );
25377
-
25378
- return _result;
25379
- }
25380
-
25381
25470
  /**
25382
25471
  * @description Get the type of the Entity.
25383
25472
  * @return The SpaceEntityType enum value.
@@ -27856,6 +27945,28 @@ export namespace Systems {
27856
27945
  return _nPtr;
27857
27946
  }
27858
27947
 
27948
+ /**
27949
+ * @description Retrieves external services proxy system.
27950
+ * @return Pointer to the external services proxy system class.
27951
+ */
27952
+
27953
+ getExternalServicesProxySystem(): Systems.ExternalServiceProxySystem {
27954
+ var _ret = Module._malloc(8);
27955
+
27956
+ Module.ccall(
27957
+ "csp_systems_SystemsManager_GetExternalServicesProxySystem_ExternalServiceProxySystemP",
27958
+ "void",
27959
+ ["number", "number"],
27960
+ [_ret, this.pointer],
27961
+ );
27962
+ var _nPtr = new Systems.ExternalServiceProxySystem(
27963
+ getNativePointer(_ret),
27964
+ );
27965
+ Module._free(_ret);
27966
+
27967
+ return _nPtr;
27968
+ }
27969
+
27859
27970
  getMultiplayerConnection(): Multiplayer.MultiplayerConnection {
27860
27971
  var _ret = Module._malloc(8);
27861
27972
 
@@ -31317,6 +31428,338 @@ export namespace Systems {
31317
31428
  }
31318
31429
  }
31319
31430
 
31431
+ export namespace Systems {
31432
+ /**
31433
+ * *******************************************************************************************************************
31434
+ * @description Data structure used when making invocations of the external service proxy.
31435
+ */
31436
+ export class ExternalServicesOperationParams
31437
+ extends NativeClassWrapper
31438
+ implements INativeResource
31439
+ {
31440
+ /** @internal */
31441
+ constructor(pointer: NativePointer) {
31442
+ super(pointer);
31443
+ }
31444
+
31445
+ static create(): ExternalServicesOperationParams {
31446
+ var _ptr = Module._malloc(8);
31447
+ Module.ccall(
31448
+ "csp_systems_ExternalServicesOperationParams_Ctor",
31449
+ "void",
31450
+ ["number"],
31451
+ [_ptr],
31452
+ );
31453
+ var _nPtr = getNativePointer(_ptr);
31454
+
31455
+ return new ExternalServicesOperationParams(_nPtr);
31456
+ }
31457
+
31458
+ delete(): void {
31459
+ if (this.ownsPointer && !this.disposed) {
31460
+ Module.ccall(
31461
+ "csp_systems_ExternalServicesOperationParams_Dtor",
31462
+ "void",
31463
+ ["number"],
31464
+ [this.pointer],
31465
+ );
31466
+
31467
+ this.disposed = true;
31468
+ }
31469
+ }
31470
+
31471
+ get serviceName(): string {
31472
+ let _result = Module.ccall(
31473
+ "csp_systems_ExternalServicesOperationParams__Get_ServiceName",
31474
+ "string",
31475
+ ["number"],
31476
+ [this.pointer],
31477
+ );
31478
+
31479
+ return _result;
31480
+ }
31481
+
31482
+ set serviceName(value: string) {
31483
+ Module.ccall(
31484
+ "csp_systems_ExternalServicesOperationParams__Set_ServiceName",
31485
+ "void",
31486
+ ["number", "string"],
31487
+ [this.pointer, value],
31488
+ );
31489
+ }
31490
+
31491
+ get operationName(): string {
31492
+ let _result = Module.ccall(
31493
+ "csp_systems_ExternalServicesOperationParams__Get_OperationName",
31494
+ "string",
31495
+ ["number"],
31496
+ [this.pointer],
31497
+ );
31498
+
31499
+ return _result;
31500
+ }
31501
+
31502
+ set operationName(value: string) {
31503
+ Module.ccall(
31504
+ "csp_systems_ExternalServicesOperationParams__Set_OperationName",
31505
+ "void",
31506
+ ["number", "string"],
31507
+ [this.pointer, value],
31508
+ );
31509
+ }
31510
+
31511
+ get setHelp(): boolean {
31512
+ let _result = Module.ccall(
31513
+ "csp_systems_ExternalServicesOperationParams__Get_SetHelp",
31514
+ "boolean",
31515
+ ["number"],
31516
+ [this.pointer],
31517
+ );
31518
+
31519
+ return _result;
31520
+ }
31521
+
31522
+ set setHelp(value: boolean) {
31523
+ Module.ccall(
31524
+ "csp_systems_ExternalServicesOperationParams__Set_SetHelp",
31525
+ "void",
31526
+ ["number", "boolean"],
31527
+ [this.pointer, value],
31528
+ );
31529
+ }
31530
+
31531
+ get parameters(): Common.Map<string, string> {
31532
+ const _ptr = Module._malloc(8);
31533
+ Module.ccall(
31534
+ "csp_systems_ExternalServicesOperationParams__Get_Parameters",
31535
+ "void",
31536
+ ["number", "number"],
31537
+ [_ptr, this.pointer],
31538
+ );
31539
+
31540
+ const _nPtr = getNativePointer(_ptr);
31541
+ return new Common.Map<string, string>(
31542
+ _nPtr,
31543
+ StringFactory,
31544
+ "String",
31545
+ StringFactory,
31546
+ "String",
31547
+ );
31548
+ }
31549
+
31550
+ set parameters(value: Common.Map<string, string>) {
31551
+ Module.ccall(
31552
+ "csp_systems_ExternalServicesOperationParams__Set_Parameters",
31553
+ "void",
31554
+ ["number", "number"],
31555
+ [this.pointer, value.pointer],
31556
+ );
31557
+ }
31558
+ }
31559
+ }
31560
+
31561
+ export namespace Systems {
31562
+ /**
31563
+ * *******************************************************************************************************************
31564
+ * @description Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
31565
+ */
31566
+ export class AgoraUserTokenParams
31567
+ extends NativeClassWrapper
31568
+ implements INativeResource
31569
+ {
31570
+ /** @internal */
31571
+ constructor(pointer: NativePointer) {
31572
+ super(pointer);
31573
+ }
31574
+
31575
+ static create(): AgoraUserTokenParams {
31576
+ var _ptr = Module._malloc(8);
31577
+ Module.ccall(
31578
+ "csp_systems_AgoraUserTokenParams_Ctor",
31579
+ "void",
31580
+ ["number"],
31581
+ [_ptr],
31582
+ );
31583
+ var _nPtr = getNativePointer(_ptr);
31584
+
31585
+ return new AgoraUserTokenParams(_nPtr);
31586
+ }
31587
+
31588
+ delete(): void {
31589
+ if (this.ownsPointer && !this.disposed) {
31590
+ Module.ccall(
31591
+ "csp_systems_AgoraUserTokenParams_Dtor",
31592
+ "void",
31593
+ ["number"],
31594
+ [this.pointer],
31595
+ );
31596
+
31597
+ this.disposed = true;
31598
+ }
31599
+ }
31600
+
31601
+ get agoraUserId(): string {
31602
+ let _result = Module.ccall(
31603
+ "csp_systems_AgoraUserTokenParams__Get_AgoraUserId",
31604
+ "string",
31605
+ ["number"],
31606
+ [this.pointer],
31607
+ );
31608
+
31609
+ return _result;
31610
+ }
31611
+
31612
+ set agoraUserId(value: string) {
31613
+ Module.ccall(
31614
+ "csp_systems_AgoraUserTokenParams__Set_AgoraUserId",
31615
+ "void",
31616
+ ["number", "string"],
31617
+ [this.pointer, value],
31618
+ );
31619
+ }
31620
+
31621
+ get channelName(): string {
31622
+ let _result = Module.ccall(
31623
+ "csp_systems_AgoraUserTokenParams__Get_ChannelName",
31624
+ "string",
31625
+ ["number"],
31626
+ [this.pointer],
31627
+ );
31628
+
31629
+ return _result;
31630
+ }
31631
+
31632
+ set channelName(value: string) {
31633
+ Module.ccall(
31634
+ "csp_systems_AgoraUserTokenParams__Set_ChannelName",
31635
+ "void",
31636
+ ["number", "string"],
31637
+ [this.pointer, value],
31638
+ );
31639
+ }
31640
+
31641
+ get referenceId(): string {
31642
+ let _result = Module.ccall(
31643
+ "csp_systems_AgoraUserTokenParams__Get_ReferenceId",
31644
+ "string",
31645
+ ["number"],
31646
+ [this.pointer],
31647
+ );
31648
+
31649
+ return _result;
31650
+ }
31651
+
31652
+ set referenceId(value: string) {
31653
+ Module.ccall(
31654
+ "csp_systems_AgoraUserTokenParams__Set_ReferenceId",
31655
+ "void",
31656
+ ["number", "string"],
31657
+ [this.pointer, value],
31658
+ );
31659
+ }
31660
+
31661
+ get lifespan(): number {
31662
+ let _result = Module.ccall(
31663
+ "csp_systems_AgoraUserTokenParams__Get_Lifespan",
31664
+ "number",
31665
+ ["number"],
31666
+ [this.pointer],
31667
+ );
31668
+
31669
+ return _result;
31670
+ }
31671
+
31672
+ set lifespan(value: number) {
31673
+ Module.ccall(
31674
+ "csp_systems_AgoraUserTokenParams__Set_Lifespan",
31675
+ "void",
31676
+ ["number", "number"],
31677
+ [this.pointer, value],
31678
+ );
31679
+ }
31680
+
31681
+ get readOnly(): boolean {
31682
+ let _result = Module.ccall(
31683
+ "csp_systems_AgoraUserTokenParams__Get_ReadOnly",
31684
+ "boolean",
31685
+ ["number"],
31686
+ [this.pointer],
31687
+ );
31688
+
31689
+ return _result;
31690
+ }
31691
+
31692
+ set readOnly(value: boolean) {
31693
+ Module.ccall(
31694
+ "csp_systems_AgoraUserTokenParams__Set_ReadOnly",
31695
+ "void",
31696
+ ["number", "boolean"],
31697
+ [this.pointer, value],
31698
+ );
31699
+ }
31700
+
31701
+ get shareAudio(): boolean {
31702
+ let _result = Module.ccall(
31703
+ "csp_systems_AgoraUserTokenParams__Get_ShareAudio",
31704
+ "boolean",
31705
+ ["number"],
31706
+ [this.pointer],
31707
+ );
31708
+
31709
+ return _result;
31710
+ }
31711
+
31712
+ set shareAudio(value: boolean) {
31713
+ Module.ccall(
31714
+ "csp_systems_AgoraUserTokenParams__Set_ShareAudio",
31715
+ "void",
31716
+ ["number", "boolean"],
31717
+ [this.pointer, value],
31718
+ );
31719
+ }
31720
+
31721
+ get shareVideo(): boolean {
31722
+ let _result = Module.ccall(
31723
+ "csp_systems_AgoraUserTokenParams__Get_ShareVideo",
31724
+ "boolean",
31725
+ ["number"],
31726
+ [this.pointer],
31727
+ );
31728
+
31729
+ return _result;
31730
+ }
31731
+
31732
+ set shareVideo(value: boolean) {
31733
+ Module.ccall(
31734
+ "csp_systems_AgoraUserTokenParams__Set_ShareVideo",
31735
+ "void",
31736
+ ["number", "boolean"],
31737
+ [this.pointer, value],
31738
+ );
31739
+ }
31740
+
31741
+ get shareScreen(): boolean {
31742
+ let _result = Module.ccall(
31743
+ "csp_systems_AgoraUserTokenParams__Get_ShareScreen",
31744
+ "boolean",
31745
+ ["number"],
31746
+ [this.pointer],
31747
+ );
31748
+
31749
+ return _result;
31750
+ }
31751
+
31752
+ set shareScreen(value: boolean) {
31753
+ Module.ccall(
31754
+ "csp_systems_AgoraUserTokenParams__Set_ShareScreen",
31755
+ "void",
31756
+ ["number", "boolean"],
31757
+ [this.pointer, value],
31758
+ );
31759
+ }
31760
+ }
31761
+ }
31762
+
31320
31763
  export namespace Systems {
31321
31764
  /**
31322
31765
  @ingroup HotspotSequence System
@@ -33960,336 +34403,6 @@ export namespace Systems {
33960
34403
  }
33961
34404
  }
33962
34405
 
33963
- export namespace Systems {
33964
- /**
33965
- * @description Data structure for an Agora user token, giving userID, referenceID, channel name and settings regarding sharing of audio/video/screenshare.
33966
- */
33967
- export class AgoraUserTokenParams
33968
- extends NativeClassWrapper
33969
- implements INativeResource
33970
- {
33971
- /** @internal */
33972
- constructor(pointer: NativePointer) {
33973
- super(pointer);
33974
- }
33975
-
33976
- static create(): AgoraUserTokenParams {
33977
- var _ptr = Module._malloc(8);
33978
- Module.ccall(
33979
- "csp_systems_AgoraUserTokenParams_Ctor",
33980
- "void",
33981
- ["number"],
33982
- [_ptr],
33983
- );
33984
- var _nPtr = getNativePointer(_ptr);
33985
-
33986
- return new AgoraUserTokenParams(_nPtr);
33987
- }
33988
-
33989
- delete(): void {
33990
- if (this.ownsPointer && !this.disposed) {
33991
- Module.ccall(
33992
- "csp_systems_AgoraUserTokenParams_Dtor",
33993
- "void",
33994
- ["number"],
33995
- [this.pointer],
33996
- );
33997
-
33998
- this.disposed = true;
33999
- }
34000
- }
34001
-
34002
- get agoraUserId(): string {
34003
- let _result = Module.ccall(
34004
- "csp_systems_AgoraUserTokenParams__Get_AgoraUserId",
34005
- "string",
34006
- ["number"],
34007
- [this.pointer],
34008
- );
34009
-
34010
- return _result;
34011
- }
34012
-
34013
- set agoraUserId(value: string) {
34014
- Module.ccall(
34015
- "csp_systems_AgoraUserTokenParams__Set_AgoraUserId",
34016
- "void",
34017
- ["number", "string"],
34018
- [this.pointer, value],
34019
- );
34020
- }
34021
-
34022
- get channelName(): string {
34023
- let _result = Module.ccall(
34024
- "csp_systems_AgoraUserTokenParams__Get_ChannelName",
34025
- "string",
34026
- ["number"],
34027
- [this.pointer],
34028
- );
34029
-
34030
- return _result;
34031
- }
34032
-
34033
- set channelName(value: string) {
34034
- Module.ccall(
34035
- "csp_systems_AgoraUserTokenParams__Set_ChannelName",
34036
- "void",
34037
- ["number", "string"],
34038
- [this.pointer, value],
34039
- );
34040
- }
34041
-
34042
- get referenceId(): string {
34043
- let _result = Module.ccall(
34044
- "csp_systems_AgoraUserTokenParams__Get_ReferenceId",
34045
- "string",
34046
- ["number"],
34047
- [this.pointer],
34048
- );
34049
-
34050
- return _result;
34051
- }
34052
-
34053
- set referenceId(value: string) {
34054
- Module.ccall(
34055
- "csp_systems_AgoraUserTokenParams__Set_ReferenceId",
34056
- "void",
34057
- ["number", "string"],
34058
- [this.pointer, value],
34059
- );
34060
- }
34061
-
34062
- get lifespan(): number {
34063
- let _result = Module.ccall(
34064
- "csp_systems_AgoraUserTokenParams__Get_Lifespan",
34065
- "number",
34066
- ["number"],
34067
- [this.pointer],
34068
- );
34069
-
34070
- return _result;
34071
- }
34072
-
34073
- set lifespan(value: number) {
34074
- Module.ccall(
34075
- "csp_systems_AgoraUserTokenParams__Set_Lifespan",
34076
- "void",
34077
- ["number", "number"],
34078
- [this.pointer, value],
34079
- );
34080
- }
34081
-
34082
- get readOnly(): boolean {
34083
- let _result = Module.ccall(
34084
- "csp_systems_AgoraUserTokenParams__Get_ReadOnly",
34085
- "boolean",
34086
- ["number"],
34087
- [this.pointer],
34088
- );
34089
-
34090
- return _result;
34091
- }
34092
-
34093
- set readOnly(value: boolean) {
34094
- Module.ccall(
34095
- "csp_systems_AgoraUserTokenParams__Set_ReadOnly",
34096
- "void",
34097
- ["number", "boolean"],
34098
- [this.pointer, value],
34099
- );
34100
- }
34101
-
34102
- get shareAudio(): boolean {
34103
- let _result = Module.ccall(
34104
- "csp_systems_AgoraUserTokenParams__Get_ShareAudio",
34105
- "boolean",
34106
- ["number"],
34107
- [this.pointer],
34108
- );
34109
-
34110
- return _result;
34111
- }
34112
-
34113
- set shareAudio(value: boolean) {
34114
- Module.ccall(
34115
- "csp_systems_AgoraUserTokenParams__Set_ShareAudio",
34116
- "void",
34117
- ["number", "boolean"],
34118
- [this.pointer, value],
34119
- );
34120
- }
34121
-
34122
- get shareVideo(): boolean {
34123
- let _result = Module.ccall(
34124
- "csp_systems_AgoraUserTokenParams__Get_ShareVideo",
34125
- "boolean",
34126
- ["number"],
34127
- [this.pointer],
34128
- );
34129
-
34130
- return _result;
34131
- }
34132
-
34133
- set shareVideo(value: boolean) {
34134
- Module.ccall(
34135
- "csp_systems_AgoraUserTokenParams__Set_ShareVideo",
34136
- "void",
34137
- ["number", "boolean"],
34138
- [this.pointer, value],
34139
- );
34140
- }
34141
-
34142
- get shareScreen(): boolean {
34143
- let _result = Module.ccall(
34144
- "csp_systems_AgoraUserTokenParams__Get_ShareScreen",
34145
- "boolean",
34146
- ["number"],
34147
- [this.pointer],
34148
- );
34149
-
34150
- return _result;
34151
- }
34152
-
34153
- set shareScreen(value: boolean) {
34154
- Module.ccall(
34155
- "csp_systems_AgoraUserTokenParams__Set_ShareScreen",
34156
- "void",
34157
- ["number", "boolean"],
34158
- [this.pointer, value],
34159
- );
34160
- }
34161
- }
34162
- }
34163
-
34164
- export namespace Systems {
34165
- /**
34166
- * @description Data structure for a custom service proxy posting, giving service name, operation name, set help and parameters
34167
- */
34168
- export class TokenInfoParams
34169
- extends NativeClassWrapper
34170
- implements INativeResource
34171
- {
34172
- /** @internal */
34173
- constructor(pointer: NativePointer) {
34174
- super(pointer);
34175
- }
34176
-
34177
- static create(): TokenInfoParams {
34178
- var _ptr = Module._malloc(8);
34179
- Module.ccall(
34180
- "csp_systems_TokenInfoParams_Ctor",
34181
- "void",
34182
- ["number"],
34183
- [_ptr],
34184
- );
34185
- var _nPtr = getNativePointer(_ptr);
34186
-
34187
- return new TokenInfoParams(_nPtr);
34188
- }
34189
-
34190
- delete(): void {
34191
- if (this.ownsPointer && !this.disposed) {
34192
- Module.ccall(
34193
- "csp_systems_TokenInfoParams_Dtor",
34194
- "void",
34195
- ["number"],
34196
- [this.pointer],
34197
- );
34198
-
34199
- this.disposed = true;
34200
- }
34201
- }
34202
-
34203
- get serviceName(): string {
34204
- let _result = Module.ccall(
34205
- "csp_systems_TokenInfoParams__Get_ServiceName",
34206
- "string",
34207
- ["number"],
34208
- [this.pointer],
34209
- );
34210
-
34211
- return _result;
34212
- }
34213
-
34214
- set serviceName(value: string) {
34215
- Module.ccall(
34216
- "csp_systems_TokenInfoParams__Set_ServiceName",
34217
- "void",
34218
- ["number", "string"],
34219
- [this.pointer, value],
34220
- );
34221
- }
34222
-
34223
- get operationName(): string {
34224
- let _result = Module.ccall(
34225
- "csp_systems_TokenInfoParams__Get_OperationName",
34226
- "string",
34227
- ["number"],
34228
- [this.pointer],
34229
- );
34230
-
34231
- return _result;
34232
- }
34233
-
34234
- set operationName(value: string) {
34235
- Module.ccall(
34236
- "csp_systems_TokenInfoParams__Set_OperationName",
34237
- "void",
34238
- ["number", "string"],
34239
- [this.pointer, value],
34240
- );
34241
- }
34242
-
34243
- get setHelp(): boolean {
34244
- let _result = Module.ccall(
34245
- "csp_systems_TokenInfoParams__Get_SetHelp",
34246
- "boolean",
34247
- ["number"],
34248
- [this.pointer],
34249
- );
34250
-
34251
- return _result;
34252
- }
34253
-
34254
- set setHelp(value: boolean) {
34255
- Module.ccall(
34256
- "csp_systems_TokenInfoParams__Set_SetHelp",
34257
- "void",
34258
- ["number", "boolean"],
34259
- [this.pointer, value],
34260
- );
34261
- }
34262
-
34263
- get parameters(): Common.Map<string, string> {
34264
- const _ptr = Module._malloc(8);
34265
- Module.ccall(
34266
- "csp_systems_TokenInfoParams__Get_Parameters",
34267
- "void",
34268
- ["number", "number"],
34269
- [_ptr, this.pointer],
34270
- );
34271
-
34272
- const _nPtr = getNativePointer(_ptr);
34273
- return new Common.Map<string, string>(
34274
- _nPtr,
34275
- StringFactory,
34276
- "String",
34277
- StringFactory,
34278
- "String",
34279
- );
34280
- }
34281
-
34282
- set parameters(value: Common.Map<string, string>) {
34283
- Module.ccall(
34284
- "csp_systems_TokenInfoParams__Set_Parameters",
34285
- "void",
34286
- ["number", "number"],
34287
- [this.pointer, value.pointer],
34288
- );
34289
- }
34290
- }
34291
- }
34292
-
34293
34406
  export namespace Systems {
34294
34407
  /**
34295
34408
  * @description Data structure for overrides to the default token options
@@ -36432,6 +36545,193 @@ export namespace Multiplayer {
36432
36545
  }
36433
36546
  }
36434
36547
 
36548
+ export namespace Multiplayer {
36549
+ export class AIChatbotSpaceComponent
36550
+ extends Multiplayer.ComponentBase
36551
+ implements Multiplayer.IPositionComponent, INativeResource
36552
+ {
36553
+ /** @internal */
36554
+ constructor(pointer: NativePointer) {
36555
+ super(pointer);
36556
+ }
36557
+
36558
+ static fromComponentBase(
36559
+ baseInstance: Multiplayer.ComponentBase,
36560
+ ): Multiplayer.AIChatbotSpaceComponent {
36561
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
36562
+ return new Multiplayer.AIChatbotSpaceComponent(
36563
+ new NativePointer(
36564
+ nativeClassWrapper.pointer,
36565
+ nativeClassWrapper.ownsPointer,
36566
+ ),
36567
+ );
36568
+ }
36569
+
36570
+ static create_logSystem_parent(
36571
+ logSystem: Common.LogSystem,
36572
+ parent: Multiplayer.SpaceEntity,
36573
+ ): AIChatbotSpaceComponent {
36574
+ var _ptr = Module._malloc(8);
36575
+ Module.ccall(
36576
+ "csp_multiplayer_AIChatbotSpaceComponent_Ctor_LogSystemP_SpaceEntityP",
36577
+ "void",
36578
+ ["number", "number", "number"],
36579
+ [_ptr, logSystem.pointer, parent.pointer],
36580
+ );
36581
+ var _nPtr = getNativePointer(_ptr);
36582
+
36583
+ return new AIChatbotSpaceComponent(_nPtr);
36584
+ }
36585
+
36586
+ /**
36587
+ * @description Gets the voice name of the TTS model associated with this AI chatbot.
36588
+ * @return The name of the TTS voice associated with this AI chatbot.
36589
+ */
36590
+
36591
+ getVoice(): string {
36592
+ let _result = Module.ccall(
36593
+ "csp_multiplayer_AIChatbotSpaceComponent_GetVoiceC_StringRC",
36594
+ "number",
36595
+ ["number"],
36596
+ [this.pointer],
36597
+ );
36598
+
36599
+ const _resultString = Module.UTF8ToString(_result);
36600
+ free(_result);
36601
+
36602
+ _result = _resultString;
36603
+
36604
+ return _result;
36605
+ }
36606
+
36607
+ /**
36608
+ * @description Sets the voice name of the TTS model associated with this AI chatbot.
36609
+ * @param value - The name of the TTS voice associated with this AI chatbot.
36610
+ */
36611
+
36612
+ setVoice(value: string): void {
36613
+ Module.ccall(
36614
+ "csp_multiplayer_AIChatbotSpaceComponent_SetVoice_void_StringRC",
36615
+ "void",
36616
+ ["number", "string"],
36617
+ [this.pointer, value],
36618
+ );
36619
+ }
36620
+
36621
+ /**
36622
+ * @description Gets the ID of the guardrail asset associated with this AI chatbot.
36623
+ * @return The ID of the guardrail asset collection associated with this AI chatbot.
36624
+ */
36625
+
36626
+ getGuardrailAssetCollectionId(): string {
36627
+ let _result = Module.ccall(
36628
+ "csp_multiplayer_AIChatbotSpaceComponent_GetGuardrailAssetCollectionIdC_StringRC",
36629
+ "number",
36630
+ ["number"],
36631
+ [this.pointer],
36632
+ );
36633
+
36634
+ const _resultString = Module.UTF8ToString(_result);
36635
+ free(_result);
36636
+
36637
+ _result = _resultString;
36638
+
36639
+ return _result;
36640
+ }
36641
+
36642
+ /**
36643
+ * @description Sets the ID of the guardrail asset associated with this AI chatbot.
36644
+ * @param value - The ID of the guardrail asset collection associated with this AI chatbot.
36645
+ */
36646
+
36647
+ setGuardrailAssetCollectionId(value: string): void {
36648
+ Module.ccall(
36649
+ "csp_multiplayer_AIChatbotSpaceComponent_SetGuardrailAssetCollectionId_void_StringRC",
36650
+ "void",
36651
+ ["number", "string"],
36652
+ [this.pointer, value],
36653
+ );
36654
+ }
36655
+
36656
+ /**
36657
+ * @description Retrieves the visual state of the AI chatbot for this component.
36658
+ * @return The visual state of the AI chatbot.
36659
+ */
36660
+
36661
+ getVisualState(): Multiplayer.AIChatbotVisualState {
36662
+ let _result = Module.ccall(
36663
+ "csp_multiplayer_AIChatbotSpaceComponent_GetVisualStateC_AIChatbotVisualState",
36664
+ "number",
36665
+ ["number"],
36666
+ [this.pointer],
36667
+ );
36668
+
36669
+ return _result;
36670
+ }
36671
+
36672
+ /**
36673
+ * @description Sets the visual state of the AI chatbot for this component.
36674
+ * @param value - The visual state of the AI chatbot.
36675
+ */
36676
+
36677
+ setVisualState(value: Multiplayer.AIChatbotVisualState): void {
36678
+ Module.ccall(
36679
+ "csp_multiplayer_AIChatbotSpaceComponent_SetVisualState_void_AIChatbotVisualState",
36680
+ "void",
36681
+ ["number", "number"],
36682
+ [this.pointer, value],
36683
+ );
36684
+ }
36685
+
36686
+ /**
36687
+ * \addtogroup IPositionComponent
36688
+ @{
36689
+ @copydoc IPositionComponent::GetPosition()
36690
+ */
36691
+
36692
+ getPosition(): Common.Vector3 {
36693
+ var _ret = Module._malloc(8);
36694
+
36695
+ Module.ccall(
36696
+ "csp_multiplayer_AIChatbotSpaceComponent_GetPositionC_Vector3RC",
36697
+ "void",
36698
+ ["number", "number"],
36699
+ [_ret, this.pointer],
36700
+ );
36701
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
36702
+ Module._free(_ret);
36703
+
36704
+ return _nPtr;
36705
+ }
36706
+
36707
+ /**
36708
+ @copydoc IPositionComponent::SetPosition()
36709
+ */
36710
+
36711
+ setPosition(value: Common.Vector3): void {
36712
+ Module.ccall(
36713
+ "csp_multiplayer_AIChatbotSpaceComponent_SetPosition_void_Vector3RC",
36714
+ "void",
36715
+ ["number", "number"],
36716
+ [this.pointer, value.pointer],
36717
+ );
36718
+ }
36719
+
36720
+ delete(): void {
36721
+ if (this.ownsPointer && !this.disposed) {
36722
+ Module.ccall(
36723
+ "csp_multiplayer_AIChatbotSpaceComponent_Dtor",
36724
+ "void",
36725
+ ["number"],
36726
+ [this.pointer],
36727
+ );
36728
+
36729
+ this.disposed = true;
36730
+ }
36731
+ }
36732
+ }
36733
+ }
36734
+
36435
36735
  export namespace Multiplayer {
36436
36736
  /**
36437
36737
  @ingroup AnimatedModelSpaceComponent
@@ -41992,7 +42292,7 @@ export namespace Multiplayer {
41992
42292
  }
41993
42293
 
41994
42294
  /**
41995
- * @description Sets the type of fog currently to be used by this fog component.
42295
+ * @description Sets the type of fog to be used by this fog component.
41996
42296
  * @param value - The modality of fog to be used by this component.
41997
42297
  */
41998
42298
 
@@ -42136,10 +42436,9 @@ export namespace Multiplayer {
42136
42436
 
42137
42437
  /**
42138
42438
  @}
42139
- * @description Get start sistance
42140
- * Note: Distance from camera that the fog will start.
42141
- * Note: 0 = this property has no effect.
42142
- * @return Current start distance
42439
+ * @description Gets start distance.
42440
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
42441
+ * @return Current start distance.
42143
42442
  */
42144
42443
 
42145
42444
  getStartDistance(): number {
@@ -42154,10 +42453,9 @@ export namespace Multiplayer {
42154
42453
  }
42155
42454
 
42156
42455
  /**
42157
- * @description Set Current start distance
42158
- * Note: Distance from camera that the fog will start.
42159
- * Note: 0 = this property has no effect.
42160
- * @param value - Current start distance
42456
+ * @description Sets start distance.
42457
+ * NOTE: Distance from camera that the fog will start. 0 = this property has no effect.
42458
+ * @param value - Start distance.
42161
42459
  */
42162
42460
 
42163
42461
  setStartDistance(value: number): void {
@@ -42173,10 +42471,9 @@ export namespace Multiplayer {
42173
42471
  }
42174
42472
 
42175
42473
  /**
42176
- * @description Get Current end distance
42177
- * Note: objects passed this distance will not be affected by fog.
42178
- * Note: 0 = this property has no effect.
42179
- * @return Current end distance
42474
+ * @description Gets end distance.
42475
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
42476
+ * @return Current end distance.
42180
42477
  */
42181
42478
 
42182
42479
  getEndDistance(): number {
@@ -42191,10 +42488,9 @@ export namespace Multiplayer {
42191
42488
  }
42192
42489
 
42193
42490
  /**
42194
- * @description Set Current end distance
42195
- * Note: objects passed this distance will not be affected by fog.
42196
- * Note: 0 = this property has no effect.
42197
- * @param value - Current end distance
42491
+ * @description Sets end distance.
42492
+ * NOTE: Objects passed this distance will not be affected by fog. 0 = this property has no effect.
42493
+ * @param value - End distance.
42198
42494
  */
42199
42495
 
42200
42496
  setEndDistance(value: number): void {
@@ -42210,8 +42506,8 @@ export namespace Multiplayer {
42210
42506
  }
42211
42507
 
42212
42508
  /**
42213
- * @description Get fog color
42214
- * @return Current fog color
42509
+ * @description Gets fog color.
42510
+ * @return Current fog color.
42215
42511
  */
42216
42512
 
42217
42513
  getColor(): Common.Vector3 {
@@ -42230,8 +42526,8 @@ export namespace Multiplayer {
42230
42526
  }
42231
42527
 
42232
42528
  /**
42233
- * @description Set Current fog color
42234
- * @param value - Current fog color
42529
+ * @description Sets fog color.
42530
+ * @param value - Fog color.
42235
42531
  */
42236
42532
 
42237
42533
  setColor(value: Common.Vector3): void {
@@ -42244,9 +42540,8 @@ export namespace Multiplayer {
42244
42540
  }
42245
42541
 
42246
42542
  /**
42247
- * @description Get Global density factor
42248
- * Note: Global density factor
42249
- * @return Current Global density factor
42543
+ * @description Gets global density factor.
42544
+ * @return Current global density factor.
42250
42545
  */
42251
42546
 
42252
42547
  getDensity(): number {
@@ -42261,9 +42556,8 @@ export namespace Multiplayer {
42261
42556
  }
42262
42557
 
42263
42558
  /**
42264
- * @description Set Global density factor
42265
- * Note: Global density factor
42266
- * @param value - Global density factor
42559
+ * @description Sets global density factor.
42560
+ * @param value - Global density factor.
42267
42561
  */
42268
42562
 
42269
42563
  setDensity(value: number): void {
@@ -42279,9 +42573,9 @@ export namespace Multiplayer {
42279
42573
  }
42280
42574
 
42281
42575
  /**
42282
- * @description Get Height density factor
42283
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
42284
- * @return Current Height density factor
42576
+ * @description Gets Height density factor.
42577
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
42578
+ * @return Current height density factor.
42285
42579
  */
42286
42580
 
42287
42581
  getHeightFalloff(): number {
@@ -42296,9 +42590,9 @@ export namespace Multiplayer {
42296
42590
  }
42297
42591
 
42298
42592
  /**
42299
- * @description Set Height density factor
42300
- * Note: Height density factor, controls how the density increases and height decreases. Smaller values make the visible transition larger.
42301
- * @param value - Height density factor
42593
+ * @description Sets Height density factor.
42594
+ * NOTE: Controls how the density increases and height decreases. Smaller values make the visible transition larger.
42595
+ * @param value - Height density factor.
42302
42596
  */
42303
42597
 
42304
42598
  setHeightFalloff(value: number): void {
@@ -42314,11 +42608,9 @@ export namespace Multiplayer {
42314
42608
  }
42315
42609
 
42316
42610
  /**
42317
- * @description Get Maximum opacity of the Fog.
42318
- * Maximum opacity of the Fog.
42319
- * Note: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely.
42320
- * Note: 0 = fog colour will have no impact.
42321
- * @return Current Maximum opacity of the Fog
42611
+ * @description Gets maximum opacity of the fog.
42612
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
42613
+ * @return Current maximum opacity.
42322
42614
  */
42323
42615
 
42324
42616
  getMaxOpacity(): number {
@@ -42333,8 +42625,9 @@ export namespace Multiplayer {
42333
42625
  }
42334
42626
 
42335
42627
  /**
42336
- * @description Set Maximum opacity of the Fog.
42337
- * @param value - Maximum opacity of the Fog.
42628
+ * @description Sets maximum opacity of the fog.
42629
+ * NOTE: 1 = fog becomes fully opaque at a distance and replaces the scene colour completely. 0 = fog colour will have no impact.
42630
+ * @param value - Maximum opacity of the fog.
42338
42631
  */
42339
42632
 
42340
42633
  setMaxOpacity(value: number): void {
@@ -42350,8 +42643,8 @@ export namespace Multiplayer {
42350
42643
  }
42351
42644
 
42352
42645
  /**
42353
- * @description Get Is Fog Volumetric.
42354
- * @param value - Fog Volumetric Flag
42646
+ * @description Gets IsFogVolumetric.
42647
+ * @return Current fog volumetric flag.
42355
42648
  */
42356
42649
 
42357
42650
  getIsVolumetric(): boolean {
@@ -42366,8 +42659,8 @@ export namespace Multiplayer {
42366
42659
  }
42367
42660
 
42368
42661
  /**
42369
- * @description Set Is Fog Volumetric
42370
- * @param value - Is Fog Volumetric Flag
42662
+ * @description Sets IsFogVolumetric.
42663
+ * @param value - Fog Volumetric Flag.
42371
42664
  */
42372
42665
 
42373
42666
  setIsVolumetric(value: boolean): void {
@@ -49314,6 +49607,47 @@ export namespace Systems {
49314
49607
  }
49315
49608
  }
49316
49609
 
49610
+ export namespace Systems {
49611
+ /**
49612
+ @ingroup Asset System
49613
+ * @description Data class used to process and represent information relating to copied asset collections.
49614
+ */
49615
+ export class AssetCollectionsCopyResult
49616
+ extends Systems.AssetCollectionsResult
49617
+ implements INativeResource
49618
+ {
49619
+ /** @internal */
49620
+ constructor(pointer: NativePointer) {
49621
+ super(pointer);
49622
+ }
49623
+
49624
+ static fromAssetCollectionsResult(
49625
+ baseInstance: Systems.AssetCollectionsResult,
49626
+ ): Systems.AssetCollectionsCopyResult {
49627
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
49628
+ return new Systems.AssetCollectionsCopyResult(
49629
+ new NativePointer(
49630
+ nativeClassWrapper.pointer,
49631
+ nativeClassWrapper.ownsPointer,
49632
+ ),
49633
+ );
49634
+ }
49635
+
49636
+ delete(): void {
49637
+ if (this.ownsPointer && !this.disposed) {
49638
+ Module.ccall(
49639
+ "csp_systems_AssetCollectionsCopyResult_Dtor",
49640
+ "void",
49641
+ ["number"],
49642
+ [this.pointer],
49643
+ );
49644
+
49645
+ this.disposed = true;
49646
+ }
49647
+ }
49648
+ }
49649
+ }
49650
+
49317
49651
  export namespace Systems {
49318
49652
  /**
49319
49653
  @ingroup Asset System
@@ -53249,6 +53583,200 @@ export namespace Systems {
53249
53583
  }
53250
53584
  }
53251
53585
 
53586
+ export namespace Systems {
53587
+ /**
53588
+ * @description Data class used to contain information relating to invocations via the external service proxy system.
53589
+ */
53590
+ export class ExternalServiceInvocationResult
53591
+ extends Systems.StringResult
53592
+ implements INativeResource
53593
+ {
53594
+ /** @internal */
53595
+ constructor(pointer: NativePointer) {
53596
+ super(pointer);
53597
+ }
53598
+
53599
+ static fromStringResult(
53600
+ baseInstance: Systems.StringResult,
53601
+ ): Systems.ExternalServiceInvocationResult {
53602
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
53603
+ return new Systems.ExternalServiceInvocationResult(
53604
+ new NativePointer(
53605
+ nativeClassWrapper.pointer,
53606
+ nativeClassWrapper.ownsPointer,
53607
+ ),
53608
+ );
53609
+ }
53610
+
53611
+ delete(): void {
53612
+ if (this.ownsPointer && !this.disposed) {
53613
+ Module.ccall(
53614
+ "csp_systems_ExternalServiceInvocationResult_Dtor",
53615
+ "void",
53616
+ ["number"],
53617
+ [this.pointer],
53618
+ );
53619
+
53620
+ this.disposed = true;
53621
+ }
53622
+ }
53623
+ }
53624
+ }
53625
+
53626
+ export namespace Systems {
53627
+ /**
53628
+ * @description A specialisation of the result data class that handles respnses from the external service proxy system.
53629
+ */
53630
+ export class GetAgoraTokenResult
53631
+ extends Systems.ExternalServiceInvocationResult
53632
+ implements INativeResource
53633
+ {
53634
+ /** @internal */
53635
+ constructor(pointer: NativePointer) {
53636
+ super(pointer);
53637
+ }
53638
+
53639
+ static fromExternalServiceInvocationResult(
53640
+ baseInstance: Systems.ExternalServiceInvocationResult,
53641
+ ): Systems.GetAgoraTokenResult {
53642
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
53643
+ return new Systems.GetAgoraTokenResult(
53644
+ new NativePointer(
53645
+ nativeClassWrapper.pointer,
53646
+ nativeClassWrapper.ownsPointer,
53647
+ ),
53648
+ );
53649
+ }
53650
+
53651
+ delete(): void {
53652
+ if (this.ownsPointer && !this.disposed) {
53653
+ Module.ccall(
53654
+ "csp_systems_GetAgoraTokenResult_Dtor",
53655
+ "void",
53656
+ ["number"],
53657
+ [this.pointer],
53658
+ );
53659
+
53660
+ this.disposed = true;
53661
+ }
53662
+ }
53663
+ }
53664
+ }
53665
+
53666
+ export namespace Systems {
53667
+ /**
53668
+ * *******************************************************************************************************************
53669
+ @ingroup External Service Proxy System
53670
+ * @description Public facing system that allows client applications to interact with
53671
+ * backend services acting as a proxy for some other set of services.
53672
+ * /// In situations where a CSP client application needs secure access to some other set of third-party
53673
+ * services (like AI, VOIP, ECommerce etc), this system can be particularly helpful,
53674
+ * as it enables services that CSP interfaces with to own the responsibility of distributing secure tokens to those platforms.
53675
+ */
53676
+ export class ExternalServiceProxySystem extends Systems.SystemBase {
53677
+ /** @internal */
53678
+ constructor(pointer: NativePointer) {
53679
+ super(pointer);
53680
+ }
53681
+
53682
+ static fromSystemBase(
53683
+ baseInstance: Systems.SystemBase,
53684
+ ): Systems.ExternalServiceProxySystem {
53685
+ const nativeClassWrapper = baseInstance as unknown as NativeClassWrapper;
53686
+ return new Systems.ExternalServiceProxySystem(
53687
+ new NativePointer(
53688
+ nativeClassWrapper.pointer,
53689
+ nativeClassWrapper.ownsPointer,
53690
+ ),
53691
+ );
53692
+ }
53693
+
53694
+ /**
53695
+ * @description Generic function which will make a post request to the services proxy endpoint to trigger some specified operation of specified
53696
+ * service. The nature of the operation and what is returned is entirely dependent on the service and operation name provided.
53697
+ * @param params - Params to specify service, operation, set help and parameters.
53698
+ * @param callback - Callback to call when a response is received.
53699
+ */
53700
+
53701
+ async invokeOperation(
53702
+ params: Systems.ExternalServicesOperationParams,
53703
+ ): Promise<Systems.StringResult> {
53704
+ var _resolve;
53705
+
53706
+ var _promise = new Promise<Systems.StringResult>((_r) => {
53707
+ _resolve = _r;
53708
+ });
53709
+
53710
+ var _callbackPtr: number;
53711
+ var _callback = (_stateObject__: number, result) => {
53712
+ var _resultPtr = getNativePointer(result);
53713
+ var _resultInstance = new Systems.StringResult(_resultPtr);
53714
+
53715
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
53716
+ return;
53717
+ }
53718
+
53719
+ _resolve(_resultInstance);
53720
+
53721
+ Module.removeFunction(_callbackPtr);
53722
+ };
53723
+
53724
+ _callbackPtr = Module.addFunction(_callback, "vii");
53725
+
53726
+ Module.ccall(
53727
+ "csp_systems_ExternalServiceProxySystem_InvokeOperation_void_ExternalServicesOperationParamsRC_StringResultCallback",
53728
+ "void",
53729
+ ["number", "number", "number", "number"],
53730
+ [this.pointer, params.pointer, _callbackPtr, 0],
53731
+ );
53732
+
53733
+ return _promise;
53734
+ }
53735
+
53736
+ /**
53737
+ * @description Specialised utility function which executes a post call to the external services proxy, specifically to retrieve Agora user token
53738
+ * credentials. A good example for how client applications may wish to use PostServiceProxy.
53739
+ * @param params - Params to configure the User token.
53740
+ * @param callback - Callback to call when a response is received.
53741
+ */
53742
+
53743
+ async getAgoraUserToken(
53744
+ params: Systems.AgoraUserTokenParams,
53745
+ ): Promise<Systems.StringResult> {
53746
+ var _resolve;
53747
+
53748
+ var _promise = new Promise<Systems.StringResult>((_r) => {
53749
+ _resolve = _r;
53750
+ });
53751
+
53752
+ var _callbackPtr: number;
53753
+ var _callback = (_stateObject__: number, result) => {
53754
+ var _resultPtr = getNativePointer(result);
53755
+ var _resultInstance = new Systems.StringResult(_resultPtr);
53756
+
53757
+ if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
53758
+ return;
53759
+ }
53760
+
53761
+ _resolve(_resultInstance);
53762
+
53763
+ Module.removeFunction(_callbackPtr);
53764
+ };
53765
+
53766
+ _callbackPtr = Module.addFunction(_callback, "vii");
53767
+
53768
+ Module.ccall(
53769
+ "csp_systems_ExternalServiceProxySystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback",
53770
+ "void",
53771
+ ["number", "number", "number", "number"],
53772
+ [this.pointer, params.pointer, _callbackPtr, 0],
53773
+ );
53774
+
53775
+ return _promise;
53776
+ }
53777
+ }
53778
+ }
53779
+
53252
53780
  export namespace Systems {
53253
53781
  /**
53254
53782
  @ingroup GraphQL System
@@ -61970,88 +62498,6 @@ export namespace Systems {
61970
62498
  return _promise;
61971
62499
  }
61972
62500
 
61973
- /**
61974
- * @description Retrieve User token from Agora
61975
- * @param params - Params to configure the User token
61976
- * @param callback - Callback to call when a response is received
61977
- */
61978
-
61979
- async getAgoraUserToken(
61980
- params: Systems.AgoraUserTokenParams,
61981
- ): Promise<Systems.StringResult> {
61982
- var _resolve;
61983
-
61984
- var _promise = new Promise<Systems.StringResult>((_r) => {
61985
- _resolve = _r;
61986
- });
61987
-
61988
- var _callbackPtr: number;
61989
- var _callback = (_stateObject__: number, result) => {
61990
- var _resultPtr = getNativePointer(result);
61991
- var _resultInstance = new Systems.StringResult(_resultPtr);
61992
-
61993
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
61994
- return;
61995
- }
61996
-
61997
- _resolve(_resultInstance);
61998
-
61999
- Module.removeFunction(_callbackPtr);
62000
- };
62001
-
62002
- _callbackPtr = Module.addFunction(_callback, "vii");
62003
-
62004
- Module.ccall(
62005
- "csp_systems_UserSystem_GetAgoraUserToken_void_AgoraUserTokenParamsRC_StringResultCallback",
62006
- "void",
62007
- ["number", "number", "number", "number"],
62008
- [this.pointer, params.pointer, _callbackPtr, 0],
62009
- );
62010
-
62011
- return _promise;
62012
- }
62013
-
62014
- /**
62015
- * @description Post Service Proxy to perform specified operation of specified service
62016
- * @param params - Params to specify service, operation, set help and parameters
62017
- * @param callback - Callback to call when a response is received
62018
- */
62019
-
62020
- async postServiceProxy(
62021
- params: Systems.TokenInfoParams,
62022
- ): Promise<Systems.StringResult> {
62023
- var _resolve;
62024
-
62025
- var _promise = new Promise<Systems.StringResult>((_r) => {
62026
- _resolve = _r;
62027
- });
62028
-
62029
- var _callbackPtr: number;
62030
- var _callback = (_stateObject__: number, result) => {
62031
- var _resultPtr = getNativePointer(result);
62032
- var _resultInstance = new Systems.StringResult(_resultPtr);
62033
-
62034
- if (_resultInstance.getResultCode() == Systems.EResultCode.InProgress) {
62035
- return;
62036
- }
62037
-
62038
- _resolve(_resultInstance);
62039
-
62040
- Module.removeFunction(_callbackPtr);
62041
- };
62042
-
62043
- _callbackPtr = Module.addFunction(_callback, "vii");
62044
-
62045
- Module.ccall(
62046
- "csp_systems_UserSystem_PostServiceProxy_void_TokenInfoParamsRC_StringResultCallback",
62047
- "void",
62048
- ["number", "number", "number", "number"],
62049
- [this.pointer, params.pointer, _callbackPtr, 0],
62050
- );
62051
-
62052
- return _promise;
62053
- }
62054
-
62055
62501
  /**
62056
62502
  * @description Re-send user verification email
62057
62503
  * @param inEmail - User's email address