basic bot api proto definition

This commit is contained in:
Ilion Beyst 2022-06-03 21:24:18 +02:00
parent 0f80b19614
commit c3d32e051c

View file

@ -10,6 +10,17 @@ message HelloResponse {
string response = 1; string response = 1;
} }
service TestService { message PlayerRequest {
rpc greet(Hello) returns (HelloResponse); int32 request_id = 1;
bytes content = 2;
}
message PlayerRequestResponse {
int32 request_id = 1;
bytes content = 2;
}
service BotApiService {
// server sends requests to the player, player responds
rpc ConnectBot(stream PlayerRequestResponse) returns (stream PlayerRequest);
} }