diff --git a/proto/c2se/api/game.proto b/proto/c2se/api/game.proto index 60745e3..725c326 100644 --- a/proto/c2se/api/game.proto +++ b/proto/c2se/api/game.proto @@ -38,7 +38,7 @@ message GetGameUrlRequest { message GetGameUrlResponse { message Result { uint64 user_id = 1; - uint64 balance = 2; + double balance = 2; string url = 3; } optional bet.protobuf.rpc.Error error = 1; diff --git a/proto/c2se/member_bank_deposit.proto b/proto/c2se/member_bank_deposit.proto index fb4f946..3bc336c 100644 --- a/proto/c2se/member_bank_deposit.proto +++ b/proto/c2se/member_bank_deposit.proto @@ -9,7 +9,7 @@ import "models/member_bank_deposit.proto"; message CreateMemberBankDepositRequest { string name = 1; - uint32 amount = 2; + double amount = 2; optional string memo = 3; } @@ -25,7 +25,7 @@ message ListMemberBankDepositsRequest { message Search { optional string member_id = 1; optional string name_like = 2; - optional uint32 amount = 3; + optional double amount = 3; optional string memo_like = 4; optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5; } @@ -57,7 +57,7 @@ message GetMemberBankDepositResponse { message UpdateMemberBankDepositRequest { string id = 1; string name = 3; - uint32 amount = 5; + double amount = 5; optional string memo = 7; } diff --git a/proto/c2se/member_bank_withdraw.proto b/proto/c2se/member_bank_withdraw.proto index fde814c..f41e8c2 100644 --- a/proto/c2se/member_bank_withdraw.proto +++ b/proto/c2se/member_bank_withdraw.proto @@ -11,7 +11,7 @@ message CreateMemberBankWithdrawRequest { string bank_name = 1; string name = 2; string account_number = 3; - uint32 amount = 4; + double amount = 4; string password = 5; optional string memo = 6; } @@ -30,7 +30,7 @@ message ListMemberBankWithdrawsRequest { optional string bank_name_like = 2; optional string name_like = 3; optional string account_number_like = 4; - optional uint32 amount = 5; + optional double amount = 5; optional string memo_like = 6; optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7; } @@ -64,7 +64,7 @@ message UpdateMemberBankWithdrawRequest { string bank_name = 2; string name = 3; string account_number = 4; - uint32 amount = 5; + uint32 double = 5; string password = 6; optional string memo = 7; } diff --git a/proto/models/api/vendor.proto b/proto/models/api/vendor.proto index 8a7a0d9..6306f10 100644 --- a/proto/models/api/vendor.proto +++ b/proto/models/api/vendor.proto @@ -9,8 +9,8 @@ message Vendor { string key = 4; string name = 5; string category = 6; - uint64 max_bet_casino = 7; - uint64 max_bet_slot = 8; + double max_bet_casino = 7; + double max_bet_slot = 8; string is_enable = 9; uint64 bet_count = 10; uint64 created_at = 11; diff --git a/proto/models/member_bank_deposit.proto b/proto/models/member_bank_deposit.proto index 000e0d3..c6a67a5 100644 --- a/proto/models/member_bank_deposit.proto +++ b/proto/models/member_bank_deposit.proto @@ -15,7 +15,7 @@ message MemberBankDeposit { string id = 1; string member_id = 2; string name = 3; - uint32 amount = 4; + double amount = 4; optional string memo = 5; MemberBankDepositState state = 6; uint64 state_changed_at = 7; @@ -28,7 +28,7 @@ message MemberBankDepositModel { string id = 1; bet.beteran.member.Member member = 2; string name = 3; - uint32 amount = 4; + double amount = 4; optional string memo = 5; MemberBankDepositState state = 6; uint64 state_changed_at = 7; diff --git a/proto/models/member_bank_withdraw.proto b/proto/models/member_bank_withdraw.proto index b3ad385..612f6d4 100644 --- a/proto/models/member_bank_withdraw.proto +++ b/proto/models/member_bank_withdraw.proto @@ -17,7 +17,7 @@ message MemberBankWithdraw { string bank_name = 3; string name = 4; string account_number = 5; - uint32 amount = 6; + double amount = 6; string password = 7; optional string memo = 8; MemberBankWithdrawState state = 9; @@ -33,7 +33,7 @@ message MemberBankWithdrawModel { string bank_name = 3; string name = 4; string account_number = 5; - uint32 amount = 6; + double amount = 6; string password = 7; optional string memo = 8; MemberBankWithdrawState state = 9; diff --git a/proto/ss/api/game.proto b/proto/ss/api/game.proto index b64f5ed..2f39217 100644 --- a/proto/ss/api/game.proto +++ b/proto/ss/api/game.proto @@ -49,7 +49,7 @@ message GetGameUrlRequest { message GetGameUrlResponse { message Result { uint64 user_id = 1; - uint64 balance = 2; + double balance = 2; string url = 3; } optional bet.protobuf.rpc.Error error = 1; diff --git a/proto/ss/member_bank_deposit.proto b/proto/ss/member_bank_deposit.proto index 0a32ee5..4f8f297 100644 --- a/proto/ss/member_bank_deposit.proto +++ b/proto/ss/member_bank_deposit.proto @@ -12,7 +12,7 @@ message CreateMemberBankDepositRequest { message Request { string member_id = 1; string name = 2; - uint32 amount = 3; + double amount = 3; optional string memo = 4; } bet.beteran.core.network.Client client = 1; @@ -33,7 +33,7 @@ message ListMemberBankDepositsRequest { message Search { optional string member_id = 1; optional string name_like = 2; - optional uint32 amount = 3; + optional double amount = 3; optional string memo_like = 4; optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5; } @@ -75,7 +75,7 @@ message UpdateMemberBankDepositRequest { message Request { string id = 1; string name = 3; - uint32 amount = 5; + double amount = 5; optional string memo = 7; } bet.beteran.core.network.Client client = 1; diff --git a/proto/ss/member_bank_withdraw.proto b/proto/ss/member_bank_withdraw.proto index dac6ad8..466e695 100644 --- a/proto/ss/member_bank_withdraw.proto +++ b/proto/ss/member_bank_withdraw.proto @@ -14,7 +14,7 @@ message CreateMemberBankWithdrawRequest { string bank_name = 2; string name = 3; string account_number = 4; - uint32 amount = 5; + double amount = 5; string password = 6; optional string memo = 7; } @@ -38,7 +38,7 @@ message ListMemberBankWithdrawsRequest { optional string bank_name_like = 2; optional string name_like = 3; optional string account_number_like = 4; - optional uint32 amount = 5; + optional double amount = 5; optional string memo_like = 6; optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7; } @@ -82,7 +82,7 @@ message UpdateMemberBankWithdrawRequest { string bank_name = 2; string name = 3; string account_number = 4; - uint32 amount = 5; + double amount = 5; string password = 6; optional string memo = 7; }