Merge branch 'feature/BETERAN-BACKEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-backend-app-browser into feature/BETERAN-BACKEND-APP-BROWSER-init

This commit is contained in:
Park Byung Eun 2022-08-30 08:18:03 +00:00
commit 4007da31a2
7 changed files with 117 additions and 89 deletions

View File

@ -1655,7 +1655,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
var f,
obj = {
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
balance: jspb.Message.getFieldWithDefault(msg, 2, 0),
balance: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
url: jspb.Message.getFieldWithDefault(msg, 3, ""),
};
@ -1701,7 +1701,7 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.deserializeBinaryFromR
msg.setUserId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
var value = /** @type {number} */ (reader.readDouble());
msg.setBalance(value);
break;
case 3:
@ -1745,8 +1745,8 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.serializeBinaryToWrite
writer.writeUint64(1, f);
}
f = message.getBalance();
if (f !== 0) {
writer.writeUint64(2, f);
if (f !== 0.0) {
writer.writeDouble(2, f);
}
f = message.getUrl();
if (f.length > 0) {
@ -1773,12 +1773,14 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setUserId =
};
/**
* optional uint64 balance = 2;
* optional double balance = 2;
* @return {number}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getBalance =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
);
};
/**
@ -1787,7 +1789,7 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getBalance =
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setBalance =
function (value) {
return jspb.Message.setProto3IntField(this, 2, value);
return jspb.Message.setProto3FloatField(this, 2, value);
};
/**

View File

@ -673,7 +673,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
var f,
obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
amount: jspb.Message.getFieldWithDefault(msg, 2, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
memo: jspb.Message.getFieldWithDefault(msg, 3, ""),
};
@ -720,7 +720,7 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deseri
msg.setName(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 3:
@ -764,8 +764,8 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serial
writer.writeString(1, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(2, f);
if (f !== 0.0) {
writer.writeDouble(2, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
@ -794,12 +794,14 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.protot
};
/**
* optional uint32 amount = 2;
* optional double amount = 2;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
);
};
/**
@ -808,7 +810,7 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.protot
*/
proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 2, value);
return jspb.Message.setProto3FloatField(this, 2, value);
};
/**
@ -1471,7 +1473,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""),
amount: jspb.Message.getFieldWithDefault(msg, 3, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
state: jspb.Message.getFieldWithDefault(msg, 5, 0),
};
@ -1523,7 +1525,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.
msg.setNameLike(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 4:
@ -1579,7 +1581,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.
}
f = /** @type {number} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeUint32(3, f);
writer.writeDouble(3, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
@ -1671,12 +1673,14 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.
};
/**
* optional uint32 amount = 3;
* optional double amount = 3;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
);
};
/**
@ -2903,7 +2907,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
amount: jspb.Message.getFieldWithDefault(msg, 5, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
};
@ -2954,7 +2958,7 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deseri
msg.setName(value);
break;
case 5:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 7:
@ -3002,8 +3006,8 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serial
writer.writeString(3, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(5, f);
if (f !== 0.0) {
writer.writeDouble(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f != null) {
@ -3052,12 +3056,14 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.protot
};
/**
* optional uint32 amount = 5;
* optional double amount = 5;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)
);
};
/**
@ -3066,7 +3072,7 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.protot
*/
proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 5, value);
return jspb.Message.setProto3FloatField(this, 5, value);
};
/**

View File

@ -441,8 +441,8 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message {
getAccountNumber(): string;
setAccountNumber(value: string): void;
getAmount(): number;
setAmount(value: number): void;
getDouble(): number;
setDouble(value: number): void;
getPassword(): string;
setPassword(value: string): void;
@ -479,7 +479,7 @@ export namespace UpdateMemberBankWithdrawRequest {
bankName: string;
name: string;
accountNumber: string;
amount: number;
pb_double: number;
password: string;
memo: string;
};

View File

@ -675,7 +675,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankName: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
amount: jspb.Message.getFieldWithDefault(msg, 4, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
password: jspb.Message.getFieldWithDefault(msg, 5, ""),
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
};
@ -731,7 +731,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.dese
msg.setAccountNumber(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 5:
@ -787,8 +787,8 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.seri
writer.writeString(3, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(4, f);
if (f !== 0.0) {
writer.writeDouble(4, f);
}
f = message.getPassword();
if (f.length > 0) {
@ -861,12 +861,14 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prot
};
/**
* optional uint32 amount = 4;
* optional double amount = 4;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
);
};
/**
@ -875,7 +877,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prot
*/
proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 4, value);
return jspb.Message.setProto3FloatField(this, 4, value);
};
/**
@ -1560,7 +1562,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankNameLike: jspb.Message.getFieldWithDefault(msg, 2, ""),
nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
amount: jspb.Message.getFieldWithDefault(msg, 5, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
memoLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
state: jspb.Message.getFieldWithDefault(msg, 7, 0),
};
@ -1620,7 +1622,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc
msg.setAccountNumberLike(value);
break;
case 5:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 6:
@ -1684,7 +1686,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc
}
f = /** @type {number} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeUint32(5, f);
writer.writeDouble(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
@ -1852,12 +1854,14 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc
};
/**
* optional uint32 amount = 5;
* optional double amount = 5;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)
);
};
/**
@ -3087,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, ""),
amount: jspb.Message.getFieldWithDefault(msg, 5, 0),
pb_double: jspb.Message.getFieldWithDefault(msg, 5, 0),
password: jspb.Message.getFieldWithDefault(msg, 6, ""),
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
};
@ -3148,7 +3152,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese
break;
case 5:
var value = /** @type {number} */ (reader.readUint32());
msg.setAmount(value);
msg.setDouble(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
@ -3206,7 +3210,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.seri
if (f.length > 0) {
writer.writeString(4, f);
}
f = message.getAmount();
f = message.getDouble();
if (f !== 0) {
writer.writeUint32(5, f);
}
@ -3301,10 +3305,10 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prot
};
/**
* optional uint32 amount = 5;
* optional uint32 double = 5;
* @return {number}
*/
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount =
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getDouble =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
@ -3313,7 +3317,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prot
* @param {number} value
* @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAmount =
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setDouble =
function (value) {
return jspb.Message.setProto3IntField(this, 5, value);
};

View File

@ -84,8 +84,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
category: jspb.Message.getFieldWithDefault(msg, 6, ""),
maxBetCasino: jspb.Message.getFieldWithDefault(msg, 7, 0),
maxBetSlot: jspb.Message.getFieldWithDefault(msg, 8, 0),
maxBetCasino: jspb.Message.getFloatingPointFieldWithDefault(
msg,
7,
0.0
),
maxBetSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
isEnable: jspb.Message.getFieldWithDefault(msg, 9, ""),
betCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0),
@ -155,11 +159,11 @@ proto.bet.beteran.api.vendor.Vendor.deserializeBinaryFromReader = function (
msg.setCategory(value);
break;
case 7:
var value = /** @type {number} */ (reader.readUint64());
var value = /** @type {number} */ (reader.readDouble());
msg.setMaxBetCasino(value);
break;
case 8:
var value = /** @type {number} */ (reader.readUint64());
var value = /** @type {number} */ (reader.readDouble());
msg.setMaxBetSlot(value);
break;
case 9:
@ -233,12 +237,12 @@ proto.bet.beteran.api.vendor.Vendor.serializeBinaryToWriter = function (
writer.writeString(6, f);
}
f = message.getMaxBetCasino();
if (f !== 0) {
writer.writeUint64(7, f);
if (f !== 0.0) {
writer.writeDouble(7, f);
}
f = message.getMaxBetSlot();
if (f !== 0) {
writer.writeUint64(8, f);
if (f !== 0.0) {
writer.writeDouble(8, f);
}
f = message.getIsEnable();
if (f.length > 0) {
@ -355,11 +359,13 @@ proto.bet.beteran.api.vendor.Vendor.prototype.setCategory = function (value) {
};
/**
* optional uint64 max_bet_casino = 7;
* optional double max_bet_casino = 7;
* @return {number}
*/
proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetCasino = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)
);
};
/**
@ -369,15 +375,17 @@ proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetCasino = function () {
proto.bet.beteran.api.vendor.Vendor.prototype.setMaxBetCasino = function (
value
) {
return jspb.Message.setProto3IntField(this, 7, value);
return jspb.Message.setProto3FloatField(this, 7, value);
};
/**
* optional uint64 max_bet_slot = 8;
* optional double max_bet_slot = 8;
* @return {number}
*/
proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetSlot = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0)
);
};
/**
@ -385,7 +393,7 @@ proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetSlot = function () {
* @return {!proto.bet.beteran.api.vendor.Vendor} returns this
*/
proto.bet.beteran.api.vendor.Vendor.prototype.setMaxBetSlot = function (value) {
return jspb.Message.setProto3IntField(this, 8, value);
return jspb.Message.setProto3FloatField(this, 8, value);
};
/**

View File

@ -126,7 +126,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
amount: jspb.Message.getFieldWithDefault(msg, 4, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
@ -184,7 +184,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromRea
msg.setName(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 5:
@ -255,8 +255,8 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter
writer.writeString(3, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(4, f);
if (f !== 0.0) {
writer.writeDouble(4, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
@ -341,12 +341,14 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setName =
};
/**
* optional uint32 amount = 4;
* optional double amount = 4;
* @return {number}
*/
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
);
};
/**
@ -355,7 +357,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount =
*/
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 4, value);
return jspb.Message.setProto3FloatField(this, 4, value);
};
/**
@ -509,7 +511,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
(f = msg.getMember()) &&
models_member_pb.Member.toObject(includeInstance, f),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
amount: jspb.Message.getFieldWithDefault(msg, 4, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
@ -572,7 +574,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.deserializeBinaryFr
msg.setName(value);
break;
case 4:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 5:
@ -647,8 +649,8 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.serializeBinaryToWr
writer.writeString(3, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(4, f);
if (f !== 0.0) {
writer.writeDouble(4, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
@ -751,12 +753,14 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setName =
};
/**
* optional uint32 amount = 4;
* optional double amount = 4;
* @return {number}
*/
proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
);
};
/**
@ -765,7 +769,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getAmount
*/
proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 4, value);
return jspb.Message.setProto3FloatField(this, 4, value);
};
/**

View File

@ -128,7 +128,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
amount: jspb.Message.getFieldWithDefault(msg, 6, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
password: jspb.Message.getFieldWithDefault(msg, 7, ""),
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
@ -195,7 +195,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromR
msg.setAccountNumber(value);
break;
case 6:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 7:
@ -278,8 +278,8 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWrite
writer.writeString(5, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(6, f);
if (f !== 0.0) {
writer.writeDouble(6, f);
}
f = message.getPassword();
if (f.length > 0) {
@ -408,12 +408,14 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAccountNu
};
/**
* optional uint32 amount = 6;
* optional double amount = 6;
* @return {number}
*/
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)
);
};
/**
@ -422,7 +424,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount =
*/
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 6, value);
return jspb.Message.setProto3FloatField(this, 6, value);
};
/**
@ -604,7 +606,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
amount: jspb.Message.getFieldWithDefault(msg, 6, 0),
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
password: jspb.Message.getFieldWithDefault(msg, 7, ""),
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
@ -676,7 +678,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.deserializeBinary
msg.setAccountNumber(value);
break;
case 6:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readDouble());
msg.setAmount(value);
break;
case 7:
@ -763,8 +765,8 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.serializeBinaryTo
writer.writeString(5, f);
}
f = message.getAmount();
if (f !== 0) {
writer.writeUint32(6, f);
if (f !== 0.0) {
writer.writeDouble(6, f);
}
f = message.getPassword();
if (f.length > 0) {
@ -911,12 +913,14 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setAcco
};
/**
* optional uint32 amount = 6;
* optional double amount = 6;
* @return {number}
*/
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAmount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
return /** @type {number} */ (
jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)
);
};
/**
@ -925,7 +929,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAmou
*/
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setAmount =
function (value) {
return jspb.Message.setProto3IntField(this, 6, value);
return jspb.Message.setProto3FloatField(this, 6, value);
};
/**