@dcl/playground-assets 7.28.1-34901226656.commit-44656ea → 7.28.1-34907286167.commit-d2f06b5
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 +23 -779
- package/dist/beta.d.ts +23 -779
- package/dist/index.bundled.d.ts +23 -779
- package/dist/index.js +7 -7
- package/dist/playground/sdk/apis.d.ts +2 -37
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +23 -779
- package/etc/playground-assets.api.json +3925 -11886
- package/etc/playground-assets.api.md +6 -506
- package/package.json +4 -4
|
@@ -1344,28 +1344,8 @@ declare module "~system/RestrictedActions" {
|
|
|
1344
1344
|
export interface MovePlayerToResponse {
|
|
1345
1345
|
success: boolean;
|
|
1346
1346
|
}
|
|
1347
|
-
export interface WalkPlayerToRequest {
|
|
1348
|
-
newRelativePosition: Vector3 | undefined;
|
|
1349
|
-
stopThreshold: number;
|
|
1350
|
-
/** max seconds before the request is failed; not passed to the movement scene */
|
|
1351
|
-
timeout?: number | undefined;
|
|
1352
|
-
}
|
|
1353
|
-
export interface WalkPlayerToResponse {
|
|
1354
|
-
success: boolean;
|
|
1355
|
-
}
|
|
1356
1347
|
export interface TeleportToResponse {
|
|
1357
1348
|
}
|
|
1358
|
-
export interface SetUiFocusRequest {
|
|
1359
|
-
elementId: string;
|
|
1360
|
-
}
|
|
1361
|
-
export interface ClearUiFocusRequest {
|
|
1362
|
-
}
|
|
1363
|
-
export interface GetUiFocusRequest {
|
|
1364
|
-
}
|
|
1365
|
-
export interface UiFocusResponse {
|
|
1366
|
-
/** the element that is/was focussed */
|
|
1367
|
-
elementId?: string | undefined;
|
|
1368
|
-
}
|
|
1369
1349
|
export interface CopyToClipboardRequest {
|
|
1370
1350
|
text: string;
|
|
1371
1351
|
}
|
|
@@ -1388,14 +1368,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1388
1368
|
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
1389
1369
|
*/
|
|
1390
1370
|
export function movePlayerTo(body: MovePlayerToRequest): Promise<MovePlayerToResponse>;
|
|
1391
|
-
/**
|
|
1392
|
-
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1393
|
-
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1394
|
-
* managed by the movement controller scene. Returns success when the player reaches
|
|
1395
|
-
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1396
|
-
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1397
|
-
*/
|
|
1398
|
-
export function walkPlayerTo(body: WalkPlayerToRequest): Promise<WalkPlayerToResponse>;
|
|
1371
|
+
/** TeleportTo will move the user to the specified world LAND parcel coordinates */
|
|
1399
1372
|
export function teleportTo(body: TeleportToRequest): Promise<TeleportToResponse>;
|
|
1400
1373
|
/** TriggerEmote will trigger an emote in this current user */
|
|
1401
1374
|
export function triggerEmote(body: TriggerEmoteRequest): Promise<TriggerEmoteResponse>;
|
|
@@ -1415,15 +1388,7 @@ declare module "~system/RestrictedActions" {
|
|
|
1415
1388
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
|
1416
1389
|
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1417
1390
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1418
|
-
/**
|
|
1419
|
-
* CopyToClipboard copies the provided text into the clipboard
|
|
1420
|
-
* Sets the focus to a specific UI element
|
|
1421
|
-
*/
|
|
1422
|
-
export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1423
|
-
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1424
|
-
export function clearUiFocus(body: ClearUiFocusRequest): Promise<UiFocusResponse>;
|
|
1425
|
-
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1426
|
-
export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1391
|
+
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1427
1392
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1428
1393
|
/** StopEmote will stop the current emote */
|
|
1429
1394
|
export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.28.1-
|
|
4
|
+
"version": "7.28.1-34907286167.commit-d2f06b5",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"types": "./index.d.ts",
|
|
35
35
|
"typings": "./index.d.ts",
|
|
36
|
-
"commit": "
|
|
36
|
+
"commit": "d2f06b5eb1a2ab3377a3f99d045f957ae979c051"
|
|
37
37
|
}
|