-
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.
add realm info & player clicked component
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
package decentraland.sdk.components; | ||
|
||
import "decentraland/common/vectors.proto"; | ||
import "decentraland/sdk/components/common/id.proto"; | ||
|
||
option (common.ecs_component_id) = 1107; | ||
|
||
// The PlayerClicked component is added to the RootEntity every time the user clicks on an avatar. | ||
// GOS component | ||
message PBPlayerClicked { | ||
uint32 timestamp = 1; | ||
string address = 2; | ||
decentraland.common.Vector3 direction = 3; | ||
decentraland.common.Vector3 origin = 4; | ||
uint32 distance = 5; | ||
} |
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,12 @@ | ||
syntax = "proto3"; | ||
package decentraland.sdk.components; | ||
|
||
import "decentraland/sdk/components/common/id.proto"; | ||
option (common.ecs_component_id) = 1106; | ||
|
||
message PBRealmInfo { | ||
string base_url = 1; | ||
string realm_name = 2; | ||
int32 network_id = 3; | ||
string comms_adapter = 4; | ||
} |
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