@dcl/sdk 7.0.0-3100621952.commit-d6e10e5 → 7.0.0-3108095849.commit-cc94e35

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.
@@ -76,6 +76,13 @@ declare interface Color3 {
76
76
  b: number;
77
77
  }
78
78
 
79
+ declare interface Color4 {
80
+ r: number;
81
+ g: number;
82
+ b: number;
83
+ a: number;
84
+ }
85
+
79
86
  /**
80
87
  * @public
81
88
  */
@@ -261,6 +268,8 @@ export declare namespace Components {
261
268
  /** @public */
262
269
  const TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
263
270
  /** @public */
271
+ const UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
272
+ /** @public */
264
273
  const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
265
274
  /** @public */
266
275
  const UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
@@ -489,6 +498,7 @@ declare function defineSdkComponents(engine: PreEngine): {
489
498
  RaycastResult: ComponentDefinition<ISchema<PBRaycastResult>, PBRaycastResult>;
490
499
  SphereShape: ComponentDefinition<ISchema<PBSphereShape>, PBSphereShape>;
491
500
  TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
501
+ UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
492
502
  UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
493
503
  UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
494
504
  VisibilityComponent: ComponentDefinition<ISchema<PBVisibilityComponent>, PBVisibilityComponent>;
@@ -1841,6 +1851,8 @@ declare interface PBAvatarShape {
1841
1851
  * "urn:decentraland:off-chain:base-avatars:bun_shoes"]
1842
1852
  */
1843
1853
  wearables: string[];
1854
+ /** default = [] */
1855
+ emotes: string[];
1844
1856
  }
1845
1857
 
1846
1858
  declare interface PBBillboard {
@@ -2157,6 +2169,11 @@ declare interface PBTextShape {
2157
2169
  textColor?: Color3 | undefined;
2158
2170
  }
2159
2171
 
2172
+ declare interface PBUiStyles {
2173
+ /** default=(0.0, 0.0, 0.0, 0.0) */
2174
+ backgroundColor?: Color4 | undefined;
2175
+ }
2176
+
2160
2177
  declare interface PBUiText {
2161
2178
  value: string;
2162
2179
  /** default=(1.0,1.0,1.0) */
@@ -2747,6 +2764,9 @@ export declare type TransportMessage = Omit<ReceiveMessage, 'data'>;
2747
2764
 
2748
2765
  declare type Uint32 = number;
2749
2766
 
2767
+ /** @public */
2768
+ export declare const UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
2769
+
2750
2770
  /** @public */
2751
2771
  export declare const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
2752
2772