diff --git a/Cargo.toml b/Cargo.toml index 5216dcf..8d6426b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ prost = { version = "0" } nats = { version = "0" } base64 = { version = "0" } -beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.92-snapshot" } -beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.78-snapshot" } +beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.93-snapshot" } +beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.79-snapshot" } [build-dependencies] diff --git a/src/api/betting/service.rs b/src/api/betting/service.rs index afcd3f9..2d1859c 100644 --- a/src/api/betting/service.rs +++ b/src/api/betting/service.rs @@ -282,6 +282,7 @@ impl Service { error: None, result: Some( bpr::c2se::api::betting::list_betting_history_response::Result { + total_count: r.total_count, betting_history, }, ), diff --git a/src/api/game/service.rs b/src/api/game/service.rs index 1647a3c..f3fb240 100644 --- a/src/api/game/service.rs +++ b/src/api/game/service.rs @@ -138,7 +138,10 @@ impl Service { .respond( bpr::c2se::api::game::ListGamesResponse { error: None, - result: Some(bpr::c2se::api::game::list_games_response::Result { games: r.games }), + result: Some(bpr::c2se::api::game::list_games_response::Result { + total_count: r.total_count, + games: r.games, + }), } .encode_to_vec(), ) diff --git a/src/api/vendor/service.rs b/src/api/vendor/service.rs index 8e4f4d3..786a8b6 100644 --- a/src/api/vendor/service.rs +++ b/src/api/vendor/service.rs @@ -143,6 +143,7 @@ impl Service { bpr::c2se::api::vendor::ListVendorsResponse { error: None, result: Some(bpr::c2se::api::vendor::list_vendors_response::Result { + total_count: r.total_count, vendors: r.vendors, }), } diff --git a/src/bank/service.rs b/src/bank/service.rs index 14a2a8d..a6fd85f 100644 --- a/src/bank/service.rs +++ b/src/bank/service.rs @@ -247,7 +247,10 @@ impl Service { .respond( bpr::c2se::bank::ListBanksResponse { error: None, - result: Some(bpr::c2se::bank::list_banks_response::Result { banks: r.banks }), + result: Some(bpr::c2se::bank::list_banks_response::Result { + total_count: r.total_count, + banks: r.banks, + }), } .encode_to_vec(), ) diff --git a/src/member/service.rs b/src/member/service.rs index a374691..fe2c0e5 100644 --- a/src/member/service.rs +++ b/src/member/service.rs @@ -318,6 +318,7 @@ impl Service { bpr::c2se::member::ListMembersResponse { error: None, result: Some(bpr::c2se::member::list_members_response::Result { + total_count: r.total_count, members: r.members, }), } diff --git a/src/member_bank_account/service.rs b/src/member_bank_account/service.rs index 8fa9240..c8dc431 100644 --- a/src/member_bank_account/service.rs +++ b/src/member_bank_account/service.rs @@ -263,6 +263,7 @@ impl Service { bpr::c2se::member_bank_account::ListMemberBankAccountsResponse { error: None, result: Some(bpr::c2se::member_bank_account::list_member_bank_accounts_response::Result { + total_count: r.total_count, member_bank_accounts: r.member_bank_accounts, }), } diff --git a/src/member_bank_deposit/service.rs b/src/member_bank_deposit/service.rs index 9b57a49..6843c88 100644 --- a/src/member_bank_deposit/service.rs +++ b/src/member_bank_deposit/service.rs @@ -260,6 +260,7 @@ impl Service { bpr::c2se::member_bank_deposit::ListMemberBankDepositsResponse { error: None, result: Some(bpr::c2se::member_bank_deposit::list_member_bank_deposits_response::Result { + total_count: r.total_count, member_bank_deposits: r.member_bank_deposits, }), } diff --git a/src/member_bank_withdraw/service.rs b/src/member_bank_withdraw/service.rs index 22589e9..960c067 100644 --- a/src/member_bank_withdraw/service.rs +++ b/src/member_bank_withdraw/service.rs @@ -265,6 +265,7 @@ impl Service { bpr::c2se::member_bank_withdraw::ListMemberBankWithdrawsResponse { error: None, result: Some(bpr::c2se::member_bank_withdraw::list_member_bank_withdraws_response::Result { + total_count: r.total_count, member_bank_withdraws: r.member_bank_withdraws, }), } diff --git a/src/member_class/service.rs b/src/member_class/service.rs index d3f797e..4aa0ee5 100644 --- a/src/member_class/service.rs +++ b/src/member_class/service.rs @@ -258,6 +258,7 @@ impl Service { error: None, result: Some( bpr::c2se::member_class::list_member_classes_response::Result { + total_count: r.total_count, member_classes: r.member_classes, }, ), diff --git a/src/member_game_setting/service.rs b/src/member_game_setting/service.rs index f5407d6..19b97d2 100644 --- a/src/member_game_setting/service.rs +++ b/src/member_game_setting/service.rs @@ -259,6 +259,7 @@ impl Service { bpr::c2se::member_game_setting::ListMemberGameSettingsResponse { error: None, result: Some(bpr::c2se::member_game_setting::list_member_game_settings_response::Result { + total_count: r.total_count, member_game_settings: r.member_game_settings, }), } diff --git a/src/member_level/service.rs b/src/member_level/service.rs index 5aee203..fe14da3 100644 --- a/src/member_level/service.rs +++ b/src/member_level/service.rs @@ -255,6 +255,7 @@ impl Service { error: None, result: Some( bpr::c2se::member_level::list_member_levels_response::Result { + total_count: r.total_count, member_levels: r.member_levels, }, ), diff --git a/src/member_referrer/service.rs b/src/member_referrer/service.rs index fc29c9c..bb4ae18 100644 --- a/src/member_referrer/service.rs +++ b/src/member_referrer/service.rs @@ -370,6 +370,7 @@ impl Service { error: None, result: Some( bpr::c2se::member_referrer::list_member_referrers_response::Result { + total_count: r.total_count, member_referrers: r.member_referrers, }, ), diff --git a/src/member_settlement_setting/service.rs b/src/member_settlement_setting/service.rs index 60b0b99..1057b1c 100644 --- a/src/member_settlement_setting/service.rs +++ b/src/member_settlement_setting/service.rs @@ -273,6 +273,7 @@ impl Service { bpr::c2se::member_settlement_setting::ListMemberSettlementSettingsResponse { error: None, result: Some(bpr::c2se::member_settlement_setting::list_member_settlement_settings_response::Result { + total_count: r.total_count, member_settlement_settings: r.member_settlement_settings, }), } diff --git a/src/site/service.rs b/src/site/service.rs index 989b015..2a810d3 100644 --- a/src/site/service.rs +++ b/src/site/service.rs @@ -147,7 +147,10 @@ impl Service { .respond( bpr::c2se::site::ListSitesResponse { error: None, - result: Some(bpr::c2se::site::list_sites_response::Result { sites: r.sites }), + result: Some(bpr::c2se::site::list_sites_response::Result { + total_count: r.total_count, + sites: r.sites, + }), } .encode_to_vec(), )