@dcl/playground-assets 7.4.4-8051963017.commit-35a11db → 7.4.5-8054791102.commit-f06a0a7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/alpha.d.ts +385 -1
- package/dist/beta.d.ts +382 -9
- package/dist/index.bundled.d.ts +382 -9
- package/dist/index.js.map +2 -2
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +385 -1
- package/etc/playground-assets.api.json +90 -237
- package/etc/playground-assets.api.md +23 -126
- package/package.json +4 -4
@@ -739,9 +739,7 @@ export function createEntityContainer(opts?: {
|
|
739
739
|
reservedStaticEntities: number;
|
740
740
|
}): IEntityContainer;
|
741
741
|
|
742
|
-
//
|
743
|
-
//
|
744
|
-
// @public (undocumented)
|
742
|
+
// @public
|
745
743
|
export function createEthereumProvider(): {
|
746
744
|
send(message: RPCSendableMessage, callback?: ((error: Error | null, result?: any) => void) | undefined): void;
|
747
745
|
sendAsync(message: RPCSendableMessage, callback: (error: Error | null, result?: any) => void): void;
|
@@ -956,8 +954,6 @@ export function Engine(options?: IEngineOptions): IEngine;
|
|
956
954
|
// @public
|
957
955
|
export const engine: IEngine;
|
958
956
|
|
959
|
-
// Warning: (ae-missing-release-tag) "EngineEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
960
|
-
//
|
961
957
|
// @public (undocumented)
|
962
958
|
export type EngineEvent<T extends IEventNames = IEventNames, V = IEvents[T]> = {
|
963
959
|
type: T;
|
@@ -1073,8 +1069,6 @@ export function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith
|
|
1073
1069
|
// @public @deprecated (undocumented)
|
1074
1070
|
export function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
|
1075
1071
|
|
1076
|
-
// Warning: (ae-missing-release-tag) "GizmoDragEndEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1077
|
-
//
|
1078
1072
|
// @public (undocumented)
|
1079
1073
|
export type GizmoDragEndEvent = {
|
1080
1074
|
type: 'gizmoDragEnded';
|
@@ -1086,8 +1080,6 @@ export type GizmoDragEndEvent = {
|
|
1086
1080
|
}>;
|
1087
1081
|
};
|
1088
1082
|
|
1089
|
-
// Warning: (ae-missing-release-tag) "GizmoSelectedEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1090
|
-
//
|
1091
1083
|
// @public (undocumented)
|
1092
1084
|
export type GizmoSelectedEvent = {
|
1093
1085
|
type: 'gizmoSelected';
|
@@ -1107,8 +1099,6 @@ export type GlobalDirectionRaycastSystemOptions = {
|
|
1107
1099
|
direction?: PBVector3;
|
1108
1100
|
};
|
1109
1101
|
|
1110
|
-
// Warning: (ae-missing-release-tag) "GlobalInputEventResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1111
|
-
//
|
1112
1102
|
// @public (undocumented)
|
1113
1103
|
export type GlobalInputEventResult = InputEventResult & {
|
1114
1104
|
type: 0 | 1;
|
@@ -1194,46 +1184,33 @@ export type IEntityContainer = {
|
|
1194
1184
|
updateUsedEntity(entity: Entity): boolean;
|
1195
1185
|
};
|
1196
1186
|
|
1197
|
-
// Warning: (ae-missing-release-tag) "IEventNames" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1198
|
-
//
|
1199
1187
|
// @public (undocumented)
|
1200
1188
|
export type IEventNames = keyof IEvents;
|
1201
1189
|
|
1202
|
-
//
|
1203
|
-
//
|
1204
|
-
// @public (undocumented)
|
1190
|
+
// @public
|
1205
1191
|
export interface IEvents {
|
1206
|
-
// (undocumented)
|
1207
1192
|
actionButtonEvent: GlobalInputEventResult;
|
1208
|
-
// (undocumented)
|
1209
1193
|
builderSceneStart: unknown;
|
1210
|
-
// (undocumented)
|
1211
1194
|
builderSceneUnloaded: unknown;
|
1212
|
-
// (undocumented)
|
1213
1195
|
cameraModeChanged: {
|
1214
1196
|
cameraMode: 0 | 1 | 2;
|
1215
1197
|
};
|
1216
|
-
// (undocumented)
|
1217
1198
|
chatMessage: {
|
1218
1199
|
id: string;
|
1219
1200
|
sender: string;
|
1220
1201
|
message: string;
|
1221
1202
|
isCommand: boolean;
|
1222
1203
|
};
|
1223
|
-
// (undocumented)
|
1224
1204
|
comms: {
|
1225
1205
|
sender: string;
|
1226
1206
|
message: string;
|
1227
1207
|
};
|
1228
|
-
// (undocumented)
|
1229
1208
|
entitiesOutOfBoundaries: {
|
1230
1209
|
entities: string[];
|
1231
1210
|
};
|
1232
|
-
// (undocumented)
|
1233
1211
|
entityBackInScene: {
|
1234
1212
|
entityId: unknown;
|
1235
1213
|
};
|
1236
|
-
// (undocumented)
|
1237
1214
|
entityOutOfScene: {
|
1238
1215
|
entityId: unknown;
|
1239
1216
|
};
|
@@ -1242,9 +1219,7 @@ export interface IEvents {
|
|
1242
1219
|
type: string;
|
1243
1220
|
[key: string]: any;
|
1244
1221
|
};
|
1245
|
-
// (undocumented)
|
1246
1222
|
gizmoEvent: GizmoDragEndEvent | GizmoSelectedEvent;
|
1247
|
-
// (undocumented)
|
1248
1223
|
idleStateChanged: {
|
1249
1224
|
isIdle: boolean;
|
1250
1225
|
};
|
@@ -1258,44 +1233,34 @@ export interface IEvents {
|
|
1258
1233
|
given: Record<string, number>;
|
1259
1234
|
limit: Record<string, number>;
|
1260
1235
|
};
|
1261
|
-
// (undocumented)
|
1262
1236
|
onAnimationEnd: {
|
1263
1237
|
clipName: string;
|
1264
1238
|
};
|
1265
|
-
// (undocumented)
|
1266
1239
|
onBlur: {
|
1267
1240
|
entityId: unknown;
|
1268
1241
|
pointerId: number;
|
1269
1242
|
};
|
1270
|
-
// (undocumented)
|
1271
1243
|
onChange: {
|
1272
1244
|
value?: any;
|
1273
1245
|
pointerId?: number;
|
1274
1246
|
};
|
1275
|
-
// (undocumented)
|
1276
1247
|
onClick: {
|
1277
1248
|
entityId: unknown;
|
1278
1249
|
};
|
1279
|
-
// (undocumented)
|
1280
1250
|
onEnter: unknown;
|
1281
|
-
// (undocumented)
|
1282
1251
|
onEnterScene: {
|
1283
1252
|
userId: string;
|
1284
1253
|
};
|
1285
|
-
// (undocumented)
|
1286
1254
|
onFocus: {
|
1287
1255
|
entityId: unknown;
|
1288
1256
|
pointerId: number;
|
1289
1257
|
};
|
1290
|
-
// (undocumented)
|
1291
1258
|
onLeaveScene: {
|
1292
1259
|
userId: string;
|
1293
1260
|
};
|
1294
|
-
// (undocumented)
|
1295
1261
|
onPointerLock: {
|
1296
1262
|
locked?: boolean;
|
1297
1263
|
};
|
1298
|
-
// (undocumented)
|
1299
1264
|
onRealmChanged: {
|
1300
1265
|
domain: string;
|
1301
1266
|
room: string;
|
@@ -1306,7 +1271,6 @@ export interface IEvents {
|
|
1306
1271
|
onTextSubmit: {
|
1307
1272
|
text: string;
|
1308
1273
|
};
|
1309
|
-
// (undocumented)
|
1310
1274
|
playerClicked: {
|
1311
1275
|
userId: string;
|
1312
1276
|
ray: {
|
@@ -1315,11 +1279,9 @@ export interface IEvents {
|
|
1315
1279
|
distance: number;
|
1316
1280
|
};
|
1317
1281
|
};
|
1318
|
-
// (undocumented)
|
1319
1282
|
playerConnected: {
|
1320
1283
|
userId: string;
|
1321
1284
|
};
|
1322
|
-
// (undocumented)
|
1323
1285
|
playerDisconnected: {
|
1324
1286
|
userId: string;
|
1325
1287
|
};
|
@@ -1327,35 +1289,26 @@ export interface IEvents {
|
|
1327
1289
|
playerExpression: {
|
1328
1290
|
expressionId: string;
|
1329
1291
|
};
|
1330
|
-
// (undocumented)
|
1331
1292
|
pointerDown: InputEventResult;
|
1332
|
-
//
|
1293
|
+
// @deprecated
|
1333
1294
|
pointerEvent: GlobalInputEventResult;
|
1334
|
-
// (undocumented)
|
1335
1295
|
pointerHoverEnter: unknown;
|
1336
|
-
// (undocumented)
|
1337
1296
|
pointerHoverExit: unknown;
|
1338
|
-
// (undocumented)
|
1339
1297
|
pointerUp: InputEventResult;
|
1340
|
-
// (undocumented)
|
1341
1298
|
positionChanged: {
|
1342
1299
|
position: Vector3Type;
|
1343
1300
|
cameraPosition: Vector3Type;
|
1344
1301
|
playerHeight: number;
|
1345
1302
|
};
|
1346
|
-
// (undocumented)
|
1347
1303
|
profileChanged: {
|
1348
1304
|
ethAddress: string;
|
1349
1305
|
version: number;
|
1350
1306
|
};
|
1351
|
-
// (undocumented)
|
1352
1307
|
raycastResponse: RaycastResponsePayload<any>;
|
1353
|
-
// (undocumented)
|
1354
1308
|
rotationChanged: {
|
1355
1309
|
rotation: Vector3Type;
|
1356
1310
|
quaternion: QuaternionType;
|
1357
1311
|
};
|
1358
|
-
// (undocumented)
|
1359
1312
|
sceneStart: unknown;
|
1360
1313
|
// (undocumented)
|
1361
1314
|
stateEvent: {
|
@@ -1367,7 +1320,6 @@ export interface IEvents {
|
|
1367
1320
|
uuid: string;
|
1368
1321
|
payload: any;
|
1369
1322
|
};
|
1370
|
-
// (undocumented)
|
1371
1323
|
videoEvent: {
|
1372
1324
|
componentId: string;
|
1373
1325
|
videoClipId: string;
|
@@ -1478,8 +1430,6 @@ export const enum InputAction {
|
|
1478
1430
|
IA_WALK = 9
|
1479
1431
|
}
|
1480
1432
|
|
1481
|
-
// Warning: (ae-missing-release-tag) "InputEventResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1482
|
-
//
|
1483
1433
|
// @public (undocumented)
|
1484
1434
|
export type InputEventResult = {
|
1485
1435
|
origin: Vector3Type;
|
@@ -1844,9 +1794,7 @@ export interface MeshRendererComponentDefinitionExtended extends LastWriteWinEle
|
|
1844
1794
|
setSphere(entity: Entity): void;
|
1845
1795
|
}
|
1846
1796
|
|
1847
|
-
//
|
1848
|
-
//
|
1849
|
-
// @public (undocumented)
|
1797
|
+
// @alpha @deprecated (undocumented)
|
1850
1798
|
export class MessageBus {
|
1851
1799
|
constructor();
|
1852
1800
|
// (undocumented)
|
@@ -1950,98 +1898,65 @@ export const enum NftFrameType {
|
|
1950
1898
|
// @public (undocumented)
|
1951
1899
|
export const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
1952
1900
|
|
1953
|
-
//
|
1954
|
-
//
|
1955
|
-
// @public (undocumented)
|
1901
|
+
// @public @deprecated
|
1956
1902
|
export class Observable<T> {
|
1957
1903
|
constructor(onObserverAdded?: (observer: Observer<T>) => void);
|
1958
|
-
// (undocumented)
|
1959
1904
|
add(callback: (eventData: T, eventState: ObserverEventState) => void, mask?: number, insertFirst?: boolean, scope?: any, unregisterOnFirstCall?: boolean): null | Observer<T>;
|
1960
|
-
// (undocumented)
|
1961
1905
|
addOnce(callback: (eventData: T, eventState: ObserverEventState) => void): null | Observer<T>;
|
1962
|
-
// (undocumented)
|
1963
1906
|
clear(): void;
|
1964
|
-
// (undocumented)
|
1965
1907
|
clone(): Observable<T>;
|
1966
|
-
// (undocumented)
|
1967
1908
|
hasObservers(): boolean;
|
1968
|
-
// (undocumented)
|
1969
1909
|
hasSpecificMask(mask?: number): boolean;
|
1970
|
-
// (undocumented)
|
1971
1910
|
notifyObserver(observer: Observer<T>, eventData: T, mask?: number): void;
|
1972
|
-
// (undocumented)
|
1973
1911
|
notifyObservers(eventData: T, mask?: number, target?: any, currentTarget?: any): boolean;
|
1974
|
-
// (undocumented)
|
1975
1912
|
notifyObserversWithPromise(eventData: T, mask?: number, target?: any, currentTarget?: any): Promise<T>;
|
1976
|
-
// (undocumented)
|
1977
1913
|
remove(observer: null | Observer<T>): boolean;
|
1978
|
-
// (undocumented)
|
1979
1914
|
removeCallback(callback: (eventData: T, eventState: ObserverEventState) => void, scope?: any): boolean;
|
1980
1915
|
}
|
1981
1916
|
|
1982
|
-
//
|
1983
|
-
//
|
1984
|
-
// @public (undocumented)
|
1917
|
+
// @public @deprecated
|
1985
1918
|
export class Observer<T> {
|
1986
|
-
constructor(
|
1987
|
-
|
1919
|
+
constructor(
|
1920
|
+
callback: (eventData: T, eventState: ObserverEventState) => void,
|
1921
|
+
mask: number,
|
1922
|
+
scope?: any);
|
1988
1923
|
callback: (eventData: T, eventState: ObserverEventState) => void;
|
1989
|
-
// (undocumented)
|
1990
1924
|
mask: number;
|
1991
|
-
// (undocumented)
|
1992
1925
|
scope: any;
|
1993
|
-
// (undocumented)
|
1994
1926
|
unregisterOnNextCall: boolean;
|
1995
|
-
// (undocumented)
|
1996
1927
|
_willBeUnregistered: boolean;
|
1997
1928
|
}
|
1998
1929
|
|
1999
|
-
//
|
2000
|
-
//
|
2001
|
-
// @public (undocumented)
|
1930
|
+
// @public @deprecated
|
2002
1931
|
export class ObserverEventState {
|
2003
1932
|
constructor(mask: number, skipNextObservers?: boolean, target?: any, currentTarget?: any);
|
2004
|
-
// (undocumented)
|
2005
1933
|
currentTarget?: any;
|
2006
|
-
// (undocumented)
|
2007
1934
|
initalize(mask: number, skipNextObservers?: boolean, target?: any, currentTarget?: any): ObserverEventState;
|
2008
|
-
// (undocumented)
|
2009
1935
|
lastReturnValue?: any;
|
2010
|
-
// (undocumented)
|
2011
1936
|
mask: number;
|
2012
|
-
// (undocumented)
|
2013
1937
|
skipNextObservers: boolean;
|
2014
|
-
// (undocumented)
|
2015
1938
|
target?: any;
|
2016
1939
|
}
|
2017
1940
|
|
2018
1941
|
// @public (undocumented)
|
2019
1942
|
export type OnChangeFunction = (entity: Entity, operation: CrdtMessageType, component?: ComponentDefinition<any>, componentValue?: any) => void;
|
2020
1943
|
|
2021
|
-
//
|
2022
|
-
//
|
2023
|
-
// @public (undocumented)
|
1944
|
+
// @public @deprecated (undocumented)
|
2024
1945
|
export const onEnterScene: Observable<{
|
2025
1946
|
userId: string;
|
2026
1947
|
}>;
|
2027
1948
|
|
2028
|
-
//
|
2029
|
-
//
|
2030
|
-
// @public (undocumented)
|
1949
|
+
// @public @deprecated
|
2031
1950
|
export const onEnterSceneObservable: Observable<{
|
2032
1951
|
userId: string;
|
2033
1952
|
}>;
|
2034
1953
|
|
2035
|
-
//
|
2036
|
-
//
|
2037
|
-
// @public (undocumented)
|
1954
|
+
// @public @deprecated (undocumented)
|
2038
1955
|
export const onLeaveScene: Observable<{
|
2039
1956
|
userId: string;
|
2040
1957
|
}>;
|
2041
1958
|
|
2042
|
-
//
|
2043
|
-
//
|
2044
|
-
// @public (undocumented)
|
1959
|
+
// @public @deprecated
|
2045
1960
|
export const onLeaveSceneObservable: Observable<{
|
2046
1961
|
userId: string;
|
2047
1962
|
}>;
|
@@ -2056,9 +1971,7 @@ export type OnlyOptionalUndefinedTypes<T> = {
|
|
2056
1971
|
[K in IncludeUndefined<T>]?: T[K];
|
2057
1972
|
};
|
2058
1973
|
|
2059
|
-
//
|
2060
|
-
//
|
2061
|
-
// @public (undocumented)
|
1974
|
+
// @public @deprecated (undocumented)
|
2062
1975
|
export const onPlayerClickedObservable: Observable<{
|
2063
1976
|
userId: string;
|
2064
1977
|
ray: {
|
@@ -2068,38 +1981,28 @@ export const onPlayerClickedObservable: Observable<{
|
|
2068
1981
|
};
|
2069
1982
|
}>;
|
2070
1983
|
|
2071
|
-
//
|
2072
|
-
//
|
2073
|
-
// @public (undocumented)
|
1984
|
+
// @public @deprecated (undocumented)
|
2074
1985
|
export const onPlayerConnectedObservable: Observable<{
|
2075
1986
|
userId: string;
|
2076
1987
|
}>;
|
2077
1988
|
|
2078
|
-
//
|
2079
|
-
//
|
2080
|
-
// @public (undocumented)
|
1989
|
+
// @public @deprecated (undocumented)
|
2081
1990
|
export const onPlayerDisconnectedObservable: Observable<{
|
2082
1991
|
userId: string;
|
2083
1992
|
}>;
|
2084
1993
|
|
2085
|
-
//
|
2086
|
-
//
|
2087
|
-
// @public (undocumented)
|
1994
|
+
// @public @deprecated (undocumented)
|
2088
1995
|
export const onPlayerExpressionObservable: Observable<{
|
2089
1996
|
expressionId: string;
|
2090
1997
|
}>;
|
2091
1998
|
|
2092
|
-
//
|
2093
|
-
//
|
2094
|
-
// @public (undocumented)
|
1999
|
+
// @public @deprecated (undocumented)
|
2095
2000
|
export const onProfileChanged: Observable<{
|
2096
2001
|
ethAddress: string;
|
2097
2002
|
version: number;
|
2098
2003
|
}>;
|
2099
2004
|
|
2100
|
-
//
|
2101
|
-
//
|
2102
|
-
// @public (undocumented)
|
2005
|
+
// @public @deprecated (undocumented)
|
2103
2006
|
export const onRealmChangedObservable: Observable<{
|
2104
2007
|
domain: string;
|
2105
2008
|
room: string;
|
@@ -2107,9 +2010,7 @@ export const onRealmChangedObservable: Observable<{
|
|
2107
2010
|
displayName: string;
|
2108
2011
|
}>;
|
2109
2012
|
|
2110
|
-
//
|
2111
|
-
//
|
2112
|
-
// @public (undocumented)
|
2013
|
+
// @public @deprecated
|
2113
2014
|
export const onSceneReadyObservable: Observable<unknown>;
|
2114
2015
|
|
2115
2016
|
// Warning: (ae-missing-release-tag) "onUpdate" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
@@ -2117,9 +2018,7 @@ export const onSceneReadyObservable: Observable<unknown>;
|
|
2117
2018
|
// @public (undocumented)
|
2118
2019
|
export function onUpdate(deltaTime: number): Promise<void>;
|
2119
2020
|
|
2120
|
-
//
|
2121
|
-
//
|
2122
|
-
// @public (undocumented)
|
2021
|
+
// @public @deprecated (undocumented)
|
2123
2022
|
export const onVideoEvent: Observable<{
|
2124
2023
|
componentId: string;
|
2125
2024
|
videoClipId: string;
|
@@ -3498,8 +3397,6 @@ export const enum RaycastQueryType {
|
|
3498
3397
|
RQT_QUERY_ALL = 1
|
3499
3398
|
}
|
3500
3399
|
|
3501
|
-
// Warning: (ae-missing-release-tag) "RaycastResponsePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
3502
|
-
//
|
3503
3400
|
// @public (undocumented)
|
3504
3401
|
export type RaycastResponsePayload<T> = {
|
3505
3402
|
queryId: string;
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.4.
|
4
|
+
"version": "7.4.5-8054791102.commit-f06a0a7",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.4.
|
8
|
-
"@dcl/sdk": "7.4.
|
7
|
+
"@dcl/js-runtime": "7.4.5-8054791102.commit-f06a0a7",
|
8
|
+
"@dcl/sdk": "7.4.5-8054791102.commit-f06a0a7"
|
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": "f06a0a76f129a1d750367ae6a491141be74abb13"
|
36
36
|
}
|