@dcl/playground-assets 7.3.36-7289902551.commit-52edf18 → 7.3.36-7289906681.commit-55d5f98
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 +5 -5
- 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.36-
|
4
|
+
"version": "7.3.36-7289906681.commit-55d5f98",
|
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": "55d5f98da8c3e7ff5e6441da427b571c270304f0"
|
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>>;
|
@@ -3783,6 +3796,82 @@ export declare namespace PBAvatarAttach {
|
|
3783
3796
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
|
3784
3797
|
}
|
3785
3798
|
|
3799
|
+
/** AvatarBase sets all modifiers over the avatar's apparence. */
|
3800
|
+
/**
|
3801
|
+
* @public
|
3802
|
+
*/
|
3803
|
+
export declare interface PBAvatarBase {
|
3804
|
+
skinColor: PBColor3 | undefined;
|
3805
|
+
eyesColor: PBColor3 | undefined;
|
3806
|
+
hairColor: PBColor3 | undefined;
|
3807
|
+
bodyShapeUrn: string;
|
3808
|
+
name: string;
|
3809
|
+
}
|
3810
|
+
|
3811
|
+
/**
|
3812
|
+
* @public
|
3813
|
+
*/
|
3814
|
+
export declare namespace PBAvatarBase {
|
3815
|
+
export function encode(message: PBAvatarBase, writer?: _m0.Writer): _m0.Writer;
|
3816
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarBase;
|
3817
|
+
}
|
3818
|
+
|
3819
|
+
/**
|
3820
|
+
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
3821
|
+
* avatar emotes playback.
|
3822
|
+
*/
|
3823
|
+
/**
|
3824
|
+
* @public
|
3825
|
+
*/
|
3826
|
+
export declare interface PBAvatarEmoteCommand {
|
3827
|
+
emoteCommand: PBAvatarEmoteCommand_EmoteCommand | undefined;
|
3828
|
+
}
|
3829
|
+
|
3830
|
+
/**
|
3831
|
+
* @public
|
3832
|
+
*/
|
3833
|
+
export declare namespace PBAvatarEmoteCommand {
|
3834
|
+
export function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3835
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
3836
|
+
}
|
3837
|
+
|
3838
|
+
/**
|
3839
|
+
* @public
|
3840
|
+
*/
|
3841
|
+
export declare interface PBAvatarEmoteCommand_EmoteCommand {
|
3842
|
+
emoteUrn: string;
|
3843
|
+
loop: boolean;
|
3844
|
+
}
|
3845
|
+
|
3846
|
+
/**
|
3847
|
+
* @public
|
3848
|
+
*/
|
3849
|
+
export declare namespace PBAvatarEmoteCommand_EmoteCommand {
|
3850
|
+
export function encode(message: PBAvatarEmoteCommand_EmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
3851
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand_EmoteCommand;
|
3852
|
+
}
|
3853
|
+
|
3854
|
+
/**
|
3855
|
+
* AvatarEquipData is used to read the information about the avatar's owneables.
|
3856
|
+
* this component is written by the engine using the communications transports'
|
3857
|
+
* data.
|
3858
|
+
*/
|
3859
|
+
/**
|
3860
|
+
* @public
|
3861
|
+
*/
|
3862
|
+
export declare interface PBAvatarEquippedData {
|
3863
|
+
wearableUrns: string[];
|
3864
|
+
emotesUrns: string[];
|
3865
|
+
}
|
3866
|
+
|
3867
|
+
/**
|
3868
|
+
* @public
|
3869
|
+
*/
|
3870
|
+
export declare namespace PBAvatarEquippedData {
|
3871
|
+
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
3872
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
3873
|
+
}
|
3874
|
+
|
3786
3875
|
/**
|
3787
3876
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
3788
3877
|
* avatar behavior changes.
|
@@ -4378,6 +4467,28 @@ export declare namespace PBNftShape {
|
|
4378
4467
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
4379
4468
|
}
|
4380
4469
|
|
4470
|
+
/**
|
4471
|
+
* PlayerIdentityData is used to read the information about the avatar's
|
4472
|
+
* identity. this component is written by the engine using the communications
|
4473
|
+
* transports' data.
|
4474
|
+
*/
|
4475
|
+
/**
|
4476
|
+
* @public
|
4477
|
+
*/
|
4478
|
+
export declare interface PBPlayerIdentityData {
|
4479
|
+
/** ethereum address of this player */
|
4480
|
+
address: string;
|
4481
|
+
isGuest: boolean;
|
4482
|
+
}
|
4483
|
+
|
4484
|
+
/**
|
4485
|
+
* @public
|
4486
|
+
*/
|
4487
|
+
export declare namespace PBPlayerIdentityData {
|
4488
|
+
export function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
4489
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
4490
|
+
}
|
4491
|
+
|
4381
4492
|
/**
|
4382
4493
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
4383
4494
|
*
|
@@ -5211,6 +5322,9 @@ export declare namespace Plane {
|
|
5211
5322
|
export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
|
5212
5323
|
}
|
5213
5324
|
|
5325
|
+
/** @public */
|
5326
|
+
export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
5327
|
+
|
5214
5328
|
/** @public */
|
5215
5329
|
export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
|
5216
5330
|
|