@dcl/playground-assets 7.3.27-6724658310.commit-6b8ca94 → 7.3.27-6735610978.commit-0ffa614

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.3.27-6724658310.commit-6b8ca94",
4
+ "version": "7.3.27-6735610978.commit-0ffa614",
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": "6b8ca941a866869acd434e7d06f4e62da681b353"
38
+ "commit": "0ffa614e32c07bbd46dd506273ca4d80d05aa944"
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>>;
@@ -2265,6 +2278,9 @@ export declare type IncludeUndefined<T> = {
2265
2278
  onChange={(value) => {
2266
2279
  email = value
2267
2280
  }}
2281
+ onSubmit={(value) => {
2282
+ email = value
2283
+ }}
2268
2284
  uiBackground={{ color: Color4.Red() }}
2269
2285
  uiTransform={{ width: 200, height: 36 }}
2270
2286
  value={textValue}
@@ -3703,6 +3719,82 @@ export declare namespace PBAvatarAttach {
3703
3719
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
3704
3720
  }
3705
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
+
3706
3798
  /**
3707
3799
  * The AvatarModifierArea component can be attached to an Entity to define a region of space where
3708
3800
  * avatar behavior changes.
@@ -4298,6 +4390,28 @@ export declare namespace PBNftShape {
4298
4390
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
4299
4391
  }
4300
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
+
4301
4415
  /**
4302
4416
  * PointerEvents adds configurable pointer-based interactions to the attached Entity.
4303
4417
  *
@@ -4785,6 +4899,8 @@ export declare namespace PBUiInput {
4785
4899
  */
4786
4900
  export declare interface PBUiInputResult {
4787
4901
  value: string;
4902
+ /** default: false */
4903
+ isSubmit?: boolean | undefined;
4788
4904
  }
4789
4905
 
4790
4906
  /**
@@ -5129,6 +5245,9 @@ export declare namespace Plane {
5129
5245
  export function signedDistanceTo(plane: ReadonlyPlane, point: Vector3.ReadonlyVector3): number;
5130
5246
  }
5131
5247
 
5248
+ /** @public */
5249
+ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
5250
+
5132
5251
  /** @public */
5133
5252
  export declare const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
5134
5253
 
@@ -6592,6 +6711,8 @@ export declare const UiInput: LastWriteWinElementSetComponentDefinition<PBUiInpu
6592
6711
  export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
6593
6712
  /** function to be called on value change */
6594
6713
  onChange?(value: string): void;
6714
+ /** function to be called on text field submit */
6715
+ onSubmit?(value: string): void;
6595
6716
  font?: UiFontType;
6596
6717
  textAlign?: TextAlignType;
6597
6718
  }
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.38.1"
8
+ "packageVersion": "7.38.2"
9
9
  }
10
10
  ]
11
11
  }