Skip to content

Commit

Permalink
add isServer protobuf to engine api
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 committed Aug 23, 2023
1 parent ca70bf9 commit cd7b744
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion proto/decentraland/kernel/apis/engine_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";

package decentraland.kernel.apis;

import "google/protobuf/empty.proto";
import "decentraland/sdk/ecs6/engine_interface_ecs6.proto";

message ManyEntityAction {
Expand Down Expand Up @@ -88,6 +89,10 @@ message CrdtMessageFromRendererResponse {
repeated bytes data = 1;
}

message IsServerResponse {
bool is_server = 1;
}

service EngineApiService {
// support for legacy SDK events.

Expand All @@ -104,7 +109,7 @@ service EngineApiService {

// TBD: name
rpc CrdtSendNetwork(CrdtSendToRendererRequest) returns (CrdtSendToResponse) {}

rpc IsServer(google.protobuf.Empty) returns (IsServerResponse) {}
// retrieves the current _full_ state of the entities from the renderer. This function is used to hidrate
// the state of the scenes when the code of the worker is stopped/resumed
rpc CrdtGetState(CrdtSendToRendererRequest) returns (CrdtGetStateResponse) {}
Expand Down

0 comments on commit cd7b744

Please sign in to comment.