api for frontend is added
This commit is contained in:
parent
8a459cc85b
commit
a7a023936f
2
build.rs
2
build.rs
|
@ -83,6 +83,8 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
||||||
"./proto/c2se/backend/api/game.proto",
|
"./proto/c2se/backend/api/game.proto",
|
||||||
"./proto/c2se/frontend/bank.proto",
|
"./proto/c2se/frontend/bank.proto",
|
||||||
"./proto/c2se/frontend/identity.proto",
|
"./proto/c2se/frontend/identity.proto",
|
||||||
|
"./proto/c2se/frontend/api/vendor.proto",
|
||||||
|
"./proto/c2se/frontend/api/game.proto",
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
5
proto/c2se/frontend/api/game.proto
Normal file
5
proto/c2se/frontend/api/game.proto
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.frontend.api.game;
|
||||||
|
|
||||||
|
// subject = bet.beteran.c2se.frontend.api.game.ListGames
|
5
proto/c2se/frontend/api/vendor.proto
Normal file
5
proto/c2se/frontend/api/vendor.proto
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.frontend.api.vendor;
|
||||||
|
|
||||||
|
// subject = bet.beteran.c2se.frontend.api.vendor.ListVendors
|
|
@ -3,3 +3,4 @@ syntax = "proto3";
|
||||||
package bet.beteran.c2se.frontend.bank;
|
package bet.beteran.c2se.frontend.bank;
|
||||||
|
|
||||||
// subject = bet.beteran.c2se.frontend.bank.ListBanks
|
// subject = bet.beteran.c2se.frontend.bank.ListBanks
|
||||||
|
// subject = bet.beteran.c2se.frontend.bank.GetBank
|
Loading…
Reference in New Issue
Block a user