@dcl/playground-assets 7.20.5-22631826546.commit-7c189f5 → 7.20.5-22638270380.commit-3f48d5e
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 +99 -420
- package/dist/beta.d.ts +99 -420
- package/dist/index.bundled.d.ts +99 -420
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground/snippets/pointer-events.ts +7 -14
- package/dist/playground-assets.d.ts +99 -420
- package/etc/playground-assets.api.json +2462 -5630
- package/etc/playground-assets.api.md +75 -264
- package/package.json +6 -5
|
@@ -70,31 +70,6 @@ export const assetLoadLoadingStateSystem: AssetLoadLoadingStateSystem;
|
|
|
70
70
|
// @public (undocumented)
|
|
71
71
|
export type AssetLoadLoadingStateSystemCallback = (event: DeepReadonlyObject<PBAssetLoadLoadingState>) => void;
|
|
72
72
|
|
|
73
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
74
|
-
//
|
|
75
|
-
// @public (undocumented)
|
|
76
|
-
export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
77
|
-
|
|
78
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
79
|
-
//
|
|
80
|
-
// @public (undocumented)
|
|
81
|
-
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
82
|
-
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
83
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
84
|
-
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
85
|
-
amplitudeGain?: number, bandsGain?: number): void;
|
|
86
|
-
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
87
|
-
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
91
|
-
//
|
|
92
|
-
// @public
|
|
93
|
-
export type AudioAnalysisView = {
|
|
94
|
-
amplitude: number;
|
|
95
|
-
bands: number[];
|
|
96
|
-
};
|
|
97
|
-
|
|
98
73
|
// @public (undocumented)
|
|
99
74
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
100
75
|
|
|
@@ -119,6 +94,29 @@ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElem
|
|
|
119
94
|
getAudioState(entity: Entity): PBAudioEvent | undefined;
|
|
120
95
|
}
|
|
121
96
|
|
|
97
|
+
// @public (undocumented)
|
|
98
|
+
export type AuthoritativePutComponentMessage = CrdtMessageHeader & AuthoritativePutComponentMessageBody;
|
|
99
|
+
|
|
100
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
101
|
+
//
|
|
102
|
+
// @public
|
|
103
|
+
export type AuthoritativePutComponentMessageBody = {
|
|
104
|
+
type: CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT;
|
|
105
|
+
entityId: Entity;
|
|
106
|
+
componentId: number;
|
|
107
|
+
timestamp: number;
|
|
108
|
+
data: Uint8Array;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
// @public (undocumented)
|
|
112
|
+
export namespace AuthoritativePutComponentOperation {
|
|
113
|
+
const // (undocumented)
|
|
114
|
+
MESSAGE_HEADER_LENGTH = 16;
|
|
115
|
+
// (undocumented)
|
|
116
|
+
export function read(buf: ByteBuffer): AuthoritativePutComponentMessage | null;
|
|
117
|
+
export function write(entity: Entity, timestamp: number, componentId: number, data: Uint8Array, buf: ByteBuffer): void;
|
|
118
|
+
}
|
|
119
|
+
|
|
122
120
|
// @public (undocumented)
|
|
123
121
|
export const enum AvatarAnchorPointType {
|
|
124
122
|
// (undocumented)
|
|
@@ -187,9 +185,6 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
|
|
|
187
185
|
// @public (undocumented)
|
|
188
186
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
189
187
|
|
|
190
|
-
// @public (undocumented)
|
|
191
|
-
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
192
|
-
|
|
193
188
|
// @public (undocumented)
|
|
194
189
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
195
190
|
|
|
@@ -236,12 +231,20 @@ export interface BaseComponent<T> {
|
|
|
236
231
|
dumpCrdtStateToBuffer(buffer: ByteBuffer, filterEntity?: (entity: Entity) => boolean): void;
|
|
237
232
|
entityDeleted(entity: Entity, markAsDirty: boolean): void;
|
|
238
233
|
get(entity: Entity): any;
|
|
234
|
+
getCrdtState(entity: Entity): {
|
|
235
|
+
data: Uint8Array;
|
|
236
|
+
timestamp: number;
|
|
237
|
+
} | null;
|
|
239
238
|
getCrdtUpdates(): Iterable<CrdtMessageBody>;
|
|
240
239
|
has(entity: Entity): boolean;
|
|
241
240
|
onChange(entity: Entity, cb: (value: T | undefined) => void): void;
|
|
242
241
|
// (undocumented)
|
|
243
242
|
readonly schema: ISchema<T>;
|
|
244
243
|
updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
|
|
244
|
+
// (undocumented)
|
|
245
|
+
validateBeforeChange(entity: Entity, cb: ValidateCallback<T>): void;
|
|
246
|
+
// (undocumented)
|
|
247
|
+
validateBeforeChange(cb: ValidateCallback<T>): void;
|
|
245
248
|
}
|
|
246
249
|
|
|
247
250
|
// @public (undocumented)
|
|
@@ -672,7 +675,6 @@ export const componentDefinitionByName: {
|
|
|
672
675
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
673
676
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
674
677
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
675
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
676
678
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
677
679
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
678
680
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -680,7 +682,6 @@ export const componentDefinitionByName: {
|
|
|
680
682
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
681
683
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
682
684
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
683
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
684
685
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
685
686
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
686
687
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -697,8 +698,6 @@ export const componentDefinitionByName: {
|
|
|
697
698
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
698
699
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
699
700
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
700
|
-
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
701
|
-
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
702
701
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
703
702
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
704
703
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
@@ -856,10 +855,10 @@ export type Coords = {
|
|
|
856
855
|
export const CRDT_MESSAGE_HEADER_LENGTH = 8;
|
|
857
856
|
|
|
858
857
|
// @public (undocumented)
|
|
859
|
-
export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
858
|
+
export type CrdtMessage = PutComponentMessage | AuthoritativePutComponentMessage | DeleteComponentMessage | AppendValueMessage | DeleteEntityMessage | PutNetworkComponentMessage | DeleteComponentNetworkMessage | DeleteEntityNetworkMessage;
|
|
860
859
|
|
|
861
860
|
// @public (undocumented)
|
|
862
|
-
export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
861
|
+
export type CrdtMessageBody = PutComponentMessageBody | AuthoritativePutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody | CrdtNetworkMessageBody;
|
|
863
862
|
|
|
864
863
|
// @public
|
|
865
864
|
export type CrdtMessageHeader = {
|
|
@@ -880,6 +879,8 @@ export enum CrdtMessageType {
|
|
|
880
879
|
// (undocumented)
|
|
881
880
|
APPEND_VALUE = 4,
|
|
882
881
|
// (undocumented)
|
|
882
|
+
AUTHORITATIVE_PUT_COMPONENT = 8,
|
|
883
|
+
// (undocumented)
|
|
883
884
|
DELETE_COMPONENT = 2,
|
|
884
885
|
// (undocumented)
|
|
885
886
|
DELETE_COMPONENT_NETWORK = 6,
|
|
@@ -888,7 +889,7 @@ export enum CrdtMessageType {
|
|
|
888
889
|
// (undocumented)
|
|
889
890
|
DELETE_ENTITY_NETWORK = 7,
|
|
890
891
|
// (undocumented)
|
|
891
|
-
MAX_MESSAGE_TYPE =
|
|
892
|
+
MAX_MESSAGE_TYPE = 9,
|
|
892
893
|
// (undocumented)
|
|
893
894
|
PUT_COMPONENT = 1,
|
|
894
895
|
// (undocumented)
|
|
@@ -900,6 +901,11 @@ export enum CrdtMessageType {
|
|
|
900
901
|
// @public (undocumented)
|
|
901
902
|
export type CrdtNetworkMessageBody = PutNetworkComponentMessageBody | DeleteComponentNetworkMessageBody | DeleteEntityNetworkMessageBody;
|
|
902
903
|
|
|
904
|
+
// Warning: (ae-missing-release-tag) "CreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
905
|
+
//
|
|
906
|
+
// @public (undocumented)
|
|
907
|
+
export const CreatedBy: ICreatedBy;
|
|
908
|
+
|
|
903
909
|
// @public (undocumented)
|
|
904
910
|
export function createEntityContainer(opts?: {
|
|
905
911
|
reservedStaticEntities: number;
|
|
@@ -1211,7 +1217,6 @@ export type EventSystemOptions = {
|
|
|
1211
1217
|
showFeedback?: boolean;
|
|
1212
1218
|
showHighlight?: boolean;
|
|
1213
1219
|
maxPlayerDistance?: number;
|
|
1214
|
-
priority?: number;
|
|
1215
1220
|
};
|
|
1216
1221
|
|
|
1217
1222
|
// @public
|
|
@@ -1336,6 +1341,19 @@ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T>
|
|
|
1336
1341
|
// @public (undocumented)
|
|
1337
1342
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
1338
1343
|
|
|
1344
|
+
// Warning: (ae-missing-release-tag) "ICreatedBy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1345
|
+
//
|
|
1346
|
+
// @public (undocumented)
|
|
1347
|
+
export type ICreatedBy = LastWriteWinElementSetComponentDefinition<ICreatedByType>;
|
|
1348
|
+
|
|
1349
|
+
// Warning: (ae-missing-release-tag) "ICreatedByType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1350
|
+
//
|
|
1351
|
+
// @public (undocumented)
|
|
1352
|
+
export interface ICreatedByType {
|
|
1353
|
+
// (undocumented)
|
|
1354
|
+
address: string;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1339
1357
|
// @public (undocumented)
|
|
1340
1358
|
export interface IEngine {
|
|
1341
1359
|
addEntity(): Entity;
|
|
@@ -1532,8 +1550,6 @@ export const enum InputAction {
|
|
|
1532
1550
|
// (undocumented)
|
|
1533
1551
|
IA_LEFT = 7,
|
|
1534
1552
|
// (undocumented)
|
|
1535
|
-
IA_MODIFIER = 14,
|
|
1536
|
-
// (undocumented)
|
|
1537
1553
|
IA_POINTER = 0,
|
|
1538
1554
|
// (undocumented)
|
|
1539
1555
|
IA_PRIMARY = 1,
|
|
@@ -1577,12 +1593,18 @@ export type InstanceCompositeOptions = {
|
|
|
1577
1593
|
alreadyRequestedSrc?: Set<string>;
|
|
1578
1594
|
};
|
|
1579
1595
|
|
|
1580
|
-
// @public
|
|
1581
|
-
|
|
1596
|
+
// Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1597
|
+
//
|
|
1598
|
+
// @public
|
|
1599
|
+
export interface InternalBaseComponent<T> extends BaseComponent<T> {
|
|
1600
|
+
__dry_run_updateFromCrdt(body: CrdtMessageBody): ProcessMessageResultType;
|
|
1601
|
+
// (undocumented)
|
|
1602
|
+
__onChangeCallbacks(entity: Entity, value: T): void;
|
|
1582
1603
|
// (undocumented)
|
|
1583
|
-
|
|
1604
|
+
__run_validateBeforeChange(entity: Entity, newValue: T | undefined, senderAddress: string, createdBy: string): boolean;
|
|
1584
1605
|
// (undocumented)
|
|
1585
|
-
|
|
1606
|
+
dirtyIterator(): Iterable<Entity>;
|
|
1607
|
+
iterator(): Iterable<[Entity, any]>;
|
|
1586
1608
|
}
|
|
1587
1609
|
|
|
1588
1610
|
// @public (undocumented)
|
|
@@ -2013,80 +2035,6 @@ export namespace MoveContinuous {
|
|
|
2013
2035
|
export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2014
2036
|
}
|
|
2015
2037
|
|
|
2016
|
-
// @public (undocumented)
|
|
2017
|
-
export interface MoveRotateScale {
|
|
2018
|
-
// (undocumented)
|
|
2019
|
-
positionEnd: PBVector3 | undefined;
|
|
2020
|
-
// (undocumented)
|
|
2021
|
-
positionStart: PBVector3 | undefined;
|
|
2022
|
-
// (undocumented)
|
|
2023
|
-
rotationEnd: PBQuaternion | undefined;
|
|
2024
|
-
// (undocumented)
|
|
2025
|
-
rotationStart: PBQuaternion | undefined;
|
|
2026
|
-
// (undocumented)
|
|
2027
|
-
scaleEnd: PBVector3 | undefined;
|
|
2028
|
-
// (undocumented)
|
|
2029
|
-
scaleStart: PBVector3 | undefined;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
// @public (undocumented)
|
|
2033
|
-
export namespace MoveRotateScale {
|
|
2034
|
-
// (undocumented)
|
|
2035
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
|
|
2036
|
-
// (undocumented)
|
|
2037
|
-
export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
// @public (undocumented)
|
|
2041
|
-
export interface MoveRotateScaleContinuous {
|
|
2042
|
-
// (undocumented)
|
|
2043
|
-
positionDirection: PBVector3 | undefined;
|
|
2044
|
-
// (undocumented)
|
|
2045
|
-
rotationDirection: PBQuaternion | undefined;
|
|
2046
|
-
// (undocumented)
|
|
2047
|
-
scaleDirection: PBVector3 | undefined;
|
|
2048
|
-
// (undocumented)
|
|
2049
|
-
speed: number;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
// @public (undocumented)
|
|
2053
|
-
export namespace MoveRotateScaleContinuous {
|
|
2054
|
-
// (undocumented)
|
|
2055
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous;
|
|
2056
|
-
// (undocumented)
|
|
2057
|
-
export function encode(message: MoveRotateScaleContinuous, writer?: _m0.Writer): _m0.Writer;
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
// @public
|
|
2061
|
-
export interface MoveRotateScaleContinuousModeParams {
|
|
2062
|
-
position?: {
|
|
2063
|
-
direction: PBVector3;
|
|
2064
|
-
};
|
|
2065
|
-
rotation?: {
|
|
2066
|
-
direction: PBQuaternion;
|
|
2067
|
-
};
|
|
2068
|
-
scale?: {
|
|
2069
|
-
direction: PBVector3;
|
|
2070
|
-
};
|
|
2071
|
-
speed: number;
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
// @public
|
|
2075
|
-
export interface MoveRotateScaleModeParams {
|
|
2076
|
-
position?: {
|
|
2077
|
-
start: PBVector3;
|
|
2078
|
-
end: PBVector3;
|
|
2079
|
-
};
|
|
2080
|
-
rotation?: {
|
|
2081
|
-
start: PBQuaternion;
|
|
2082
|
-
end: PBQuaternion;
|
|
2083
|
-
};
|
|
2084
|
-
scale?: {
|
|
2085
|
-
start: PBVector3;
|
|
2086
|
-
end: PBVector3;
|
|
2087
|
-
};
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
2038
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2091
2039
|
//
|
|
2092
2040
|
// @public (undocumented)
|
|
@@ -2356,46 +2304,6 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2356
2304
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2357
2305
|
}
|
|
2358
2306
|
|
|
2359
|
-
// @public (undocumented)
|
|
2360
|
-
export interface PBAudioAnalysis {
|
|
2361
|
-
amplitude: number;
|
|
2362
|
-
amplitudeGain?: number | undefined;
|
|
2363
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2364
|
-
band0: number;
|
|
2365
|
-
// (undocumented)
|
|
2366
|
-
band1: number;
|
|
2367
|
-
// (undocumented)
|
|
2368
|
-
band2: number;
|
|
2369
|
-
// (undocumented)
|
|
2370
|
-
band3: number;
|
|
2371
|
-
// (undocumented)
|
|
2372
|
-
band4: number;
|
|
2373
|
-
// (undocumented)
|
|
2374
|
-
band5: number;
|
|
2375
|
-
// (undocumented)
|
|
2376
|
-
band6: number;
|
|
2377
|
-
// (undocumented)
|
|
2378
|
-
band7: number;
|
|
2379
|
-
bandsGain?: number | undefined;
|
|
2380
|
-
mode: PBAudioAnalysisMode;
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
// @public (undocumented)
|
|
2384
|
-
export namespace PBAudioAnalysis {
|
|
2385
|
-
// (undocumented)
|
|
2386
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2387
|
-
// (undocumented)
|
|
2388
|
-
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2389
|
-
}
|
|
2390
|
-
|
|
2391
|
-
// @public (undocumented)
|
|
2392
|
-
export const enum PBAudioAnalysisMode {
|
|
2393
|
-
// (undocumented)
|
|
2394
|
-
MODE_LOGARITHMIC = 1,
|
|
2395
|
-
// (undocumented)
|
|
2396
|
-
MODE_RAW = 0
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
2307
|
// @public (undocumented)
|
|
2400
2308
|
export interface PBAudioEvent {
|
|
2401
2309
|
// (undocumented)
|
|
@@ -2517,27 +2425,6 @@ export namespace PBAvatarEquippedData {
|
|
|
2517
2425
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2518
2426
|
}
|
|
2519
2427
|
|
|
2520
|
-
// @public (undocumented)
|
|
2521
|
-
export interface PBAvatarLocomotionSettings {
|
|
2522
|
-
doubleJumpHeight?: number | undefined;
|
|
2523
|
-
glidingFallingSpeed?: number | undefined;
|
|
2524
|
-
glidingSpeed?: number | undefined;
|
|
2525
|
-
hardLandingCooldown?: number | undefined;
|
|
2526
|
-
jogSpeed?: number | undefined;
|
|
2527
|
-
jumpHeight?: number | undefined;
|
|
2528
|
-
runJumpHeight?: number | undefined;
|
|
2529
|
-
runSpeed?: number | undefined;
|
|
2530
|
-
walkSpeed?: number | undefined;
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
|
-
// @public (undocumented)
|
|
2534
|
-
export namespace PBAvatarLocomotionSettings {
|
|
2535
|
-
// (undocumented)
|
|
2536
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2537
|
-
// (undocumented)
|
|
2538
|
-
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2539
|
-
}
|
|
2540
|
-
|
|
2541
2428
|
// @public (undocumented)
|
|
2542
2429
|
export interface PBAvatarModifierArea {
|
|
2543
2430
|
area: PBVector3 | undefined;
|
|
@@ -2750,12 +2637,8 @@ export interface PBInputModifier_StandardInput {
|
|
|
2750
2637
|
// (undocumented)
|
|
2751
2638
|
disableAll?: boolean | undefined;
|
|
2752
2639
|
// (undocumented)
|
|
2753
|
-
disableDoubleJump?: boolean | undefined;
|
|
2754
|
-
// (undocumented)
|
|
2755
2640
|
disableEmote?: boolean | undefined;
|
|
2756
2641
|
// (undocumented)
|
|
2757
|
-
disableGliding?: boolean | undefined;
|
|
2758
|
-
// (undocumented)
|
|
2759
2642
|
disableJog?: boolean | undefined;
|
|
2760
2643
|
// (undocumented)
|
|
2761
2644
|
disableJump?: boolean | undefined;
|
|
@@ -3073,33 +2956,6 @@ export namespace PBNftShape {
|
|
|
3073
2956
|
export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
3074
2957
|
}
|
|
3075
2958
|
|
|
3076
|
-
// @public (undocumented)
|
|
3077
|
-
export interface PBPhysicsCombinedForce {
|
|
3078
|
-
vector: PBVector3 | undefined;
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
// @public (undocumented)
|
|
3082
|
-
export namespace PBPhysicsCombinedForce {
|
|
3083
|
-
// (undocumented)
|
|
3084
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedForce;
|
|
3085
|
-
// (undocumented)
|
|
3086
|
-
export function encode(message: PBPhysicsCombinedForce, writer?: _m0.Writer): _m0.Writer;
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
|
-
// @public (undocumented)
|
|
3090
|
-
export interface PBPhysicsCombinedImpulse {
|
|
3091
|
-
eventId: number;
|
|
3092
|
-
vector: PBVector3 | undefined;
|
|
3093
|
-
}
|
|
3094
|
-
|
|
3095
|
-
// @public (undocumented)
|
|
3096
|
-
export namespace PBPhysicsCombinedImpulse {
|
|
3097
|
-
// (undocumented)
|
|
3098
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPhysicsCombinedImpulse;
|
|
3099
|
-
// (undocumented)
|
|
3100
|
-
export function encode(message: PBPhysicsCombinedImpulse, writer?: _m0.Writer): _m0.Writer;
|
|
3101
|
-
}
|
|
3102
|
-
|
|
3103
2959
|
// @public (undocumented)
|
|
3104
2960
|
export interface PBPlayerIdentityData {
|
|
3105
2961
|
address: string;
|
|
@@ -3132,7 +2988,6 @@ export namespace PBPointerEvents {
|
|
|
3132
2988
|
export interface PBPointerEvents_Entry {
|
|
3133
2989
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
3134
2990
|
eventType: PointerEventType;
|
|
3135
|
-
interactionType?: InteractionType | undefined;
|
|
3136
2991
|
}
|
|
3137
2992
|
|
|
3138
2993
|
// @public (undocumented)
|
|
@@ -3149,7 +3004,6 @@ export interface PBPointerEvents_Info {
|
|
|
3149
3004
|
hoverText?: string | undefined;
|
|
3150
3005
|
maxDistance?: number | undefined;
|
|
3151
3006
|
maxPlayerDistance?: number | undefined;
|
|
3152
|
-
priority?: number | undefined;
|
|
3153
3007
|
showFeedback?: boolean | undefined;
|
|
3154
3008
|
showHighlight?: boolean | undefined;
|
|
3155
3009
|
}
|
|
@@ -3442,12 +3296,6 @@ export interface PBTween {
|
|
|
3442
3296
|
} | {
|
|
3443
3297
|
$case: "textureMoveContinuous";
|
|
3444
3298
|
textureMoveContinuous: TextureMoveContinuous;
|
|
3445
|
-
} | {
|
|
3446
|
-
$case: "moveRotateScale";
|
|
3447
|
-
moveRotateScale: MoveRotateScale;
|
|
3448
|
-
} | {
|
|
3449
|
-
$case: "moveRotateScaleContinuous";
|
|
3450
|
-
moveRotateScaleContinuous: MoveRotateScaleContinuous;
|
|
3451
3299
|
} | undefined;
|
|
3452
3300
|
playing?: boolean | undefined;
|
|
3453
3301
|
}
|
|
@@ -3819,7 +3667,6 @@ export namespace PBVideoPlayer {
|
|
|
3819
3667
|
export interface PBVirtualCamera {
|
|
3820
3668
|
// (undocumented)
|
|
3821
3669
|
defaultTransition?: CameraTransition | undefined;
|
|
3822
|
-
fov?: number | undefined;
|
|
3823
3670
|
// (undocumented)
|
|
3824
3671
|
lookAtEntity?: number | undefined;
|
|
3825
3672
|
}
|
|
@@ -3846,12 +3693,6 @@ export namespace PBVisibilityComponent {
|
|
|
3846
3693
|
export function encode(message: PBVisibilityComponent, writer?: _m0.Writer): _m0.Writer;
|
|
3847
3694
|
}
|
|
3848
3695
|
|
|
3849
|
-
// @public (undocumented)
|
|
3850
|
-
export const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
|
|
3851
|
-
|
|
3852
|
-
// @public (undocumented)
|
|
3853
|
-
export const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
|
|
3854
|
-
|
|
3855
3696
|
// @public
|
|
3856
3697
|
export namespace Plane {
|
|
3857
3698
|
// (undocumented)
|
|
@@ -3917,30 +3758,10 @@ export interface PointerEventsSystem {
|
|
|
3917
3758
|
}, cb: EventSystemCallback): void;
|
|
3918
3759
|
// @deprecated (undocumented)
|
|
3919
3760
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3920
|
-
onProximityDown(pointerData: {
|
|
3921
|
-
entity: Entity;
|
|
3922
|
-
opts?: Partial<EventSystemOptions>;
|
|
3923
|
-
}, cb: EventSystemCallback): void;
|
|
3924
|
-
onProximityEnter(pointerData: {
|
|
3925
|
-
entity: Entity;
|
|
3926
|
-
opts?: Partial<EventSystemOptions>;
|
|
3927
|
-
}, cb: EventSystemCallback): void;
|
|
3928
|
-
onProximityLeave(pointerData: {
|
|
3929
|
-
entity: Entity;
|
|
3930
|
-
opts?: Partial<EventSystemOptions>;
|
|
3931
|
-
}, cb: EventSystemCallback): void;
|
|
3932
|
-
onProximityUp(pointerData: {
|
|
3933
|
-
entity: Entity;
|
|
3934
|
-
opts?: Partial<EventSystemOptions>;
|
|
3935
|
-
}, cb: EventSystemCallback): void;
|
|
3936
3761
|
removeOnPointerDown(entity: Entity): void;
|
|
3937
3762
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3938
3763
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3939
3764
|
removeOnPointerUp(entity: Entity): void;
|
|
3940
|
-
removeOnProximityDown(entity: Entity): void;
|
|
3941
|
-
removeOnProximityEnter(entity: Entity): void;
|
|
3942
|
-
removeOnProximityLeave(entity: Entity): void;
|
|
3943
|
-
removeOnProximityUp(entity: Entity): void;
|
|
3944
3765
|
}
|
|
3945
3766
|
|
|
3946
3767
|
// @public
|
|
@@ -3955,10 +3776,6 @@ export const enum PointerEventType {
|
|
|
3955
3776
|
// (undocumented)
|
|
3956
3777
|
PET_HOVER_LEAVE = 3,
|
|
3957
3778
|
// (undocumented)
|
|
3958
|
-
PET_PROXIMITY_ENTER = 4,
|
|
3959
|
-
// (undocumented)
|
|
3960
|
-
PET_PROXIMITY_LEAVE = 5,
|
|
3961
|
-
// (undocumented)
|
|
3962
3779
|
PET_UP = 0
|
|
3963
3780
|
}
|
|
3964
3781
|
|
|
@@ -4523,17 +4340,6 @@ export namespace Schemas {
|
|
|
4523
4340
|
}) => void;
|
|
4524
4341
|
}
|
|
4525
4342
|
|
|
4526
|
-
// @public
|
|
4527
|
-
export interface SetMoveRotateScaleContinuousParams extends MoveRotateScaleContinuousModeParams {
|
|
4528
|
-
duration?: number;
|
|
4529
|
-
}
|
|
4530
|
-
|
|
4531
|
-
// @public
|
|
4532
|
-
export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
4533
|
-
duration: number;
|
|
4534
|
-
easingFunction?: EasingFunction;
|
|
4535
|
-
}
|
|
4536
|
-
|
|
4537
4343
|
// @public (undocumented)
|
|
4538
4344
|
export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
|
|
4539
4345
|
|
|
@@ -4905,8 +4711,6 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
4905
4711
|
Mode: TweenHelper;
|
|
4906
4712
|
setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
4907
4713
|
setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
|
|
4908
|
-
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
4909
|
-
setMoveRotateScaleContinuous(entity: Entity, params: SetMoveRotateScaleContinuousParams): void;
|
|
4910
4714
|
setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
|
|
4911
4715
|
setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
|
|
4912
4716
|
setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
|
|
@@ -4921,10 +4725,6 @@ export interface TweenHelper {
|
|
|
4921
4725
|
// (undocumented)
|
|
4922
4726
|
MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
|
|
4923
4727
|
// (undocumented)
|
|
4924
|
-
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
4925
|
-
// (undocumented)
|
|
4926
|
-
MoveRotateScaleContinuous: (params: MoveRotateScaleContinuousModeParams) => PBTween['mode'];
|
|
4927
|
-
// (undocumented)
|
|
4928
4728
|
Rotate: (rotate: Rotate) => PBTween['mode'];
|
|
4929
4729
|
// (undocumented)
|
|
4930
4730
|
RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
|
|
@@ -5125,6 +4925,17 @@ export interface UiTransformProps {
|
|
|
5125
4925
|
// @public (undocumented)
|
|
5126
4926
|
export type Unpacked<T> = T extends (infer U)[] ? U : T;
|
|
5127
4927
|
|
|
4928
|
+
// Warning: (ae-missing-release-tag) "ValidateCallback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
4929
|
+
//
|
|
4930
|
+
// @public (undocumented)
|
|
4931
|
+
export type ValidateCallback<T> = (value: {
|
|
4932
|
+
entity: Entity;
|
|
4933
|
+
currentValue: T | undefined;
|
|
4934
|
+
newValue: T | undefined;
|
|
4935
|
+
senderAddress: string;
|
|
4936
|
+
createdBy: string;
|
|
4937
|
+
}) => boolean;
|
|
4938
|
+
|
|
5128
4939
|
// @public (undocumented)
|
|
5129
4940
|
export type ValueSetOptions<T> = {
|
|
5130
4941
|
timestampFunction: (value: DeepReadonly<T>) => number;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.20.5-
|
|
4
|
+
"version": "7.20.5-22638270380.commit-3f48d5e",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.20.5-
|
|
8
|
-
"@dcl/sdk": "7.20.5-
|
|
7
|
+
"@dcl/js-runtime": "7.20.5-22638270380.commit-3f48d5e",
|
|
8
|
+
"@dcl/sdk": "7.20.5-22638270380.commit-3f48d5e"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "npm run build-playground && node_modules/.bin/api-extractor run",
|
|
27
27
|
"build-local": "npm run build-playground && node_modules/.bin/api-extractor run --local --verbose --diagnostics",
|
|
28
|
-
"build-playground": "./../sdk-commands/dist/index.js build --production --emitDeclaration --customEntryPoint"
|
|
28
|
+
"build-playground": "./../sdk-commands/dist/index.js build --production --emitDeclaration --customEntryPoint",
|
|
29
|
+
"server-logs": "sdk-commands sdk-server-logs"
|
|
29
30
|
},
|
|
30
31
|
"tsdoc": {
|
|
31
32
|
"tsdocFlavor": "AEDoc"
|
|
32
33
|
},
|
|
33
34
|
"types": "./dist/index.d.ts",
|
|
34
35
|
"typings": "./dist/index.d.ts",
|
|
35
|
-
"commit": "
|
|
36
|
+
"commit": "3f48d5e5f12f18f7f10b855b81f353959dd6879b"
|
|
36
37
|
}
|