diff --git a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts index d8bd770..57d8c1e 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts @@ -441,8 +441,8 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message { getAccountNumber(): string; setAccountNumber(value: string): void; - getDouble(): number; - setDouble(value: number): void; + getAmount(): number; + setAmount(value: number): void; getPassword(): string; setPassword(value: string): void; @@ -479,7 +479,7 @@ export namespace UpdateMemberBankWithdrawRequest { bankName: string; name: string; accountNumber: string; - pb_double: number; + amount: number; password: string; memo: string; }; diff --git a/src/app/modules/proto/c2se/member_bank_withdraw_pb.js b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js index 1673824..6528319 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.js +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js @@ -3091,7 +3091,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { bankName: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - pb_double: jspb.Message.getFieldWithDefault(msg, 5, 0), + amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), password: jspb.Message.getFieldWithDefault(msg, 6, ""), memo: jspb.Message.getFieldWithDefault(msg, 7, ""), }; @@ -3151,8 +3151,8 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese msg.setAccountNumber(value); break; case 5: - var value = /** @type {number} */ (reader.readUint32()); - msg.setDouble(value); + var value = /** @type {number} */ (reader.readDouble()); + msg.setAmount(value); break; case 6: var value = /** @type {string} */ (reader.readString()); @@ -3210,9 +3210,9 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.seri if (f.length > 0) { writer.writeString(4, f); } - f = message.getDouble(); - if (f !== 0) { - writer.writeUint32(5, f); + f = message.getAmount(); + if (f !== 0.0) { + writer.writeDouble(5, f); } f = message.getPassword(); if (f.length > 0) { @@ -3305,21 +3305,23 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prot }; /** - * optional uint32 double = 5; + * optional double amount = 5; * @return {number} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getDouble = +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0) + ); }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setDouble = +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAmount = function (value) { - return jspb.Message.setProto3IntField(this, 5, value); + return jspb.Message.setProto3FloatField(this, 5, value); }; /**