connected-spaces-platform.web 6.13.0 → 6.14.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.
@@ -4006,9 +4006,9 @@ export namespace Multiplayer {
4006
4006
  AvatarId = 0,
4007
4007
  UserId,
4008
4008
  State,
4009
- AvatarMeshIndex,
4009
+ AvatarMeshIndex_DEPRECATED,
4010
4010
  AgoraUserId,
4011
- CustomAvatarUrl,
4011
+ CustomAvatarUrl_DEPRECATED,
4012
4012
  IsHandIKEnabled,
4013
4013
  TargetHandIKTargetLocation,
4014
4014
  HandRotation,
@@ -4021,6 +4021,7 @@ export namespace Multiplayer {
4021
4021
  IsVisible,
4022
4022
  IsARVisible,
4023
4023
  IsVirtualVisible,
4024
+ AvatarUrl,
4024
4025
  Num,
4025
4026
  }
4026
4027
  }
@@ -25010,6 +25011,15 @@ export namespace Multiplayer {
25010
25011
  return _nPtr;
25011
25012
  }
25012
25013
 
25014
+ __CauseFailure(): void {
25015
+ Module.ccall(
25016
+ "csp_multiplayer_MultiplayerConnection___CauseFailure_void",
25017
+ "void",
25018
+ ["number"],
25019
+ [this.pointer],
25020
+ );
25021
+ }
25022
+
25013
25023
  delete(): void {
25014
25024
  if (this.ownsPointer && !this.disposed) {
25015
25025
  Module.ccall(
@@ -38758,41 +38768,6 @@ export namespace Multiplayer {
38758
38768
  );
38759
38769
  }
38760
38770
 
38761
- /**
38762
- * @description Gets the ID of the mesh of the avatar of this component.
38763
- * NOTE: Used to establish which mesh this avatar should use among a collection of predefined meshes.
38764
- * @return The ID of the mesh of the avatar of this component.
38765
- */
38766
-
38767
- getAvatarMeshIndex(): bigint {
38768
- let _result = Module.ccall(
38769
- "csp_multiplayer_AvatarSpaceComponent_GetAvatarMeshIndexC_int64_t",
38770
- "bigint",
38771
- ["number"],
38772
- [this.pointer],
38773
- );
38774
-
38775
- return _result;
38776
- }
38777
-
38778
- /**
38779
- * @description Sets the ID of the mesh of the avatar of this component.
38780
- * NOTE: Used to establish which mesh this avatar should use among a collection of predefined meshes.
38781
- * @param value - The ID of the mesh of the avatar of this component.
38782
- */
38783
-
38784
- setAvatarMeshIndex(value: bigint): void {
38785
- assert(value >= Limits.INT64_MIN);
38786
- assert(value <= Limits.INT64_MAX);
38787
-
38788
- Module.ccall(
38789
- "csp_multiplayer_AvatarSpaceComponent_SetAvatarMeshIndex_void_int64_t",
38790
- "void",
38791
- ["number", "bigint"],
38792
- [this.pointer, value],
38793
- );
38794
- }
38795
-
38796
38771
  /**
38797
38772
  * @description Gets the ID of the Agora user bounded to this avatar.
38798
38773
  * NOTE: When using voice chat, an Agora user is associated with a specific avatar component, so that
@@ -38832,43 +38807,6 @@ export namespace Multiplayer {
38832
38807
  );
38833
38808
  }
38834
38809
 
38835
- /**
38836
- * @description Gets the URL of a custom mesh for this avatar.
38837
- * NOTE: This is intended for use with external avatar managers, such as ReadyPlayerMe.
38838
- * @return The URL of the custom mesh this avatar component uses for its avatar.
38839
- */
38840
-
38841
- getCustomAvatarUrl(): string {
38842
- let _result = Module.ccall(
38843
- "csp_multiplayer_AvatarSpaceComponent_GetCustomAvatarUrlC_StringRC",
38844
- "number",
38845
- ["number"],
38846
- [this.pointer],
38847
- );
38848
-
38849
- const _resultString = Module.UTF8ToString(_result);
38850
- free(_result);
38851
-
38852
- _result = _resultString;
38853
-
38854
- return _result;
38855
- }
38856
-
38857
- /**
38858
- * @description Sets the URL of a custom mesh for this avatar.
38859
- * NOTE: This is intended for use with external avatar managers, such as ReadyPlayerMe.
38860
- * @param value - The URL of the custom mesh this avatar component uses for its avatar.
38861
- */
38862
-
38863
- setCustomAvatarUrl(value: string): void {
38864
- Module.ccall(
38865
- "csp_multiplayer_AvatarSpaceComponent_SetCustomAvatarUrl_void_StringRC",
38866
- "void",
38867
- ["number", "string"],
38868
- [this.pointer, value],
38869
- );
38870
- }
38871
-
38872
38810
  /**
38873
38811
  * @description Checks if the Hands Inverse Kinematics (IK) are enabled for this avatar.
38874
38812
  * NOTE: Intended for use in VR or with virtual hands controllers.
@@ -39265,6 +39203,44 @@ export namespace Multiplayer {
39265
39203
  );
39266
39204
  }
39267
39205
 
39206
+ /**
39207
+ @}
39208
+ * @description Gets the URL of a mesh for this avatar.
39209
+ * NOTE: This is intended for use with external avatar managers, such as ReadyPlayerMe.
39210
+ * @return The URL of the mesh this avatar component uses for its avatar.
39211
+ */
39212
+
39213
+ getAvatarUrl(): string {
39214
+ let _result = Module.ccall(
39215
+ "csp_multiplayer_AvatarSpaceComponent_GetAvatarUrlC_StringRC",
39216
+ "number",
39217
+ ["number"],
39218
+ [this.pointer],
39219
+ );
39220
+
39221
+ const _resultString = Module.UTF8ToString(_result);
39222
+ free(_result);
39223
+
39224
+ _result = _resultString;
39225
+
39226
+ return _result;
39227
+ }
39228
+
39229
+ /**
39230
+ * @description Sets the URL of a mesh for this avatar.
39231
+ * NOTE: This is intended for use with external avatar managers, such as ReadyPlayerMe.
39232
+ * @param value - The URL of the mesh this avatar component uses for its avatar.
39233
+ */
39234
+
39235
+ setAvatarUrl(value: string): void {
39236
+ Module.ccall(
39237
+ "csp_multiplayer_AvatarSpaceComponent_SetAvatarUrl_void_StringRC",
39238
+ "void",
39239
+ ["number", "string"],
39240
+ [this.pointer, value],
39241
+ );
39242
+ }
39243
+
39268
39244
  delete(): void {
39269
39245
  if (this.ownsPointer && !this.disposed) {
39270
39246
  Module.ccall(
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": "6.13.0",
4
+ "version": "6.14.0",
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": {