Skip to content

Commit

Permalink
Merge branch 'main' into feat/map-pins
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 authored Jul 22, 2024
2 parents f2e4f96 + 428d1eb commit df01e3e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proto/decentraland/sdk/components/avatar_attach.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import "decentraland/sdk/components/common/id.proto";

option (common.ecs_component_id) = 1073;

// The AvatarAttach component automatically repositions an Entity to maintain the same position and
// rotation relative to some part of an avatar, called the "anchor point". The Entity
// The AvatarAttach component automatically repositions an Entity to maintain the same position and
// rotation relative to some part of an avatar, called the "anchor point". The Entity
// will follow this anchor as it moves.
//
// The Entity's own Transform is overridden by this component. To offset position and adjust scale,
// The Entity's own Transform is overridden by this component. To offset position and adjust scale,
// add a child to the anchored Entity and set a Transform on it instead.
//
// AvatarAnchorPointType indicates which part of the avatar the Entity must follow.
Expand Down
29 changes: 29 additions & 0 deletions proto/decentraland/sdk/development/local_development.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
syntax = "proto3";

package decentraland.sdk.development;

// ts code & main.crdt updates
message UpdateScene {
string scene_id = 1;
}

enum UpdateModelType {
UMT_CHANGE = 0;
UMT_REMOVE = 1;
}

// .glb & .gltf model udpates
message UpdateModel {
string scene_id = 1;
string src = 2;
string hash = 3;
UpdateModelType type = 4;
}

message WsSceneMessage {
oneof message {
// direction: scene -> explorer
UpdateScene update_scene = 1;
UpdateModel update_model = 2;
}
}
5 changes: 5 additions & 0 deletions public/sdk-development.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
syntax = "proto3";

package decentraland.sdk.development;

import public "decentraland/sdk/development/local_development.proto";

0 comments on commit df01e3e

Please sign in to comment.