@dcl/protocol 1.0.0-21487639770.commit-ba66987 → 1.0.0-21519068572.commit-814b279

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/protocol",
3
- "version": "1.0.0-21487639770.commit-ba66987",
3
+ "version": "1.0.0-21519068572.commit-814b279",
4
4
  "description": "",
5
5
  "repository": "decentraland/protocol.git",
6
6
  "homepage": "https://github.com/decentraland/protocol#readme",
@@ -30,5 +30,5 @@
30
30
  "out-js",
31
31
  "public"
32
32
  ],
33
- "commit": "ba669878515040f621d10d75437a855b424269df"
33
+ "commit": "814b279004cf8d4f95f82f04e8f496fcce5e5584"
34
34
  }
@@ -0,0 +1,10 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1213;
6
+
7
+ // AssetLoad component allows an entity to request the pre-loading of one or more assets by the renderer.
8
+ message PBAssetLoad {
9
+ repeated string assets = 1;
10
+ }
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1214;
6
+
7
+ import "decentraland/sdk/components/common/loading_state.proto";
8
+
9
+ // AssetLoadLoadingState is set by the engine and provides information about
10
+ // the current state of the AssetLoad of an entity.
11
+ // The renderer appends a new object of this in each command, there can be many commands per frames
12
+ message PBAssetLoadLoadingState {
13
+ common.LoadingState current_state = 1; // current loading state
14
+ string asset = 2; // the asset being loaded (asset's scene path)
15
+ uint32 timestamp = 3; // monotonic counter
16
+ }