@dcl/playground-assets 7.24.4 → 7.24.5-28985208893.commit-8caf648
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 +12 -3
- package/dist/beta.d.ts +12 -3
- package/dist/index.bundled.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/playground/sdk/apis.d.ts +10 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +12 -3
- package/etc/playground-assets.api.json +48 -0
- package/etc/playground-assets.api.md +3 -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.24.
|
|
4
|
+
"version": "7.24.5-28985208893.commit-8caf648",
|
|
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": "8caf6483397712fd75110cf871b1b6ba0d1d7003"
|
|
39
39
|
}
|
|
@@ -280,7 +280,9 @@ export declare const enum AvatarModifierType {
|
|
|
280
280
|
/** AMT_HIDE_AVATARS - avatars are invisible */
|
|
281
281
|
AMT_HIDE_AVATARS = 0,
|
|
282
282
|
/** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
|
|
283
|
-
AMT_DISABLE_PASSPORTS = 1
|
|
283
|
+
AMT_DISABLE_PASSPORTS = 1,
|
|
284
|
+
/** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
|
|
285
|
+
AMT_HIDE_NAMETAGS = 2
|
|
284
286
|
}
|
|
285
287
|
|
|
286
288
|
/** @public */
|
|
@@ -4982,11 +4984,16 @@ export declare namespace PBAvatarShape {
|
|
|
4982
4984
|
}
|
|
4983
4985
|
|
|
4984
4986
|
/**
|
|
4985
|
-
* The Billboard component makes an Entity automatically reorient its rotation to face
|
|
4987
|
+
* The Billboard component makes an Entity automatically reorient its rotation to face a target.
|
|
4988
|
+
* By default (when target_entity is unset), the billboard faces the main camera. When target_entity
|
|
4989
|
+
* is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
|
|
4990
|
+
* entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
|
|
4991
|
+
* or is deleted, the billboard reorientation is disabled until the target exists again.
|
|
4992
|
+
*
|
|
4986
4993
|
* As the name indicates, it’s used to display in-game billboards and frequently combined with
|
|
4987
4994
|
* the TextShape component.
|
|
4988
4995
|
*
|
|
4989
|
-
* Billboard only affects the Entity
|
|
4996
|
+
* Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
|
|
4990
4997
|
* Transform.
|
|
4991
4998
|
*/
|
|
4992
4999
|
/**
|
|
@@ -4995,6 +5002,8 @@ export declare namespace PBAvatarShape {
|
|
|
4995
5002
|
export declare interface PBBillboard {
|
|
4996
5003
|
/** the BillboardMode (default: BM_ALL) */
|
|
4997
5004
|
billboardMode?: BillboardMode | undefined;
|
|
5005
|
+
/** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
|
|
5006
|
+
targetEntity?: number | undefined;
|
|
4998
5007
|
}
|
|
4999
5008
|
|
|
5000
5009
|
/**
|
|
@@ -2783,6 +2783,27 @@
|
|
|
2783
2783
|
},
|
|
2784
2784
|
"releaseTag": "Public",
|
|
2785
2785
|
"name": "AMT_HIDE_AVATARS"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"kind": "EnumMember",
|
|
2789
|
+
"canonicalReference": "@dcl/playground-assets!AvatarModifierType.AMT_HIDE_NAMETAGS:member",
|
|
2790
|
+
"docComment": "/**\n * AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden.\n */\n",
|
|
2791
|
+
"excerptTokens": [
|
|
2792
|
+
{
|
|
2793
|
+
"kind": "Content",
|
|
2794
|
+
"text": "AMT_HIDE_NAMETAGS = "
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "Content",
|
|
2798
|
+
"text": "2"
|
|
2799
|
+
}
|
|
2800
|
+
],
|
|
2801
|
+
"initializerTokenRange": {
|
|
2802
|
+
"startIndex": 1,
|
|
2803
|
+
"endIndex": 2
|
|
2804
|
+
},
|
|
2805
|
+
"releaseTag": "Public",
|
|
2806
|
+
"name": "AMT_HIDE_NAMETAGS"
|
|
2786
2807
|
}
|
|
2787
2808
|
]
|
|
2788
2809
|
},
|
|
@@ -45343,6 +45364,33 @@
|
|
|
45343
45364
|
"startIndex": 1,
|
|
45344
45365
|
"endIndex": 3
|
|
45345
45366
|
}
|
|
45367
|
+
},
|
|
45368
|
+
{
|
|
45369
|
+
"kind": "PropertySignature",
|
|
45370
|
+
"canonicalReference": "@dcl/playground-assets!PBBillboard#targetEntity:member",
|
|
45371
|
+
"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",
|
|
45372
|
+
"excerptTokens": [
|
|
45373
|
+
{
|
|
45374
|
+
"kind": "Content",
|
|
45375
|
+
"text": "targetEntity?: "
|
|
45376
|
+
},
|
|
45377
|
+
{
|
|
45378
|
+
"kind": "Content",
|
|
45379
|
+
"text": "number | undefined"
|
|
45380
|
+
},
|
|
45381
|
+
{
|
|
45382
|
+
"kind": "Content",
|
|
45383
|
+
"text": ";"
|
|
45384
|
+
}
|
|
45385
|
+
],
|
|
45386
|
+
"isReadonly": false,
|
|
45387
|
+
"isOptional": true,
|
|
45388
|
+
"releaseTag": "Public",
|
|
45389
|
+
"name": "targetEntity",
|
|
45390
|
+
"propertyTypeTokenRange": {
|
|
45391
|
+
"startIndex": 1,
|
|
45392
|
+
"endIndex": 2
|
|
45393
|
+
}
|
|
45346
45394
|
}
|
|
45347
45395
|
],
|
|
45348
45396
|
"extendsTokenRanges": []
|
|
@@ -196,7 +196,8 @@ export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
196
196
|
// @public (undocumented)
|
|
197
197
|
export const enum AvatarModifierType {
|
|
198
198
|
AMT_DISABLE_PASSPORTS = 1,
|
|
199
|
-
AMT_HIDE_AVATARS = 0
|
|
199
|
+
AMT_HIDE_AVATARS = 0,
|
|
200
|
+
AMT_HIDE_NAMETAGS = 2
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
// @public (undocumented)
|
|
@@ -2618,6 +2619,7 @@ export namespace PBAvatarShape {
|
|
|
2618
2619
|
// @public (undocumented)
|
|
2619
2620
|
export interface PBBillboard {
|
|
2620
2621
|
billboardMode?: BillboardMode | undefined;
|
|
2622
|
+
targetEntity?: number | undefined;
|
|
2621
2623
|
}
|
|
2622
2624
|
|
|
2623
2625
|
// @public (undocumented)
|
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-28985208893.commit-8caf648",
|
|
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-28985208893.commit-8caf648",
|
|
8
|
+
"@dcl/sdk": "7.24.5-28985208893.commit-8caf648"
|
|
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": "8caf6483397712fd75110cf871b1b6ba0d1d7003"
|
|
36
36
|
}
|