connected-spaces-platform.web 5.8.1 → 5.9.1

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.
@@ -3115,34 +3115,38 @@ export namespace Multiplayer {
3115
3115
  * /// Values with _DEPRECATED appended to their name should not be used. They are retained only for backwards compatibility.
3116
3116
  */
3117
3117
  export enum ComponentType {
3118
- Invalid,
3119
- Core,
3120
- UIController_DEPRECATED,
3121
- StaticModel,
3122
- AnimatedModel,
3123
- MediaSurface_DEPRECATED,
3124
- VideoPlayer,
3125
- ImageSequencer_DEPRECATED,
3126
- ExternalLink,
3127
- AvatarData,
3128
- Light,
3129
- Button,
3130
- Image,
3131
- ScriptData,
3132
- Custom,
3133
- Conversation,
3134
- Portal,
3135
- Audio,
3136
- Spline,
3137
- Collision,
3138
- Reflection,
3139
- Fog,
3140
- ECommerce,
3141
- FiducialMarker,
3142
- GaussianSplat,
3143
- Text,
3144
- Hotspot,
3145
- CinematicCamera,
3118
+ Invalid = 0,
3119
+ Core = 1,
3120
+ UIController_DEPRECATED = 2,
3121
+ StaticModel = 3,
3122
+ AnimatedModel = 4,
3123
+ MediaSurface_DEPRECATED = 5,
3124
+ VideoPlayer = 6,
3125
+ ImageSequencer_DEPRECATED = 7,
3126
+ ExternalLink = 8,
3127
+ AvatarData = 9,
3128
+ Light = 10,
3129
+ Button = 11,
3130
+ Image = 12,
3131
+ ScriptData = 13,
3132
+ Custom = 14,
3133
+ Conversation = 15,
3134
+ Portal = 16,
3135
+ Audio = 17,
3136
+ Spline = 18,
3137
+ Collision = 19,
3138
+ Reflection = 20,
3139
+ Fog = 21,
3140
+ ECommerce = 22,
3141
+ FiducialMarker = 23,
3142
+ GaussianSplat = 24,
3143
+ Text = 25,
3144
+ Hotspot = 26,
3145
+ CinematicCamera = 27,
3146
+ //,
3147
+ spare,
3148
+ values,
3149
+ Delete = 56,
3146
3150
  }
3147
3151
  }
3148
3152
 
@@ -26426,6 +26430,10 @@ export namespace Systems {
26426
26430
  }
26427
26431
  }
26428
26432
 
26433
+ // operator==
26434
+
26435
+ // operator!=
26436
+
26429
26437
  /**
26430
26438
  * @description Status of this response.
26431
26439
  * @return EResultCode
@@ -46688,12 +46696,16 @@ export namespace Systems {
46688
46696
  * @description Creates a new material backed by an AssetCollection/Asset.
46689
46697
  * @param name - The name of the new material.
46690
46698
  * @param spaceId - The space id this material is associated with.
46699
+ * @param metadata - The metadata to be associated with the created material.
46700
+ * @param assetTags - Tags to be associated with the created material.
46691
46701
  * @param callback - Callback when asynchronous task finishes.
46692
46702
  */
46693
46703
 
46694
46704
  async createMaterial(
46695
46705
  name: string,
46696
46706
  spaceId: string,
46707
+ metadata: Common.Map<string, string>,
46708
+ assetTags: Common.Array<string>,
46697
46709
  ): Promise<Systems.GLTFMaterialResult> {
46698
46710
  var _resolve;
46699
46711
 
@@ -46718,10 +46730,18 @@ export namespace Systems {
46718
46730
  _callbackPtr = Module.addFunction(_callback, "vii");
46719
46731
 
46720
46732
  Module.ccall(
46721
- "csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_GLTFMaterialResultCallback",
46733
+ "csp_systems_AssetSystem_CreateMaterial_void_StringRC_StringRC_MapRC_ArrayRC_GLTFMaterialResultCallback",
46722
46734
  "void",
46723
- ["number", "string", "string", "number", "number"],
46724
- [this.pointer, name, spaceId, _callbackPtr, 0],
46735
+ ["number", "string", "string", "number", "number", "number", "number"],
46736
+ [
46737
+ this.pointer,
46738
+ name,
46739
+ spaceId,
46740
+ metadata.pointer,
46741
+ assetTags.pointer,
46742
+ _callbackPtr,
46743
+ 0,
46744
+ ],
46725
46745
  );
46726
46746
 
46727
46747
  return _promise;
@@ -46896,7 +46916,7 @@ export namespace Systems {
46896
46916
  }
46897
46917
 
46898
46918
  /**
46899
- * @description Sets a callback for an asset changed event.
46919
+ * @description Sets a callback for an asset changed event. Triggered when assets, such as textures or meshes, are modified
46900
46920
  * @param callback - Callback to receive data for the asset that has been changed.
46901
46921
  */
46902
46922
  setAssetDetailBlobChangedCallback(
@@ -53744,6 +53764,8 @@ export namespace Systems {
53744
53764
  * @description Enter a space if you have permission to, based on the Space settings.
53745
53765
  * This includes setting scopes (and toggling event listening in order to set the scope).
53746
53766
  * It also retrieves all entities in the space. Ensure Connect is called prior to this.
53767
+ * If user does not have permission to discover or enter the space, callback will be called with EResultCode::Failed and
53768
+ * ERequestFailureReason::UserSpaceAccessDenied
53747
53769
  * @param space - Space to enter into
53748
53770
  * @param callback - Callback when asynchronous task finishes
53749
53771
  */
@@ -58185,7 +58207,9 @@ export namespace Systems {
58185
58207
 
58186
58208
  /**
58187
58209
  * @description Sets a callback for an access control changed event.
58188
- * @param callback - Callback to receive data for the user permissions that has been changed.
58210
+ * /// Occurs when a user's permissions are altered, impacting their ability to interact with specific spaces.
58211
+ * Clients can use this event to reflect access levels in real time.
58212
+ * /// @param Callback UserPermissionsChangedCallbackHandler: Callback to receive data for the user permissions that has been changed.
58189
58213
  */
58190
58214
  setUserPermissionsChangedCallback(
58191
58215
  callback: (arg1: Multiplayer.UserPermissionsParams) => void,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "connected-spaces-platform.web",
3
3
  "displayName": "connected-spaces-platform.web",
4
- "version": "5.8.1+569",
4
+ "version": "5.9.1+571",
5
5
  "description": "This package provides the binaries required to interface with the Connected Spaces Platform API.",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {