@dcl/playground-assets 7.3.30-6983622970.commit-d4f4c06 → 7.3.30-7034348340.commit-a8a623c
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 +114 -0
- package/dist/beta.d.ts +114 -0
- package/dist/index.bundled.d.ts +114 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +114 -0
- package/etc/playground-assets.api.json +1640 -195
- package/etc/playground-assets.api.md +99 -0
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.3.30-
|
4
|
+
"version": "7.3.30-7034348340.commit-a8a623c",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
},
|
36
36
|
"types": "./index.d.ts",
|
37
37
|
"typings": "./index.d.ts",
|
38
|
-
"commit": "
|
38
|
+
"commit": "a8a623c9c84d76ea47bc8dbea7e2a9d978268c8b"
|
39
39
|
}
|
@@ -110,6 +110,15 @@ export declare const enum AvatarAnchorPointType {
|
|
110
110
|
/** @public */
|
111
111
|
export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
|
112
112
|
|
113
|
+
/** @public */
|
114
|
+
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
115
|
+
|
116
|
+
/** @public */
|
117
|
+
export declare const AvatarEmoteCommand: LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>;
|
118
|
+
|
119
|
+
/** @public */
|
120
|
+
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
121
|
+
|
113
122
|
/** @public */
|
114
123
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
115
124
|
|
@@ -1166,6 +1175,9 @@ export declare const componentDefinitionByName: {
|
|
1166
1175
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
1167
1176
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
1168
1177
|
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
1178
|
+
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
1179
|
+
"core::AvatarEmoteCommand": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEmoteCommand>>;
|
1180
|
+
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
1169
1181
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
1170
1182
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
1171
1183
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
@@ -1178,6 +1190,7 @@ export declare const componentDefinitionByName: {
|
|
1178
1190
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
1179
1191
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
1180
1192
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
1193
|
+
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
1181
1194
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
1182
1195
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
1183
1196
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
@@ -3706,6 +3719,82 @@ export declare namespace PBAvatarAttach {
|
|
3706
3719
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3707
3720
|
}
|
3708
3721
|
|
3722
|
+
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3723
|
+
/**
|
3724
|
+
* @public
|
3725
|
+
*/
|
3726
|
+
export declare interface PBAvatarBase {
|
3727
|
+
skinColor: PBColor3 | undefined;
|
3728
|
+
eyesColor: PBColor3 | undefined;
|
3729
|
+
hairColor: PBColor3 | undefined;
|
3730
|
+
bodyShapeUrn: string;
|
3731
|
+
name: string;
|
3732
|
+
}
|
3733
|
+
|
3734
|
+
/**
|
3735
|
+
* @public
|
3736
|
+
*/
|
3737
|
+
export declare namespace PBAvatarBase {
|
3738
|
+
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3739
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3740
|
+
}
|
3741
|
+
|
3742
|
+
/**
|
3743
|
+
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3744
|
+
* avatar emotes playback.
|
3745
|
+
*/
|
3746
|
+
/**
|
3747
|
+
* @public
|
3748
|
+
*/
|
3749
|
+
export declare interface PBAvatarEmoteCommand {
|
3750
|
+
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3751
|
+
}
|
3752
|
+
|
3753
|
+
/**
|
3754
|
+
* @public
|
3755
|
+
*/
|
3756
|
+
export declare namespace PBAvatarEmoteCommand {
|
3757
|
+
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3758
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3759
|
+
}
|
3760
|
+
|
3761
|
+
/**
|
3762
|
+
* @public
|
3763
|
+
*/
|
3764
|
+
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3765
|
+
emoteUrn: string;
|
3766
|
+
loop: boolean;
|
3767
|
+
}
|
3768
|
+
|
3769
|
+
/**
|
3770
|
+
* @public
|
3771
|
+
*/
|
3772
|
+
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3773
|
+
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3774
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3775
|
+
}
|
3776
|
+
|
3777
|
+
/**
|
3778
|
+
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3779
|
+
* this component is written by the engine using the communications transports'
|
3780
|
+
* data.
|
3781
|
+
*/
|
3782
|
+
/**
|
3783
|
+
* @public
|
3784
|
+
*/
|
3785
|
+
export declare interface PBAvatarEquippedData {
|
3786
|
+
wearableUrns: string[];
|
3787
|
+
emotesUrns: string[];
|
3788
|
+
}
|
3789
|
+
|
3790
|
+
/**
|
3791
|
+
* @public
|
3792
|
+
*/
|
3793
|
+
export declare namespace PBAvatarEquippedData {
|
3794
|
+
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3795
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3796
|
+
}
|
3797
|
+
|
3709
3798
|
/**
|
3710
3799
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3711
3800
|
* avatar behavior changes.
|
@@ -4301,6 +4390,28 @@ export declare namespace PBNftShape {
|
|
4301
4390
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4302
4391
|
}
|
4303
4392
|
|
4393
|
+
/**
|
4394
|
+
* PlayerIdentityData is used to read the information about the avatar's
|
4395
|
+
* identity. this component is written by the engine using the communications
|
4396
|
+
* transports' data.
|
4397
|
+
*/
|
4398
|
+
/**
|
4399
|
+
* @public
|
4400
|
+
*/
|
4401
|
+
export declare interface PBPlayerIdentityData {
|
4402
|
+
/** ethereum address of this player */
|
4403
|
+
address: string;
|
4404
|
+
isGuest: boolean;
|
4405
|
+
}
|
4406
|
+
|
4407
|
+
/**
|
4408
|
+
* @public
|
4409
|
+
*/
|
4410
|
+
export declare namespace PBPlayerIdentityData {
|
4411
|
+
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4412
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4413
|
+
}
|
4414
|
+
|
4304
4415
|
/**
|
4305
4416
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4306
4417
|
*
|
@@ -5134,6 +5245,9 @@ export declare namespace Plane {
|
|
5134
5245
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5135
5246
|
}
|
5136
5247
|
|
5248
|
+
/** @public */
|
5249
|
+
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5250
|
+
|
5137
5251
|
/** @public */
|
5138
5252
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5139
5253
|
|