@dcl/playground-assets 7.25.1-31608505224.commit-f858f90 → 7.25.1-31631715875.commit-ece3246
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 +90 -0
- package/dist/beta.d.ts +90 -0
- package/dist/index.bundled.d.ts +90 -0
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +1 -15
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +90 -0
- package/etc/playground-assets.api.json +1556 -664
- package/etc/playground-assets.api.md +76 -0
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -288,6 +288,15 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
288
288
|
/** @public */
|
|
289
289
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
290
290
|
|
|
291
|
+
/** Mask for which bones an animation applies to. */
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export declare const enum AvatarEmoteMask {
|
|
296
|
+
AEM_FULL_BODY = 0,
|
|
297
|
+
AEM_UPPER_BODY = 1
|
|
298
|
+
}
|
|
299
|
+
|
|
291
300
|
/** @public */
|
|
292
301
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
293
302
|
|
|
@@ -1449,6 +1458,7 @@ export declare const componentDefinitionByName: {
|
|
|
1449
1458
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1450
1459
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1451
1460
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1461
|
+
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
1452
1462
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1453
1463
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1454
1464
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
@@ -2199,6 +2209,26 @@ export declare type ExcludeUndefined<T> = {
|
|
|
2199
2209
|
*/
|
|
2200
2210
|
export declare const executeTask: (task: Task<unknown>) => void;
|
|
2201
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* Identifies which fullscreen explorer panel OpenExplorerUi targets.
|
|
2214
|
+
* EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
|
|
2215
|
+
*/
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
*/
|
|
2219
|
+
export declare const enum ExplorerUi {
|
|
2220
|
+
EU_SETTINGS = 0,
|
|
2221
|
+
EU_MAP = 1,
|
|
2222
|
+
EU_BACKPACK = 2,
|
|
2223
|
+
EU_CAMERA_REEL = 3,
|
|
2224
|
+
EU_COMMUNITIES = 4,
|
|
2225
|
+
EU_PLACES = 5,
|
|
2226
|
+
EU_EVENTS = 6
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/** @public */
|
|
2230
|
+
export declare const ExplorerUiEventsResult: GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>;
|
|
2231
|
+
|
|
2202
2232
|
/**
|
|
2203
2233
|
* Flattened material interface for simplified property access
|
|
2204
2234
|
* @public
|
|
@@ -5191,6 +5221,66 @@ export declare namespace PBEngineInfo {
|
|
|
5191
5221
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
5192
5222
|
}
|
|
5193
5223
|
|
|
5224
|
+
/**
|
|
5225
|
+
* PBExplorerUiEventsResult transports the lifecycle events of fullscreen explorer panels — a panel was
|
|
5226
|
+
* opened, a panel was closed. It is a grow only value set appended to the scene root entity, so every
|
|
5227
|
+
* event of a tick is delivered and none overwrites another.
|
|
5228
|
+
*/
|
|
5229
|
+
/**
|
|
5230
|
+
* @public
|
|
5231
|
+
*/
|
|
5232
|
+
export declare interface PBExplorerUiEventsResult {
|
|
5233
|
+
/** The panel that the event refers to */
|
|
5234
|
+
ui: ExplorerUi;
|
|
5235
|
+
/** The scene tick when the event occurred */
|
|
5236
|
+
timestamp: number;
|
|
5237
|
+
event?: {
|
|
5238
|
+
$case: "opened";
|
|
5239
|
+
opened: PBExplorerUiEventsResult_UiOpened;
|
|
5240
|
+
} | {
|
|
5241
|
+
$case: "closed";
|
|
5242
|
+
closed: PBExplorerUiEventsResult_UiClosed;
|
|
5243
|
+
} | undefined;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
/**
|
|
5247
|
+
* @public
|
|
5248
|
+
*/
|
|
5249
|
+
export declare namespace PBExplorerUiEventsResult {
|
|
5250
|
+
export function encode(message: PBExplorerUiEventsResult, writer?: _m0.Writer): _m0.Writer;
|
|
5251
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
5254
|
+
/** Emitted when a fullscreen explorer panel is closed. */
|
|
5255
|
+
/**
|
|
5256
|
+
* @public
|
|
5257
|
+
*/
|
|
5258
|
+
export declare interface PBExplorerUiEventsResult_UiClosed {
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
/**
|
|
5262
|
+
* @public
|
|
5263
|
+
*/
|
|
5264
|
+
export declare namespace PBExplorerUiEventsResult_UiClosed {
|
|
5265
|
+
export function encode(_: PBExplorerUiEventsResult_UiClosed, writer?: _m0.Writer): _m0.Writer;
|
|
5266
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiClosed;
|
|
5267
|
+
}
|
|
5268
|
+
|
|
5269
|
+
/** Emitted when a fullscreen explorer panel is opened. */
|
|
5270
|
+
/**
|
|
5271
|
+
* @public
|
|
5272
|
+
*/
|
|
5273
|
+
export declare interface PBExplorerUiEventsResult_UiOpened {
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
/**
|
|
5277
|
+
* @public
|
|
5278
|
+
*/
|
|
5279
|
+
export declare namespace PBExplorerUiEventsResult_UiOpened {
|
|
5280
|
+
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
5281
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiOpened;
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5194
5284
|
/**
|
|
5195
5285
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
5196
5286
|
*
|
package/dist/beta.d.ts
CHANGED
|
@@ -288,6 +288,15 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
288
288
|
/** @public */
|
|
289
289
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
290
290
|
|
|
291
|
+
/** Mask for which bones an animation applies to. */
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export declare const enum AvatarEmoteMask {
|
|
296
|
+
AEM_FULL_BODY = 0,
|
|
297
|
+
AEM_UPPER_BODY = 1
|
|
298
|
+
}
|
|
299
|
+
|
|
291
300
|
/** @public */
|
|
292
301
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
293
302
|
|
|
@@ -1449,6 +1458,7 @@ export declare const componentDefinitionByName: {
|
|
|
1449
1458
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1450
1459
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1451
1460
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1461
|
+
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
1452
1462
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1453
1463
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1454
1464
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
@@ -2199,6 +2209,26 @@ export declare type ExcludeUndefined<T> = {
|
|
|
2199
2209
|
*/
|
|
2200
2210
|
export declare const executeTask: (task: Task<unknown>) => void;
|
|
2201
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* Identifies which fullscreen explorer panel OpenExplorerUi targets.
|
|
2214
|
+
* EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
|
|
2215
|
+
*/
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
*/
|
|
2219
|
+
export declare const enum ExplorerUi {
|
|
2220
|
+
EU_SETTINGS = 0,
|
|
2221
|
+
EU_MAP = 1,
|
|
2222
|
+
EU_BACKPACK = 2,
|
|
2223
|
+
EU_CAMERA_REEL = 3,
|
|
2224
|
+
EU_COMMUNITIES = 4,
|
|
2225
|
+
EU_PLACES = 5,
|
|
2226
|
+
EU_EVENTS = 6
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/** @public */
|
|
2230
|
+
export declare const ExplorerUiEventsResult: GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>;
|
|
2231
|
+
|
|
2202
2232
|
/**
|
|
2203
2233
|
* Flattened material interface for simplified property access
|
|
2204
2234
|
* @public
|
|
@@ -5163,6 +5193,66 @@ export declare namespace PBEngineInfo {
|
|
|
5163
5193
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
5164
5194
|
}
|
|
5165
5195
|
|
|
5196
|
+
/**
|
|
5197
|
+
* PBExplorerUiEventsResult transports the lifecycle events of fullscreen explorer panels — a panel was
|
|
5198
|
+
* opened, a panel was closed. It is a grow only value set appended to the scene root entity, so every
|
|
5199
|
+
* event of a tick is delivered and none overwrites another.
|
|
5200
|
+
*/
|
|
5201
|
+
/**
|
|
5202
|
+
* @public
|
|
5203
|
+
*/
|
|
5204
|
+
export declare interface PBExplorerUiEventsResult {
|
|
5205
|
+
/** The panel that the event refers to */
|
|
5206
|
+
ui: ExplorerUi;
|
|
5207
|
+
/** The scene tick when the event occurred */
|
|
5208
|
+
timestamp: number;
|
|
5209
|
+
event?: {
|
|
5210
|
+
$case: "opened";
|
|
5211
|
+
opened: PBExplorerUiEventsResult_UiOpened;
|
|
5212
|
+
} | {
|
|
5213
|
+
$case: "closed";
|
|
5214
|
+
closed: PBExplorerUiEventsResult_UiClosed;
|
|
5215
|
+
} | undefined;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* @public
|
|
5220
|
+
*/
|
|
5221
|
+
export declare namespace PBExplorerUiEventsResult {
|
|
5222
|
+
export function encode(message: PBExplorerUiEventsResult, writer?: _m0.Writer): _m0.Writer;
|
|
5223
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult;
|
|
5224
|
+
}
|
|
5225
|
+
|
|
5226
|
+
/** Emitted when a fullscreen explorer panel is closed. */
|
|
5227
|
+
/**
|
|
5228
|
+
* @public
|
|
5229
|
+
*/
|
|
5230
|
+
export declare interface PBExplorerUiEventsResult_UiClosed {
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5233
|
+
/**
|
|
5234
|
+
* @public
|
|
5235
|
+
*/
|
|
5236
|
+
export declare namespace PBExplorerUiEventsResult_UiClosed {
|
|
5237
|
+
export function encode(_: PBExplorerUiEventsResult_UiClosed, writer?: _m0.Writer): _m0.Writer;
|
|
5238
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiClosed;
|
|
5239
|
+
}
|
|
5240
|
+
|
|
5241
|
+
/** Emitted when a fullscreen explorer panel is opened. */
|
|
5242
|
+
/**
|
|
5243
|
+
* @public
|
|
5244
|
+
*/
|
|
5245
|
+
export declare interface PBExplorerUiEventsResult_UiOpened {
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
/**
|
|
5249
|
+
* @public
|
|
5250
|
+
*/
|
|
5251
|
+
export declare namespace PBExplorerUiEventsResult_UiOpened {
|
|
5252
|
+
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
5253
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiOpened;
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5166
5256
|
/**
|
|
5167
5257
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
5168
5258
|
*
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -288,6 +288,15 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
288
288
|
/** @public */
|
|
289
289
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
290
290
|
|
|
291
|
+
/** Mask for which bones an animation applies to. */
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export declare const enum AvatarEmoteMask {
|
|
296
|
+
AEM_FULL_BODY = 0,
|
|
297
|
+
AEM_UPPER_BODY = 1
|
|
298
|
+
}
|
|
299
|
+
|
|
291
300
|
/** @public */
|
|
292
301
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
293
302
|
|
|
@@ -1449,6 +1458,7 @@ export declare const componentDefinitionByName: {
|
|
|
1449
1458
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1450
1459
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1451
1460
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1461
|
+
"core::ExplorerUiEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>>;
|
|
1452
1462
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1453
1463
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1454
1464
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
@@ -2199,6 +2209,26 @@ export declare type ExcludeUndefined<T> = {
|
|
|
2199
2209
|
*/
|
|
2200
2210
|
export declare const executeTask: (task: Task<unknown>) => void;
|
|
2201
2211
|
|
|
2212
|
+
/**
|
|
2213
|
+
* Identifies which fullscreen explorer panel OpenExplorerUi targets.
|
|
2214
|
+
* EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
|
|
2215
|
+
*/
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
*/
|
|
2219
|
+
export declare const enum ExplorerUi {
|
|
2220
|
+
EU_SETTINGS = 0,
|
|
2221
|
+
EU_MAP = 1,
|
|
2222
|
+
EU_BACKPACK = 2,
|
|
2223
|
+
EU_CAMERA_REEL = 3,
|
|
2224
|
+
EU_COMMUNITIES = 4,
|
|
2225
|
+
EU_PLACES = 5,
|
|
2226
|
+
EU_EVENTS = 6
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/** @public */
|
|
2230
|
+
export declare const ExplorerUiEventsResult: GrowOnlyValueSetComponentDefinition<PBExplorerUiEventsResult>;
|
|
2231
|
+
|
|
2202
2232
|
/**
|
|
2203
2233
|
* Flattened material interface for simplified property access
|
|
2204
2234
|
* @public
|
|
@@ -5163,6 +5193,66 @@ export declare namespace PBEngineInfo {
|
|
|
5163
5193
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
5164
5194
|
}
|
|
5165
5195
|
|
|
5196
|
+
/**
|
|
5197
|
+
* PBExplorerUiEventsResult transports the lifecycle events of fullscreen explorer panels — a panel was
|
|
5198
|
+
* opened, a panel was closed. It is a grow only value set appended to the scene root entity, so every
|
|
5199
|
+
* event of a tick is delivered and none overwrites another.
|
|
5200
|
+
*/
|
|
5201
|
+
/**
|
|
5202
|
+
* @public
|
|
5203
|
+
*/
|
|
5204
|
+
export declare interface PBExplorerUiEventsResult {
|
|
5205
|
+
/** The panel that the event refers to */
|
|
5206
|
+
ui: ExplorerUi;
|
|
5207
|
+
/** The scene tick when the event occurred */
|
|
5208
|
+
timestamp: number;
|
|
5209
|
+
event?: {
|
|
5210
|
+
$case: "opened";
|
|
5211
|
+
opened: PBExplorerUiEventsResult_UiOpened;
|
|
5212
|
+
} | {
|
|
5213
|
+
$case: "closed";
|
|
5214
|
+
closed: PBExplorerUiEventsResult_UiClosed;
|
|
5215
|
+
} | undefined;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* @public
|
|
5220
|
+
*/
|
|
5221
|
+
export declare namespace PBExplorerUiEventsResult {
|
|
5222
|
+
export function encode(message: PBExplorerUiEventsResult, writer?: _m0.Writer): _m0.Writer;
|
|
5223
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult;
|
|
5224
|
+
}
|
|
5225
|
+
|
|
5226
|
+
/** Emitted when a fullscreen explorer panel is closed. */
|
|
5227
|
+
/**
|
|
5228
|
+
* @public
|
|
5229
|
+
*/
|
|
5230
|
+
export declare interface PBExplorerUiEventsResult_UiClosed {
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5233
|
+
/**
|
|
5234
|
+
* @public
|
|
5235
|
+
*/
|
|
5236
|
+
export declare namespace PBExplorerUiEventsResult_UiClosed {
|
|
5237
|
+
export function encode(_: PBExplorerUiEventsResult_UiClosed, writer?: _m0.Writer): _m0.Writer;
|
|
5238
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiClosed;
|
|
5239
|
+
}
|
|
5240
|
+
|
|
5241
|
+
/** Emitted when a fullscreen explorer panel is opened. */
|
|
5242
|
+
/**
|
|
5243
|
+
* @public
|
|
5244
|
+
*/
|
|
5245
|
+
export declare interface PBExplorerUiEventsResult_UiOpened {
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
/**
|
|
5249
|
+
* @public
|
|
5250
|
+
*/
|
|
5251
|
+
export declare namespace PBExplorerUiEventsResult_UiOpened {
|
|
5252
|
+
export function encode(_: PBExplorerUiEventsResult_UiOpened, writer?: _m0.Writer): _m0.Writer;
|
|
5253
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerUiEventsResult_UiOpened;
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5166
5256
|
/**
|
|
5167
5257
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
5168
5258
|
*
|