@dcl/protocol 1.0.0-3250759085.commit-6cf3623 → 1.0.0-3324030843.commit-dbdd12a

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.
@@ -30,7 +30,15 @@ export interface AboutResponse_AboutConfiguration {
30
30
  globalScenesUrn: string[];
31
31
  scenesUrn: string[];
32
32
  minimap?: AboutResponse_MinimapConfiguration | undefined;
33
- skybox?: AboutResponse_SkyboxConfiguration | undefined;
33
+ skybox?:
34
+ | AboutResponse_SkyboxConfiguration
35
+ | undefined;
36
+ /**
37
+ * A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
38
+ * to continously fetch the parcels around the users. if null, then the default content server will be used
39
+ * if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
40
+ */
41
+ cityLoaderContentServer?: string | undefined;
34
42
  }
35
43
 
36
44
  export interface AboutResponse_ContentInfo {
@@ -318,6 +326,7 @@ function createBaseAboutResponse_AboutConfiguration(): AboutResponse_AboutConfig
318
326
  scenesUrn: [],
319
327
  minimap: undefined,
320
328
  skybox: undefined,
329
+ cityLoaderContentServer: undefined,
321
330
  };
322
331
  }
323
332
 
@@ -341,6 +350,9 @@ export const AboutResponse_AboutConfiguration = {
341
350
  if (message.skybox !== undefined) {
342
351
  AboutResponse_SkyboxConfiguration.encode(message.skybox, writer.uint32(50).fork()).ldelim();
343
352
  }
353
+ if (message.cityLoaderContentServer !== undefined) {
354
+ writer.uint32(58).string(message.cityLoaderContentServer);
355
+ }
344
356
  return writer;
345
357
  },
346
358
 
@@ -369,6 +381,9 @@ export const AboutResponse_AboutConfiguration = {
369
381
  case 6:
370
382
  message.skybox = AboutResponse_SkyboxConfiguration.decode(reader, reader.uint32());
371
383
  break;
384
+ case 7:
385
+ message.cityLoaderContentServer = reader.string();
386
+ break;
372
387
  default:
373
388
  reader.skipType(tag & 7);
374
389
  break;
@@ -385,6 +400,9 @@ export const AboutResponse_AboutConfiguration = {
385
400
  scenesUrn: Array.isArray(object?.scenesUrn) ? object.scenesUrn.map((e: any) => String(e)) : [],
386
401
  minimap: isSet(object.minimap) ? AboutResponse_MinimapConfiguration.fromJSON(object.minimap) : undefined,
387
402
  skybox: isSet(object.skybox) ? AboutResponse_SkyboxConfiguration.fromJSON(object.skybox) : undefined,
403
+ cityLoaderContentServer: isSet(object.cityLoaderContentServer)
404
+ ? String(object.cityLoaderContentServer)
405
+ : undefined,
388
406
  };
389
407
  },
390
408
 
@@ -406,6 +424,7 @@ export const AboutResponse_AboutConfiguration = {
406
424
  (obj.minimap = message.minimap ? AboutResponse_MinimapConfiguration.toJSON(message.minimap) : undefined);
407
425
  message.skybox !== undefined &&
408
426
  (obj.skybox = message.skybox ? AboutResponse_SkyboxConfiguration.toJSON(message.skybox) : undefined);
427
+ message.cityLoaderContentServer !== undefined && (obj.cityLoaderContentServer = message.cityLoaderContentServer);
409
428
  return obj;
410
429
  },
411
430
 
@@ -423,6 +442,7 @@ export const AboutResponse_AboutConfiguration = {
423
442
  message.skybox = (object.skybox !== undefined && object.skybox !== null)
424
443
  ? AboutResponse_SkyboxConfiguration.fromPartial(object.skybox)
425
444
  : undefined;
445
+ message.cityLoaderContentServer = object.cityLoaderContentServer ?? undefined;
426
446
  return message;
427
447
  },
428
448
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-3250759085.commit-6cf3623",
3
+ "version": "1.0.0-3324030843.commit-dbdd12a",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,5 +25,5 @@
25
25
  "out-ts",
26
26
  "public"
27
27
  ],
28
- "commit": "6cf3623dda5637650cf25ed8b7d70d8f0f3b4695"
28
+ "commit": "dbdd12a364661eb50a83edba45316b0e97dfed67"
29
29
  }
@@ -30,6 +30,11 @@ message AboutResponse {
30
30
  repeated string scenes_urn = 4;
31
31
  optional MinimapConfiguration minimap = 5;
32
32
  optional SkyboxConfiguration skybox = 6;
33
+
34
+ // A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
35
+ // to continously fetch the parcels around the users. if null, then the default content server will be used
36
+ // if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
37
+ optional string city_loader_content_server = 7;
33
38
  }
34
39
 
35
40
  message ContentInfo {
@@ -4,7 +4,7 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
  import "decentraland/sdk/components/common/input_action.proto";
7
- import "decentraland/sdk/components/pointer_events.proto";
7
+ import "decentraland/sdk/components/pointer_hover_feedback.proto";
8
8
  import "decentraland/sdk/components/raycast_result.proto";
9
9
 
10
10
  option (common.ecs_component_id) = 1063;
@@ -2,8 +2,8 @@
2
2
 
3
3
  package decentraland.sdk.components;
4
4
 
5
- import "decentraland/sdk/components/common/input_action.proto";
6
5
  import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/common/input_action.proto";
7
7
 
8
8
  option (common.ecs_component_id) = 1062;
9
9
 
@@ -14,7 +14,7 @@ enum PointerEventType {
14
14
  PET_HOVER_LEAVE = 3;
15
15
  }
16
16
 
17
- message PBPointerEvents {
17
+ message PBPointerHoverFeedback {
18
18
  message Info {
19
19
  optional common.InputAction button = 1; // default=InputAction.ANY
20
20
  optional string hover_text = 2; // default='Interact'