@dcl/protocol 1.0.0-3244293554.commit-269b186 → 1.0.0-3283499202.commit-26829d1
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/out-ts/decentraland/bff/http_endpoints.gen.ts +21 -1
- package/package.json +2 -2
- package/proto/decentraland/bff/http_endpoints.proto +5 -0
- package/proto/decentraland/sdk/components/billboard.proto +10 -4
- package/proto/decentraland/sdk/components/common/texts.proto +9 -3
- package/proto/decentraland/sdk/components/text_shape.proto +21 -24
|
@@ -30,7 +30,15 @@ export interface AboutResponse_AboutConfiguration {
|
|
|
30
30
|
globalScenesUrn: string[];
|
|
31
31
|
scenesUrn: string[];
|
|
32
32
|
minimap?: AboutResponse_MinimapConfiguration | undefined;
|
|
33
|
-
skybox?:
|
|
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-
|
|
3
|
+
"version": "1.0.0-3283499202.commit-26829d1",
|
|
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": "
|
|
28
|
+
"commit": "26829d118abd2bb68ac1f2090f34870174c16bb6"
|
|
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 {
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
+
|
|
2
3
|
package decentraland.sdk.components;
|
|
3
4
|
|
|
4
5
|
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
5
7
|
option (common.ecs_component_id) = 1090;
|
|
6
8
|
|
|
9
|
+
enum BillboardMode {
|
|
10
|
+
BM_ALL_AXES = 0;
|
|
11
|
+
BM_Y_AXE = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
message PBBillboard {
|
|
8
|
-
optional
|
|
9
|
-
optional bool
|
|
10
|
-
|
|
11
|
-
}
|
|
15
|
+
optional BillboardMode billboard_mode = 1; // default=BM_ALL_AXES
|
|
16
|
+
optional bool opposite_direction = 2; // default=false
|
|
17
|
+
}
|
|
@@ -3,9 +3,15 @@ syntax = "proto3";
|
|
|
3
3
|
package decentraland.sdk.components.common;
|
|
4
4
|
|
|
5
5
|
enum TextAlignMode {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
TAM_TOP_LEFT = 0;
|
|
7
|
+
TAM_TOP_CENTER = 1;
|
|
8
|
+
TAM_TOP_RIGHT = 2;
|
|
9
|
+
TAM_MIDDLE_LEFT = 3;
|
|
10
|
+
TAM_MIDDLE_CENTER = 4;
|
|
11
|
+
TAM_MIDDLE_RIGHT = 5;
|
|
12
|
+
TAM_BOTTOM_LEFT = 6;
|
|
13
|
+
TAM_BOTTOM_CENTER = 7;
|
|
14
|
+
TAM_BOTTOM_RIGHT = 8;
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
enum Font {
|
|
@@ -4,33 +4,30 @@ package decentraland.sdk.components;
|
|
|
4
4
|
|
|
5
5
|
import "decentraland/common/colors.proto";
|
|
6
6
|
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/texts.proto";
|
|
7
8
|
|
|
8
9
|
option (common.ecs_component_id) = 1030;
|
|
9
10
|
|
|
10
11
|
message PBTextShape {
|
|
11
12
|
string text = 1;
|
|
12
|
-
|
|
13
|
-
optional
|
|
14
|
-
optional
|
|
15
|
-
optional
|
|
16
|
-
optional float
|
|
17
|
-
optional
|
|
18
|
-
optional
|
|
19
|
-
optional
|
|
20
|
-
optional float
|
|
21
|
-
optional float
|
|
22
|
-
optional float
|
|
23
|
-
optional
|
|
24
|
-
optional
|
|
25
|
-
optional float
|
|
26
|
-
optional float
|
|
27
|
-
optional
|
|
28
|
-
optional
|
|
29
|
-
optional
|
|
30
|
-
optional
|
|
31
|
-
optional
|
|
32
|
-
optional float outline_width = 21;
|
|
33
|
-
optional decentraland.common.Color3 shadow_color = 22; // default=(1.0,1.0,1.0)
|
|
34
|
-
optional decentraland.common.Color3 outline_color = 23; // default=(1.0,1.0,1.0)
|
|
35
|
-
optional decentraland.common.Color3 text_color = 24; // default=(1.0,1.0,1.0)
|
|
13
|
+
optional common.Font font = 2; // default=F_SANS_SERIF
|
|
14
|
+
optional float font_size = 3; // default=10
|
|
15
|
+
optional bool font_auto_size = 4;
|
|
16
|
+
optional common.TextAlignMode text_align = 5; // default=TAM_CENTER_CENTER
|
|
17
|
+
optional float width = 6; // default=1
|
|
18
|
+
optional float height = 7; // default=1
|
|
19
|
+
optional float padding_top = 8;
|
|
20
|
+
optional float padding_right = 9;
|
|
21
|
+
optional float padding_bottom = 10;
|
|
22
|
+
optional float padding_left = 11;
|
|
23
|
+
optional float line_spacing = 12;
|
|
24
|
+
optional int32 line_count = 13;
|
|
25
|
+
optional bool text_wrapping = 14;
|
|
26
|
+
optional float shadow_blur = 15;
|
|
27
|
+
optional float shadow_offset_x = 16;
|
|
28
|
+
optional float shadow_offset_y = 17;
|
|
29
|
+
optional float outline_width = 18;
|
|
30
|
+
optional decentraland.common.Color3 shadow_color = 19; // default=(1.0,1.0,1.0)
|
|
31
|
+
optional decentraland.common.Color3 outline_color = 20; // default=(1.0,1.0,1.0)
|
|
32
|
+
optional decentraland.common.Color4 text_color = 21; // default=(1.0,1.0,1.0)
|
|
36
33
|
}
|