Skip to content

Commit

Permalink
add is server API for sync servers (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 authored Sep 15, 2023
1 parent 03626d7 commit 75f18e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proto/decentraland/kernel/apis/engine_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ message CrdtMessageFromRendererResponse {
repeated bytes data = 1;
}

message IsServerRequest {}
message IsServerResponse {
bool is_server = 1;
}

service EngineApiService {
// support for legacy SDK events.

Expand All @@ -108,4 +113,6 @@ service EngineApiService {

// @deprecated, this response was merged into CrdtSendToResponse
rpc CrdtGetMessageFromRenderer(CrdtMessageFromRendererRequest) returns (CrdtMessageFromRendererResponse) {}

rpc IsServer(IsServerRequest) returns (IsServerResponse) {}
}

0 comments on commit 75f18e8

Please sign in to comment.