Skip to content
Merged
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
9 changes: 7 additions & 2 deletions proto/decentraland/kernel/apis/restricted_actions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ message MovePlayerToRequest {
decentraland.common.Vector3 new_relative_position = 1;
optional decentraland.common.Vector3 camera_target = 2;
optional decentraland.common.Vector3 avatar_target = 3;
optional float duration = 4; // by default (no duration param) the player is instantly moved and not interpolated
}

message TeleportToRequest {
Expand Down Expand Up @@ -47,7 +48,9 @@ message SuccessResponse {

message TriggerEmoteResponse { }

message MovePlayerToResponse { }
message MovePlayerToResponse {
bool success = 1;
}

message TeleportToResponse { }

Expand All @@ -58,7 +61,9 @@ message CopyToClipboardRequest {
message EmptyResponse { }

service RestrictedActionsService {
// MovePlayerTo will move the player in a position relative to the current scene
// 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
// whole interpolation being completed or interrupted (e.g: by input movement)
rpc MovePlayerTo(MovePlayerToRequest) returns (MovePlayerToResponse) {}

// TeleportTo will move the user to the specified world LAND parcel coordinates
Expand Down
Loading