@dcl/playground-assets 7.24.4 → 7.24.5-28985931443.commit-4a0bcfc
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.
- package/dist/alpha.d.ts +24 -3
- package/dist/beta.d.ts +24 -3
- package/dist/index.bundled.d.ts +24 -3
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +14 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +24 -3
- package/etc/playground-assets.api.json +134 -0
- package/etc/playground-assets.api.md +12 -1
- package/package.json +4 -4
|
@@ -1281,7 +1281,14 @@ declare module "~system/RestrictedActions" {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
// Function declaration section
|
|
1284
|
-
|
|
1284
|
+
/** Mask for which bones an animation applies to. */
|
|
1285
|
+
export enum AvatarMask {
|
|
1286
|
+
AM_UPPER_BODY = 0,
|
|
1287
|
+
UNRECOGNIZED = -1
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
// Function declaration section
|
|
1291
|
+
export interface MovePlayerToRequest {
|
|
1285
1292
|
newRelativePosition: Vector3 | undefined;
|
|
1286
1293
|
cameraTarget?: Vector3 | undefined;
|
|
1287
1294
|
avatarTarget?: Vector3 | undefined;
|
|
@@ -1293,6 +1300,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1293
1300
|
}
|
|
1294
1301
|
export interface TriggerEmoteRequest {
|
|
1295
1302
|
predefinedEmote: string;
|
|
1303
|
+
mask?: AvatarMask | undefined;
|
|
1296
1304
|
}
|
|
1297
1305
|
export interface ChangeRealmRequest {
|
|
1298
1306
|
realm: string;
|
|
@@ -1312,6 +1320,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1312
1320
|
export interface TriggerSceneEmoteRequest {
|
|
1313
1321
|
src: string;
|
|
1314
1322
|
loop?: boolean | undefined;
|
|
1323
|
+
mask?: AvatarMask | undefined;
|
|
1315
1324
|
}
|
|
1316
1325
|
export interface SuccessResponse {
|
|
1317
1326
|
success: boolean;
|
|
@@ -1327,6 +1336,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1327
1336
|
text: string;
|
|
1328
1337
|
}
|
|
1329
1338
|
export interface EmptyResponse {
|
|
1339
|
+
}
|
|
1340
|
+
export interface StopEmoteRequest {
|
|
1330
1341
|
}
|
|
1331
1342
|
|
|
1332
1343
|
// Function declaration section
|
|
@@ -1355,6 +1366,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1355
1366
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1356
1367
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1357
1368
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1369
|
+
/** StopEmote will stop the current emote */
|
|
1370
|
+
export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
|
|
1358
1371
|
|
|
1359
1372
|
}
|
|
1360
1373
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.
|
|
4
|
+
"version": "7.24.5-28985931443.commit-4a0bcfc",
|
|
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": "
|
|
38
|
+
"commit": "4a0bcfc7d1817060e47ede9c11ba01e386648a25"
|
|
39
39
|
}
|
|
@@ -263,6 +263,15 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
263
263
|
/** @public */
|
|
264
264
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
265
265
|
|
|
266
|
+
/** Mask for which bones an animation applies to. */
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export declare const enum AvatarEmoteMask {
|
|
271
|
+
AEM_FULL_BODY = 0,
|
|
272
|
+
AEM_UPPER_BODY = 1
|
|
273
|
+
}
|
|
274
|
+
|
|
266
275
|
/** @public */
|
|
267
276
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
268
277
|
|
|
@@ -280,7 +289,9 @@ export declare const enum AvatarModifierType {
|
|
|
280
289
|
/** AMT_HIDE_AVATARS - avatars are invisible */
|
|
281
290
|
AMT_HIDE_AVATARS = 0,
|
|
282
291
|
/** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
|
|
283
|
-
AMT_DISABLE_PASSPORTS = 1
|
|
292
|
+
AMT_DISABLE_PASSPORTS = 1,
|
|
293
|
+
/** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
|
|
294
|
+
AMT_HIDE_NAMETAGS = 2
|
|
284
295
|
}
|
|
285
296
|
|
|
286
297
|
/** @public */
|
|
@@ -4982,11 +4993,16 @@ export declare namespace PBAvatarShape {
|
|
|
4982
4993
|
}
|
|
4983
4994
|
|
|
4984
4995
|
/**
|
|
4985
|
-
* The Billboard component makes an Entity automatically reorient its rotation to face
|
|
4996
|
+
* The Billboard component makes an Entity automatically reorient its rotation to face a target.
|
|
4997
|
+
* By default (when target_entity is unset), the billboard faces the main camera. When target_entity
|
|
4998
|
+
* is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
|
|
4999
|
+
* entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
|
|
5000
|
+
* or is deleted, the billboard reorientation is disabled until the target exists again.
|
|
5001
|
+
*
|
|
4986
5002
|
* As the name indicates, it’s used to display in-game billboards and frequently combined with
|
|
4987
5003
|
* the TextShape component.
|
|
4988
5004
|
*
|
|
4989
|
-
* Billboard only affects the Entity
|
|
5005
|
+
* Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
|
|
4990
5006
|
* Transform.
|
|
4991
5007
|
*/
|
|
4992
5008
|
/**
|
|
@@ -4995,6 +5011,8 @@ export declare namespace PBAvatarShape {
|
|
|
4995
5011
|
export declare interface PBBillboard {
|
|
4996
5012
|
/** the BillboardMode (default: BM_ALL) */
|
|
4997
5013
|
billboardMode?: BillboardMode | undefined;
|
|
5014
|
+
/** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
|
|
5015
|
+
targetEntity?: number | undefined;
|
|
4998
5016
|
}
|
|
4999
5017
|
|
|
5000
5018
|
/**
|
|
@@ -6971,6 +6989,7 @@ export declare namespace PBVideoPlayer {
|
|
|
6971
6989
|
* an 'instant' transition (like using speed/time = 0)
|
|
6972
6990
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6973
6991
|
* the holding entity transform).
|
|
6992
|
+
* * The fov defines the Field of View of the virtual camera
|
|
6974
6993
|
*/
|
|
6975
6994
|
/**
|
|
6976
6995
|
* @public
|
|
@@ -6978,6 +6997,8 @@ export declare namespace PBVideoPlayer {
|
|
|
6978
6997
|
export declare interface PBVirtualCamera {
|
|
6979
6998
|
defaultTransition?: CameraTransition | undefined;
|
|
6980
6999
|
lookAtEntity?: number | undefined;
|
|
7000
|
+
/** default: 60 */
|
|
7001
|
+
fov?: number | undefined;
|
|
6981
7002
|
}
|
|
6982
7003
|
|
|
6983
7004
|
/**
|
|
@@ -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",
|
|
@@ -2783,6 +2842,27 @@
|
|
|
2783
2842
|
},
|
|
2784
2843
|
"releaseTag": "Public",
|
|
2785
2844
|
"name": "AMT_HIDE_AVATARS"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"kind": "EnumMember",
|
|
2848
|
+
"canonicalReference": "@dcl/playground-assets!AvatarModifierType.AMT_HIDE_NAMETAGS:member",
|
|
2849
|
+
"docComment": "/**\n * AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden.\n */\n",
|
|
2850
|
+
"excerptTokens": [
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "Content",
|
|
2853
|
+
"text": "AMT_HIDE_NAMETAGS = "
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"kind": "Content",
|
|
2857
|
+
"text": "2"
|
|
2858
|
+
}
|
|
2859
|
+
],
|
|
2860
|
+
"initializerTokenRange": {
|
|
2861
|
+
"startIndex": 1,
|
|
2862
|
+
"endIndex": 2
|
|
2863
|
+
},
|
|
2864
|
+
"releaseTag": "Public",
|
|
2865
|
+
"name": "AMT_HIDE_NAMETAGS"
|
|
2786
2866
|
}
|
|
2787
2867
|
]
|
|
2788
2868
|
},
|
|
@@ -45343,6 +45423,33 @@
|
|
|
45343
45423
|
"startIndex": 1,
|
|
45344
45424
|
"endIndex": 3
|
|
45345
45425
|
}
|
|
45426
|
+
},
|
|
45427
|
+
{
|
|
45428
|
+
"kind": "PropertySignature",
|
|
45429
|
+
"canonicalReference": "@dcl/playground-assets!PBBillboard#targetEntity:member",
|
|
45430
|
+
"docComment": "/**\n * entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does\n */\n",
|
|
45431
|
+
"excerptTokens": [
|
|
45432
|
+
{
|
|
45433
|
+
"kind": "Content",
|
|
45434
|
+
"text": "targetEntity?: "
|
|
45435
|
+
},
|
|
45436
|
+
{
|
|
45437
|
+
"kind": "Content",
|
|
45438
|
+
"text": "number | undefined"
|
|
45439
|
+
},
|
|
45440
|
+
{
|
|
45441
|
+
"kind": "Content",
|
|
45442
|
+
"text": ";"
|
|
45443
|
+
}
|
|
45444
|
+
],
|
|
45445
|
+
"isReadonly": false,
|
|
45446
|
+
"isOptional": true,
|
|
45447
|
+
"releaseTag": "Public",
|
|
45448
|
+
"name": "targetEntity",
|
|
45449
|
+
"propertyTypeTokenRange": {
|
|
45450
|
+
"startIndex": 1,
|
|
45451
|
+
"endIndex": 2
|
|
45452
|
+
}
|
|
45346
45453
|
}
|
|
45347
45454
|
],
|
|
45348
45455
|
"extendsTokenRanges": []
|
|
@@ -67880,6 +67987,33 @@
|
|
|
67880
67987
|
"endIndex": 3
|
|
67881
67988
|
}
|
|
67882
67989
|
},
|
|
67990
|
+
{
|
|
67991
|
+
"kind": "PropertySignature",
|
|
67992
|
+
"canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
|
|
67993
|
+
"docComment": "/**\n * default: 60\n */\n",
|
|
67994
|
+
"excerptTokens": [
|
|
67995
|
+
{
|
|
67996
|
+
"kind": "Content",
|
|
67997
|
+
"text": "fov?: "
|
|
67998
|
+
},
|
|
67999
|
+
{
|
|
68000
|
+
"kind": "Content",
|
|
68001
|
+
"text": "number | undefined"
|
|
68002
|
+
},
|
|
68003
|
+
{
|
|
68004
|
+
"kind": "Content",
|
|
68005
|
+
"text": ";"
|
|
68006
|
+
}
|
|
68007
|
+
],
|
|
68008
|
+
"isReadonly": false,
|
|
68009
|
+
"isOptional": true,
|
|
68010
|
+
"releaseTag": "Public",
|
|
68011
|
+
"name": "fov",
|
|
68012
|
+
"propertyTypeTokenRange": {
|
|
68013
|
+
"startIndex": 1,
|
|
68014
|
+
"endIndex": 2
|
|
68015
|
+
}
|
|
68016
|
+
},
|
|
67883
68017
|
{
|
|
67884
68018
|
"kind": "PropertySignature",
|
|
67885
68019
|
"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
|
|
|
@@ -196,7 +204,8 @@ export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
196
204
|
// @public (undocumented)
|
|
197
205
|
export const enum AvatarModifierType {
|
|
198
206
|
AMT_DISABLE_PASSPORTS = 1,
|
|
199
|
-
AMT_HIDE_AVATARS = 0
|
|
207
|
+
AMT_HIDE_AVATARS = 0,
|
|
208
|
+
AMT_HIDE_NAMETAGS = 2
|
|
200
209
|
}
|
|
201
210
|
|
|
202
211
|
// @public (undocumented)
|
|
@@ -2618,6 +2627,7 @@ export namespace PBAvatarShape {
|
|
|
2618
2627
|
// @public (undocumented)
|
|
2619
2628
|
export interface PBBillboard {
|
|
2620
2629
|
billboardMode?: BillboardMode | undefined;
|
|
2630
|
+
targetEntity?: number | undefined;
|
|
2621
2631
|
}
|
|
2622
2632
|
|
|
2623
2633
|
// @public (undocumented)
|
|
@@ -4047,6 +4057,7 @@ export namespace PBVideoPlayer {
|
|
|
4047
4057
|
export interface PBVirtualCamera {
|
|
4048
4058
|
// (undocumented)
|
|
4049
4059
|
defaultTransition?: CameraTransition | undefined;
|
|
4060
|
+
fov?: number | undefined;
|
|
4050
4061
|
// (undocumented)
|
|
4051
4062
|
lookAtEntity?: number | undefined;
|
|
4052
4063
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.
|
|
4
|
+
"version": "7.24.5-28985931443.commit-4a0bcfc",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.24.
|
|
8
|
-
"@dcl/sdk": "7.24.
|
|
7
|
+
"@dcl/js-runtime": "7.24.5-28985931443.commit-4a0bcfc",
|
|
8
|
+
"@dcl/sdk": "7.24.5-28985931443.commit-4a0bcfc"
|
|
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": "
|
|
35
|
+
"commit": "4a0bcfc7d1817060e47ede9c11ba01e386648a25"
|
|
36
36
|
}
|