connected-spaces-platform.web 6.0.0 → 6.2.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 +128 -36
- 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 +439 -123
- package/connectedspacesplatform.js +605 -219
- package/connectedspacesplatform.js.map +1 -1
- package/connectedspacesplatform.ts +1143 -335
- package/package.json +1 -1
|
@@ -288,6 +288,16 @@ function csp_web_EResponseCodesFactory(nativePointer) {
|
|
|
288
288
|
return nativePointer.pointer;
|
|
289
289
|
}
|
|
290
290
|
ProxyClassFactories["csp_web_EResponseCodes"] = csp_web_EResponseCodesFactory;
|
|
291
|
+
function csp_multiplayer_AvatarStateFactory(nativePointer) {
|
|
292
|
+
return nativePointer.pointer;
|
|
293
|
+
}
|
|
294
|
+
ProxyClassFactories["csp_multiplayer_AvatarState"] =
|
|
295
|
+
csp_multiplayer_AvatarStateFactory;
|
|
296
|
+
function csp_multiplayer_AvatarPlayModeFactory(nativePointer) {
|
|
297
|
+
return nativePointer.pointer;
|
|
298
|
+
}
|
|
299
|
+
ProxyClassFactories["csp_multiplayer_AvatarPlayMode"] =
|
|
300
|
+
csp_multiplayer_AvatarPlayModeFactory;
|
|
291
301
|
function csp_multiplayer_ErrorCodeFactory(nativePointer) {
|
|
292
302
|
return nativePointer.pointer;
|
|
293
303
|
}
|
|
@@ -380,16 +390,6 @@ function csp_multiplayer_AudioPropertyKeysFactory(nativePointer) {
|
|
|
380
390
|
}
|
|
381
391
|
ProxyClassFactories["csp_multiplayer_AudioPropertyKeys"] =
|
|
382
392
|
csp_multiplayer_AudioPropertyKeysFactory;
|
|
383
|
-
function csp_multiplayer_AvatarStateFactory(nativePointer) {
|
|
384
|
-
return nativePointer.pointer;
|
|
385
|
-
}
|
|
386
|
-
ProxyClassFactories["csp_multiplayer_AvatarState"] =
|
|
387
|
-
csp_multiplayer_AvatarStateFactory;
|
|
388
|
-
function csp_multiplayer_AvatarPlayModeFactory(nativePointer) {
|
|
389
|
-
return nativePointer.pointer;
|
|
390
|
-
}
|
|
391
|
-
ProxyClassFactories["csp_multiplayer_AvatarPlayMode"] =
|
|
392
|
-
csp_multiplayer_AvatarPlayModeFactory;
|
|
393
393
|
function csp_multiplayer_LocomotionModelFactory(nativePointer) {
|
|
394
394
|
return nativePointer.pointer;
|
|
395
395
|
}
|
|
@@ -524,6 +524,11 @@ function csp_multiplayer_ReflectionShapeFactory(nativePointer) {
|
|
|
524
524
|
}
|
|
525
525
|
ProxyClassFactories["csp_multiplayer_ReflectionShape"] =
|
|
526
526
|
csp_multiplayer_ReflectionShapeFactory;
|
|
527
|
+
function csp_multiplayer_ScreenSharingPropertyKeysFactory(nativePointer) {
|
|
528
|
+
return nativePointer.pointer;
|
|
529
|
+
}
|
|
530
|
+
ProxyClassFactories["csp_multiplayer_ScreenSharingPropertyKeys"] =
|
|
531
|
+
csp_multiplayer_ScreenSharingPropertyKeysFactory;
|
|
527
532
|
function csp_multiplayer_ScriptScopeFactory(nativePointer) {
|
|
528
533
|
return nativePointer.pointer;
|
|
529
534
|
}
|
|
@@ -850,21 +855,6 @@ function csp_systems_ResultBaseFactory(nativePointer) {
|
|
|
850
855
|
return new Systems.ResultBase(nativePointer);
|
|
851
856
|
}
|
|
852
857
|
ProxyClassFactories["csp_systems_ResultBase"] = csp_systems_ResultBaseFactory;
|
|
853
|
-
function csp_systems_IAnalyticsProviderFactory(nativePointer) {
|
|
854
|
-
return new Systems.IAnalyticsProvider(nativePointer);
|
|
855
|
-
}
|
|
856
|
-
ProxyClassFactories["csp_systems_IAnalyticsProvider"] =
|
|
857
|
-
csp_systems_IAnalyticsProviderFactory;
|
|
858
|
-
function csp_systems_AnalyticsSystemFactory(nativePointer) {
|
|
859
|
-
return new Systems.AnalyticsSystem(nativePointer);
|
|
860
|
-
}
|
|
861
|
-
ProxyClassFactories["csp_systems_AnalyticsSystem"] =
|
|
862
|
-
csp_systems_AnalyticsSystemFactory;
|
|
863
|
-
function csp_systems_AnalyticsEventFactory(nativePointer) {
|
|
864
|
-
return new Systems.AnalyticsEvent(nativePointer);
|
|
865
|
-
}
|
|
866
|
-
ProxyClassFactories["csp_systems_AnalyticsEvent"] =
|
|
867
|
-
csp_systems_AnalyticsEventFactory;
|
|
868
858
|
function csp_systems_AssetFactory(nativePointer) {
|
|
869
859
|
return new Systems.Asset(nativePointer);
|
|
870
860
|
}
|
|
@@ -1194,6 +1184,11 @@ function csp_multiplayer_ReflectionSpaceComponentFactory(nativePointer) {
|
|
|
1194
1184
|
}
|
|
1195
1185
|
ProxyClassFactories["csp_multiplayer_ReflectionSpaceComponent"] =
|
|
1196
1186
|
csp_multiplayer_ReflectionSpaceComponentFactory;
|
|
1187
|
+
function csp_multiplayer_ScreenSharingSpaceComponentFactory(nativePointer) {
|
|
1188
|
+
return new Multiplayer.ScreenSharingSpaceComponent(nativePointer);
|
|
1189
|
+
}
|
|
1190
|
+
ProxyClassFactories["csp_multiplayer_ScreenSharingSpaceComponent"] =
|
|
1191
|
+
csp_multiplayer_ScreenSharingSpaceComponentFactory;
|
|
1197
1192
|
function csp_multiplayer_ScriptSpaceComponentFactory(nativePointer) {
|
|
1198
1193
|
return new Multiplayer.ScriptSpaceComponent(nativePointer);
|
|
1199
1194
|
}
|
|
@@ -2073,6 +2068,35 @@ export var Web;
|
|
|
2073
2068
|
})(EResponseCodes = Web.EResponseCodes || (Web.EResponseCodes = {}));
|
|
2074
2069
|
})(Web || (Web = {}));
|
|
2075
2070
|
export var Multiplayer;
|
|
2071
|
+
(function (Multiplayer) {
|
|
2072
|
+
/**
|
|
2073
|
+
* @description Enumerates the supported states for an avatar.
|
|
2074
|
+
* These are used to establish the related animation that the avatar will use on its state machine.
|
|
2075
|
+
*/
|
|
2076
|
+
let AvatarState;
|
|
2077
|
+
(function (AvatarState) {
|
|
2078
|
+
AvatarState[AvatarState["Idle"] = 0] = "Idle";
|
|
2079
|
+
AvatarState[AvatarState["Walking"] = 1] = "Walking";
|
|
2080
|
+
AvatarState[AvatarState["Running"] = 2] = "Running";
|
|
2081
|
+
AvatarState[AvatarState["Flying"] = 3] = "Flying";
|
|
2082
|
+
AvatarState[AvatarState["Jumping"] = 4] = "Jumping";
|
|
2083
|
+
AvatarState[AvatarState["Falling"] = 5] = "Falling";
|
|
2084
|
+
AvatarState[AvatarState["Num"] = 6] = "Num";
|
|
2085
|
+
})(AvatarState = Multiplayer.AvatarState || (Multiplayer.AvatarState = {}));
|
|
2086
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2087
|
+
(function (Multiplayer) {
|
|
2088
|
+
/**
|
|
2089
|
+
* @description Enumerates the supported play mode for the avatar.
|
|
2090
|
+
*/
|
|
2091
|
+
let AvatarPlayMode;
|
|
2092
|
+
(function (AvatarPlayMode) {
|
|
2093
|
+
AvatarPlayMode[AvatarPlayMode["Default"] = 0] = "Default";
|
|
2094
|
+
AvatarPlayMode[AvatarPlayMode["AR"] = 1] = "AR";
|
|
2095
|
+
AvatarPlayMode[AvatarPlayMode["VR"] = 2] = "VR";
|
|
2096
|
+
AvatarPlayMode[AvatarPlayMode["Creator"] = 3] = "Creator";
|
|
2097
|
+
AvatarPlayMode[AvatarPlayMode["Num"] = 4] = "Num";
|
|
2098
|
+
})(AvatarPlayMode = Multiplayer.AvatarPlayMode || (Multiplayer.AvatarPlayMode = {}));
|
|
2099
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2076
2100
|
(function (Multiplayer) {
|
|
2077
2101
|
/**
|
|
2078
2102
|
* @description Enum used to indicate the failure state of a multiplayer request.
|
|
@@ -2228,9 +2252,10 @@ export var Systems;
|
|
|
2228
2252
|
ComponentType[ComponentType["Text"] = 25] = "Text";
|
|
2229
2253
|
ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
|
|
2230
2254
|
ComponentType[ComponentType["CinematicCamera"] = 27] = "CinematicCamera";
|
|
2255
|
+
ComponentType[ComponentType["ScreenSharing"] = 28] = "ScreenSharing";
|
|
2231
2256
|
//,
|
|
2232
|
-
ComponentType[ComponentType["spare"] =
|
|
2233
|
-
ComponentType[ComponentType["values"] =
|
|
2257
|
+
ComponentType[ComponentType["spare"] = 29] = "spare";
|
|
2258
|
+
ComponentType[ComponentType["values"] = 30] = "values";
|
|
2234
2259
|
ComponentType[ComponentType["Delete"] = 56] = "Delete";
|
|
2235
2260
|
})(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
|
|
2236
2261
|
})(Multiplayer || (Multiplayer = {}));
|
|
@@ -2365,7 +2390,10 @@ export var Systems;
|
|
|
2365
2390
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["ThirdPartyComponentRef"] = 12] = "ThirdPartyComponentRef";
|
|
2366
2391
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["IsShadowCaster"] = 13] = "IsShadowCaster";
|
|
2367
2392
|
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["MaterialOverrides"] = 14] = "MaterialOverrides";
|
|
2368
|
-
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["
|
|
2393
|
+
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["IsVirtualVisible"] = 15] = "IsVirtualVisible";
|
|
2394
|
+
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["ShowAsHoldoutInAR"] = 16] = "ShowAsHoldoutInAR";
|
|
2395
|
+
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["ShowAsHoldoutInVirtual"] = 17] = "ShowAsHoldoutInVirtual";
|
|
2396
|
+
AnimatedModelPropertyKeys[AnimatedModelPropertyKeys["Num"] = 18] = "Num";
|
|
2369
2397
|
})(AnimatedModelPropertyKeys = Multiplayer.AnimatedModelPropertyKeys || (Multiplayer.AnimatedModelPropertyKeys = {}));
|
|
2370
2398
|
})(Multiplayer || (Multiplayer = {}));
|
|
2371
2399
|
(function (Multiplayer) {
|
|
@@ -2411,35 +2439,6 @@ export var Systems;
|
|
|
2411
2439
|
AudioPropertyKeys[AudioPropertyKeys["Num"] = 11] = "Num";
|
|
2412
2440
|
})(AudioPropertyKeys = Multiplayer.AudioPropertyKeys || (Multiplayer.AudioPropertyKeys = {}));
|
|
2413
2441
|
})(Multiplayer || (Multiplayer = {}));
|
|
2414
|
-
(function (Multiplayer) {
|
|
2415
|
-
/**
|
|
2416
|
-
* @description Enumerates the supported states for an avatar.
|
|
2417
|
-
* These are used to establish the related animation that the avatar will use on its state machine.
|
|
2418
|
-
*/
|
|
2419
|
-
let AvatarState;
|
|
2420
|
-
(function (AvatarState) {
|
|
2421
|
-
AvatarState[AvatarState["Idle"] = 0] = "Idle";
|
|
2422
|
-
AvatarState[AvatarState["Walking"] = 1] = "Walking";
|
|
2423
|
-
AvatarState[AvatarState["Running"] = 2] = "Running";
|
|
2424
|
-
AvatarState[AvatarState["Flying"] = 3] = "Flying";
|
|
2425
|
-
AvatarState[AvatarState["Jumping"] = 4] = "Jumping";
|
|
2426
|
-
AvatarState[AvatarState["Falling"] = 5] = "Falling";
|
|
2427
|
-
AvatarState[AvatarState["Num"] = 6] = "Num";
|
|
2428
|
-
})(AvatarState = Multiplayer.AvatarState || (Multiplayer.AvatarState = {}));
|
|
2429
|
-
})(Multiplayer || (Multiplayer = {}));
|
|
2430
|
-
(function (Multiplayer) {
|
|
2431
|
-
/**
|
|
2432
|
-
* @description Enumerates the supported play mode for the avatar.
|
|
2433
|
-
*/
|
|
2434
|
-
let AvatarPlayMode;
|
|
2435
|
-
(function (AvatarPlayMode) {
|
|
2436
|
-
AvatarPlayMode[AvatarPlayMode["Default"] = 0] = "Default";
|
|
2437
|
-
AvatarPlayMode[AvatarPlayMode["AR"] = 1] = "AR";
|
|
2438
|
-
AvatarPlayMode[AvatarPlayMode["VR"] = 2] = "VR";
|
|
2439
|
-
AvatarPlayMode[AvatarPlayMode["Creator"] = 3] = "Creator";
|
|
2440
|
-
AvatarPlayMode[AvatarPlayMode["Num"] = 4] = "Num";
|
|
2441
|
-
})(AvatarPlayMode = Multiplayer.AvatarPlayMode || (Multiplayer.AvatarPlayMode = {}));
|
|
2442
|
-
})(Multiplayer || (Multiplayer = {}));
|
|
2443
2442
|
(function (Multiplayer) {
|
|
2444
2443
|
/**
|
|
2445
2444
|
* @description Enumerates the supported locomotion models available for the avatar movements.
|
|
@@ -2474,7 +2473,8 @@ export var Systems;
|
|
|
2474
2473
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["LocomotionModel"] = 14] = "LocomotionModel";
|
|
2475
2474
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["IsVisible"] = 15] = "IsVisible";
|
|
2476
2475
|
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["IsARVisible"] = 16] = "IsARVisible";
|
|
2477
|
-
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["
|
|
2476
|
+
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["IsVirtualVisible"] = 17] = "IsVirtualVisible";
|
|
2477
|
+
AvatarComponentPropertyKeys[AvatarComponentPropertyKeys["Num"] = 18] = "Num";
|
|
2478
2478
|
})(AvatarComponentPropertyKeys = Multiplayer.AvatarComponentPropertyKeys || (Multiplayer.AvatarComponentPropertyKeys = {}));
|
|
2479
2479
|
})(Multiplayer || (Multiplayer = {}));
|
|
2480
2480
|
(function (Multiplayer) {
|
|
@@ -2501,7 +2501,8 @@ export var Systems;
|
|
|
2501
2501
|
ButtonPropertyKeys[ButtonPropertyKeys["IsVisible"] = 7] = "IsVisible";
|
|
2502
2502
|
ButtonPropertyKeys[ButtonPropertyKeys["IsEnabled"] = 8] = "IsEnabled";
|
|
2503
2503
|
ButtonPropertyKeys[ButtonPropertyKeys["IsARVisible"] = 9] = "IsARVisible";
|
|
2504
|
-
ButtonPropertyKeys[ButtonPropertyKeys["
|
|
2504
|
+
ButtonPropertyKeys[ButtonPropertyKeys["IsVirtualVisible"] = 10] = "IsVirtualVisible";
|
|
2505
|
+
ButtonPropertyKeys[ButtonPropertyKeys["Num"] = 11] = "Num";
|
|
2505
2506
|
})(ButtonPropertyKeys = Multiplayer.ButtonPropertyKeys || (Multiplayer.ButtonPropertyKeys = {}));
|
|
2506
2507
|
})(Multiplayer || (Multiplayer = {}));
|
|
2507
2508
|
(function (Multiplayer) {
|
|
@@ -2632,7 +2633,8 @@ export var Systems;
|
|
|
2632
2633
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["IsEnabled"] = 6] = "IsEnabled";
|
|
2633
2634
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["IsVisible"] = 7] = "IsVisible";
|
|
2634
2635
|
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["IsARVisible"] = 8] = "IsARVisible";
|
|
2635
|
-
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["
|
|
2636
|
+
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["IsVirtualVisible"] = 9] = "IsVirtualVisible";
|
|
2637
|
+
ExternalLinkPropertyKeys[ExternalLinkPropertyKeys["Num"] = 10] = "Num";
|
|
2636
2638
|
})(ExternalLinkPropertyKeys = Multiplayer.ExternalLinkPropertyKeys || (Multiplayer.ExternalLinkPropertyKeys = {}));
|
|
2637
2639
|
})(Multiplayer || (Multiplayer = {}));
|
|
2638
2640
|
(function (Multiplayer) {
|
|
@@ -2649,7 +2651,8 @@ export var Systems;
|
|
|
2649
2651
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["Scale"] = 5] = "Scale";
|
|
2650
2652
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["IsVisible"] = 6] = "IsVisible";
|
|
2651
2653
|
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["IsARVisible"] = 7] = "IsARVisible";
|
|
2652
|
-
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["
|
|
2654
|
+
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["IsVirtualVisible"] = 8] = "IsVirtualVisible";
|
|
2655
|
+
FiducialMarkerPropertyKeys[FiducialMarkerPropertyKeys["Num"] = 9] = "Num";
|
|
2653
2656
|
})(FiducialMarkerPropertyKeys = Multiplayer.FiducialMarkerPropertyKeys || (Multiplayer.FiducialMarkerPropertyKeys = {}));
|
|
2654
2657
|
})(Multiplayer || (Multiplayer = {}));
|
|
2655
2658
|
(function (Multiplayer) {
|
|
@@ -2672,7 +2675,8 @@ export var Systems;
|
|
|
2672
2675
|
FogPropertyKeys[FogPropertyKeys["IsVisible"] = 11] = "IsVisible";
|
|
2673
2676
|
FogPropertyKeys[FogPropertyKeys["IsARVisible"] = 12] = "IsARVisible";
|
|
2674
2677
|
FogPropertyKeys[FogPropertyKeys["ThirdPartyComponentRef"] = 13] = "ThirdPartyComponentRef";
|
|
2675
|
-
FogPropertyKeys[FogPropertyKeys["
|
|
2678
|
+
FogPropertyKeys[FogPropertyKeys["IsVirtualVisible"] = 14] = "IsVirtualVisible";
|
|
2679
|
+
FogPropertyKeys[FogPropertyKeys["Num"] = 15] = "Num";
|
|
2676
2680
|
})(FogPropertyKeys = Multiplayer.FogPropertyKeys || (Multiplayer.FogPropertyKeys = {}));
|
|
2677
2681
|
})(Multiplayer || (Multiplayer = {}));
|
|
2678
2682
|
(function (Multiplayer) {
|
|
@@ -2702,7 +2706,8 @@ export var Systems;
|
|
|
2702
2706
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["IsARVisible"] = 7] = "IsARVisible";
|
|
2703
2707
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["IsShadowCaster"] = 8] = "IsShadowCaster";
|
|
2704
2708
|
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Tint"] = 9] = "Tint";
|
|
2705
|
-
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["
|
|
2709
|
+
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["IsVirtualVisible"] = 10] = "IsVirtualVisible";
|
|
2710
|
+
GaussianSplatPropertyKeys[GaussianSplatPropertyKeys["Num"] = 11] = "Num";
|
|
2706
2711
|
})(GaussianSplatPropertyKeys = Multiplayer.GaussianSplatPropertyKeys || (Multiplayer.GaussianSplatPropertyKeys = {}));
|
|
2707
2712
|
})(Multiplayer || (Multiplayer = {}));
|
|
2708
2713
|
(function (Multiplayer) {
|
|
@@ -2718,7 +2723,8 @@ export var Systems;
|
|
|
2718
2723
|
HotspotPropertyKeys[HotspotPropertyKeys["IsSpawnPoint"] = 4] = "IsSpawnPoint";
|
|
2719
2724
|
HotspotPropertyKeys[HotspotPropertyKeys["IsVisible"] = 5] = "IsVisible";
|
|
2720
2725
|
HotspotPropertyKeys[HotspotPropertyKeys["IsARVisible"] = 6] = "IsARVisible";
|
|
2721
|
-
HotspotPropertyKeys[HotspotPropertyKeys["
|
|
2726
|
+
HotspotPropertyKeys[HotspotPropertyKeys["IsVirtualVisible"] = 7] = "IsVirtualVisible";
|
|
2727
|
+
HotspotPropertyKeys[HotspotPropertyKeys["Num"] = 8] = "Num";
|
|
2722
2728
|
})(HotspotPropertyKeys = Multiplayer.HotspotPropertyKeys || (Multiplayer.HotspotPropertyKeys = {}));
|
|
2723
2729
|
})(Multiplayer || (Multiplayer = {}));
|
|
2724
2730
|
(function (Multiplayer) {
|
|
@@ -2738,7 +2744,8 @@ export var Systems;
|
|
|
2738
2744
|
ImagePropertyKeys[ImagePropertyKeys["DisplayMode"] = 8] = "DisplayMode";
|
|
2739
2745
|
ImagePropertyKeys[ImagePropertyKeys["IsARVisible"] = 9] = "IsARVisible";
|
|
2740
2746
|
ImagePropertyKeys[ImagePropertyKeys["IsEmissive"] = 10] = "IsEmissive";
|
|
2741
|
-
ImagePropertyKeys[ImagePropertyKeys["
|
|
2747
|
+
ImagePropertyKeys[ImagePropertyKeys["IsVirtualVisible"] = 11] = "IsVirtualVisible";
|
|
2748
|
+
ImagePropertyKeys[ImagePropertyKeys["Num"] = 12] = "Num";
|
|
2742
2749
|
})(ImagePropertyKeys = Multiplayer.ImagePropertyKeys || (Multiplayer.ImagePropertyKeys = {}));
|
|
2743
2750
|
})(Multiplayer || (Multiplayer = {}));
|
|
2744
2751
|
(function (Multiplayer) {
|
|
@@ -2809,7 +2816,8 @@ export var Systems;
|
|
|
2809
2816
|
LightPropertyKeys[LightPropertyKeys["IsARVisible"] = 13] = "IsARVisible";
|
|
2810
2817
|
LightPropertyKeys[LightPropertyKeys["ThirdPartyComponentRef"] = 14] = "ThirdPartyComponentRef";
|
|
2811
2818
|
LightPropertyKeys[LightPropertyKeys["LightShadowType"] = 15] = "LightShadowType";
|
|
2812
|
-
LightPropertyKeys[LightPropertyKeys["
|
|
2819
|
+
LightPropertyKeys[LightPropertyKeys["IsVirtualVisible"] = 16] = "IsVirtualVisible";
|
|
2820
|
+
LightPropertyKeys[LightPropertyKeys["Num"] = 17] = "Num";
|
|
2813
2821
|
})(LightPropertyKeys = Multiplayer.LightPropertyKeys || (Multiplayer.LightPropertyKeys = {}));
|
|
2814
2822
|
})(Multiplayer || (Multiplayer = {}));
|
|
2815
2823
|
(function (Multiplayer) {
|
|
@@ -2856,6 +2864,26 @@ export var Systems;
|
|
|
2856
2864
|
ReflectionShape[ReflectionShape["UnitBox"] = 1] = "UnitBox";
|
|
2857
2865
|
})(ReflectionShape = Multiplayer.ReflectionShape || (Multiplayer.ReflectionShape = {}));
|
|
2858
2866
|
})(Multiplayer || (Multiplayer = {}));
|
|
2867
|
+
(function (Multiplayer) {
|
|
2868
|
+
/**
|
|
2869
|
+
* @description Enumerates the list of properties that can be replicated for a screen sharing component.
|
|
2870
|
+
*/
|
|
2871
|
+
let ScreenSharingPropertyKeys;
|
|
2872
|
+
(function (ScreenSharingPropertyKeys) {
|
|
2873
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Position"] = 0] = "Position";
|
|
2874
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Rotation"] = 1] = "Rotation";
|
|
2875
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Scale"] = 2] = "Scale";
|
|
2876
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsVisible"] = 3] = "IsVisible";
|
|
2877
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsARVisible"] = 4] = "IsARVisible";
|
|
2878
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsShadowCaster"] = 5] = "IsShadowCaster";
|
|
2879
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["UserId"] = 6] = "UserId";
|
|
2880
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["DefaultImageCollectionId"] = 7] = "DefaultImageCollectionId";
|
|
2881
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["DefaultImageAssetId"] = 8] = "DefaultImageAssetId";
|
|
2882
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["AttenuationRadius"] = 9] = "AttenuationRadius";
|
|
2883
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsVirtualVisible"] = 10] = "IsVirtualVisible";
|
|
2884
|
+
ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Num"] = 11] = "Num";
|
|
2885
|
+
})(ScreenSharingPropertyKeys = Multiplayer.ScreenSharingPropertyKeys || (Multiplayer.ScreenSharingPropertyKeys = {}));
|
|
2886
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
2859
2887
|
(function (Multiplayer) {
|
|
2860
2888
|
/**
|
|
2861
2889
|
* @description Enumerates the supported scopes of a script.
|
|
@@ -2906,7 +2934,10 @@ export var Systems;
|
|
|
2906
2934
|
StaticModelPropertyKeys[StaticModelPropertyKeys["ThirdPartyComponentRef"] = 8] = "ThirdPartyComponentRef";
|
|
2907
2935
|
StaticModelPropertyKeys[StaticModelPropertyKeys["IsShadowCaster"] = 9] = "IsShadowCaster";
|
|
2908
2936
|
StaticModelPropertyKeys[StaticModelPropertyKeys["MaterialOverrides"] = 10] = "MaterialOverrides";
|
|
2909
|
-
StaticModelPropertyKeys[StaticModelPropertyKeys["
|
|
2937
|
+
StaticModelPropertyKeys[StaticModelPropertyKeys["IsVirtualVisible"] = 11] = "IsVirtualVisible";
|
|
2938
|
+
StaticModelPropertyKeys[StaticModelPropertyKeys["ShowAsHoldoutInAR"] = 12] = "ShowAsHoldoutInAR";
|
|
2939
|
+
StaticModelPropertyKeys[StaticModelPropertyKeys["ShowAsHoldoutInVirtual"] = 13] = "ShowAsHoldoutInVirtual";
|
|
2940
|
+
StaticModelPropertyKeys[StaticModelPropertyKeys["Num"] = 14] = "Num";
|
|
2910
2941
|
})(StaticModelPropertyKeys = Multiplayer.StaticModelPropertyKeys || (Multiplayer.StaticModelPropertyKeys = {}));
|
|
2911
2942
|
})(Multiplayer || (Multiplayer = {}));
|
|
2912
2943
|
(function (Multiplayer) {
|
|
@@ -2927,7 +2958,8 @@ export var Systems;
|
|
|
2927
2958
|
TextPropertyKeys[TextPropertyKeys["BillboardMode"] = 9] = "BillboardMode";
|
|
2928
2959
|
TextPropertyKeys[TextPropertyKeys["IsVisible"] = 10] = "IsVisible";
|
|
2929
2960
|
TextPropertyKeys[TextPropertyKeys["IsARVisible"] = 11] = "IsARVisible";
|
|
2930
|
-
TextPropertyKeys[TextPropertyKeys["
|
|
2961
|
+
TextPropertyKeys[TextPropertyKeys["IsVirtualVisible"] = 12] = "IsVirtualVisible";
|
|
2962
|
+
TextPropertyKeys[TextPropertyKeys["Num"] = 13] = "Num";
|
|
2931
2963
|
})(TextPropertyKeys = Multiplayer.TextPropertyKeys || (Multiplayer.TextPropertyKeys = {}));
|
|
2932
2964
|
})(Multiplayer || (Multiplayer = {}));
|
|
2933
2965
|
(function (Multiplayer) {
|
|
@@ -2991,7 +3023,8 @@ export var Systems;
|
|
|
2991
3023
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsARVisible"] = 17] = "IsARVisible";
|
|
2992
3024
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["MeshComponentId"] = 18] = "MeshComponentId";
|
|
2993
3025
|
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsEnabled"] = 19] = "IsEnabled";
|
|
2994
|
-
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["
|
|
3026
|
+
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["IsVirtualVisible"] = 20] = "IsVirtualVisible";
|
|
3027
|
+
VideoPlayerPropertyKeys[VideoPlayerPropertyKeys["Num"] = 21] = "Num";
|
|
2995
3028
|
})(VideoPlayerPropertyKeys = Multiplayer.VideoPlayerPropertyKeys || (Multiplayer.VideoPlayerPropertyKeys = {}));
|
|
2996
3029
|
})(Multiplayer || (Multiplayer = {}));
|
|
2997
3030
|
(function (Multiplayer) {
|
|
@@ -10161,7 +10194,7 @@ export class CSPFoundation {
|
|
|
10161
10194
|
Module.removeFunction(_callbackPtr);
|
|
10162
10195
|
};
|
|
10163
10196
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
10164
|
-
Module.ccall("
|
|
10197
|
+
Module.ccall("csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
|
|
10165
10198
|
"number",
|
|
10166
10199
|
"string",
|
|
10167
10200
|
"string",
|
|
@@ -12439,17 +12472,6 @@ export class CSPFoundation {
|
|
|
12439
12472
|
Module._free(_ret);
|
|
12440
12473
|
return _nPtr;
|
|
12441
12474
|
}
|
|
12442
|
-
/**
|
|
12443
|
-
* @description Retrieves the Analytics system.
|
|
12444
|
-
* @return Pointer to the analytics system class
|
|
12445
|
-
*/
|
|
12446
|
-
getAnalyticsSystem() {
|
|
12447
|
-
var _ret = Module._malloc(8);
|
|
12448
|
-
Module.ccall("csp_systems_SystemsManager_GetAnalyticsSystem_AnalyticsSystemP", "void", ["number", "number"], [_ret, this.pointer]);
|
|
12449
|
-
var _nPtr = new Systems.AnalyticsSystem(getNativePointer(_ret));
|
|
12450
|
-
Module._free(_ret);
|
|
12451
|
-
return _nPtr;
|
|
12452
|
-
}
|
|
12453
12475
|
/**
|
|
12454
12476
|
* @description Retrieves the Maintenance system.
|
|
12455
12477
|
* @return Pointer to the maintenance system class
|
|
@@ -12625,120 +12647,6 @@ export class CSPFoundation {
|
|
|
12625
12647
|
}
|
|
12626
12648
|
Systems.ResultBase = ResultBase;
|
|
12627
12649
|
})(Systems || (Systems = {}));
|
|
12628
|
-
(function (Systems) {
|
|
12629
|
-
/**
|
|
12630
|
-
@ingroup Analytics System
|
|
12631
|
-
* @description Interface for an Analytics Provider
|
|
12632
|
-
*/
|
|
12633
|
-
class IAnalyticsProvider extends NativeClassWrapper {
|
|
12634
|
-
/** @internal */
|
|
12635
|
-
constructor(pointer) {
|
|
12636
|
-
super(pointer);
|
|
12637
|
-
}
|
|
12638
|
-
delete() {
|
|
12639
|
-
if (this.ownsPointer && !this.disposed) {
|
|
12640
|
-
Module.ccall("csp_systems_IAnalyticsProvider_Dtor", "void", ["number"], [this.pointer]);
|
|
12641
|
-
this.disposed = true;
|
|
12642
|
-
}
|
|
12643
|
-
}
|
|
12644
|
-
}
|
|
12645
|
-
Systems.IAnalyticsProvider = IAnalyticsProvider;
|
|
12646
|
-
})(Systems || (Systems = {}));
|
|
12647
|
-
(function (Systems) {
|
|
12648
|
-
/**
|
|
12649
|
-
@ingroup Analytics System
|
|
12650
|
-
* @description Public facing system that allows interfacing with an analytics provider.
|
|
12651
|
-
* Offers methods for sending events to the provider
|
|
12652
|
-
* Events are added to a queue to be processewd on a different thread
|
|
12653
|
-
* If events are unable to be send to the provider, then they will be held in the queue
|
|
12654
|
-
*/
|
|
12655
|
-
class AnalyticsSystem extends NativeClassWrapper {
|
|
12656
|
-
/** @internal */
|
|
12657
|
-
constructor(pointer) {
|
|
12658
|
-
super(pointer);
|
|
12659
|
-
}
|
|
12660
|
-
/**
|
|
12661
|
-
* @description Send an event
|
|
12662
|
-
* @param event - AnalyticsEvent
|
|
12663
|
-
*/
|
|
12664
|
-
log(event) {
|
|
12665
|
-
Module.ccall("csp_systems_AnalyticsSystem_Log_void_AnalyticsEventP", "void", ["number", "number"], [this.pointer, event.pointer]);
|
|
12666
|
-
}
|
|
12667
|
-
}
|
|
12668
|
-
Systems.AnalyticsSystem = AnalyticsSystem;
|
|
12669
|
-
})(Systems || (Systems = {}));
|
|
12670
|
-
(function (Systems) {
|
|
12671
|
-
class AnalyticsEvent extends NativeClassWrapper {
|
|
12672
|
-
/** @internal */
|
|
12673
|
-
constructor(pointer) {
|
|
12674
|
-
super(pointer);
|
|
12675
|
-
}
|
|
12676
|
-
addInt(key, value) {
|
|
12677
|
-
assert(value >= Limits.INT64_MIN);
|
|
12678
|
-
assert(value <= Limits.INT64_MAX);
|
|
12679
|
-
Module.ccall("csp_systems_AnalyticsEvent_AddInt_void_String_int64_t", "void", ["number", "string", "bigint"], [this.pointer, key, value]);
|
|
12680
|
-
}
|
|
12681
|
-
addString(key, value) {
|
|
12682
|
-
Module.ccall("csp_systems_AnalyticsEvent_AddString_void_String_StringRC", "void", ["number", "string", "string"], [this.pointer, key, value]);
|
|
12683
|
-
}
|
|
12684
|
-
addFloat(key, value) {
|
|
12685
|
-
assert(value >= Limits.FLOAT_MIN);
|
|
12686
|
-
assert(value <= Limits.FLOAT_MAX);
|
|
12687
|
-
Module.ccall("csp_systems_AnalyticsEvent_AddFloat_void_String_float", "void", ["number", "string", "number"], [this.pointer, key, value]);
|
|
12688
|
-
}
|
|
12689
|
-
addBool(key, value) {
|
|
12690
|
-
Module.ccall("csp_systems_AnalyticsEvent_AddBool_void_String_bool", "void", ["number", "string", "boolean"], [this.pointer, key, value]);
|
|
12691
|
-
}
|
|
12692
|
-
getInt(key) {
|
|
12693
|
-
let _result = Module.ccall("csp_systems_AnalyticsEvent_GetIntC_int64_t_String", "bigint", ["number", "string"], [this.pointer, key]);
|
|
12694
|
-
return _result;
|
|
12695
|
-
}
|
|
12696
|
-
getString(key) {
|
|
12697
|
-
let _result = Module.ccall("csp_systems_AnalyticsEvent_GetStringC_StringRC_String", "number", ["number", "string"], [this.pointer, key]);
|
|
12698
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
12699
|
-
free(_result);
|
|
12700
|
-
_result = _resultString;
|
|
12701
|
-
return _result;
|
|
12702
|
-
}
|
|
12703
|
-
getFloat(key) {
|
|
12704
|
-
let _result = Module.ccall("csp_systems_AnalyticsEvent_GetFloatC_float_String", "number", ["number", "string"], [this.pointer, key]);
|
|
12705
|
-
return _result;
|
|
12706
|
-
}
|
|
12707
|
-
getBool(key) {
|
|
12708
|
-
let _result = Module.ccall("csp_systems_AnalyticsEvent_GetBoolC_bool_String", "boolean", ["number", "string"], [this.pointer, key]);
|
|
12709
|
-
return _result;
|
|
12710
|
-
}
|
|
12711
|
-
getTag() {
|
|
12712
|
-
let _result = Module.ccall("csp_systems_AnalyticsEvent_GetTagC_StringRC", "number", ["number"], [this.pointer]);
|
|
12713
|
-
const _resultString = Module.UTF8ToString(_result);
|
|
12714
|
-
free(_result);
|
|
12715
|
-
_result = _resultString;
|
|
12716
|
-
return _result;
|
|
12717
|
-
}
|
|
12718
|
-
delete() {
|
|
12719
|
-
if (this.ownsPointer && !this.disposed) {
|
|
12720
|
-
Module.ccall("csp_systems_AnalyticsEvent_Dtor", "void", ["number"], [this.pointer]);
|
|
12721
|
-
this.disposed = true;
|
|
12722
|
-
}
|
|
12723
|
-
}
|
|
12724
|
-
}
|
|
12725
|
-
Systems.AnalyticsEvent = AnalyticsEvent;
|
|
12726
|
-
})(Systems || (Systems = {}));
|
|
12727
|
-
(function (Systems) {
|
|
12728
|
-
class AnalyticsEventInitialiser {
|
|
12729
|
-
static initialise(tag) {
|
|
12730
|
-
var _ret = Module._malloc(8);
|
|
12731
|
-
Module.ccall("csp_systems_AnalyticsEventInitialiser_Initialise_AnalyticsEventP_StringC", "void", ["number", "string"], [_ret, tag]);
|
|
12732
|
-
var _nPtr = new Systems.AnalyticsEvent(getNativePointer(_ret));
|
|
12733
|
-
Module._free(_ret);
|
|
12734
|
-
return _nPtr;
|
|
12735
|
-
}
|
|
12736
|
-
static deInitialise(event) {
|
|
12737
|
-
Module.ccall("csp_systems_AnalyticsEventInitialiser_DeInitialise_void_AnalyticsEventP", "void", ["number"], [event.pointer]);
|
|
12738
|
-
}
|
|
12739
|
-
}
|
|
12740
|
-
Systems.AnalyticsEventInitialiser = AnalyticsEventInitialiser;
|
|
12741
|
-
})(Systems || (Systems = {}));
|
|
12742
12650
|
(function (Systems) {
|
|
12743
12651
|
/**
|
|
12744
12652
|
@ingroup Asset System
|
|
@@ -16053,7 +15961,7 @@ export class CSPFoundation {
|
|
|
16053
15961
|
Module.removeFunction(_callbackPtr);
|
|
16054
15962
|
};
|
|
16055
15963
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
16056
|
-
Module.ccall("
|
|
15964
|
+
Module.ccall("csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
|
|
16057
15965
|
"number",
|
|
16058
15966
|
"string",
|
|
16059
15967
|
"string",
|
|
@@ -16651,6 +16559,19 @@ export class CSPFoundation {
|
|
|
16651
16559
|
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16652
16560
|
}
|
|
16653
16561
|
/**
|
|
16562
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
16563
|
+
*/
|
|
16564
|
+
getIsVirtualVisible() {
|
|
16565
|
+
let _result = Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
16566
|
+
return _result;
|
|
16567
|
+
}
|
|
16568
|
+
/**
|
|
16569
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
16570
|
+
*/
|
|
16571
|
+
setIsVirtualVisible(value) {
|
|
16572
|
+
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16573
|
+
}
|
|
16574
|
+
/**
|
|
16654
16575
|
@}
|
|
16655
16576
|
* \addtogroup IThirdPartyComponentRef
|
|
16656
16577
|
@{
|
|
@@ -16685,6 +16606,35 @@ export class CSPFoundation {
|
|
|
16685
16606
|
setIsShadowCaster(value) {
|
|
16686
16607
|
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_SetIsShadowCaster_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16687
16608
|
}
|
|
16609
|
+
/**
|
|
16610
|
+
@}
|
|
16611
|
+
* \addtogroup IRenderBehaviourComponent
|
|
16612
|
+
@{
|
|
16613
|
+
@copydoc IRenderBehaviourComponent::GetShowAsHoldoutInAR()
|
|
16614
|
+
*/
|
|
16615
|
+
getShowAsHoldoutInAR() {
|
|
16616
|
+
let _result = Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_GetShowAsHoldoutInARC_bool", "boolean", ["number"], [this.pointer]);
|
|
16617
|
+
return _result;
|
|
16618
|
+
}
|
|
16619
|
+
/**
|
|
16620
|
+
@copydoc IRenderBehaviourComponent::SetShowAsHoldoutInAR()
|
|
16621
|
+
*/
|
|
16622
|
+
setShowAsHoldoutInAR(value) {
|
|
16623
|
+
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_SetShowAsHoldoutInAR_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16624
|
+
}
|
|
16625
|
+
/**
|
|
16626
|
+
@copydoc IRenderBehaviourComponent::GetShowAsHoldoutInVirtual()
|
|
16627
|
+
*/
|
|
16628
|
+
getShowAsHoldoutInVirtual() {
|
|
16629
|
+
let _result = Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_GetShowAsHoldoutInVirtualC_bool", "boolean", ["number"], [this.pointer]);
|
|
16630
|
+
return _result;
|
|
16631
|
+
}
|
|
16632
|
+
/**
|
|
16633
|
+
@copydoc IRenderBehaviourComponent::SetShowAsHoldoutInVirtual()
|
|
16634
|
+
*/
|
|
16635
|
+
setShowAsHoldoutInVirtual(value) {
|
|
16636
|
+
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_SetShowAsHoldoutInVirtual_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
16637
|
+
}
|
|
16688
16638
|
delete() {
|
|
16689
16639
|
if (this.ownsPointer && !this.disposed) {
|
|
16690
16640
|
Module.ccall("csp_multiplayer_AnimatedModelSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -17289,6 +17239,19 @@ export class CSPFoundation {
|
|
|
17289
17239
|
setIsARVisible(value) {
|
|
17290
17240
|
Module.ccall("csp_multiplayer_AvatarSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17291
17241
|
}
|
|
17242
|
+
/**
|
|
17243
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
17244
|
+
*/
|
|
17245
|
+
getIsVirtualVisible() {
|
|
17246
|
+
let _result = Module.ccall("csp_multiplayer_AvatarSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17247
|
+
return _result;
|
|
17248
|
+
}
|
|
17249
|
+
/**
|
|
17250
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
17251
|
+
*/
|
|
17252
|
+
setIsVirtualVisible(value) {
|
|
17253
|
+
Module.ccall("csp_multiplayer_AvatarSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17254
|
+
}
|
|
17292
17255
|
delete() {
|
|
17293
17256
|
if (this.ownsPointer && !this.disposed) {
|
|
17294
17257
|
Module.ccall("csp_multiplayer_AvatarSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -17491,6 +17454,19 @@ export class CSPFoundation {
|
|
|
17491
17454
|
setIsARVisible(value) {
|
|
17492
17455
|
Module.ccall("csp_multiplayer_ButtonSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17493
17456
|
}
|
|
17457
|
+
/**
|
|
17458
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
17459
|
+
*/
|
|
17460
|
+
getIsVirtualVisible() {
|
|
17461
|
+
let _result = Module.ccall("csp_multiplayer_ButtonSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
17462
|
+
return _result;
|
|
17463
|
+
}
|
|
17464
|
+
/**
|
|
17465
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
17466
|
+
*/
|
|
17467
|
+
setIsVirtualVisible(value) {
|
|
17468
|
+
Module.ccall("csp_multiplayer_ButtonSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
17469
|
+
}
|
|
17494
17470
|
delete() {
|
|
17495
17471
|
if (this.ownsPointer && !this.disposed) {
|
|
17496
17472
|
Module.ccall("csp_multiplayer_ButtonSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -19086,6 +19062,19 @@ export class CSPFoundation {
|
|
|
19086
19062
|
setIsARVisible(value) {
|
|
19087
19063
|
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19088
19064
|
}
|
|
19065
|
+
/**
|
|
19066
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
19067
|
+
*/
|
|
19068
|
+
getIsVirtualVisible() {
|
|
19069
|
+
let _result = Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
19070
|
+
return _result;
|
|
19071
|
+
}
|
|
19072
|
+
/**
|
|
19073
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
19074
|
+
*/
|
|
19075
|
+
setIsVirtualVisible(value) {
|
|
19076
|
+
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19077
|
+
}
|
|
19089
19078
|
delete() {
|
|
19090
19079
|
if (this.ownsPointer && !this.disposed) {
|
|
19091
19080
|
Module.ccall("csp_multiplayer_ExternalLinkSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -19276,6 +19265,19 @@ export class CSPFoundation {
|
|
|
19276
19265
|
setIsARVisible(value) {
|
|
19277
19266
|
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19278
19267
|
}
|
|
19268
|
+
/**
|
|
19269
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
19270
|
+
*/
|
|
19271
|
+
getIsVirtualVisible() {
|
|
19272
|
+
let _result = Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
19273
|
+
return _result;
|
|
19274
|
+
}
|
|
19275
|
+
/**
|
|
19276
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
19277
|
+
*/
|
|
19278
|
+
setIsVirtualVisible(value) {
|
|
19279
|
+
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19280
|
+
}
|
|
19279
19281
|
delete() {
|
|
19280
19282
|
if (this.ownsPointer && !this.disposed) {
|
|
19281
19283
|
Module.ccall("csp_multiplayer_FiducialMarkerSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -19553,6 +19555,19 @@ export class CSPFoundation {
|
|
|
19553
19555
|
Module.ccall("csp_multiplayer_FogSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19554
19556
|
}
|
|
19555
19557
|
/**
|
|
19558
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
19559
|
+
*/
|
|
19560
|
+
getIsVirtualVisible() {
|
|
19561
|
+
let _result = Module.ccall("csp_multiplayer_FogSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
19562
|
+
return _result;
|
|
19563
|
+
}
|
|
19564
|
+
/**
|
|
19565
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
19566
|
+
*/
|
|
19567
|
+
setIsVirtualVisible(value) {
|
|
19568
|
+
Module.ccall("csp_multiplayer_FogSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19569
|
+
}
|
|
19570
|
+
/**
|
|
19556
19571
|
@}
|
|
19557
19572
|
* \addtogroup IThirdPartyComponentRef
|
|
19558
19573
|
@{
|
|
@@ -19744,6 +19759,19 @@ export class CSPFoundation {
|
|
|
19744
19759
|
Module.ccall("csp_multiplayer_GaussianSplatSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19745
19760
|
}
|
|
19746
19761
|
/**
|
|
19762
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
19763
|
+
*/
|
|
19764
|
+
getIsVirtualVisible() {
|
|
19765
|
+
let _result = Module.ccall("csp_multiplayer_GaussianSplatSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
19766
|
+
return _result;
|
|
19767
|
+
}
|
|
19768
|
+
/**
|
|
19769
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
19770
|
+
*/
|
|
19771
|
+
setIsVirtualVisible(value) {
|
|
19772
|
+
Module.ccall("csp_multiplayer_GaussianSplatSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19773
|
+
}
|
|
19774
|
+
/**
|
|
19747
19775
|
@}
|
|
19748
19776
|
* \addtogroup IShadowCasterComponent
|
|
19749
19777
|
@{
|
|
@@ -19946,6 +19974,19 @@ export class CSPFoundation {
|
|
|
19946
19974
|
setIsARVisible(value) {
|
|
19947
19975
|
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19948
19976
|
}
|
|
19977
|
+
/**
|
|
19978
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
19979
|
+
*/
|
|
19980
|
+
getIsVirtualVisible() {
|
|
19981
|
+
let _result = Module.ccall("csp_multiplayer_HotspotSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
19982
|
+
return _result;
|
|
19983
|
+
}
|
|
19984
|
+
/**
|
|
19985
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
19986
|
+
*/
|
|
19987
|
+
setIsVirtualVisible(value) {
|
|
19988
|
+
Module.ccall("csp_multiplayer_HotspotSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
19989
|
+
}
|
|
19949
19990
|
delete() {
|
|
19950
19991
|
if (this.ownsPointer && !this.disposed) {
|
|
19951
19992
|
Module.ccall("csp_multiplayer_HotspotSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -20181,6 +20222,19 @@ export class CSPFoundation {
|
|
|
20181
20222
|
setIsARVisible(value) {
|
|
20182
20223
|
Module.ccall("csp_multiplayer_ImageSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
20183
20224
|
}
|
|
20225
|
+
/**
|
|
20226
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
20227
|
+
*/
|
|
20228
|
+
getIsVirtualVisible() {
|
|
20229
|
+
let _result = Module.ccall("csp_multiplayer_ImageSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
20230
|
+
return _result;
|
|
20231
|
+
}
|
|
20232
|
+
/**
|
|
20233
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
20234
|
+
*/
|
|
20235
|
+
setIsVirtualVisible(value) {
|
|
20236
|
+
Module.ccall("csp_multiplayer_ImageSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
20237
|
+
}
|
|
20184
20238
|
delete() {
|
|
20185
20239
|
if (this.ownsPointer && !this.disposed) {
|
|
20186
20240
|
Module.ccall("csp_multiplayer_ImageSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -20449,6 +20503,19 @@ export class CSPFoundation {
|
|
|
20449
20503
|
Module.ccall("csp_multiplayer_LightSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
20450
20504
|
}
|
|
20451
20505
|
/**
|
|
20506
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
20507
|
+
*/
|
|
20508
|
+
getIsVirtualVisible() {
|
|
20509
|
+
let _result = Module.ccall("csp_multiplayer_LightSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
20510
|
+
return _result;
|
|
20511
|
+
}
|
|
20512
|
+
/**
|
|
20513
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
20514
|
+
*/
|
|
20515
|
+
setIsVirtualVisible(value) {
|
|
20516
|
+
Module.ccall("csp_multiplayer_LightSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
20517
|
+
}
|
|
20518
|
+
/**
|
|
20452
20519
|
@}
|
|
20453
20520
|
* \addtogroup IThirdPartyComponentRef
|
|
20454
20521
|
@{
|
|
@@ -20747,6 +20814,246 @@ export class CSPFoundation {
|
|
|
20747
20814
|
}
|
|
20748
20815
|
Multiplayer.ReflectionSpaceComponent = ReflectionSpaceComponent;
|
|
20749
20816
|
})(Multiplayer || (Multiplayer = {}));
|
|
20817
|
+
(function (Multiplayer) {
|
|
20818
|
+
/**
|
|
20819
|
+
@ingroup ScreenSharingSpaceComponent
|
|
20820
|
+
* @description Enables screen sharing within the space.
|
|
20821
|
+
* /// The screen sharing component facilitates the sharing of a user's screen within a space.
|
|
20822
|
+
* The component itself does not make assumptions about the mechanism by which the screen is shared.
|
|
20823
|
+
* It provides properties to define a default image to be displayed when no users are
|
|
20824
|
+
* sharing their screen, as well a UserId property to store the Id of the user currently sharing their screen.
|
|
20825
|
+
*/
|
|
20826
|
+
class ScreenSharingSpaceComponent extends Multiplayer.ComponentBase {
|
|
20827
|
+
/** @internal */
|
|
20828
|
+
constructor(pointer) {
|
|
20829
|
+
super(pointer);
|
|
20830
|
+
}
|
|
20831
|
+
static fromComponentBase(baseInstance) {
|
|
20832
|
+
const nativeClassWrapper = baseInstance;
|
|
20833
|
+
return new Multiplayer.ScreenSharingSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
20834
|
+
}
|
|
20835
|
+
/**
|
|
20836
|
+
* @description Constructs the screen sharing component, and associates it with the specified Parent space entity.
|
|
20837
|
+
* @param parent - The Space entity that owns this component.
|
|
20838
|
+
*/
|
|
20839
|
+
static create_logSystem_parent(logSystem, parent) {
|
|
20840
|
+
var _ptr = Module._malloc(8);
|
|
20841
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
|
|
20842
|
+
var _nPtr = getNativePointer(_ptr);
|
|
20843
|
+
return new ScreenSharingSpaceComponent(_nPtr);
|
|
20844
|
+
}
|
|
20845
|
+
/**
|
|
20846
|
+
* @description Gets the ID of the user who is currently sharing their screen to this component.
|
|
20847
|
+
* NOTE: An empty string means that no user is currently sharing their screen to this component.
|
|
20848
|
+
* @return The ID of the user who is currently sharing their screen to this component.
|
|
20849
|
+
*/
|
|
20850
|
+
getUserId() {
|
|
20851
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetUserIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
20852
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
20853
|
+
free(_result);
|
|
20854
|
+
_result = _resultString;
|
|
20855
|
+
return _result;
|
|
20856
|
+
}
|
|
20857
|
+
/**
|
|
20858
|
+
* @description Sets the ID of the user who is sharing their screen to this component.
|
|
20859
|
+
* @param value - The ID of the user who is sharing their screen to this component. This must be set to an empty string when
|
|
20860
|
+
* the user finishes sharing.
|
|
20861
|
+
*/
|
|
20862
|
+
setUserId(value) {
|
|
20863
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetUserId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
20864
|
+
}
|
|
20865
|
+
/**
|
|
20866
|
+
* @description Gets the ID of the asset collection associated with the default image for this component.
|
|
20867
|
+
* NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
|
|
20868
|
+
* @return The ID of the default image asset collection associated with this component.
|
|
20869
|
+
*/
|
|
20870
|
+
getDefaultImageCollectionId() {
|
|
20871
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetDefaultImageCollectionIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
20872
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
20873
|
+
free(_result);
|
|
20874
|
+
_result = _resultString;
|
|
20875
|
+
return _result;
|
|
20876
|
+
}
|
|
20877
|
+
/**
|
|
20878
|
+
* @description Sets the ID of the asset collection associated with the default image for this component.
|
|
20879
|
+
* NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
|
|
20880
|
+
* @param value - The ID of the default image asset collection associated with this component.
|
|
20881
|
+
*/
|
|
20882
|
+
setDefaultImageCollectionId(value) {
|
|
20883
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetDefaultImageCollectionId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
20884
|
+
}
|
|
20885
|
+
/**
|
|
20886
|
+
* @description Gets the ID of the asset associated with the default image for this component.
|
|
20887
|
+
* NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
|
|
20888
|
+
* @return The ID of the default image asset associated with this component.
|
|
20889
|
+
*/
|
|
20890
|
+
getDefaultImageAssetId() {
|
|
20891
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetDefaultImageAssetIdC_StringRC", "number", ["number"], [this.pointer]);
|
|
20892
|
+
const _resultString = Module.UTF8ToString(_result);
|
|
20893
|
+
free(_result);
|
|
20894
|
+
_result = _resultString;
|
|
20895
|
+
return _result;
|
|
20896
|
+
}
|
|
20897
|
+
/**
|
|
20898
|
+
* @description Sets the ID of the asset associated with the default image for this component.
|
|
20899
|
+
* NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
|
|
20900
|
+
* @param value - The ID of the default image asset associated with this component.
|
|
20901
|
+
*/
|
|
20902
|
+
setDefaultImageAssetId(value) {
|
|
20903
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetDefaultImageAssetId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
|
|
20904
|
+
}
|
|
20905
|
+
/**
|
|
20906
|
+
* @description Gets the radius from this component origin within which the audio of this video can be heard by the user.
|
|
20907
|
+
* NOTE: Only when the user position is within this radius the audio of the video should be heard.
|
|
20908
|
+
* @return The radius within which the audio of the video can be heard by the user.
|
|
20909
|
+
*/
|
|
20910
|
+
getAttenuationRadius() {
|
|
20911
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetAttenuationRadiusC_float", "number", ["number"], [this.pointer]);
|
|
20912
|
+
return _result;
|
|
20913
|
+
}
|
|
20914
|
+
/**
|
|
20915
|
+
* @description Sets the radius from this component origin within which the audio of this video can be heard by the user.
|
|
20916
|
+
* NOTE: Only when the user position is within this radius the audio of the video should be heard.
|
|
20917
|
+
* @param value - The radius within which the audio of the video can be heard by the user.
|
|
20918
|
+
*/
|
|
20919
|
+
setAttenuationRadius(value) {
|
|
20920
|
+
assert(value >= Limits.FLOAT_MIN);
|
|
20921
|
+
assert(value <= Limits.FLOAT_MAX);
|
|
20922
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetAttenuationRadius_void_float", "void", ["number", "number"], [this.pointer, value]);
|
|
20923
|
+
}
|
|
20924
|
+
/**
|
|
20925
|
+
* \addtogroup ITransformComponent
|
|
20926
|
+
@{
|
|
20927
|
+
@copydoc IPositionComponent::GetPosition()
|
|
20928
|
+
*/
|
|
20929
|
+
getPosition() {
|
|
20930
|
+
var _ret = Module._malloc(8);
|
|
20931
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
20932
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
20933
|
+
Module._free(_ret);
|
|
20934
|
+
return _nPtr;
|
|
20935
|
+
}
|
|
20936
|
+
/**
|
|
20937
|
+
@copydoc IPositionComponent::SetPosition()
|
|
20938
|
+
*/
|
|
20939
|
+
setPosition(value) {
|
|
20940
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
20941
|
+
}
|
|
20942
|
+
/**
|
|
20943
|
+
@copydoc IRotationComponent::GetRotation()
|
|
20944
|
+
*/
|
|
20945
|
+
getRotation() {
|
|
20946
|
+
var _ret = Module._malloc(8);
|
|
20947
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetRotationC_Vector4RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
20948
|
+
var _nPtr = new Common.Vector4(getNativePointer(_ret));
|
|
20949
|
+
Module._free(_ret);
|
|
20950
|
+
return _nPtr;
|
|
20951
|
+
}
|
|
20952
|
+
/**
|
|
20953
|
+
@copydoc IRotationComponent::SetRotation()
|
|
20954
|
+
*/
|
|
20955
|
+
setRotation(value) {
|
|
20956
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetRotation_void_Vector4RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
20957
|
+
}
|
|
20958
|
+
/**
|
|
20959
|
+
@copydoc IScaleComponent::GetScale()
|
|
20960
|
+
*/
|
|
20961
|
+
getScale() {
|
|
20962
|
+
var _ret = Module._malloc(8);
|
|
20963
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetScaleC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
|
|
20964
|
+
var _nPtr = new Common.Vector3(getNativePointer(_ret));
|
|
20965
|
+
Module._free(_ret);
|
|
20966
|
+
return _nPtr;
|
|
20967
|
+
}
|
|
20968
|
+
/**
|
|
20969
|
+
@copydoc IScaleComponent::SetScale()
|
|
20970
|
+
*/
|
|
20971
|
+
setScale(value) {
|
|
20972
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetScale_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
20973
|
+
}
|
|
20974
|
+
/**
|
|
20975
|
+
@copydoc ITransformComponent::GetTransform()
|
|
20976
|
+
*/
|
|
20977
|
+
getTransform() {
|
|
20978
|
+
var _ret = Module._malloc(8);
|
|
20979
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetTransformC_SpaceTransform", "void", ["number", "number"], [_ret, this.pointer]);
|
|
20980
|
+
var _nPtr = new Multiplayer.SpaceTransform(getNativePointer(_ret));
|
|
20981
|
+
Module._free(_ret);
|
|
20982
|
+
return _nPtr;
|
|
20983
|
+
}
|
|
20984
|
+
/**
|
|
20985
|
+
@copydoc ITransformComonent::SetTransform()
|
|
20986
|
+
*/
|
|
20987
|
+
setTransform(value) {
|
|
20988
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetTransform_void_SpaceTransformRC", "void", ["number", "number"], [this.pointer, value.pointer]);
|
|
20989
|
+
}
|
|
20990
|
+
/**
|
|
20991
|
+
@}
|
|
20992
|
+
* \addtogroup IVisibleComponent
|
|
20993
|
+
@{
|
|
20994
|
+
@copydoc IVisibleComponent::GetIsVisible()
|
|
20995
|
+
*/
|
|
20996
|
+
getIsVisible() {
|
|
20997
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
20998
|
+
return _result;
|
|
20999
|
+
}
|
|
21000
|
+
/**
|
|
21001
|
+
@copydoc IVisibleComponent::SetIsVisible()
|
|
21002
|
+
*/
|
|
21003
|
+
setIsVisible(value) {
|
|
21004
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21005
|
+
}
|
|
21006
|
+
/**
|
|
21007
|
+
@copydoc IVisibleComponent::GetIsARVisible()
|
|
21008
|
+
*/
|
|
21009
|
+
getIsARVisible() {
|
|
21010
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
21011
|
+
return _result;
|
|
21012
|
+
}
|
|
21013
|
+
/**
|
|
21014
|
+
@copydoc IVisibleComponent::SetIsARVisible()
|
|
21015
|
+
*/
|
|
21016
|
+
setIsARVisible(value) {
|
|
21017
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21018
|
+
}
|
|
21019
|
+
/**
|
|
21020
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
21021
|
+
*/
|
|
21022
|
+
getIsVirtualVisible() {
|
|
21023
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
21024
|
+
return _result;
|
|
21025
|
+
}
|
|
21026
|
+
/**
|
|
21027
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
21028
|
+
*/
|
|
21029
|
+
setIsVirtualVisible(value) {
|
|
21030
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21031
|
+
}
|
|
21032
|
+
/**
|
|
21033
|
+
@}
|
|
21034
|
+
* \addtogroup IShadowCasterComponent
|
|
21035
|
+
@{
|
|
21036
|
+
@copydoc IShadowCasterComponent::GetIsShadowCaster()
|
|
21037
|
+
*/
|
|
21038
|
+
getIsShadowCaster() {
|
|
21039
|
+
let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsShadowCasterC_bool", "boolean", ["number"], [this.pointer]);
|
|
21040
|
+
return _result;
|
|
21041
|
+
}
|
|
21042
|
+
/**
|
|
21043
|
+
@copydoc IShadowCasterComponent::SetIsShadowCaster()
|
|
21044
|
+
*/
|
|
21045
|
+
setIsShadowCaster(value) {
|
|
21046
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsShadowCaster_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21047
|
+
}
|
|
21048
|
+
delete() {
|
|
21049
|
+
if (this.ownsPointer && !this.disposed) {
|
|
21050
|
+
Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
21051
|
+
this.disposed = true;
|
|
21052
|
+
}
|
|
21053
|
+
}
|
|
21054
|
+
}
|
|
21055
|
+
Multiplayer.ScreenSharingSpaceComponent = ScreenSharingSpaceComponent;
|
|
21056
|
+
})(Multiplayer || (Multiplayer = {}));
|
|
20750
21057
|
(function (Multiplayer) {
|
|
20751
21058
|
/**
|
|
20752
21059
|
@ingroup ScriptSpaceComponent
|
|
@@ -21083,6 +21390,19 @@ export class CSPFoundation {
|
|
|
21083
21390
|
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21084
21391
|
}
|
|
21085
21392
|
/**
|
|
21393
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
21394
|
+
*/
|
|
21395
|
+
getIsVirtualVisible() {
|
|
21396
|
+
let _result = Module.ccall("csp_multiplayer_StaticModelSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
21397
|
+
return _result;
|
|
21398
|
+
}
|
|
21399
|
+
/**
|
|
21400
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
21401
|
+
*/
|
|
21402
|
+
setIsVirtualVisible(value) {
|
|
21403
|
+
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21404
|
+
}
|
|
21405
|
+
/**
|
|
21086
21406
|
@}
|
|
21087
21407
|
* \addtogroup IThirdPartyComponentRef
|
|
21088
21408
|
@{
|
|
@@ -21117,6 +21437,35 @@ export class CSPFoundation {
|
|
|
21117
21437
|
setIsShadowCaster(value) {
|
|
21118
21438
|
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_SetIsShadowCaster_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21119
21439
|
}
|
|
21440
|
+
/**
|
|
21441
|
+
@}
|
|
21442
|
+
* \addtogroup IRenderBehaviourComponent
|
|
21443
|
+
@{
|
|
21444
|
+
@copydoc IRenderBehaviourComponent::GetShowAsHoldoutInAR()
|
|
21445
|
+
*/
|
|
21446
|
+
getShowAsHoldoutInAR() {
|
|
21447
|
+
let _result = Module.ccall("csp_multiplayer_StaticModelSpaceComponent_GetShowAsHoldoutInARC_bool", "boolean", ["number"], [this.pointer]);
|
|
21448
|
+
return _result;
|
|
21449
|
+
}
|
|
21450
|
+
/**
|
|
21451
|
+
@copydoc IRenderBehaviourComponent::SetShowAsHoldoutInAR()
|
|
21452
|
+
*/
|
|
21453
|
+
setShowAsHoldoutInAR(value) {
|
|
21454
|
+
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_SetShowAsHoldoutInAR_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21455
|
+
}
|
|
21456
|
+
/**
|
|
21457
|
+
@copydoc IRenderBehaviourComponent::GetShowAsHoldoutInVirtual()
|
|
21458
|
+
*/
|
|
21459
|
+
getShowAsHoldoutInVirtual() {
|
|
21460
|
+
let _result = Module.ccall("csp_multiplayer_StaticModelSpaceComponent_GetShowAsHoldoutInVirtualC_bool", "boolean", ["number"], [this.pointer]);
|
|
21461
|
+
return _result;
|
|
21462
|
+
}
|
|
21463
|
+
/**
|
|
21464
|
+
@copydoc IRenderBehaviourComponent::SetShowAsHoldoutInVirtual()
|
|
21465
|
+
*/
|
|
21466
|
+
setShowAsHoldoutInVirtual(value) {
|
|
21467
|
+
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_SetShowAsHoldoutInVirtual_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21468
|
+
}
|
|
21120
21469
|
delete() {
|
|
21121
21470
|
if (this.ownsPointer && !this.disposed) {
|
|
21122
21471
|
Module.ccall("csp_multiplayer_StaticModelSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -21363,6 +21712,19 @@ export class CSPFoundation {
|
|
|
21363
21712
|
setIsARVisible(value) {
|
|
21364
21713
|
Module.ccall("csp_multiplayer_TextSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21365
21714
|
}
|
|
21715
|
+
/**
|
|
21716
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
21717
|
+
*/
|
|
21718
|
+
getIsVirtualVisible() {
|
|
21719
|
+
let _result = Module.ccall("csp_multiplayer_TextSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
21720
|
+
return _result;
|
|
21721
|
+
}
|
|
21722
|
+
/**
|
|
21723
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
21724
|
+
*/
|
|
21725
|
+
setIsVirtualVisible(value) {
|
|
21726
|
+
Module.ccall("csp_multiplayer_TextSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21727
|
+
}
|
|
21366
21728
|
delete() {
|
|
21367
21729
|
if (this.ownsPointer && !this.disposed) {
|
|
21368
21730
|
Module.ccall("csp_multiplayer_TextSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -21717,6 +22079,19 @@ export class CSPFoundation {
|
|
|
21717
22079
|
Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
21718
22080
|
}
|
|
21719
22081
|
/**
|
|
22082
|
+
@copydoc IVisibleComponent::GetIsVirtualVisible()
|
|
22083
|
+
*/
|
|
22084
|
+
getIsVirtualVisible() {
|
|
22085
|
+
let _result = Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_GetIsVirtualVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
22086
|
+
return _result;
|
|
22087
|
+
}
|
|
22088
|
+
/**
|
|
22089
|
+
@copydoc IVisibleComponent::SetIsVirtualVisible()
|
|
22090
|
+
*/
|
|
22091
|
+
setIsVirtualVisible(value) {
|
|
22092
|
+
Module.ccall("csp_multiplayer_VideoPlayerSpaceComponent_SetIsVirtualVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
|
|
22093
|
+
}
|
|
22094
|
+
/**
|
|
21720
22095
|
@}
|
|
21721
22096
|
* \addtogroup IEnableableComponent
|
|
21722
22097
|
@{
|
|
@@ -26448,12 +26823,15 @@ export class CSPFoundation {
|
|
|
26448
26823
|
return new Systems.AvatarInfoResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
|
|
26449
26824
|
}
|
|
26450
26825
|
/**
|
|
26451
|
-
* @description
|
|
26826
|
+
* @description Returns the type of avatar selected by the user.
|
|
26452
26827
|
*/
|
|
26453
26828
|
getAvatarType() {
|
|
26454
26829
|
let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarTypeC_AvatarType", "number", ["number"], [this.pointer]);
|
|
26455
26830
|
return _result;
|
|
26456
26831
|
}
|
|
26832
|
+
/**
|
|
26833
|
+
* @description Returns the string used to identify or locate the avatar.
|
|
26834
|
+
*/
|
|
26457
26835
|
getAvatarIdentifier() {
|
|
26458
26836
|
let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarIdentifierC_StringRC", "number", ["number"], [this.pointer]);
|
|
26459
26837
|
const _resultString = Module.UTF8ToString(_result);
|
|
@@ -26461,6 +26839,13 @@ export class CSPFoundation {
|
|
|
26461
26839
|
_result = _resultString;
|
|
26462
26840
|
return _result;
|
|
26463
26841
|
}
|
|
26842
|
+
/**
|
|
26843
|
+
* @description Returns whether or not the user's avatar is intended to be visible or not.
|
|
26844
|
+
*/
|
|
26845
|
+
getAvatarVisible() {
|
|
26846
|
+
let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarVisibleC_bool", "boolean", ["number"], [this.pointer]);
|
|
26847
|
+
return _result;
|
|
26848
|
+
}
|
|
26464
26849
|
delete() {
|
|
26465
26850
|
if (this.ownsPointer && !this.disposed) {
|
|
26466
26851
|
Module.ccall("csp_systems_AvatarInfoResult_Dtor", "void", ["number"], [this.pointer]);
|
|
@@ -26829,9 +27214,10 @@ export class CSPFoundation {
|
|
|
26829
27214
|
* @description Sets the avatar type and identifier for a user.
|
|
26830
27215
|
* @param inType - The type of avatar (predefined, Ready Player Me, or custom).
|
|
26831
27216
|
* @param inIdentifier - A string used to identify or locate the avatar.
|
|
27217
|
+
* @param inAvatarVisible - A bool used to identify whether the user's avatar should be visible or not.
|
|
26832
27218
|
* @param callback - Callback to call when task finishes.
|
|
26833
27219
|
*/
|
|
26834
|
-
async setAvatarInfo(type, identifier) {
|
|
27220
|
+
async setAvatarInfo(type, identifier, avatarVisible) {
|
|
26835
27221
|
var _resolve;
|
|
26836
27222
|
var _promise = new Promise((_r) => {
|
|
26837
27223
|
_resolve = _r;
|
|
@@ -26847,7 +27233,7 @@ export class CSPFoundation {
|
|
|
26847
27233
|
Module.removeFunction(_callbackPtr);
|
|
26848
27234
|
};
|
|
26849
27235
|
_callbackPtr = Module.addFunction(_callback, "vii");
|
|
26850
|
-
Module.ccall("
|
|
27236
|
+
Module.ccall("csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_bool_NullResultCallback", "void", ["number", "number", "string", "boolean", "number", "number"], [this.pointer, type, identifier, avatarVisible, _callbackPtr, 0]);
|
|
26851
27237
|
return _promise;
|
|
26852
27238
|
}
|
|
26853
27239
|
/**
|
|
@@ -27388,7 +27774,7 @@ export class CSPFoundation {
|
|
|
27388
27774
|
* The initial load behaviour will differ based on the concrete IRealtimeEngine passed to this function.
|
|
27389
27775
|
* If user does not have permission to discover or enter the space, callback will be called with EResultCode::Failed and
|
|
27390
27776
|
* ERequestFailureReason::UserSpaceAccessDenied
|
|
27391
|
-
* @param
|
|
27777
|
+
* @param spaceId - Space id to enter into
|
|
27392
27778
|
* @param realtimeEngine - RealtimeEngine to load the space with. This object belongs to the caller, and does not
|
|
27393
27779
|
* transfer ownership. Once the space is loaded, the caller should be sure to maintain the lifetime of the RealtimeEngine so long
|
|
27394
27780
|
* as the space is active. Once the caller has called csp::systems::SpaceSystem::ExitSpace and received the callback, then they are
|
|
@@ -27563,7 +27949,7 @@ export class CSPFoundation {
|
|
|
27563
27949
|
}
|
|
27564
27950
|
/**
|
|
27565
27951
|
* @description Updates the name and/or the description of a Space
|
|
27566
|
-
* @param
|
|
27952
|
+
* @param spaceId - The space id to update
|
|
27567
27953
|
* @param name - If a new name is provided it will be used to update the space name
|
|
27568
27954
|
* @param description - If a new description is provided it will be used to update the space
|
|
27569
27955
|
* description
|
|
@@ -27618,7 +28004,7 @@ export class CSPFoundation {
|
|
|
27618
28004
|
}
|
|
27619
28005
|
/**
|
|
27620
28006
|
* @description Deletes a given space and the associated objects that belong to it. Including UserService group, Metadata, and Thumbnail.
|
|
27621
|
-
* @param
|
|
28007
|
+
* @param spaceId - Space id to delete
|
|
27622
28008
|
* @param callback - Callback when asynchronous task finishes
|
|
27623
28009
|
*/
|
|
27624
28010
|
async deleteSpace(spaceId) {
|
|
@@ -27844,7 +28230,7 @@ export class CSPFoundation {
|
|
|
27844
28230
|
}
|
|
27845
28231
|
/**
|
|
27846
28232
|
* @description Invites a given email to a specific space.
|
|
27847
|
-
* @param
|
|
28233
|
+
* @param spaceId - Space id to invite to
|
|
27848
28234
|
* @param email - Email to invite to space
|
|
27849
28235
|
* @param isModeratorRole - If present and true sets the user's role in the space to "moderator", pass false or
|
|
27850
28236
|
* nullptr to leave role as default
|
|
@@ -27899,7 +28285,7 @@ export class CSPFoundation {
|
|
|
27899
28285
|
}
|
|
27900
28286
|
/**
|
|
27901
28287
|
* @description Invites all the given emails to a specific space.
|
|
27902
|
-
* @param
|
|
28288
|
+
* @param spaceId - Space id to invite to
|
|
27903
28289
|
* @param inviteUsers - Collection containing the email link URL and the users to invite with their emails and roles
|
|
27904
28290
|
* @param callback - Callback when asynchronous task finishes
|
|
27905
28291
|
*/
|
|
@@ -27924,7 +28310,7 @@ export class CSPFoundation {
|
|
|
27924
28310
|
}
|
|
27925
28311
|
/**
|
|
27926
28312
|
* @description Returns an array of obfuscated email addresses, addresses of users that have not yet accepted the space invite
|
|
27927
|
-
* @param
|
|
28313
|
+
* @param spaceId - Space ID for which the invites where sent
|
|
27928
28314
|
* @param callback - Callback when asynchronous task finishes
|
|
27929
28315
|
*/
|
|
27930
28316
|
async getPendingUserInvites(spaceId) {
|
|
@@ -27948,7 +28334,7 @@ export class CSPFoundation {
|
|
|
27948
28334
|
}
|
|
27949
28335
|
/**
|
|
27950
28336
|
* @description Returns an array of ids of users that accepted the space invite
|
|
27951
|
-
* @param
|
|
28337
|
+
* @param spaceId - Space ID for which the invites where sent
|
|
27952
28338
|
* @param callback - Callback when asynchronous task finishes
|
|
27953
28339
|
*/
|
|
27954
28340
|
async getAcceptedUserInvites(spaceId) {
|
|
@@ -27972,7 +28358,7 @@ export class CSPFoundation {
|
|
|
27972
28358
|
}
|
|
27973
28359
|
/**
|
|
27974
28360
|
* @description Removes a user from a space by the user's unique ID.
|
|
27975
|
-
* @param
|
|
28361
|
+
* @param spaceId - Space id to remove user from
|
|
27976
28362
|
* @param userId - Unique id of user
|
|
27977
28363
|
* @param callback - Callback when asynchronous task finishes
|
|
27978
28364
|
*/
|
|
@@ -27997,7 +28383,7 @@ export class CSPFoundation {
|
|
|
27997
28383
|
}
|
|
27998
28384
|
/**
|
|
27999
28385
|
* @description Adds a user to a space by the user's unique ID.
|
|
28000
|
-
* @param
|
|
28386
|
+
* @param spaceId - Space id to add user to
|
|
28001
28387
|
* @param userId - Unique id of user
|
|
28002
28388
|
* @param callback - Callback when asynchronous task finishes
|
|
28003
28389
|
*/
|
|
@@ -28022,7 +28408,7 @@ export class CSPFoundation {
|
|
|
28022
28408
|
}
|
|
28023
28409
|
/**
|
|
28024
28410
|
* @description Creates new Site information and associates it with the Space.
|
|
28025
|
-
* @param
|
|
28411
|
+
* @param spaceId - Space ID to associate the Site information with
|
|
28026
28412
|
* @param siteInfo - Site information to be added
|
|
28027
28413
|
* @param callback - Callback when asynchronous task finishes
|
|
28028
28414
|
*/
|
|
@@ -28047,7 +28433,7 @@ export class CSPFoundation {
|
|
|
28047
28433
|
}
|
|
28048
28434
|
/**
|
|
28049
28435
|
* @description Removes the Site information from the Space.
|
|
28050
|
-
* @param
|
|
28436
|
+
* @param spaceId - Space ID for which to remove the associated Site information
|
|
28051
28437
|
* @param siteInfo - Site information to be removed
|
|
28052
28438
|
* @param callback - Callback when asynchronous task
|
|
28053
28439
|
*/
|
|
@@ -28072,7 +28458,7 @@ export class CSPFoundation {
|
|
|
28072
28458
|
}
|
|
28073
28459
|
/**
|
|
28074
28460
|
* @description Retrieves the Sites information associated with a Space.
|
|
28075
|
-
* @param
|
|
28461
|
+
* @param spaceId - Space ID to be queried for Site information
|
|
28076
28462
|
* @param callback - Callback when asynchronous task finishes
|
|
28077
28463
|
*/
|
|
28078
28464
|
async getSitesInfo(spaceId) {
|
|
@@ -28096,7 +28482,7 @@ export class CSPFoundation {
|
|
|
28096
28482
|
}
|
|
28097
28483
|
/**
|
|
28098
28484
|
* @description Updates the space role for a particular user
|
|
28099
|
-
* @param
|
|
28485
|
+
* @param spaceId - The space ID that the requested user is part of
|
|
28100
28486
|
* @param newUserRoleInfo - New user role information containing the new role for the specified user
|
|
28101
28487
|
* @param callback - Callback when asynchronous task finishes
|
|
28102
28488
|
*/
|
|
@@ -28121,7 +28507,7 @@ export class CSPFoundation {
|
|
|
28121
28507
|
}
|
|
28122
28508
|
/**
|
|
28123
28509
|
* @description Retrieves the User role information for the User Ids that have been passed in
|
|
28124
|
-
* @param
|
|
28510
|
+
* @param spaceId - Space ID for which the User Roles will be retrieved
|
|
28125
28511
|
* @param requestedUserIds - Array of User Ids for which the User Roles will be retrieved
|
|
28126
28512
|
* @param callback - Callback when asynchronous task finishes
|
|
28127
28513
|
*/
|
|
@@ -28195,7 +28581,7 @@ export class CSPFoundation {
|
|
|
28195
28581
|
}
|
|
28196
28582
|
/**
|
|
28197
28583
|
* @description Retrieves the Space metadata information
|
|
28198
|
-
* @param
|
|
28584
|
+
* @param spaceId - Space ID for which the metadata will be retrieved
|
|
28199
28585
|
* @param callback - Callback when asynchronous task finishes
|
|
28200
28586
|
*/
|
|
28201
28587
|
async getSpaceMetadata(spaceId) {
|
|
@@ -28219,7 +28605,7 @@ export class CSPFoundation {
|
|
|
28219
28605
|
}
|
|
28220
28606
|
/**
|
|
28221
28607
|
* @description Updates the Space thumbnail image or adds one if it didn't have it previously using FileAssetDataSource
|
|
28222
|
-
* @param
|
|
28608
|
+
* @param spaceId - Space ID for which the thumbnail will be updated
|
|
28223
28609
|
* @param newThumbnail - New thumbnail information
|
|
28224
28610
|
* @param callback - Callback when asynchronous task finishes
|
|
28225
28611
|
*/
|
|
@@ -28244,7 +28630,7 @@ export class CSPFoundation {
|
|
|
28244
28630
|
}
|
|
28245
28631
|
/**
|
|
28246
28632
|
* @description Updates the Space thumbnail image or adds one if it didn't have it previously using BufferAssetDataSource
|
|
28247
|
-
* @param
|
|
28633
|
+
* @param spaceId - Space ID for which the thumbnail will be updated
|
|
28248
28634
|
* @param newThumbnail - New thumbnail information
|
|
28249
28635
|
* @param callback - Callback when asynchronous task finishes
|
|
28250
28636
|
*/
|
|
@@ -28271,7 +28657,7 @@ export class CSPFoundation {
|
|
|
28271
28657
|
* @description Retrieves the space thumbnail information associated with the space
|
|
28272
28658
|
* If the space does not have a thumbnail associated with it the result callback will be successful, the HTTP res code will be ResponseNotFound
|
|
28273
28659
|
* and the Uri field inside the UriResult will be empty
|
|
28274
|
-
* @param
|
|
28660
|
+
* @param spaceId - Space ID for which the thumbnail information will be retrieved
|
|
28275
28661
|
* @param callback - Callback when asynchronous task finishes
|
|
28276
28662
|
*/
|
|
28277
28663
|
async getSpaceThumbnail(spaceId) {
|
|
@@ -28295,7 +28681,7 @@ export class CSPFoundation {
|
|
|
28295
28681
|
}
|
|
28296
28682
|
/**
|
|
28297
28683
|
* @description Adds user to group banned list. Banned list can be retrieved from the space
|
|
28298
|
-
* @param
|
|
28684
|
+
* @param spaceId - Space ID for which the ban will be issued on
|
|
28299
28685
|
* @param requestedUserId - User id to be banned from the space
|
|
28300
28686
|
* @param callback - Callback when asynchronous task finishes
|
|
28301
28687
|
*/
|
|
@@ -28320,7 +28706,7 @@ export class CSPFoundation {
|
|
|
28320
28706
|
}
|
|
28321
28707
|
/**
|
|
28322
28708
|
* @description Deletes user from group banned list. Banned list can be retrieved from the space
|
|
28323
|
-
* @param
|
|
28709
|
+
* @param spaceId - Space ID for which the Space for which the ban will be removed on
|
|
28324
28710
|
* @param requestedUserId - User id to have ban removed from the space
|
|
28325
28711
|
* @param callback - Callback when asynchronous task finishes
|
|
28326
28712
|
*/
|