Skip to content

Conversation

QThund
Copy link

@QThund QThund commented Sep 25, 2025

Needed to develop this shape: https://www.notion.so/decentraland/Social-Emotes-22d5f41146a5809dbe8ff69a9682f353

When the outcome is > -1 it means the avatar started an animation that uses the configuration in one of the outcomes defined in the emote's metadata.

When the outcome is > -1 it means the avatar started an animation that uses the configuration in one of the outcomes defined in the emote's metadata.
@QThund QThund requested a review from pravusjif September 25, 2025 14:49
@QThund QThund self-assigned this Sep 25, 2025
Copy link

github-actions bot commented Sep 25, 2025

Test this pull request on NPM or Yarn

  • The @dcl/protocol package can be tested in scenes by running the following NPM command:
    npm install "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-18569854376.commit-4e911a2.tgz"
  • The @dcl/protocol package can be tested in scenes by running the following YARN command:
    yarn add "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-18569854376.commit-4e911a2.tgz"

When the outcome is > -1 it means the avatar started an animation that uses the configuration in one of the outcomes defined in the emote's metadata.
uint32 incremental_id = 1;
string urn = 2;
float timestamp = 3;
int32 social_emote_outcome = 4; // -1 means it does not use an outcome animation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use optional instead of the -1 case to be clearer.

Suggested change
int32 social_emote_outcome = 4; // -1 means it does not use an outcome animation
optional int32 social_emote_outcome = 4; // no-value means it does not use an outcome animation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants