@dcl/playground-assets 7.24.3-28525637063.commit-3df0a22 → 7.24.4-28553021180.commit-e8ab68c
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 +15 -1
- package/dist/beta.d.ts +15 -1
- package/dist/index.bundled.d.ts +15 -1
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +6 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +15 -1
- package/etc/playground-assets.api.json +107 -0
- package/etc/playground-assets.api.md +11 -1
- package/package.json +4 -4
|
@@ -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.
|
|
4
|
+
"version": "7.24.4-28553021180.commit-e8ab68c",
|
|
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": "e8ab68c18f53041c643a4971478eff00a29aa732"
|
|
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 */
|
|
@@ -6949,6 +6960,7 @@ export declare namespace PBVideoPlayer {
|
|
|
6949
6960
|
* an 'instant' transition (like using speed/time = 0)
|
|
6950
6961
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6951
6962
|
* the holding entity transform).
|
|
6963
|
+
* * The fov defines the Field of View of the virtual camera
|
|
6952
6964
|
*/
|
|
6953
6965
|
/**
|
|
6954
6966
|
* @public
|
|
@@ -6956,6 +6968,8 @@ export declare namespace PBVideoPlayer {
|
|
|
6956
6968
|
export declare interface PBVirtualCamera {
|
|
6957
6969
|
defaultTransition?: CameraTransition | undefined;
|
|
6958
6970
|
lookAtEntity?: number | undefined;
|
|
6971
|
+
/** default: 60 */
|
|
6972
|
+
fov?: number | undefined;
|
|
6959
6973
|
}
|
|
6960
6974
|
|
|
6961
6975
|
/**
|
|
@@ -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
|
},
|
|
@@ -67833,6 +67913,33 @@
|
|
|
67833
67913
|
"endIndex": 3
|
|
67834
67914
|
}
|
|
67835
67915
|
},
|
|
67916
|
+
{
|
|
67917
|
+
"kind": "PropertySignature",
|
|
67918
|
+
"canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
|
|
67919
|
+
"docComment": "/**\n * default: 60\n */\n",
|
|
67920
|
+
"excerptTokens": [
|
|
67921
|
+
{
|
|
67922
|
+
"kind": "Content",
|
|
67923
|
+
"text": "fov?: "
|
|
67924
|
+
},
|
|
67925
|
+
{
|
|
67926
|
+
"kind": "Content",
|
|
67927
|
+
"text": "number | undefined"
|
|
67928
|
+
},
|
|
67929
|
+
{
|
|
67930
|
+
"kind": "Content",
|
|
67931
|
+
"text": ";"
|
|
67932
|
+
}
|
|
67933
|
+
],
|
|
67934
|
+
"isReadonly": false,
|
|
67935
|
+
"isOptional": true,
|
|
67936
|
+
"releaseTag": "Public",
|
|
67937
|
+
"name": "fov",
|
|
67938
|
+
"propertyTypeTokenRange": {
|
|
67939
|
+
"startIndex": 1,
|
|
67940
|
+
"endIndex": 2
|
|
67941
|
+
}
|
|
67942
|
+
},
|
|
67836
67943
|
{
|
|
67837
67944
|
"kind": "PropertySignature",
|
|
67838
67945
|
"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)
|
|
@@ -4042,6 +4051,7 @@ export namespace PBVideoPlayer {
|
|
|
4042
4051
|
export interface PBVirtualCamera {
|
|
4043
4052
|
// (undocumented)
|
|
4044
4053
|
defaultTransition?: CameraTransition | undefined;
|
|
4054
|
+
fov?: number | undefined;
|
|
4045
4055
|
// (undocumented)
|
|
4046
4056
|
lookAtEntity?: number | undefined;
|
|
4047
4057
|
}
|
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.4-28553021180.commit-e8ab68c",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.24.
|
|
8
|
-
"@dcl/sdk": "7.24.
|
|
7
|
+
"@dcl/js-runtime": "7.24.4-28553021180.commit-e8ab68c",
|
|
8
|
+
"@dcl/sdk": "7.24.4-28553021180.commit-e8ab68c"
|
|
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": "e8ab68c18f53041c643a4971478eff00a29aa732"
|
|
36
36
|
}
|