data type of money is changed
This commit is contained in:
parent
950f0b5835
commit
8bfc595d63
|
@ -1655,7 +1655,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
var f,
|
var f,
|
||||||
obj = {
|
obj = {
|
||||||
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
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, ""),
|
url: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1701,7 +1701,7 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.deserializeBinaryFromR
|
||||||
msg.setUserId(value);
|
msg.setUserId(value);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
var value = /** @type {number} */ (reader.readUint64());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setBalance(value);
|
msg.setBalance(value);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
|
@ -1745,8 +1745,8 @@ proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.serializeBinaryToWrite
|
||||||
writer.writeUint64(1, f);
|
writer.writeUint64(1, f);
|
||||||
}
|
}
|
||||||
f = message.getBalance();
|
f = message.getBalance();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint64(2, f);
|
writer.writeDouble(2, f);
|
||||||
}
|
}
|
||||||
f = message.getUrl();
|
f = message.getUrl();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getBalance =
|
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getBalance =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setBalance =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 2, value);
|
return jspb.Message.setProto3FloatField(this, 2, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -673,7 +673,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
var f,
|
var f,
|
||||||
obj = {
|
obj = {
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
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, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -720,7 +720,7 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deseri
|
||||||
msg.setName(value);
|
msg.setName(value);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
|
@ -764,8 +764,8 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serial
|
||||||
writer.writeString(1, f);
|
writer.writeString(1, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(2, f);
|
writer.writeDouble(2, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setAmount =
|
||||||
function (value) {
|
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 = {
|
obj = {
|
||||||
memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
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, ""),
|
memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||||
};
|
};
|
||||||
|
@ -1523,7 +1525,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.
|
||||||
msg.setNameLike(value);
|
msg.setNameLike(value);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
@ -1579,7 +1581,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.
|
||||||
}
|
}
|
||||||
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeUint32(3, f);
|
writer.writeDouble(3, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount =
|
||||||
function () {
|
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 = {
|
obj = {
|
||||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
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, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2954,7 +2958,7 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deseri
|
||||||
msg.setName(value);
|
msg.setName(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
|
@ -3002,8 +3006,8 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serial
|
||||||
writer.writeString(3, f);
|
writer.writeString(3, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(5, f);
|
writer.writeDouble(5, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setAmount =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 5, value);
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -441,8 +441,8 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message {
|
||||||
getAccountNumber(): string;
|
getAccountNumber(): string;
|
||||||
setAccountNumber(value: string): void;
|
setAccountNumber(value: string): void;
|
||||||
|
|
||||||
getAmount(): number;
|
getDouble(): number;
|
||||||
setAmount(value: number): void;
|
setDouble(value: number): void;
|
||||||
|
|
||||||
getPassword(): string;
|
getPassword(): string;
|
||||||
setPassword(value: string): void;
|
setPassword(value: string): void;
|
||||||
|
@ -479,7 +479,7 @@ export namespace UpdateMemberBankWithdrawRequest {
|
||||||
bankName: string;
|
bankName: string;
|
||||||
name: string;
|
name: string;
|
||||||
accountNumber: string;
|
accountNumber: string;
|
||||||
amount: number;
|
pb_double: number;
|
||||||
password: string;
|
password: string;
|
||||||
memo: string;
|
memo: string;
|
||||||
};
|
};
|
||||||
|
|
|
@ -675,7 +675,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
bankName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
bankName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
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, ""),
|
password: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||||
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||||
};
|
};
|
||||||
|
@ -731,7 +731,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.dese
|
||||||
msg.setAccountNumber(value);
|
msg.setAccountNumber(value);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
@ -787,8 +787,8 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.seri
|
||||||
writer.writeString(3, f);
|
writer.writeString(3, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(4, f);
|
writer.writeDouble(4, f);
|
||||||
}
|
}
|
||||||
f = message.getPassword();
|
f = message.getPassword();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAmount =
|
||||||
function (value) {
|
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, ""),
|
bankNameLike: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
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, ""),
|
memoLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||||
};
|
};
|
||||||
|
@ -1620,7 +1622,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc
|
||||||
msg.setAccountNumberLike(value);
|
msg.setAccountNumberLike(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
|
@ -1684,7 +1686,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc
|
||||||
}
|
}
|
||||||
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
writer.writeUint32(5, f);
|
writer.writeDouble(5, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAmount =
|
||||||
function () {
|
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, ""),
|
bankName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
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, ""),
|
password: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||||
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
};
|
};
|
||||||
|
@ -3148,7 +3152,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readUint32());
|
||||||
msg.setAmount(value);
|
msg.setDouble(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
var value = /** @type {string} */ (reader.readString());
|
var value = /** @type {string} */ (reader.readString());
|
||||||
|
@ -3206,7 +3210,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.seri
|
||||||
if (f.length > 0) {
|
if (f.length > 0) {
|
||||||
writer.writeString(4, f);
|
writer.writeString(4, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getDouble();
|
||||||
if (f !== 0) {
|
if (f !== 0) {
|
||||||
writer.writeUint32(5, f);
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount =
|
proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getDouble =
|
||||||
function () {
|
function () {
|
||||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
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
|
* @param {number} value
|
||||||
* @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this
|
* @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) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 5, value);
|
return jspb.Message.setProto3IntField(this, 5, value);
|
||||||
};
|
};
|
||||||
|
|
|
@ -84,8 +84,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||||
category: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
category: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||||
maxBetCasino: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
maxBetCasino: jspb.Message.getFloatingPointFieldWithDefault(
|
||||||
maxBetSlot: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
msg,
|
||||||
|
7,
|
||||||
|
0.0
|
||||||
|
),
|
||||||
|
maxBetSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
||||||
isEnable: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
isEnable: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
||||||
betCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
betCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
||||||
createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
||||||
|
@ -155,11 +159,11 @@ proto.bet.beteran.api.vendor.Vendor.deserializeBinaryFromReader = function (
|
||||||
msg.setCategory(value);
|
msg.setCategory(value);
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
var value = /** @type {number} */ (reader.readUint64());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setMaxBetCasino(value);
|
msg.setMaxBetCasino(value);
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
var value = /** @type {number} */ (reader.readUint64());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setMaxBetSlot(value);
|
msg.setMaxBetSlot(value);
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
|
@ -233,12 +237,12 @@ proto.bet.beteran.api.vendor.Vendor.serializeBinaryToWriter = function (
|
||||||
writer.writeString(6, f);
|
writer.writeString(6, f);
|
||||||
}
|
}
|
||||||
f = message.getMaxBetCasino();
|
f = message.getMaxBetCasino();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint64(7, f);
|
writer.writeDouble(7, f);
|
||||||
}
|
}
|
||||||
f = message.getMaxBetSlot();
|
f = message.getMaxBetSlot();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint64(8, f);
|
writer.writeDouble(8, f);
|
||||||
}
|
}
|
||||||
f = message.getIsEnable();
|
f = message.getIsEnable();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetCasino = function () {
|
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 (
|
proto.bet.beteran.api.vendor.Vendor.prototype.setMaxBetCasino = function (
|
||||||
value
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.api.vendor.Vendor.prototype.getMaxBetSlot = function () {
|
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
|
* @return {!proto.bet.beteran.api.vendor.Vendor} returns this
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.api.vendor.Vendor.prototype.setMaxBetSlot = function (value) {
|
proto.bet.beteran.api.vendor.Vendor.prototype.setMaxBetSlot = function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 8, value);
|
return jspb.Message.setProto3FloatField(this, 8, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -126,7 +126,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||||
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
memberId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
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, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||||
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||||
|
@ -184,7 +184,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromRea
|
||||||
msg.setName(value);
|
msg.setName(value);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
@ -255,8 +255,8 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter
|
||||||
writer.writeString(3, f);
|
writer.writeString(3, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(4, f);
|
writer.writeDouble(4, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount =
|
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setAmount =
|
||||||
function (value) {
|
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()) &&
|
(f = msg.getMember()) &&
|
||||||
models_member_pb.Member.toObject(includeInstance, f),
|
models_member_pb.Member.toObject(includeInstance, f),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
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, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||||
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||||
|
@ -572,7 +574,7 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.deserializeBinaryFr
|
||||||
msg.setName(value);
|
msg.setName(value);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
@ -647,8 +649,8 @@ proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.serializeBinaryToWr
|
||||||
writer.writeString(3, f);
|
writer.writeString(3, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(4, f);
|
writer.writeDouble(4, f);
|
||||||
}
|
}
|
||||||
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
||||||
if (f != null) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getAmount =
|
proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setAmount =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 4, value);
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -128,7 +128,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||||
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
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, ""),
|
password: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
||||||
|
@ -195,7 +195,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromR
|
||||||
msg.setAccountNumber(value);
|
msg.setAccountNumber(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
|
@ -278,8 +278,8 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWrite
|
||||||
writer.writeString(5, f);
|
writer.writeString(5, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(6, f);
|
writer.writeDouble(6, f);
|
||||||
}
|
}
|
||||||
f = message.getPassword();
|
f = message.getPassword();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount =
|
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAmount =
|
||||||
function (value) {
|
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, ""),
|
bankName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||||
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
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, ""),
|
password: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||||
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
memo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||||
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
state: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
||||||
|
@ -676,7 +678,7 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.deserializeBinary
|
||||||
msg.setAccountNumber(value);
|
msg.setAccountNumber(value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
var value = /** @type {number} */ (reader.readUint32());
|
var value = /** @type {number} */ (reader.readDouble());
|
||||||
msg.setAmount(value);
|
msg.setAmount(value);
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
|
@ -763,8 +765,8 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.serializeBinaryTo
|
||||||
writer.writeString(5, f);
|
writer.writeString(5, f);
|
||||||
}
|
}
|
||||||
f = message.getAmount();
|
f = message.getAmount();
|
||||||
if (f !== 0) {
|
if (f !== 0.0) {
|
||||||
writer.writeUint32(6, f);
|
writer.writeDouble(6, f);
|
||||||
}
|
}
|
||||||
f = message.getPassword();
|
f = message.getPassword();
|
||||||
if (f.length > 0) {
|
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}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAmount =
|
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAmount =
|
||||||
function () {
|
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 =
|
proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setAmount =
|
||||||
function (value) {
|
function (value) {
|
||||||
return jspb.Message.setProto3IntField(this, 6, value);
|
return jspb.Message.setProto3FloatField(this, 6, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user