diff --git a/proto/decentraland/kernel/apis/restricted_actions.proto b/proto/decentraland/kernel/apis/restricted_actions.proto index 97d19faf..3bddab3c 100644 --- a/proto/decentraland/kernel/apis/restricted_actions.proto +++ b/proto/decentraland/kernel/apis/restricted_actions.proto @@ -16,6 +16,7 @@ message TeleportToRequest { message TriggerEmoteRequest { string predefined_emote = 1; + optional uint32 mask = 2; } message ChangeRealmRequest { @@ -40,6 +41,7 @@ message CommsAdapterRequest { message TriggerSceneEmoteRequest { string src = 1; optional bool loop = 2; + optional uint32 mask = 3; } message SuccessResponse { @@ -60,6 +62,8 @@ message CopyToClipboardRequest { message EmptyResponse { } +message StopEmoteRequest { } + service RestrictedActionsService { // MovePlayerTo will move the player to a position relative to the current scene. // If 'duration' field is used in the request, the success response depends on the @@ -90,4 +94,7 @@ service RestrictedActionsService { // CopyToClipboard copies the provided text into the clipboard rpc CopyToClipboard(CopyToClipboardRequest) returns (EmptyResponse) {} + + // StopEmote will stop the current emote + rpc StopEmote(StopEmoteRequest) returns (SuccessResponse) {} } diff --git a/proto/decentraland/kernel/comms/rfc4/comms.proto b/proto/decentraland/kernel/comms/rfc4/comms.proto index 2f440bef..f77092b0 100644 --- a/proto/decentraland/kernel/comms/rfc4/comms.proto +++ b/proto/decentraland/kernel/comms/rfc4/comms.proto @@ -93,6 +93,7 @@ message PlayerEmote { optional bool is_reacting = 8; // to a social emote started by other user optional string social_emote_initiator = 9; // wallet address of the user that initiated social emote optional string target_avatar = 10; // wallet address of the user whose avatar is the target of a directed emote + optional uint32 mask = 11; // mask for which bones an animation applies to. } // Message sent to force an avatar to look at a position diff --git a/proto/decentraland/sdk/components/avatar_shape.proto b/proto/decentraland/sdk/components/avatar_shape.proto index 29f363f8..ce0ba627 100644 --- a/proto/decentraland/sdk/components/avatar_shape.proto +++ b/proto/decentraland/sdk/components/avatar_shape.proto @@ -42,3 +42,8 @@ message PBAvatarShape { optional bool show_only_wearables = 12; // hides the skin + hair + facial features (default: false) } +// Mask for which bones an animation applies to. +enum AvatarEmoteMask { + AEM_FULL_BODY = 0; + AEM_UPPER_BODY = 1; +} \ No newline at end of file