Skip to content

Commit

Permalink
fix: emote format (#257)
Browse files Browse the repository at this point in the history
* fix: emotes format

* build
  • Loading branch information
kuruk-mm authored Sep 14, 2022
1 parent 8559993 commit 7a6744d
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 4 additions & 1 deletion packages/@dcl/legacy-ecs/src/decentraland/AvatarShape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ export class AvatarShape extends ObservableComponent {
wearables!: WearableId[]

@ObservableComponent.field
emotes!: string[]
emotes!: {
slot: number
urn: string
}[]

@ObservableComponent.field
skinColor!: ReadOnlyColor4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3229,7 +3229,7 @@
},
{
"kind": "Content",
"text": "string[]"
"text": "{\n slot: number;\n urn: string;\n }[]"
},
{
"kind": "Content",
Expand Down
5 changes: 4 additions & 1 deletion packages/decentraland-ecs/types/dcl/decentraland-ecs.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ export class AvatarShape extends ObservableComponent {
// (undocumented)
static Dummy(): AvatarShape;
// (undocumented)
emotes: string[];
emotes: {
slot: number;
urn: string;
}[];
// (undocumented)
expressionTriggerId: string;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion packages/decentraland-ecs/types/dcl/index-beta.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ export declare class AvatarShape extends ObservableComponent {
expressionTriggerTimestamp: number;
bodyShape: WearableId;
wearables: WearableId[];
emotes: string[];
emotes: {
slot: number;
urn: string;
}[];
skinColor: ReadOnlyColor4;
hairColor: ReadOnlyColor4;
eyeColor: ReadOnlyColor4;
Expand Down
5 changes: 4 additions & 1 deletion packages/decentraland-ecs/types/dcl/index-full.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ export declare class AvatarShape extends ObservableComponent {
expressionTriggerTimestamp: number;
bodyShape: WearableId;
wearables: WearableId[];
emotes: string[];
emotes: {
slot: number;
urn: string;
}[];
skinColor: ReadOnlyColor4;
hairColor: ReadOnlyColor4;
eyeColor: ReadOnlyColor4;
Expand Down
5 changes: 4 additions & 1 deletion packages/decentraland-ecs/types/dcl/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ declare class AvatarShape extends ObservableComponent {
expressionTriggerTimestamp: number;
bodyShape: WearableId;
wearables: WearableId[];
emotes: string[];
emotes: {
slot: number;
urn: string;
}[];
skinColor: ReadOnlyColor4;
hairColor: ReadOnlyColor4;
eyeColor: ReadOnlyColor4;
Expand Down

0 comments on commit 7a6744d

Please sign in to comment.