From 6d0673bb3e00a965f1d5a0386fa0c71a16ca4fe6 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 29 Aug 2022 08:21:38 +0000 Subject: [PATCH] get_game_url is added --- proto/c2se/api/game.proto | 16 ++++++++++++++++ proto/c2se/frontend/api/game.proto | 1 + proto/ss/api/game.proto | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/proto/c2se/api/game.proto b/proto/c2se/api/game.proto index 9aea695..60745e3 100644 --- a/proto/c2se/api/game.proto +++ b/proto/c2se/api/game.proto @@ -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; +} \ No newline at end of file diff --git a/proto/c2se/frontend/api/game.proto b/proto/c2se/frontend/api/game.proto index e1a5fef..0196182 100644 --- a/proto/c2se/frontend/api/game.proto +++ b/proto/c2se/frontend/api/game.proto @@ -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 diff --git a/proto/ss/api/game.proto b/proto/ss/api/game.proto index ed05d3d..cdd37f6 100644 --- a/proto/ss/api/game.proto +++ b/proto/ss/api/game.proto @@ -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; +}