File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,14 @@ syntax = "proto3";
2
2
package decentraland.kernel.apis ;
3
3
4
4
import "decentraland/common/content_mapping.proto" ;
5
+ import "decentraland/sdk/components/realm_info.proto" ;
5
6
6
7
// This API will contain all the information related to the world runtime.
7
8
// Things related to the user, players or the scene itself has they own api, and
8
9
// won't live here. (UserIdentity, Players, ParcelIdentity)
9
10
10
- message RealmInfo {
11
- string base_url = 1 ;
12
- string realm_name = 2 ;
13
- int32 network_id = 3 ;
14
- string comms_adapter = 4 ;
15
- bool is_preview = 5 ;
16
- }
17
-
18
11
message GetRealmResponse {
19
- optional RealmInfo realm_info = 1 ;
12
+ optional decentraland.sdk.components.PBRealmInfo realm_info = 1 ;
20
13
}
21
14
22
15
message GetWorldTimeResponse {
@@ -72,7 +65,7 @@ service RuntimeService {
72
65
rpc ReadFile (ReadFileRequest ) returns (ReadFileResponse ) {}
73
66
// Returns information about the current scene. This is the replacement of GetBootstrapData
74
67
rpc GetSceneInformation (CurrentSceneEntityRequest ) returns (CurrentSceneEntityResponse ) {}
75
-
76
- // Provides information about the explorer
68
+
69
+ // Provides information about the explorer
77
70
rpc GetExplorerInformation (GetExplorerInformationRequest ) returns (GetExplorerInformationResponse ) {}
78
71
}
Original file line number Diff line number Diff line change
1
+ syntax = "proto3" ;
2
+ package decentraland.sdk.components ;
3
+
4
+ import "decentraland/sdk/components/common/id.proto" ;
5
+ option (common.ecs_component_id ) = 1106 ;
6
+
7
+ message PBRealmInfo {
8
+ string base_url = 1 ;
9
+ string realm_name = 2 ;
10
+ int32 network_id = 3 ;
11
+ string comms_adapter = 4 ;
12
+ bool is_preview = 5 ;
13
+ optional string room = 6 ;
14
+ }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import public "decentraland/sdk/components/pointer_events.proto";
26
26
import public "decentraland/sdk/components/pointer_lock.proto" ;
27
27
import public "decentraland/sdk/components/raycast_result.proto" ;
28
28
import public "decentraland/sdk/components/raycast.proto" ;
29
+ import public "decentraland/sdk/components/realm_info.proto" ;
29
30
import public "decentraland/sdk/components/text_shape.proto" ;
30
31
import public "decentraland/sdk/components/tween.proto" ;
31
32
import public "decentraland/sdk/components/tween_state.proto" ;
You can’t perform that action at this time.
0 commit comments