@dcl-regenesislabs/protocol 1.0.0-46262405080.commit-bcb80ea → 1.0.0-46263777222.commit-1a2c14b

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-regenesislabs/protocol",
3
- "version": "1.0.0-46262405080.commit-bcb80ea",
3
+ "version": "1.0.0-46263777222.commit-1a2c14b",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "protoc-gen-bitwise/*.js",
34
34
  "protoc-gen-bitwise/runtime"
35
35
  ],
36
- "commit": "bcb80ea398af11a18c5ed7788b160a3ec43086a6",
36
+ "commit": "1a2c14bb81ad4967bc6030e815e4fcf83b00d42d",
37
37
  "scripts": {
38
38
  "build": "./scripts/generate.sh",
39
39
  "test": "make buf-breaking",
@@ -98,6 +98,16 @@ message SceneListenerHandshakeRequest {
98
98
  repeated SceneListenerAoi aoi = 2;
99
99
  // Mirrors HandshakeRequest.protocol_features; a client that omits it decodes to 0 = baseline wire.
100
100
  uint32 protocol_features = 4;
101
+ // The realm and parcels this listener may observe, signed by the authoritative key and bound to
102
+ // the address that signs auth_chain. Field 3 stays unused.
103
+ SceneListenerGrant grant = 5;
104
+ }
105
+
106
+ // A scene-listener grant: the UTF-8 grant text and its EIP-191 personal_sign signature
107
+ // (0x-prefixed, 65 bytes) by the authoritative key.
108
+ message SceneListenerGrant {
109
+ string payload = 1;
110
+ string signature = 2;
101
111
  }
102
112
 
103
113
  // Scene-listener AoI reassignment: replaces the area of interest announced at connect, in
@@ -9,22 +9,19 @@ option (common.ecs_component_id) = 1061;
9
9
 
10
10
  // The PBTriggerAreaResult component is used to transport the trigger collision event data for the PBTriggerArea component.
11
11
  // ADR: https://github.com/decentraland/adr/blob/2b30a5e2b4f359a7c22a68fb827db282f6e5f887/content/ADR-258-trigger-areas.md
12
- //
13
- // All positions, rotations and scales are scene-relative: in scene coordinates, with the
14
- // entity's full parent chain applied, not the entity's local Transform.
15
12
  message PBTriggerAreaResult {
16
13
  // Trigger data object
17
14
  message Trigger {
18
15
  uint32 entity = 1; // The entity that triggered the Trigger Area
19
16
  uint32 layers = 2; // The collision layermask of the entity that triggered the Trigger Area
20
- decentraland.common.Vector3 position = 3; // The scene-relative position of the entity that triggered the trigger
21
- decentraland.common.Quaternion rotation = 4; // The scene-relative rotation of the entity that triggered the trigger
22
- decentraland.common.Vector3 scale = 5; // The scene-relative scale of the entity that triggered the trigger
17
+ decentraland.common.Vector3 position = 3; // The position of the entity that triggered the trigger
18
+ decentraland.common.Quaternion rotation = 4; // The rotation of the entity that triggered the trigger
19
+ decentraland.common.Vector3 scale = 5; // The scale of the entity that triggered the trigger
23
20
  }
24
21
 
25
22
  uint32 triggered_entity = 1; // The entity that was triggered (this is the entity that owns the trigger area)
26
- decentraland.common.Vector3 triggered_entity_position = 2; // The scene-relative position of the triggered entity at the time of the trigger
27
- decentraland.common.Quaternion triggered_entity_rotation = 3; // The scene-relative rotation of the triggered entity at the time of the trigger
23
+ decentraland.common.Vector3 triggered_entity_position = 2; // The position of the triggered entity at the time of the trigger
24
+ decentraland.common.Quaternion triggered_entity_rotation = 3; // The rotation of the triggered entity at the time of the trigger
28
25
  TriggerAreaEventType event_type = 4; // The state of the trigger event (ENTER, STAY, EXIT)
29
26
  uint32 timestamp = 5; // The timestamp of the trigger event
30
27
  Trigger trigger = 6;