@dcl/playground-assets 7.24.0 → 7.24.1-27169868884.commit-5ca22be

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.
@@ -1293,6 +1293,7 @@ declare module "~system/RestrictedActions" {
1293
1293
  }
1294
1294
  export interface TriggerEmoteRequest {
1295
1295
  predefinedEmote: string;
1296
+ mask?: number | undefined;
1296
1297
  }
1297
1298
  export interface ChangeRealmRequest {
1298
1299
  realm: string;
@@ -1312,6 +1313,7 @@ declare module "~system/RestrictedActions" {
1312
1313
  export interface TriggerSceneEmoteRequest {
1313
1314
  src: string;
1314
1315
  loop?: boolean | undefined;
1316
+ mask?: number | undefined;
1315
1317
  }
1316
1318
  export interface SuccessResponse {
1317
1319
  success: boolean;
@@ -1327,6 +1329,8 @@ declare module "~system/RestrictedActions" {
1327
1329
  text: string;
1328
1330
  }
1329
1331
  export interface EmptyResponse {
1332
+ }
1333
+ export interface StopEmoteRequest {
1330
1334
  }
1331
1335
 
1332
1336
  // Function declaration section
@@ -1355,6 +1359,8 @@ declare module "~system/RestrictedActions" {
1355
1359
  export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
1356
1360
  /** CopyToClipboard copies the provided text into the clipboard */
1357
1361
  export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
1362
+ /** StopEmote will stop the current emote */
1363
+ export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
1358
1364
 
1359
1365
  }
1360
1366
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.24.0",
4
+ "version": "7.24.1-27169868884.commit-5ca22be",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "5d040fd6fe9e018eb005a5c2a85e3419e1ea87a4"
38
+ "commit": "5ca22beb2674993d2250d2fa326072e8c626f22d"
39
39
  }
@@ -261,6 +261,15 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
261
261
  /** @public */
262
262
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
263
263
 
264
+ /** Mask for which bones an animation applies to. */
265
+ /**
266
+ * @public
267
+ */
268
+ export declare const enum AvatarEmoteMask {
269
+ AEM_FULL_BODY = 0,
270
+ AEM_UPPER_BODY = 1
271
+ }
272
+
264
273
  /** @public */
265
274
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
266
275
 
@@ -4848,6 +4857,12 @@ export declare interface PBAvatarLocomotionSettings {
4848
4857
  runJumpHeight?: number | undefined;
4849
4858
  /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4850
4859
  hardLandingCooldown?: number | undefined;
4860
+ /** Height of the double jump (in meters) */
4861
+ doubleJumpHeight?: number | undefined;
4862
+ /** Maximum speed when gliding (in meters per second) */
4863
+ glidingSpeed?: number | undefined;
4864
+ /** Maximum falling speed when gliding (in meters per second) */
4865
+ glidingFallingSpeed?: number | undefined;
4851
4866
  }
4852
4867
 
4853
4868
  /**
@@ -6940,6 +6955,7 @@ export declare namespace PBVideoPlayer {
6940
6955
  * an 'instant' transition (like using speed/time = 0)
6941
6956
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6942
6957
  * the holding entity transform).
6958
+ * * The fov defines the Field of View of the virtual camera
6943
6959
  */
6944
6960
  /**
6945
6961
  * @public
@@ -6947,6 +6963,8 @@ export declare namespace PBVideoPlayer {
6947
6963
  export declare interface PBVirtualCamera {
6948
6964
  defaultTransition?: CameraTransition | undefined;
6949
6965
  lookAtEntity?: number | undefined;
6966
+ /** default: 60 */
6967
+ fov?: number | undefined;
6950
6968
  }
6951
6969
 
6952
6970
  /**
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.58.7"
8
+ "packageVersion": "7.58.8"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.58.7",
4
+ "toolVersion": "7.58.8",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -2616,6 +2616,65 @@
2616
2616
  "endIndex": 5
2617
2617
  }
2618
2618
  },
2619
+ {
2620
+ "kind": "Enum",
2621
+ "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask:enum",
2622
+ "docComment": "/**\n * @public\n */\n",
2623
+ "excerptTokens": [
2624
+ {
2625
+ "kind": "Content",
2626
+ "text": "export declare const enum AvatarEmoteMask "
2627
+ }
2628
+ ],
2629
+ "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts",
2630
+ "releaseTag": "Public",
2631
+ "name": "AvatarEmoteMask",
2632
+ "preserveMemberOrder": false,
2633
+ "members": [
2634
+ {
2635
+ "kind": "EnumMember",
2636
+ "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_FULL_BODY:member",
2637
+ "docComment": "",
2638
+ "excerptTokens": [
2639
+ {
2640
+ "kind": "Content",
2641
+ "text": "AEM_FULL_BODY = "
2642
+ },
2643
+ {
2644
+ "kind": "Content",
2645
+ "text": "0"
2646
+ }
2647
+ ],
2648
+ "initializerTokenRange": {
2649
+ "startIndex": 1,
2650
+ "endIndex": 2
2651
+ },
2652
+ "releaseTag": "Public",
2653
+ "name": "AEM_FULL_BODY"
2654
+ },
2655
+ {
2656
+ "kind": "EnumMember",
2657
+ "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_UPPER_BODY:member",
2658
+ "docComment": "",
2659
+ "excerptTokens": [
2660
+ {
2661
+ "kind": "Content",
2662
+ "text": "AEM_UPPER_BODY = "
2663
+ },
2664
+ {
2665
+ "kind": "Content",
2666
+ "text": "1"
2667
+ }
2668
+ ],
2669
+ "initializerTokenRange": {
2670
+ "startIndex": 1,
2671
+ "endIndex": 2
2672
+ },
2673
+ "releaseTag": "Public",
2674
+ "name": "AEM_UPPER_BODY"
2675
+ }
2676
+ ]
2677
+ },
2619
2678
  {
2620
2679
  "kind": "Variable",
2621
2680
  "canonicalReference": "@dcl/playground-assets!AvatarEquippedData:var",
@@ -44085,6 +44144,87 @@
44085
44144
  "name": "PBAvatarLocomotionSettings",
44086
44145
  "preserveMemberOrder": false,
44087
44146
  "members": [
44147
+ {
44148
+ "kind": "PropertySignature",
44149
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#doubleJumpHeight:member",
44150
+ "docComment": "/**\n * Height of the double jump (in meters)\n */\n",
44151
+ "excerptTokens": [
44152
+ {
44153
+ "kind": "Content",
44154
+ "text": "doubleJumpHeight?: "
44155
+ },
44156
+ {
44157
+ "kind": "Content",
44158
+ "text": "number | undefined"
44159
+ },
44160
+ {
44161
+ "kind": "Content",
44162
+ "text": ";"
44163
+ }
44164
+ ],
44165
+ "isReadonly": false,
44166
+ "isOptional": true,
44167
+ "releaseTag": "Public",
44168
+ "name": "doubleJumpHeight",
44169
+ "propertyTypeTokenRange": {
44170
+ "startIndex": 1,
44171
+ "endIndex": 2
44172
+ }
44173
+ },
44174
+ {
44175
+ "kind": "PropertySignature",
44176
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingFallingSpeed:member",
44177
+ "docComment": "/**\n * Maximum falling speed when gliding (in meters per second)\n */\n",
44178
+ "excerptTokens": [
44179
+ {
44180
+ "kind": "Content",
44181
+ "text": "glidingFallingSpeed?: "
44182
+ },
44183
+ {
44184
+ "kind": "Content",
44185
+ "text": "number | undefined"
44186
+ },
44187
+ {
44188
+ "kind": "Content",
44189
+ "text": ";"
44190
+ }
44191
+ ],
44192
+ "isReadonly": false,
44193
+ "isOptional": true,
44194
+ "releaseTag": "Public",
44195
+ "name": "glidingFallingSpeed",
44196
+ "propertyTypeTokenRange": {
44197
+ "startIndex": 1,
44198
+ "endIndex": 2
44199
+ }
44200
+ },
44201
+ {
44202
+ "kind": "PropertySignature",
44203
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingSpeed:member",
44204
+ "docComment": "/**\n * Maximum speed when gliding (in meters per second)\n */\n",
44205
+ "excerptTokens": [
44206
+ {
44207
+ "kind": "Content",
44208
+ "text": "glidingSpeed?: "
44209
+ },
44210
+ {
44211
+ "kind": "Content",
44212
+ "text": "number | undefined"
44213
+ },
44214
+ {
44215
+ "kind": "Content",
44216
+ "text": ";"
44217
+ }
44218
+ ],
44219
+ "isReadonly": false,
44220
+ "isOptional": true,
44221
+ "releaseTag": "Public",
44222
+ "name": "glidingSpeed",
44223
+ "propertyTypeTokenRange": {
44224
+ "startIndex": 1,
44225
+ "endIndex": 2
44226
+ }
44227
+ },
44088
44228
  {
44089
44229
  "kind": "PropertySignature",
44090
44230
  "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#hardLandingCooldown:member",
@@ -67752,6 +67892,33 @@
67752
67892
  "endIndex": 3
67753
67893
  }
67754
67894
  },
67895
+ {
67896
+ "kind": "PropertySignature",
67897
+ "canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
67898
+ "docComment": "/**\n * default: 60\n */\n",
67899
+ "excerptTokens": [
67900
+ {
67901
+ "kind": "Content",
67902
+ "text": "fov?: "
67903
+ },
67904
+ {
67905
+ "kind": "Content",
67906
+ "text": "number | undefined"
67907
+ },
67908
+ {
67909
+ "kind": "Content",
67910
+ "text": ";"
67911
+ }
67912
+ ],
67913
+ "isReadonly": false,
67914
+ "isOptional": true,
67915
+ "releaseTag": "Public",
67916
+ "name": "fov",
67917
+ "propertyTypeTokenRange": {
67918
+ "startIndex": 1,
67919
+ "endIndex": 2
67920
+ }
67921
+ },
67755
67922
  {
67756
67923
  "kind": "PropertySignature",
67757
67924
  "canonicalReference": "@dcl/playground-assets!PBVirtualCamera#lookAtEntity:member",
@@ -184,6 +184,14 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
184
184
  // @public (undocumented)
185
185
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
186
186
 
187
+ // @public (undocumented)
188
+ export const enum AvatarEmoteMask {
189
+ // (undocumented)
190
+ AEM_FULL_BODY = 0,
191
+ // (undocumented)
192
+ AEM_UPPER_BODY = 1
193
+ }
194
+
187
195
  // @public (undocumented)
188
196
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
189
197
 
@@ -2553,6 +2561,9 @@ export namespace PBAvatarEquippedData {
2553
2561
 
2554
2562
  // @public (undocumented)
2555
2563
  export interface PBAvatarLocomotionSettings {
2564
+ doubleJumpHeight?: number | undefined;
2565
+ glidingFallingSpeed?: number | undefined;
2566
+ glidingSpeed?: number | undefined;
2556
2567
  hardLandingCooldown?: number | undefined;
2557
2568
  jogSpeed?: number | undefined;
2558
2569
  jumpHeight?: number | undefined;
@@ -4040,6 +4051,7 @@ export namespace PBVideoPlayer {
4040
4051
  export interface PBVirtualCamera {
4041
4052
  // (undocumented)
4042
4053
  defaultTransition?: CameraTransition | undefined;
4054
+ fov?: number | undefined;
4043
4055
  // (undocumented)
4044
4056
  lookAtEntity?: number | undefined;
4045
4057
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.24.0",
4
+ "version": "7.24.1-27169868884.commit-5ca22be",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.24.0",
8
- "@dcl/sdk": "7.24.0"
7
+ "@dcl/js-runtime": "7.24.1-27169868884.commit-5ca22be",
8
+ "@dcl/sdk": "7.24.1-27169868884.commit-5ca22be"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "5d040fd6fe9e018eb005a5c2a85e3419e1ea87a4"
35
+ "commit": "5ca22beb2674993d2250d2fa326072e8c626f22d"
36
36
  }