-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into protocol-squad
- Loading branch information
Showing
4 changed files
with
103 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
proto/decentraland/sdk/development/local_development.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |