Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions proto/decentraland/kernel/apis/restricted_actions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ message TeleportToRequest {

message TriggerEmoteRequest {
string predefined_emote = 1;
optional uint32 mask = 2;
}

message ChangeRealmRequest {
Expand All @@ -40,6 +41,7 @@ message CommsAdapterRequest {
message TriggerSceneEmoteRequest {
string src = 1;
optional bool loop = 2;
optional uint32 mask = 3;
}

message SuccessResponse {
Expand All @@ -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
Expand Down Expand Up @@ -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) {}
}
1 change: 1 addition & 0 deletions proto/decentraland/kernel/comms/rfc4/comms.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions proto/decentraland/sdk/components/avatar_shape.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Loading