@dcl/playground-assets 7.23.2 → 7.23.3-25829613631.commit-ac51407

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.23.2",
4
+ "version": "7.23.3-25829613631.commit-ac51407",
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": "15e86977205ad099c6c1b81f6c14e1acb7b52bd7"
38
+ "commit": "ac5140787a065a3c99997d6129e4e71b280f1cc2"
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
 
@@ -4834,6 +4843,12 @@ export declare interface PBAvatarLocomotionSettings {
4834
4843
  runJumpHeight?: number | undefined;
4835
4844
  /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4836
4845
  hardLandingCooldown?: number | undefined;
4846
+ /** Height of the double jump (in meters) */
4847
+ doubleJumpHeight?: number | undefined;
4848
+ /** Maximum speed when gliding (in meters per second) */
4849
+ glidingSpeed?: number | undefined;
4850
+ /** Maximum falling speed when gliding (in meters per second) */
4851
+ glidingFallingSpeed?: number | undefined;
4837
4852
  }
4838
4853
 
4839
4854
  /**
@@ -6918,6 +6933,7 @@ export declare namespace PBVideoPlayer {
6918
6933
  * an 'instant' transition (like using speed/time = 0)
6919
6934
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6920
6935
  * the holding entity transform).
6936
+ * * The fov defines the Field of View of the virtual camera
6921
6937
  */
6922
6938
  /**
6923
6939
  * @public
@@ -6925,6 +6941,8 @@ export declare namespace PBVideoPlayer {
6925
6941
  export declare interface PBVirtualCamera {
6926
6942
  defaultTransition?: CameraTransition | undefined;
6927
6943
  lookAtEntity?: number | undefined;
6944
+ /** default: 60 */
6945
+ fov?: number | undefined;
6928
6946
  }
6929
6947
 
6930
6948
  /**
@@ -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",
@@ -44020,6 +44079,87 @@
44020
44079
  "name": "PBAvatarLocomotionSettings",
44021
44080
  "preserveMemberOrder": false,
44022
44081
  "members": [
44082
+ {
44083
+ "kind": "PropertySignature",
44084
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#doubleJumpHeight:member",
44085
+ "docComment": "/**\n * Height of the double jump (in meters)\n */\n",
44086
+ "excerptTokens": [
44087
+ {
44088
+ "kind": "Content",
44089
+ "text": "doubleJumpHeight?: "
44090
+ },
44091
+ {
44092
+ "kind": "Content",
44093
+ "text": "number | undefined"
44094
+ },
44095
+ {
44096
+ "kind": "Content",
44097
+ "text": ";"
44098
+ }
44099
+ ],
44100
+ "isReadonly": false,
44101
+ "isOptional": true,
44102
+ "releaseTag": "Public",
44103
+ "name": "doubleJumpHeight",
44104
+ "propertyTypeTokenRange": {
44105
+ "startIndex": 1,
44106
+ "endIndex": 2
44107
+ }
44108
+ },
44109
+ {
44110
+ "kind": "PropertySignature",
44111
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingFallingSpeed:member",
44112
+ "docComment": "/**\n * Maximum falling speed when gliding (in meters per second)\n */\n",
44113
+ "excerptTokens": [
44114
+ {
44115
+ "kind": "Content",
44116
+ "text": "glidingFallingSpeed?: "
44117
+ },
44118
+ {
44119
+ "kind": "Content",
44120
+ "text": "number | undefined"
44121
+ },
44122
+ {
44123
+ "kind": "Content",
44124
+ "text": ";"
44125
+ }
44126
+ ],
44127
+ "isReadonly": false,
44128
+ "isOptional": true,
44129
+ "releaseTag": "Public",
44130
+ "name": "glidingFallingSpeed",
44131
+ "propertyTypeTokenRange": {
44132
+ "startIndex": 1,
44133
+ "endIndex": 2
44134
+ }
44135
+ },
44136
+ {
44137
+ "kind": "PropertySignature",
44138
+ "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingSpeed:member",
44139
+ "docComment": "/**\n * Maximum speed when gliding (in meters per second)\n */\n",
44140
+ "excerptTokens": [
44141
+ {
44142
+ "kind": "Content",
44143
+ "text": "glidingSpeed?: "
44144
+ },
44145
+ {
44146
+ "kind": "Content",
44147
+ "text": "number | undefined"
44148
+ },
44149
+ {
44150
+ "kind": "Content",
44151
+ "text": ";"
44152
+ }
44153
+ ],
44154
+ "isReadonly": false,
44155
+ "isOptional": true,
44156
+ "releaseTag": "Public",
44157
+ "name": "glidingSpeed",
44158
+ "propertyTypeTokenRange": {
44159
+ "startIndex": 1,
44160
+ "endIndex": 2
44161
+ }
44162
+ },
44023
44163
  {
44024
44164
  "kind": "PropertySignature",
44025
44165
  "canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#hardLandingCooldown:member",
@@ -67655,6 +67795,33 @@
67655
67795
  "endIndex": 3
67656
67796
  }
67657
67797
  },
67798
+ {
67799
+ "kind": "PropertySignature",
67800
+ "canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
67801
+ "docComment": "/**\n * default: 60\n */\n",
67802
+ "excerptTokens": [
67803
+ {
67804
+ "kind": "Content",
67805
+ "text": "fov?: "
67806
+ },
67807
+ {
67808
+ "kind": "Content",
67809
+ "text": "number | undefined"
67810
+ },
67811
+ {
67812
+ "kind": "Content",
67813
+ "text": ";"
67814
+ }
67815
+ ],
67816
+ "isReadonly": false,
67817
+ "isOptional": true,
67818
+ "releaseTag": "Public",
67819
+ "name": "fov",
67820
+ "propertyTypeTokenRange": {
67821
+ "startIndex": 1,
67822
+ "endIndex": 2
67823
+ }
67824
+ },
67658
67825
  {
67659
67826
  "kind": "PropertySignature",
67660
67827
  "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
 
@@ -2545,6 +2553,9 @@ export namespace PBAvatarEquippedData {
2545
2553
 
2546
2554
  // @public (undocumented)
2547
2555
  export interface PBAvatarLocomotionSettings {
2556
+ doubleJumpHeight?: number | undefined;
2557
+ glidingFallingSpeed?: number | undefined;
2558
+ glidingSpeed?: number | undefined;
2548
2559
  hardLandingCooldown?: number | undefined;
2549
2560
  jogSpeed?: number | undefined;
2550
2561
  jumpHeight?: number | undefined;
@@ -4031,6 +4042,7 @@ export namespace PBVideoPlayer {
4031
4042
  export interface PBVirtualCamera {
4032
4043
  // (undocumented)
4033
4044
  defaultTransition?: CameraTransition | undefined;
4045
+ fov?: number | undefined;
4034
4046
  // (undocumented)
4035
4047
  lookAtEntity?: number | undefined;
4036
4048
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.23.2",
4
+ "version": "7.23.3-25829613631.commit-ac51407",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.23.2",
8
- "@dcl/sdk": "7.23.2"
7
+ "@dcl/js-runtime": "7.23.3-25829613631.commit-ac51407",
8
+ "@dcl/sdk": "7.23.3-25829613631.commit-ac51407"
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": "15e86977205ad099c6c1b81f6c14e1acb7b52bd7"
35
+ "commit": "ac5140787a065a3c99997d6129e4e71b280f1cc2"
36
36
  }