@dcl/playground-assets 7.25.1-30447792919.commit-c06a494 → 7.25.1-30570000030.commit-eaa1fa5
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 +31 -11
- package/dist/beta.d.ts +31 -11
- package/dist/index.bundled.d.ts +31 -11
- package/dist/index.js +6 -6
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +31 -11
- package/etc/playground-assets.api.json +342 -68
- package/etc/playground-assets.api.md +17 -9
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.25.1-
|
|
4
|
+
"version": "7.25.1-30570000030.commit-eaa1fa5",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "./index.d.ts",
|
|
36
36
|
"typings": "./index.d.ts",
|
|
37
|
-
"commit": "
|
|
37
|
+
"commit": "eaa1fa58d4deeb7a4102151ad91bd857be38023b"
|
|
38
38
|
}
|
|
@@ -263,15 +263,6 @@ 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
|
-
|
|
275
266
|
/** @public */
|
|
276
267
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
277
268
|
|
|
@@ -2063,6 +2054,7 @@ export declare type EntityComponents = {
|
|
|
2063
2054
|
uiBackground: PBUiBackground;
|
|
2064
2055
|
uiInput: PBUiInput;
|
|
2065
2056
|
uiDropdown: PBUiDropdown;
|
|
2057
|
+
uiInputBinding: PBUiInputBinding;
|
|
2066
2058
|
onMouseDown: Callback;
|
|
2067
2059
|
onMouseUp: Callback;
|
|
2068
2060
|
onMouseEnter: Callback;
|
|
@@ -2085,6 +2077,8 @@ export declare interface EntityPropTypes extends Listeners {
|
|
|
2085
2077
|
uiTransform?: UiTransformProps;
|
|
2086
2078
|
/** To define a background color or image */
|
|
2087
2079
|
uiBackground?: UiBackgroundProps;
|
|
2080
|
+
/** Bind input actions to this element, held down while it's pressed (touch or pointer) */
|
|
2081
|
+
uiInputBinding?: PBUiInputBinding;
|
|
2088
2082
|
/** Uinique key to identiy elments when iterating arrays */
|
|
2089
2083
|
key?: Key;
|
|
2090
2084
|
}
|
|
@@ -9136,8 +9130,34 @@ export declare const ToLinearSpace = 2.2;
|
|
|
9136
9130
|
*/
|
|
9137
9131
|
export declare type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
|
|
9138
9132
|
|
|
9139
|
-
|
|
9140
|
-
|
|
9133
|
+
export declare const TouchScreenControls: TouchScreenControlsComponentDefinitionExtended;
|
|
9134
|
+
|
|
9135
|
+
/**
|
|
9136
|
+
* @public
|
|
9137
|
+
* TouchScreenControls with convenience helpers. All helpers write the component onto the
|
|
9138
|
+
* RootEntity (where the client reads it) and merge with the current value.
|
|
9139
|
+
*/
|
|
9140
|
+
export declare interface TouchScreenControlsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTouchScreenControls> {
|
|
9141
|
+
/** Hide every on-screen gamepad button. */
|
|
9142
|
+
hideAll(): void;
|
|
9143
|
+
/**
|
|
9144
|
+
* Show every on-screen gamepad button (clears the button hide list).
|
|
9145
|
+
* Does NOT change the joystick/crosshair — use `showJoystick()` / `showCrosshair()` for those.
|
|
9146
|
+
*/
|
|
9147
|
+
showAll(): void;
|
|
9148
|
+
/** Hide the given on-screen buttons (merged into the current config). */
|
|
9149
|
+
hide(actions: InputAction[]): void;
|
|
9150
|
+
/** Set which action the large central button triggers. */
|
|
9151
|
+
setMainAction(action: InputAction): void;
|
|
9152
|
+
/** Hide the native virtual joystick. */
|
|
9153
|
+
hideJoystick(): void;
|
|
9154
|
+
/** Show the native virtual joystick. */
|
|
9155
|
+
showJoystick(): void;
|
|
9156
|
+
/** Hide the on-screen crosshair / reticle. */
|
|
9157
|
+
hideCrosshair(): void;
|
|
9158
|
+
/** Show the on-screen crosshair / reticle. */
|
|
9159
|
+
showCrosshair(): void;
|
|
9160
|
+
}
|
|
9141
9161
|
|
|
9142
9162
|
export declare const Transform: TransformComponentExtended;
|
|
9143
9163
|
|
|
@@ -2616,65 +2616,6 @@
|
|
|
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
|
-
},
|
|
2678
2619
|
{
|
|
2679
2620
|
"kind": "Variable",
|
|
2680
2621
|
"canonicalReference": "@dcl/playground-assets!AvatarEquippedData:var",
|
|
@@ -20186,6 +20127,15 @@
|
|
|
20186
20127
|
"text": "PBUiDropdown",
|
|
20187
20128
|
"canonicalReference": "@dcl/playground-assets!PBUiDropdown"
|
|
20188
20129
|
},
|
|
20130
|
+
{
|
|
20131
|
+
"kind": "Content",
|
|
20132
|
+
"text": ";\n uiInputBinding: "
|
|
20133
|
+
},
|
|
20134
|
+
{
|
|
20135
|
+
"kind": "Reference",
|
|
20136
|
+
"text": "PBUiInputBinding",
|
|
20137
|
+
"canonicalReference": "@dcl/playground-assets!PBUiInputBinding"
|
|
20138
|
+
},
|
|
20189
20139
|
{
|
|
20190
20140
|
"kind": "Content",
|
|
20191
20141
|
"text": ";\n onMouseDown: "
|
|
@@ -20236,7 +20186,7 @@
|
|
|
20236
20186
|
"name": "EntityComponents",
|
|
20237
20187
|
"typeTokenRange": {
|
|
20238
20188
|
"startIndex": 1,
|
|
20239
|
-
"endIndex":
|
|
20189
|
+
"endIndex": 22
|
|
20240
20190
|
}
|
|
20241
20191
|
},
|
|
20242
20192
|
{
|
|
@@ -20399,6 +20349,34 @@
|
|
|
20399
20349
|
"endIndex": 2
|
|
20400
20350
|
}
|
|
20401
20351
|
},
|
|
20352
|
+
{
|
|
20353
|
+
"kind": "PropertySignature",
|
|
20354
|
+
"canonicalReference": "@dcl/playground-assets!EntityPropTypes#uiInputBinding:member",
|
|
20355
|
+
"docComment": "/**\n * Bind input actions to this element, held down while it's pressed (touch or pointer)\n */\n",
|
|
20356
|
+
"excerptTokens": [
|
|
20357
|
+
{
|
|
20358
|
+
"kind": "Content",
|
|
20359
|
+
"text": "uiInputBinding?: "
|
|
20360
|
+
},
|
|
20361
|
+
{
|
|
20362
|
+
"kind": "Reference",
|
|
20363
|
+
"text": "PBUiInputBinding",
|
|
20364
|
+
"canonicalReference": "@dcl/playground-assets!PBUiInputBinding"
|
|
20365
|
+
},
|
|
20366
|
+
{
|
|
20367
|
+
"kind": "Content",
|
|
20368
|
+
"text": ";"
|
|
20369
|
+
}
|
|
20370
|
+
],
|
|
20371
|
+
"isReadonly": false,
|
|
20372
|
+
"isOptional": true,
|
|
20373
|
+
"releaseTag": "Public",
|
|
20374
|
+
"name": "uiInputBinding",
|
|
20375
|
+
"propertyTypeTokenRange": {
|
|
20376
|
+
"startIndex": 1,
|
|
20377
|
+
"endIndex": 2
|
|
20378
|
+
}
|
|
20379
|
+
},
|
|
20402
20380
|
{
|
|
20403
20381
|
"kind": "PropertySignature",
|
|
20404
20382
|
"canonicalReference": "@dcl/playground-assets!EntityPropTypes#uiTransform:member",
|
|
@@ -86184,12 +86162,36 @@
|
|
|
86184
86162
|
{
|
|
86185
86163
|
"kind": "Variable",
|
|
86186
86164
|
"canonicalReference": "@dcl/playground-assets!TouchScreenControls:var",
|
|
86187
|
-
"docComment": "
|
|
86165
|
+
"docComment": "",
|
|
86188
86166
|
"excerptTokens": [
|
|
86189
86167
|
{
|
|
86190
86168
|
"kind": "Content",
|
|
86191
86169
|
"text": "TouchScreenControls: "
|
|
86192
86170
|
},
|
|
86171
|
+
{
|
|
86172
|
+
"kind": "Reference",
|
|
86173
|
+
"text": "TouchScreenControlsComponentDefinitionExtended",
|
|
86174
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended:interface"
|
|
86175
|
+
}
|
|
86176
|
+
],
|
|
86177
|
+
"fileUrlPath": "../ecs/dist/index.d.ts",
|
|
86178
|
+
"isReadonly": true,
|
|
86179
|
+
"releaseTag": "Public",
|
|
86180
|
+
"name": "TouchScreenControls",
|
|
86181
|
+
"variableTypeTokenRange": {
|
|
86182
|
+
"startIndex": 1,
|
|
86183
|
+
"endIndex": 2
|
|
86184
|
+
}
|
|
86185
|
+
},
|
|
86186
|
+
{
|
|
86187
|
+
"kind": "Interface",
|
|
86188
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended:interface",
|
|
86189
|
+
"docComment": "/**\n * TouchScreenControls with convenience helpers. All helpers write the component onto the RootEntity (where the client reads it) and merge with the current value.\n *\n * @public\n */\n",
|
|
86190
|
+
"excerptTokens": [
|
|
86191
|
+
{
|
|
86192
|
+
"kind": "Content",
|
|
86193
|
+
"text": "export interface TouchScreenControlsComponentDefinitionExtended extends "
|
|
86194
|
+
},
|
|
86193
86195
|
{
|
|
86194
86196
|
"kind": "Reference",
|
|
86195
86197
|
"text": "LastWriteWinElementSetComponentDefinition",
|
|
@@ -86207,16 +86209,288 @@
|
|
|
86207
86209
|
{
|
|
86208
86210
|
"kind": "Content",
|
|
86209
86211
|
"text": ">"
|
|
86212
|
+
},
|
|
86213
|
+
{
|
|
86214
|
+
"kind": "Content",
|
|
86215
|
+
"text": " "
|
|
86210
86216
|
}
|
|
86211
86217
|
],
|
|
86212
|
-
"fileUrlPath": "../ecs/dist/components/
|
|
86213
|
-
"isReadonly": true,
|
|
86218
|
+
"fileUrlPath": "../ecs/dist/components/extended/TouchScreenControls.d.ts",
|
|
86214
86219
|
"releaseTag": "Public",
|
|
86215
|
-
"name": "
|
|
86216
|
-
"
|
|
86217
|
-
|
|
86218
|
-
|
|
86219
|
-
|
|
86220
|
+
"name": "TouchScreenControlsComponentDefinitionExtended",
|
|
86221
|
+
"preserveMemberOrder": false,
|
|
86222
|
+
"members": [
|
|
86223
|
+
{
|
|
86224
|
+
"kind": "MethodSignature",
|
|
86225
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#hide:member(1)",
|
|
86226
|
+
"docComment": "/**\n * Hide the given on-screen buttons (merged into the current config).\n */\n",
|
|
86227
|
+
"excerptTokens": [
|
|
86228
|
+
{
|
|
86229
|
+
"kind": "Content",
|
|
86230
|
+
"text": "hide(actions: "
|
|
86231
|
+
},
|
|
86232
|
+
{
|
|
86233
|
+
"kind": "Reference",
|
|
86234
|
+
"text": "InputAction",
|
|
86235
|
+
"canonicalReference": "@dcl/playground-assets!InputAction:enum"
|
|
86236
|
+
},
|
|
86237
|
+
{
|
|
86238
|
+
"kind": "Content",
|
|
86239
|
+
"text": "[]"
|
|
86240
|
+
},
|
|
86241
|
+
{
|
|
86242
|
+
"kind": "Content",
|
|
86243
|
+
"text": "): "
|
|
86244
|
+
},
|
|
86245
|
+
{
|
|
86246
|
+
"kind": "Content",
|
|
86247
|
+
"text": "void"
|
|
86248
|
+
},
|
|
86249
|
+
{
|
|
86250
|
+
"kind": "Content",
|
|
86251
|
+
"text": ";"
|
|
86252
|
+
}
|
|
86253
|
+
],
|
|
86254
|
+
"isOptional": false,
|
|
86255
|
+
"returnTypeTokenRange": {
|
|
86256
|
+
"startIndex": 4,
|
|
86257
|
+
"endIndex": 5
|
|
86258
|
+
},
|
|
86259
|
+
"releaseTag": "Public",
|
|
86260
|
+
"overloadIndex": 1,
|
|
86261
|
+
"parameters": [
|
|
86262
|
+
{
|
|
86263
|
+
"parameterName": "actions",
|
|
86264
|
+
"parameterTypeTokenRange": {
|
|
86265
|
+
"startIndex": 1,
|
|
86266
|
+
"endIndex": 3
|
|
86267
|
+
},
|
|
86268
|
+
"isOptional": false
|
|
86269
|
+
}
|
|
86270
|
+
],
|
|
86271
|
+
"name": "hide"
|
|
86272
|
+
},
|
|
86273
|
+
{
|
|
86274
|
+
"kind": "MethodSignature",
|
|
86275
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#hideAll:member(1)",
|
|
86276
|
+
"docComment": "/**\n * Hide every on-screen gamepad button.\n */\n",
|
|
86277
|
+
"excerptTokens": [
|
|
86278
|
+
{
|
|
86279
|
+
"kind": "Content",
|
|
86280
|
+
"text": "hideAll(): "
|
|
86281
|
+
},
|
|
86282
|
+
{
|
|
86283
|
+
"kind": "Content",
|
|
86284
|
+
"text": "void"
|
|
86285
|
+
},
|
|
86286
|
+
{
|
|
86287
|
+
"kind": "Content",
|
|
86288
|
+
"text": ";"
|
|
86289
|
+
}
|
|
86290
|
+
],
|
|
86291
|
+
"isOptional": false,
|
|
86292
|
+
"returnTypeTokenRange": {
|
|
86293
|
+
"startIndex": 1,
|
|
86294
|
+
"endIndex": 2
|
|
86295
|
+
},
|
|
86296
|
+
"releaseTag": "Public",
|
|
86297
|
+
"overloadIndex": 1,
|
|
86298
|
+
"parameters": [],
|
|
86299
|
+
"name": "hideAll"
|
|
86300
|
+
},
|
|
86301
|
+
{
|
|
86302
|
+
"kind": "MethodSignature",
|
|
86303
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#hideCrosshair:member(1)",
|
|
86304
|
+
"docComment": "/**\n * Hide the on-screen crosshair / reticle.\n */\n",
|
|
86305
|
+
"excerptTokens": [
|
|
86306
|
+
{
|
|
86307
|
+
"kind": "Content",
|
|
86308
|
+
"text": "hideCrosshair(): "
|
|
86309
|
+
},
|
|
86310
|
+
{
|
|
86311
|
+
"kind": "Content",
|
|
86312
|
+
"text": "void"
|
|
86313
|
+
},
|
|
86314
|
+
{
|
|
86315
|
+
"kind": "Content",
|
|
86316
|
+
"text": ";"
|
|
86317
|
+
}
|
|
86318
|
+
],
|
|
86319
|
+
"isOptional": false,
|
|
86320
|
+
"returnTypeTokenRange": {
|
|
86321
|
+
"startIndex": 1,
|
|
86322
|
+
"endIndex": 2
|
|
86323
|
+
},
|
|
86324
|
+
"releaseTag": "Public",
|
|
86325
|
+
"overloadIndex": 1,
|
|
86326
|
+
"parameters": [],
|
|
86327
|
+
"name": "hideCrosshair"
|
|
86328
|
+
},
|
|
86329
|
+
{
|
|
86330
|
+
"kind": "MethodSignature",
|
|
86331
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#hideJoystick:member(1)",
|
|
86332
|
+
"docComment": "/**\n * Hide the native virtual joystick.\n */\n",
|
|
86333
|
+
"excerptTokens": [
|
|
86334
|
+
{
|
|
86335
|
+
"kind": "Content",
|
|
86336
|
+
"text": "hideJoystick(): "
|
|
86337
|
+
},
|
|
86338
|
+
{
|
|
86339
|
+
"kind": "Content",
|
|
86340
|
+
"text": "void"
|
|
86341
|
+
},
|
|
86342
|
+
{
|
|
86343
|
+
"kind": "Content",
|
|
86344
|
+
"text": ";"
|
|
86345
|
+
}
|
|
86346
|
+
],
|
|
86347
|
+
"isOptional": false,
|
|
86348
|
+
"returnTypeTokenRange": {
|
|
86349
|
+
"startIndex": 1,
|
|
86350
|
+
"endIndex": 2
|
|
86351
|
+
},
|
|
86352
|
+
"releaseTag": "Public",
|
|
86353
|
+
"overloadIndex": 1,
|
|
86354
|
+
"parameters": [],
|
|
86355
|
+
"name": "hideJoystick"
|
|
86356
|
+
},
|
|
86357
|
+
{
|
|
86358
|
+
"kind": "MethodSignature",
|
|
86359
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#setMainAction:member(1)",
|
|
86360
|
+
"docComment": "/**\n * Set which action the large central button triggers.\n */\n",
|
|
86361
|
+
"excerptTokens": [
|
|
86362
|
+
{
|
|
86363
|
+
"kind": "Content",
|
|
86364
|
+
"text": "setMainAction(action: "
|
|
86365
|
+
},
|
|
86366
|
+
{
|
|
86367
|
+
"kind": "Reference",
|
|
86368
|
+
"text": "InputAction",
|
|
86369
|
+
"canonicalReference": "@dcl/playground-assets!InputAction:enum"
|
|
86370
|
+
},
|
|
86371
|
+
{
|
|
86372
|
+
"kind": "Content",
|
|
86373
|
+
"text": "): "
|
|
86374
|
+
},
|
|
86375
|
+
{
|
|
86376
|
+
"kind": "Content",
|
|
86377
|
+
"text": "void"
|
|
86378
|
+
},
|
|
86379
|
+
{
|
|
86380
|
+
"kind": "Content",
|
|
86381
|
+
"text": ";"
|
|
86382
|
+
}
|
|
86383
|
+
],
|
|
86384
|
+
"isOptional": false,
|
|
86385
|
+
"returnTypeTokenRange": {
|
|
86386
|
+
"startIndex": 3,
|
|
86387
|
+
"endIndex": 4
|
|
86388
|
+
},
|
|
86389
|
+
"releaseTag": "Public",
|
|
86390
|
+
"overloadIndex": 1,
|
|
86391
|
+
"parameters": [
|
|
86392
|
+
{
|
|
86393
|
+
"parameterName": "action",
|
|
86394
|
+
"parameterTypeTokenRange": {
|
|
86395
|
+
"startIndex": 1,
|
|
86396
|
+
"endIndex": 2
|
|
86397
|
+
},
|
|
86398
|
+
"isOptional": false
|
|
86399
|
+
}
|
|
86400
|
+
],
|
|
86401
|
+
"name": "setMainAction"
|
|
86402
|
+
},
|
|
86403
|
+
{
|
|
86404
|
+
"kind": "MethodSignature",
|
|
86405
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#showAll:member(1)",
|
|
86406
|
+
"docComment": "/**\n * Show every on-screen gamepad button (clears the button hide list). Does NOT change the joystick/crosshair — use `showJoystick()` / `showCrosshair()` for those.\n */\n",
|
|
86407
|
+
"excerptTokens": [
|
|
86408
|
+
{
|
|
86409
|
+
"kind": "Content",
|
|
86410
|
+
"text": "showAll(): "
|
|
86411
|
+
},
|
|
86412
|
+
{
|
|
86413
|
+
"kind": "Content",
|
|
86414
|
+
"text": "void"
|
|
86415
|
+
},
|
|
86416
|
+
{
|
|
86417
|
+
"kind": "Content",
|
|
86418
|
+
"text": ";"
|
|
86419
|
+
}
|
|
86420
|
+
],
|
|
86421
|
+
"isOptional": false,
|
|
86422
|
+
"returnTypeTokenRange": {
|
|
86423
|
+
"startIndex": 1,
|
|
86424
|
+
"endIndex": 2
|
|
86425
|
+
},
|
|
86426
|
+
"releaseTag": "Public",
|
|
86427
|
+
"overloadIndex": 1,
|
|
86428
|
+
"parameters": [],
|
|
86429
|
+
"name": "showAll"
|
|
86430
|
+
},
|
|
86431
|
+
{
|
|
86432
|
+
"kind": "MethodSignature",
|
|
86433
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#showCrosshair:member(1)",
|
|
86434
|
+
"docComment": "/**\n * Show the on-screen crosshair / reticle.\n */\n",
|
|
86435
|
+
"excerptTokens": [
|
|
86436
|
+
{
|
|
86437
|
+
"kind": "Content",
|
|
86438
|
+
"text": "showCrosshair(): "
|
|
86439
|
+
},
|
|
86440
|
+
{
|
|
86441
|
+
"kind": "Content",
|
|
86442
|
+
"text": "void"
|
|
86443
|
+
},
|
|
86444
|
+
{
|
|
86445
|
+
"kind": "Content",
|
|
86446
|
+
"text": ";"
|
|
86447
|
+
}
|
|
86448
|
+
],
|
|
86449
|
+
"isOptional": false,
|
|
86450
|
+
"returnTypeTokenRange": {
|
|
86451
|
+
"startIndex": 1,
|
|
86452
|
+
"endIndex": 2
|
|
86453
|
+
},
|
|
86454
|
+
"releaseTag": "Public",
|
|
86455
|
+
"overloadIndex": 1,
|
|
86456
|
+
"parameters": [],
|
|
86457
|
+
"name": "showCrosshair"
|
|
86458
|
+
},
|
|
86459
|
+
{
|
|
86460
|
+
"kind": "MethodSignature",
|
|
86461
|
+
"canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#showJoystick:member(1)",
|
|
86462
|
+
"docComment": "/**\n * Show the native virtual joystick.\n */\n",
|
|
86463
|
+
"excerptTokens": [
|
|
86464
|
+
{
|
|
86465
|
+
"kind": "Content",
|
|
86466
|
+
"text": "showJoystick(): "
|
|
86467
|
+
},
|
|
86468
|
+
{
|
|
86469
|
+
"kind": "Content",
|
|
86470
|
+
"text": "void"
|
|
86471
|
+
},
|
|
86472
|
+
{
|
|
86473
|
+
"kind": "Content",
|
|
86474
|
+
"text": ";"
|
|
86475
|
+
}
|
|
86476
|
+
],
|
|
86477
|
+
"isOptional": false,
|
|
86478
|
+
"returnTypeTokenRange": {
|
|
86479
|
+
"startIndex": 1,
|
|
86480
|
+
"endIndex": 2
|
|
86481
|
+
},
|
|
86482
|
+
"releaseTag": "Public",
|
|
86483
|
+
"overloadIndex": 1,
|
|
86484
|
+
"parameters": [],
|
|
86485
|
+
"name": "showJoystick"
|
|
86486
|
+
}
|
|
86487
|
+
],
|
|
86488
|
+
"extendsTokenRanges": [
|
|
86489
|
+
{
|
|
86490
|
+
"startIndex": 1,
|
|
86491
|
+
"endIndex": 5
|
|
86492
|
+
}
|
|
86493
|
+
]
|
|
86220
86494
|
},
|
|
86221
86495
|
{
|
|
86222
86496
|
"kind": "Variable",
|
|
@@ -184,14 +184,6 @@ 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
|
-
|
|
195
187
|
// @public (undocumented)
|
|
196
188
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
197
189
|
|
|
@@ -1195,6 +1187,7 @@ export type EntityComponents = {
|
|
|
1195
1187
|
uiBackground: PBUiBackground;
|
|
1196
1188
|
uiInput: PBUiInput;
|
|
1197
1189
|
uiDropdown: PBUiDropdown;
|
|
1190
|
+
uiInputBinding: PBUiInputBinding;
|
|
1198
1191
|
onMouseDown: Callback;
|
|
1199
1192
|
onMouseUp: Callback;
|
|
1200
1193
|
onMouseEnter: Callback;
|
|
@@ -1215,6 +1208,7 @@ export enum EntityMappingMode {
|
|
|
1215
1208
|
export interface EntityPropTypes extends Listeners {
|
|
1216
1209
|
key?: Key;
|
|
1217
1210
|
uiBackground?: UiBackgroundProps;
|
|
1211
|
+
uiInputBinding?: PBUiInputBinding;
|
|
1218
1212
|
uiTransform?: UiTransformProps;
|
|
1219
1213
|
}
|
|
1220
1214
|
|
|
@@ -5111,8 +5105,22 @@ export const ToLinearSpace = 2.2;
|
|
|
5111
5105
|
// @public (undocumented)
|
|
5112
5106
|
export type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
|
|
5113
5107
|
|
|
5108
|
+
// Warning: (ae-missing-release-tag) "TouchScreenControls" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
5109
|
+
//
|
|
5114
5110
|
// @public (undocumented)
|
|
5115
|
-
export const TouchScreenControls:
|
|
5111
|
+
export const TouchScreenControls: TouchScreenControlsComponentDefinitionExtended;
|
|
5112
|
+
|
|
5113
|
+
// @public
|
|
5114
|
+
export interface TouchScreenControlsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTouchScreenControls> {
|
|
5115
|
+
hide(actions: InputAction[]): void;
|
|
5116
|
+
hideAll(): void;
|
|
5117
|
+
hideCrosshair(): void;
|
|
5118
|
+
hideJoystick(): void;
|
|
5119
|
+
setMainAction(action: InputAction): void;
|
|
5120
|
+
showAll(): void;
|
|
5121
|
+
showCrosshair(): void;
|
|
5122
|
+
showJoystick(): void;
|
|
5123
|
+
}
|
|
5116
5124
|
|
|
5117
5125
|
// Warning: (ae-missing-release-tag) "Transform" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
5118
5126
|
//
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.25.1-
|
|
4
|
+
"version": "7.25.1-30570000030.commit-eaa1fa5",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.25.1-
|
|
8
|
-
"@dcl/sdk": "7.25.1-
|
|
7
|
+
"@dcl/js-runtime": "7.25.1-30570000030.commit-eaa1fa5",
|
|
8
|
+
"@dcl/sdk": "7.25.1-30570000030.commit-eaa1fa5"
|
|
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": "eaa1fa58d4deeb7a4102151ad91bd857be38023b"
|
|
36
36
|
}
|