We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451eb6c commit 1d3bca8Copy full SHA for 1d3bca8
proto/decentraland/sdk/components/network_entity.proto
@@ -0,0 +1,21 @@
1
+syntax = "proto3";
2
+
3
+package decentraland.sdk.components;
4
5
+import "decentraland/sdk/components/common/id.proto";
6
+option (common.ecs_component_id) = 1078;
7
8
+/**
9
+ * NetworkEntity marks an entity for network synchronization.
10
11
+ * When receiving network messages, to find which local entity they refer to,
12
+ * we look for an entity that has both the same networkId and entityId as the message.
13
+ */
14
+message PBNetworkEntity {
15
+ // The enumId or local entity ID
16
+ uint32 entityId = 1;
17
18
+ // - 0 for fixed entities (created with enumId at initialization)
19
+ // - User's address hash for dynamic entities (created at runtime)
20
+ uint64 networkId = 2;
21
+}
0 commit comments