From 73a87c55e8dc05319bc21370ac4e44f4382c4bd7 Mon Sep 17 00:00:00 2001 From: davidejensen Date: Tue, 25 Jun 2024 16:31:30 +0200 Subject: [PATCH 1/3] Feat: added map pin proto --- proto/decentraland/sdk/components/map_pin.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 proto/decentraland/sdk/components/map_pin.proto diff --git a/proto/decentraland/sdk/components/map_pin.proto b/proto/decentraland/sdk/components/map_pin.proto new file mode 100644 index 00000000..307b36fe --- /dev/null +++ b/proto/decentraland/sdk/components/map_pin.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; +package decentraland.sdk.components; +import "decentraland/common/vectors.proto"; +import "decentraland/sdk/components/common/id.proto"; +option (common.ecs_component_id) = 1097; + +message PBMapPin { + decentraland.common.Vector2 position = 1; + string icon_sprite = 2; + float icon_size = 3; + string title = 4; + string description = 5; +} \ No newline at end of file From bb92390e376cee482c6c1c4f9c25891fb74686d4 Mon Sep 17 00:00:00 2001 From: davidejensen Date: Wed, 26 Jun 2024 12:00:58 +0200 Subject: [PATCH 2/3] Updated texture to be a texture format --- proto/decentraland/sdk/components/map_pin.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/decentraland/sdk/components/map_pin.proto b/proto/decentraland/sdk/components/map_pin.proto index 307b36fe..27cdc177 100644 --- a/proto/decentraland/sdk/components/map_pin.proto +++ b/proto/decentraland/sdk/components/map_pin.proto @@ -2,11 +2,12 @@ syntax = "proto3"; package decentraland.sdk.components; import "decentraland/common/vectors.proto"; import "decentraland/sdk/components/common/id.proto"; +import "decentraland/common/texture.proto"; option (common.ecs_component_id) = 1097; message PBMapPin { decentraland.common.Vector2 position = 1; - string icon_sprite = 2; + optional decentraland.common.TextureUnion texture = 2; float icon_size = 3; string title = 4; string description = 5; From 9d648bb42f3ae9d3165f6220abe817564ac42a1d Mon Sep 17 00:00:00 2001 From: davidejensen Date: Mon, 5 Aug 2024 17:49:49 +0200 Subject: [PATCH 3/3] Update map_pin.proto Signed-off-by: davidejensen --- proto/decentraland/sdk/components/map_pin.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proto/decentraland/sdk/components/map_pin.proto b/proto/decentraland/sdk/components/map_pin.proto index 27cdc177..17973d3b 100644 --- a/proto/decentraland/sdk/components/map_pin.proto +++ b/proto/decentraland/sdk/components/map_pin.proto @@ -5,10 +5,12 @@ import "decentraland/sdk/components/common/id.proto"; import "decentraland/common/texture.proto"; option (common.ecs_component_id) = 1097; +// @deprecated +// Used internally for the game orchestrator PX, not exposed in the SDK message PBMapPin { decentraland.common.Vector2 position = 1; optional decentraland.common.TextureUnion texture = 2; float icon_size = 3; string title = 4; string description = 5; -} \ No newline at end of file +}