connected-spaces-platform.web 6.0.0 → 6.1.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.
@@ -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
  }
@@ -1194,6 +1199,11 @@ function csp_multiplayer_ReflectionSpaceComponentFactory(nativePointer) {
1194
1199
  }
1195
1200
  ProxyClassFactories["csp_multiplayer_ReflectionSpaceComponent"] =
1196
1201
  csp_multiplayer_ReflectionSpaceComponentFactory;
1202
+ function csp_multiplayer_ScreenSharingSpaceComponentFactory(nativePointer) {
1203
+ return new Multiplayer.ScreenSharingSpaceComponent(nativePointer);
1204
+ }
1205
+ ProxyClassFactories["csp_multiplayer_ScreenSharingSpaceComponent"] =
1206
+ csp_multiplayer_ScreenSharingSpaceComponentFactory;
1197
1207
  function csp_multiplayer_ScriptSpaceComponentFactory(nativePointer) {
1198
1208
  return new Multiplayer.ScriptSpaceComponent(nativePointer);
1199
1209
  }
@@ -2073,6 +2083,35 @@ export var Web;
2073
2083
  })(EResponseCodes = Web.EResponseCodes || (Web.EResponseCodes = {}));
2074
2084
  })(Web || (Web = {}));
2075
2085
  export var Multiplayer;
2086
+ (function (Multiplayer) {
2087
+ /**
2088
+ * @description Enumerates the supported states for an avatar.
2089
+ * These are used to establish the related animation that the avatar will use on its state machine.
2090
+ */
2091
+ let AvatarState;
2092
+ (function (AvatarState) {
2093
+ AvatarState[AvatarState["Idle"] = 0] = "Idle";
2094
+ AvatarState[AvatarState["Walking"] = 1] = "Walking";
2095
+ AvatarState[AvatarState["Running"] = 2] = "Running";
2096
+ AvatarState[AvatarState["Flying"] = 3] = "Flying";
2097
+ AvatarState[AvatarState["Jumping"] = 4] = "Jumping";
2098
+ AvatarState[AvatarState["Falling"] = 5] = "Falling";
2099
+ AvatarState[AvatarState["Num"] = 6] = "Num";
2100
+ })(AvatarState = Multiplayer.AvatarState || (Multiplayer.AvatarState = {}));
2101
+ })(Multiplayer || (Multiplayer = {}));
2102
+ (function (Multiplayer) {
2103
+ /**
2104
+ * @description Enumerates the supported play mode for the avatar.
2105
+ */
2106
+ let AvatarPlayMode;
2107
+ (function (AvatarPlayMode) {
2108
+ AvatarPlayMode[AvatarPlayMode["Default"] = 0] = "Default";
2109
+ AvatarPlayMode[AvatarPlayMode["AR"] = 1] = "AR";
2110
+ AvatarPlayMode[AvatarPlayMode["VR"] = 2] = "VR";
2111
+ AvatarPlayMode[AvatarPlayMode["Creator"] = 3] = "Creator";
2112
+ AvatarPlayMode[AvatarPlayMode["Num"] = 4] = "Num";
2113
+ })(AvatarPlayMode = Multiplayer.AvatarPlayMode || (Multiplayer.AvatarPlayMode = {}));
2114
+ })(Multiplayer || (Multiplayer = {}));
2076
2115
  (function (Multiplayer) {
2077
2116
  /**
2078
2117
  * @description Enum used to indicate the failure state of a multiplayer request.
@@ -2228,9 +2267,10 @@ export var Systems;
2228
2267
  ComponentType[ComponentType["Text"] = 25] = "Text";
2229
2268
  ComponentType[ComponentType["Hotspot"] = 26] = "Hotspot";
2230
2269
  ComponentType[ComponentType["CinematicCamera"] = 27] = "CinematicCamera";
2270
+ ComponentType[ComponentType["ScreenSharing"] = 28] = "ScreenSharing";
2231
2271
  //,
2232
- ComponentType[ComponentType["spare"] = 28] = "spare";
2233
- ComponentType[ComponentType["values"] = 29] = "values";
2272
+ ComponentType[ComponentType["spare"] = 29] = "spare";
2273
+ ComponentType[ComponentType["values"] = 30] = "values";
2234
2274
  ComponentType[ComponentType["Delete"] = 56] = "Delete";
2235
2275
  })(ComponentType = Multiplayer.ComponentType || (Multiplayer.ComponentType = {}));
2236
2276
  })(Multiplayer || (Multiplayer = {}));
@@ -2411,35 +2451,6 @@ export var Systems;
2411
2451
  AudioPropertyKeys[AudioPropertyKeys["Num"] = 11] = "Num";
2412
2452
  })(AudioPropertyKeys = Multiplayer.AudioPropertyKeys || (Multiplayer.AudioPropertyKeys = {}));
2413
2453
  })(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
2454
  (function (Multiplayer) {
2444
2455
  /**
2445
2456
  * @description Enumerates the supported locomotion models available for the avatar movements.
@@ -2856,6 +2867,25 @@ export var Systems;
2856
2867
  ReflectionShape[ReflectionShape["UnitBox"] = 1] = "UnitBox";
2857
2868
  })(ReflectionShape = Multiplayer.ReflectionShape || (Multiplayer.ReflectionShape = {}));
2858
2869
  })(Multiplayer || (Multiplayer = {}));
2870
+ (function (Multiplayer) {
2871
+ /**
2872
+ * @description Enumerates the list of properties that can be replicated for a screen sharing component.
2873
+ */
2874
+ let ScreenSharingPropertyKeys;
2875
+ (function (ScreenSharingPropertyKeys) {
2876
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Position"] = 0] = "Position";
2877
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Rotation"] = 1] = "Rotation";
2878
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Scale"] = 2] = "Scale";
2879
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsVisible"] = 3] = "IsVisible";
2880
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsARVisible"] = 4] = "IsARVisible";
2881
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["IsShadowCaster"] = 5] = "IsShadowCaster";
2882
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["UserId"] = 6] = "UserId";
2883
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["DefaultImageCollectionId"] = 7] = "DefaultImageCollectionId";
2884
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["DefaultImageAssetId"] = 8] = "DefaultImageAssetId";
2885
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["AttenuationRadius"] = 9] = "AttenuationRadius";
2886
+ ScreenSharingPropertyKeys[ScreenSharingPropertyKeys["Num"] = 10] = "Num";
2887
+ })(ScreenSharingPropertyKeys = Multiplayer.ScreenSharingPropertyKeys || (Multiplayer.ScreenSharingPropertyKeys = {}));
2888
+ })(Multiplayer || (Multiplayer = {}));
2859
2889
  (function (Multiplayer) {
2860
2890
  /**
2861
2891
  * @description Enumerates the supported scopes of a script.
@@ -10161,7 +10191,7 @@ export class CSPFoundation {
10161
10191
  Module.removeFunction(_callbackPtr);
10162
10192
  };
10163
10193
  _callbackPtr = Module.addFunction(_callback, "vii");
10164
- Module.ccall("csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarStateRC_StringRC_AvatarPlayModeRC_EntityCreatedCallback", "void", [
10194
+ Module.ccall("csp_common_IRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
10165
10195
  "number",
10166
10196
  "string",
10167
10197
  "string",
@@ -16053,7 +16083,7 @@ export class CSPFoundation {
16053
16083
  Module.removeFunction(_callbackPtr);
16054
16084
  };
16055
16085
  _callbackPtr = Module.addFunction(_callback, "vii");
16056
- Module.ccall("csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarStateRC_StringRC_AvatarPlayModeRC_EntityCreatedCallback", "void", [
16086
+ Module.ccall("csp_multiplayer_OnlineRealtimeEngine_CreateAvatar_void_StringRC_StringRC_SpaceTransformRC_bool_AvatarState_StringRC_AvatarPlayMode_EntityCreatedCallback", "void", [
16057
16087
  "number",
16058
16088
  "string",
16059
16089
  "string",
@@ -20747,6 +20777,233 @@ export class CSPFoundation {
20747
20777
  }
20748
20778
  Multiplayer.ReflectionSpaceComponent = ReflectionSpaceComponent;
20749
20779
  })(Multiplayer || (Multiplayer = {}));
20780
+ (function (Multiplayer) {
20781
+ /**
20782
+ @ingroup ScreenSharingSpaceComponent
20783
+ * @description Enables screen sharing within the space.
20784
+ * /// The screen sharing component facilitates the sharing of a user's screen within a space.
20785
+ * The component itself does not make assumptions about the mechanism by which the screen is shared.
20786
+ * It provides properties to define a default image to be displayed when no users are
20787
+ * sharing their screen, as well a UserId property to store the Id of the user currently sharing their screen.
20788
+ */
20789
+ class ScreenSharingSpaceComponent extends Multiplayer.ComponentBase {
20790
+ /** @internal */
20791
+ constructor(pointer) {
20792
+ super(pointer);
20793
+ }
20794
+ static fromComponentBase(baseInstance) {
20795
+ const nativeClassWrapper = baseInstance;
20796
+ return new Multiplayer.ScreenSharingSpaceComponent(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
20797
+ }
20798
+ /**
20799
+ * @description Constructs the screen sharing component, and associates it with the specified Parent space entity.
20800
+ * @param parent - The Space entity that owns this component.
20801
+ */
20802
+ static create_logSystem_parent(logSystem, parent) {
20803
+ var _ptr = Module._malloc(8);
20804
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_Ctor_LogSystemP_SpaceEntityP", "void", ["number", "number", "number"], [_ptr, logSystem.pointer, parent.pointer]);
20805
+ var _nPtr = getNativePointer(_ptr);
20806
+ return new ScreenSharingSpaceComponent(_nPtr);
20807
+ }
20808
+ /**
20809
+ * @description Gets the ID of the user who is currently sharing their screen to this component.
20810
+ * NOTE: An empty string means that no user is currently sharing their screen to this component.
20811
+ * @return The ID of the user who is currently sharing their screen to this component.
20812
+ */
20813
+ getUserId() {
20814
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetUserIdC_StringRC", "number", ["number"], [this.pointer]);
20815
+ const _resultString = Module.UTF8ToString(_result);
20816
+ free(_result);
20817
+ _result = _resultString;
20818
+ return _result;
20819
+ }
20820
+ /**
20821
+ * @description Sets the ID of the user who is sharing their screen to this component.
20822
+ * @param value - The ID of the user who is sharing their screen to this component. This must be set to an empty string when
20823
+ * the user finishes sharing.
20824
+ */
20825
+ setUserId(value) {
20826
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetUserId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
20827
+ }
20828
+ /**
20829
+ * @description Gets the ID of the asset collection associated with the default image for this component.
20830
+ * NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
20831
+ * @return The ID of the default image asset collection associated with this component.
20832
+ */
20833
+ getDefaultImageCollectionId() {
20834
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetDefaultImageCollectionIdC_StringRC", "number", ["number"], [this.pointer]);
20835
+ const _resultString = Module.UTF8ToString(_result);
20836
+ free(_result);
20837
+ _result = _resultString;
20838
+ return _result;
20839
+ }
20840
+ /**
20841
+ * @description Sets the ID of the asset collection associated with the default image for this component.
20842
+ * NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
20843
+ * @param value - The ID of the default image asset collection associated with this component.
20844
+ */
20845
+ setDefaultImageCollectionId(value) {
20846
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetDefaultImageCollectionId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
20847
+ }
20848
+ /**
20849
+ * @description Gets the ID of the asset associated with the default image for this component.
20850
+ * NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
20851
+ * @return The ID of the default image asset associated with this component.
20852
+ */
20853
+ getDefaultImageAssetId() {
20854
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetDefaultImageAssetIdC_StringRC", "number", ["number"], [this.pointer]);
20855
+ const _resultString = Module.UTF8ToString(_result);
20856
+ free(_result);
20857
+ _result = _resultString;
20858
+ return _result;
20859
+ }
20860
+ /**
20861
+ * @description Sets the ID of the asset associated with the default image for this component.
20862
+ * NOTE: To retrieve this component's default image, both the DefaultImageCollectionId and the DefaultImageAssetId are required.
20863
+ * @param value - The ID of the default image asset associated with this component.
20864
+ */
20865
+ setDefaultImageAssetId(value) {
20866
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetDefaultImageAssetId_void_StringRC", "void", ["number", "string"], [this.pointer, value]);
20867
+ }
20868
+ /**
20869
+ * @description Gets the radius from this component origin within which the audio of this video can be heard by the user.
20870
+ * NOTE: Only when the user position is within this radius the audio of the video should be heard.
20871
+ * @return The radius within which the audio of the video can be heard by the user.
20872
+ */
20873
+ getAttenuationRadius() {
20874
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetAttenuationRadiusC_float", "number", ["number"], [this.pointer]);
20875
+ return _result;
20876
+ }
20877
+ /**
20878
+ * @description Sets the radius from this component origin within which the audio of this video can be heard by the user.
20879
+ * NOTE: Only when the user position is within this radius the audio of the video should be heard.
20880
+ * @param value - The radius within which the audio of the video can be heard by the user.
20881
+ */
20882
+ setAttenuationRadius(value) {
20883
+ assert(value >= Limits.FLOAT_MIN);
20884
+ assert(value <= Limits.FLOAT_MAX);
20885
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetAttenuationRadius_void_float", "void", ["number", "number"], [this.pointer, value]);
20886
+ }
20887
+ /**
20888
+ * \addtogroup ITransformComponent
20889
+ @{
20890
+ @copydoc IPositionComponent::GetPosition()
20891
+ */
20892
+ getPosition() {
20893
+ var _ret = Module._malloc(8);
20894
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetPositionC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
20895
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
20896
+ Module._free(_ret);
20897
+ return _nPtr;
20898
+ }
20899
+ /**
20900
+ @copydoc IPositionComponent::SetPosition()
20901
+ */
20902
+ setPosition(value) {
20903
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetPosition_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
20904
+ }
20905
+ /**
20906
+ @copydoc IRotationComponent::GetRotation()
20907
+ */
20908
+ getRotation() {
20909
+ var _ret = Module._malloc(8);
20910
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetRotationC_Vector4RC", "void", ["number", "number"], [_ret, this.pointer]);
20911
+ var _nPtr = new Common.Vector4(getNativePointer(_ret));
20912
+ Module._free(_ret);
20913
+ return _nPtr;
20914
+ }
20915
+ /**
20916
+ @copydoc IRotationComponent::SetRotation()
20917
+ */
20918
+ setRotation(value) {
20919
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetRotation_void_Vector4RC", "void", ["number", "number"], [this.pointer, value.pointer]);
20920
+ }
20921
+ /**
20922
+ @copydoc IScaleComponent::GetScale()
20923
+ */
20924
+ getScale() {
20925
+ var _ret = Module._malloc(8);
20926
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetScaleC_Vector3RC", "void", ["number", "number"], [_ret, this.pointer]);
20927
+ var _nPtr = new Common.Vector3(getNativePointer(_ret));
20928
+ Module._free(_ret);
20929
+ return _nPtr;
20930
+ }
20931
+ /**
20932
+ @copydoc IScaleComponent::SetScale()
20933
+ */
20934
+ setScale(value) {
20935
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetScale_void_Vector3RC", "void", ["number", "number"], [this.pointer, value.pointer]);
20936
+ }
20937
+ /**
20938
+ @copydoc ITransformComponent::GetTransform()
20939
+ */
20940
+ getTransform() {
20941
+ var _ret = Module._malloc(8);
20942
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetTransformC_SpaceTransform", "void", ["number", "number"], [_ret, this.pointer]);
20943
+ var _nPtr = new Multiplayer.SpaceTransform(getNativePointer(_ret));
20944
+ Module._free(_ret);
20945
+ return _nPtr;
20946
+ }
20947
+ /**
20948
+ @copydoc ITransformComonent::SetTransform()
20949
+ */
20950
+ setTransform(value) {
20951
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetTransform_void_SpaceTransformRC", "void", ["number", "number"], [this.pointer, value.pointer]);
20952
+ }
20953
+ /**
20954
+ @}
20955
+ * \addtogroup IVisibleComponent
20956
+ @{
20957
+ @copydoc IVisibleComponent::GetIsVisible()
20958
+ */
20959
+ getIsVisible() {
20960
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsVisibleC_bool", "boolean", ["number"], [this.pointer]);
20961
+ return _result;
20962
+ }
20963
+ /**
20964
+ @copydoc IVisibleComponent::SetIsVisible()
20965
+ */
20966
+ setIsVisible(value) {
20967
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
20968
+ }
20969
+ /**
20970
+ @copydoc IVisibleComponent::GetIsARVisible()
20971
+ */
20972
+ getIsARVisible() {
20973
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsARVisibleC_bool", "boolean", ["number"], [this.pointer]);
20974
+ return _result;
20975
+ }
20976
+ /**
20977
+ @copydoc IVisibleComponent::SetIsARVisible()
20978
+ */
20979
+ setIsARVisible(value) {
20980
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsARVisible_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
20981
+ }
20982
+ /**
20983
+ @}
20984
+ * \addtogroup IShadowCasterComponent
20985
+ @{
20986
+ @copydoc IShadowCasterComponent::GetIsShadowCaster()
20987
+ */
20988
+ getIsShadowCaster() {
20989
+ let _result = Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_GetIsShadowCasterC_bool", "boolean", ["number"], [this.pointer]);
20990
+ return _result;
20991
+ }
20992
+ /**
20993
+ @copydoc IShadowCasterComponent::SetIsShadowCaster()
20994
+ */
20995
+ setIsShadowCaster(value) {
20996
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_SetIsShadowCaster_void_bool", "void", ["number", "boolean"], [this.pointer, value]);
20997
+ }
20998
+ delete() {
20999
+ if (this.ownsPointer && !this.disposed) {
21000
+ Module.ccall("csp_multiplayer_ScreenSharingSpaceComponent_Dtor", "void", ["number"], [this.pointer]);
21001
+ this.disposed = true;
21002
+ }
21003
+ }
21004
+ }
21005
+ Multiplayer.ScreenSharingSpaceComponent = ScreenSharingSpaceComponent;
21006
+ })(Multiplayer || (Multiplayer = {}));
20750
21007
  (function (Multiplayer) {
20751
21008
  /**
20752
21009
  @ingroup ScriptSpaceComponent
@@ -26448,12 +26705,15 @@ export class CSPFoundation {
26448
26705
  return new Systems.AvatarInfoResult(new NativePointer(nativeClassWrapper.pointer, nativeClassWrapper.ownsPointer));
26449
26706
  }
26450
26707
  /**
26451
- * @description A getter which returns the String passed via the result.
26708
+ * @description Returns the type of avatar selected by the user.
26452
26709
  */
26453
26710
  getAvatarType() {
26454
26711
  let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarTypeC_AvatarType", "number", ["number"], [this.pointer]);
26455
26712
  return _result;
26456
26713
  }
26714
+ /**
26715
+ * @description Returns the string used to identify or locate the avatar.
26716
+ */
26457
26717
  getAvatarIdentifier() {
26458
26718
  let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarIdentifierC_StringRC", "number", ["number"], [this.pointer]);
26459
26719
  const _resultString = Module.UTF8ToString(_result);
@@ -26461,6 +26721,13 @@ export class CSPFoundation {
26461
26721
  _result = _resultString;
26462
26722
  return _result;
26463
26723
  }
26724
+ /**
26725
+ * @description Returns whether or not the user's avatar is intended to be visible or not.
26726
+ */
26727
+ getAvatarVisible() {
26728
+ let _result = Module.ccall("csp_systems_AvatarInfoResult_GetAvatarVisibleC_bool", "boolean", ["number"], [this.pointer]);
26729
+ return _result;
26730
+ }
26464
26731
  delete() {
26465
26732
  if (this.ownsPointer && !this.disposed) {
26466
26733
  Module.ccall("csp_systems_AvatarInfoResult_Dtor", "void", ["number"], [this.pointer]);
@@ -26829,9 +27096,10 @@ export class CSPFoundation {
26829
27096
  * @description Sets the avatar type and identifier for a user.
26830
27097
  * @param inType - The type of avatar (predefined, Ready Player Me, or custom).
26831
27098
  * @param inIdentifier - A string used to identify or locate the avatar.
27099
+ * @param inAvatarVisible - A bool used to identify whether the user's avatar should be visible or not.
26832
27100
  * @param callback - Callback to call when task finishes.
26833
27101
  */
26834
- async setAvatarInfo(type, identifier) {
27102
+ async setAvatarInfo(type, identifier, avatarVisible) {
26835
27103
  var _resolve;
26836
27104
  var _promise = new Promise((_r) => {
26837
27105
  _resolve = _r;
@@ -26847,7 +27115,7 @@ export class CSPFoundation {
26847
27115
  Module.removeFunction(_callbackPtr);
26848
27116
  };
26849
27117
  _callbackPtr = Module.addFunction(_callback, "vii");
26850
- Module.ccall("csp_systems_SettingsSystem_SetAvatarInfo_void_AvatarType_StringRC_NullResultCallback", "void", ["number", "number", "string", "number", "number"], [this.pointer, type, identifier, _callbackPtr, 0]);
27118
+ 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
27119
  return _promise;
26852
27120
  }
26853
27121
  /**
@@ -27388,7 +27656,7 @@ export class CSPFoundation {
27388
27656
  * The initial load behaviour will differ based on the concrete IRealtimeEngine passed to this function.
27389
27657
  * If user does not have permission to discover or enter the space, callback will be called with EResultCode::Failed and
27390
27658
  * ERequestFailureReason::UserSpaceAccessDenied
27391
- * @param space - Space to enter into
27659
+ * @param spaceId - Space id to enter into
27392
27660
  * @param realtimeEngine - RealtimeEngine to load the space with. This object belongs to the caller, and does not
27393
27661
  * transfer ownership. Once the space is loaded, the caller should be sure to maintain the lifetime of the RealtimeEngine so long
27394
27662
  * as the space is active. Once the caller has called csp::systems::SpaceSystem::ExitSpace and received the callback, then they are
@@ -27563,7 +27831,7 @@ export class CSPFoundation {
27563
27831
  }
27564
27832
  /**
27565
27833
  * @description Updates the name and/or the description of a Space
27566
- * @param space - The space to update
27834
+ * @param spaceId - The space id to update
27567
27835
  * @param name - If a new name is provided it will be used to update the space name
27568
27836
  * @param description - If a new description is provided it will be used to update the space
27569
27837
  * description
@@ -27618,7 +27886,7 @@ export class CSPFoundation {
27618
27886
  }
27619
27887
  /**
27620
27888
  * @description Deletes a given space and the associated objects that belong to it. Including UserService group, Metadata, and Thumbnail.
27621
- * @param space - Space to delete
27889
+ * @param spaceId - Space id to delete
27622
27890
  * @param callback - Callback when asynchronous task finishes
27623
27891
  */
27624
27892
  async deleteSpace(spaceId) {
@@ -27844,7 +28112,7 @@ export class CSPFoundation {
27844
28112
  }
27845
28113
  /**
27846
28114
  * @description Invites a given email to a specific space.
27847
- * @param space - Space to invite to
28115
+ * @param spaceId - Space id to invite to
27848
28116
  * @param email - Email to invite to space
27849
28117
  * @param isModeratorRole - If present and true sets the user's role in the space to "moderator", pass false or
27850
28118
  * nullptr to leave role as default
@@ -27899,7 +28167,7 @@ export class CSPFoundation {
27899
28167
  }
27900
28168
  /**
27901
28169
  * @description Invites all the given emails to a specific space.
27902
- * @param space - Space to invite to
28170
+ * @param spaceId - Space id to invite to
27903
28171
  * @param inviteUsers - Collection containing the email link URL and the users to invite with their emails and roles
27904
28172
  * @param callback - Callback when asynchronous task finishes
27905
28173
  */
@@ -27924,7 +28192,7 @@ export class CSPFoundation {
27924
28192
  }
27925
28193
  /**
27926
28194
  * @description Returns an array of obfuscated email addresses, addresses of users that have not yet accepted the space invite
27927
- * @param space - Space for which the invites where sent
28195
+ * @param spaceId - Space ID for which the invites where sent
27928
28196
  * @param callback - Callback when asynchronous task finishes
27929
28197
  */
27930
28198
  async getPendingUserInvites(spaceId) {
@@ -27948,7 +28216,7 @@ export class CSPFoundation {
27948
28216
  }
27949
28217
  /**
27950
28218
  * @description Returns an array of ids of users that accepted the space invite
27951
- * @param space - Space for which the invites where sent
28219
+ * @param spaceId - Space ID for which the invites where sent
27952
28220
  * @param callback - Callback when asynchronous task finishes
27953
28221
  */
27954
28222
  async getAcceptedUserInvites(spaceId) {
@@ -27972,7 +28240,7 @@ export class CSPFoundation {
27972
28240
  }
27973
28241
  /**
27974
28242
  * @description Removes a user from a space by the user's unique ID.
27975
- * @param space - Space to remove user from
28243
+ * @param spaceId - Space id to remove user from
27976
28244
  * @param userId - Unique id of user
27977
28245
  * @param callback - Callback when asynchronous task finishes
27978
28246
  */
@@ -27997,7 +28265,7 @@ export class CSPFoundation {
27997
28265
  }
27998
28266
  /**
27999
28267
  * @description Adds a user to a space by the user's unique ID.
28000
- * @param space - Space to add user to
28268
+ * @param spaceId - Space id to add user to
28001
28269
  * @param userId - Unique id of user
28002
28270
  * @param callback - Callback when asynchronous task finishes
28003
28271
  */
@@ -28022,7 +28290,7 @@ export class CSPFoundation {
28022
28290
  }
28023
28291
  /**
28024
28292
  * @description Creates new Site information and associates it with the Space.
28025
- * @param space - Space to associate the Site information with
28293
+ * @param spaceId - Space ID to associate the Site information with
28026
28294
  * @param siteInfo - Site information to be added
28027
28295
  * @param callback - Callback when asynchronous task finishes
28028
28296
  */
@@ -28047,7 +28315,7 @@ export class CSPFoundation {
28047
28315
  }
28048
28316
  /**
28049
28317
  * @description Removes the Site information from the Space.
28050
- * @param space - Space for which to remove the associated Site information
28318
+ * @param spaceId - Space ID for which to remove the associated Site information
28051
28319
  * @param siteInfo - Site information to be removed
28052
28320
  * @param callback - Callback when asynchronous task
28053
28321
  */
@@ -28072,7 +28340,7 @@ export class CSPFoundation {
28072
28340
  }
28073
28341
  /**
28074
28342
  * @description Retrieves the Sites information associated with a Space.
28075
- * @param space - Space to be queried for Site information
28343
+ * @param spaceId - Space ID to be queried for Site information
28076
28344
  * @param callback - Callback when asynchronous task finishes
28077
28345
  */
28078
28346
  async getSitesInfo(spaceId) {
@@ -28096,7 +28364,7 @@ export class CSPFoundation {
28096
28364
  }
28097
28365
  /**
28098
28366
  * @description Updates the space role for a particular user
28099
- * @param space - The space that the requested user is part of
28367
+ * @param spaceId - The space ID that the requested user is part of
28100
28368
  * @param newUserRoleInfo - New user role information containing the new role for the specified user
28101
28369
  * @param callback - Callback when asynchronous task finishes
28102
28370
  */
@@ -28121,7 +28389,7 @@ export class CSPFoundation {
28121
28389
  }
28122
28390
  /**
28123
28391
  * @description Retrieves the User role information for the User Ids that have been passed in
28124
- * @param space - Space for which the User Roles will be retrieved
28392
+ * @param spaceId - Space ID for which the User Roles will be retrieved
28125
28393
  * @param requestedUserIds - Array of User Ids for which the User Roles will be retrieved
28126
28394
  * @param callback - Callback when asynchronous task finishes
28127
28395
  */
@@ -28195,7 +28463,7 @@ export class CSPFoundation {
28195
28463
  }
28196
28464
  /**
28197
28465
  * @description Retrieves the Space metadata information
28198
- * @param space - Space for which the metadata will be retrieved
28466
+ * @param spaceId - Space ID for which the metadata will be retrieved
28199
28467
  * @param callback - Callback when asynchronous task finishes
28200
28468
  */
28201
28469
  async getSpaceMetadata(spaceId) {
@@ -28219,7 +28487,7 @@ export class CSPFoundation {
28219
28487
  }
28220
28488
  /**
28221
28489
  * @description Updates the Space thumbnail image or adds one if it didn't have it previously using FileAssetDataSource
28222
- * @param space - Space for which the thumbnail will be updated
28490
+ * @param spaceId - Space ID for which the thumbnail will be updated
28223
28491
  * @param newThumbnail - New thumbnail information
28224
28492
  * @param callback - Callback when asynchronous task finishes
28225
28493
  */
@@ -28244,7 +28512,7 @@ export class CSPFoundation {
28244
28512
  }
28245
28513
  /**
28246
28514
  * @description Updates the Space thumbnail image or adds one if it didn't have it previously using BufferAssetDataSource
28247
- * @param space - Space for which the thumbnail will be updated
28515
+ * @param spaceId - Space ID for which the thumbnail will be updated
28248
28516
  * @param newThumbnail - New thumbnail information
28249
28517
  * @param callback - Callback when asynchronous task finishes
28250
28518
  */
@@ -28271,7 +28539,7 @@ export class CSPFoundation {
28271
28539
  * @description Retrieves the space thumbnail information associated with the space
28272
28540
  * 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
28541
  * and the Uri field inside the UriResult will be empty
28274
- * @param space - Space for which the thumbnail information will be retrieved
28542
+ * @param spaceId - Space ID for which the thumbnail information will be retrieved
28275
28543
  * @param callback - Callback when asynchronous task finishes
28276
28544
  */
28277
28545
  async getSpaceThumbnail(spaceId) {
@@ -28295,7 +28563,7 @@ export class CSPFoundation {
28295
28563
  }
28296
28564
  /**
28297
28565
  * @description Adds user to group banned list. Banned list can be retrieved from the space
28298
- * @param space - Space for which the ban will be issued on
28566
+ * @param spaceId - Space ID for which the ban will be issued on
28299
28567
  * @param requestedUserId - User id to be banned from the space
28300
28568
  * @param callback - Callback when asynchronous task finishes
28301
28569
  */
@@ -28320,7 +28588,7 @@ export class CSPFoundation {
28320
28588
  }
28321
28589
  /**
28322
28590
  * @description Deletes user from group banned list. Banned list can be retrieved from the space
28323
- * @param space - Space for which the Space for which the ban will be removed on
28591
+ * @param spaceId - Space ID for which the Space for which the ban will be removed on
28324
28592
  * @param requestedUserId - User id to have ban removed from the space
28325
28593
  * @param callback - Callback when asynchronous task finishes
28326
28594
  */