@dcl/protocol 1.0.0-4114477251.commit-ccb88d6 → 1.0.0-4177217338.commit-c85f02c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-4177217338.commit-c85f02c",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"out-js",
|
|
27
27
|
"public"
|
|
28
28
|
],
|
|
29
|
-
"commit": "
|
|
29
|
+
"commit": "c85f02cd86dbc48a1b2f3aac939baf38eb0ef6ff"
|
|
30
30
|
}
|
|
@@ -9,17 +9,11 @@ import "decentraland/sdk/components/raycast_result.proto";
|
|
|
9
9
|
|
|
10
10
|
option (common.ecs_component_id) = 1063;
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// renderer append a new object of this in each command, there can be many commands per frames
|
|
13
13
|
message PBPointerEventsResult {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
common.InputAction button = 1; // identifier of the input
|
|
20
|
-
RaycastHit hit = 2;
|
|
21
|
-
PointerEventType state = 4;
|
|
22
|
-
int32 timestamp = 5; // could be a Lamport timestamp
|
|
23
|
-
optional float analog = 6; // if the input is analog then we store it here
|
|
24
|
-
}
|
|
14
|
+
common.InputAction button = 1; // identifier of the input
|
|
15
|
+
RaycastHit hit = 2;
|
|
16
|
+
PointerEventType state = 4;
|
|
17
|
+
int32 timestamp = 5; // could be a Lamport timestamp
|
|
18
|
+
optional float analog = 6; // if the input is analog then we store it here
|
|
25
19
|
}
|