From a7a023936fb2fc536332fc9dc0e84ef9214295c7 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Fri, 19 Aug 2022 07:42:45 +0000 Subject: [PATCH] api for frontend is added --- build.rs | 2 ++ proto/c2se/frontend/api/game.proto | 5 +++++ proto/c2se/frontend/api/vendor.proto | 5 +++++ proto/c2se/frontend/bank.proto | 1 + 4 files changed, 13 insertions(+) create mode 100644 proto/c2se/frontend/api/game.proto create mode 100644 proto/c2se/frontend/api/vendor.proto diff --git a/build.rs b/build.rs index e8fea12..8cfa9eb 100644 --- a/build.rs +++ b/build.rs @@ -83,6 +83,8 @@ static TARGETS: Lazy>> = Lazy::new(|| { "./proto/c2se/backend/api/game.proto", "./proto/c2se/frontend/bank.proto", "./proto/c2se/frontend/identity.proto", + "./proto/c2se/frontend/api/vendor.proto", + "./proto/c2se/frontend/api/game.proto", ], ); diff --git a/proto/c2se/frontend/api/game.proto b/proto/c2se/frontend/api/game.proto new file mode 100644 index 0000000..e1a5fef --- /dev/null +++ b/proto/c2se/frontend/api/game.proto @@ -0,0 +1,5 @@ +syntax = "proto3"; + +package bet.beteran.c2se.frontend.api.game; + +// subject = bet.beteran.c2se.frontend.api.game.ListGames diff --git a/proto/c2se/frontend/api/vendor.proto b/proto/c2se/frontend/api/vendor.proto new file mode 100644 index 0000000..7dd83c3 --- /dev/null +++ b/proto/c2se/frontend/api/vendor.proto @@ -0,0 +1,5 @@ +syntax = "proto3"; + +package bet.beteran.c2se.frontend.api.vendor; + +// subject = bet.beteran.c2se.frontend.api.vendor.ListVendors diff --git a/proto/c2se/frontend/bank.proto b/proto/c2se/frontend/bank.proto index d1ebe53..ac71e1c 100644 --- a/proto/c2se/frontend/bank.proto +++ b/proto/c2se/frontend/bank.proto @@ -3,3 +3,4 @@ syntax = "proto3"; package bet.beteran.c2se.frontend.bank; // subject = bet.beteran.c2se.frontend.bank.ListBanks +// subject = bet.beteran.c2se.frontend.bank.GetBank \ No newline at end of file