get_game_url is added

This commit is contained in:
병준 박 2022-08-29 08:21:38 +00:00
parent 4e4f708dba
commit 6d0673bb3e
3 changed files with 37 additions and 0 deletions

View File

@ -28,3 +28,19 @@ message ListGamesResponse {
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
message GetGameUrlRequest {
string vendor_key = 1;
string game_key = 2;
}
message GetGameUrlResponse {
message Result {
uint64 user_id = 1;
uint64 balance = 2;
string url = 3;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}

View File

@ -3,3 +3,4 @@ syntax = "proto3";
package bet.beteran.c2se.frontend.api.game;
// subject = bet.beteran.c2se.frontend.api.game.ListGames
// subject = bet.beteran.c2se.frontend.api.game.GetGameUrl

View File

@ -34,3 +34,23 @@ message ListGamesResponse {
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
// subject = bet.beteran.ss.api.game.GetGameUrl
message GetGameUrlRequest {
message Request {
string vendor_key = 1;
string game_key = 2;
}
bet.beteran.core.network.Client client = 1;
Request request = 2;
}
message GetGameUrlResponse {
message Result {
uint64 user_id = 1;
uint64 balance = 2;
string url = 3;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}