protobuf-platform 1.0.166 → 1.0.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bonus/bonus.proto +1 -0
- package/bonus/bonus_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
package/bonus/bonus_pb.js
CHANGED
@@ -5185,7 +5185,8 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
|
|
5185
5185
|
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
5186
5186
|
hasFreeSpins: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
5187
5187
|
statusFreeSpins: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
5188
|
-
rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0)
|
5188
|
+
rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
|
5189
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0)
|
5189
5190
|
};
|
5190
5191
|
|
5191
5192
|
if (includeInstance) {
|
@@ -5320,6 +5321,10 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5320
5321
|
var value = /** @type {number} */ (reader.readFloat());
|
5321
5322
|
msg.setRewardFreeSpins(value);
|
5322
5323
|
break;
|
5324
|
+
case 25:
|
5325
|
+
var value = /** @type {number} */ (reader.readFloat());
|
5326
|
+
msg.setCancellationAmount(value);
|
5327
|
+
break;
|
5323
5328
|
default:
|
5324
5329
|
reader.skipField();
|
5325
5330
|
break;
|
@@ -5519,6 +5524,13 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5519
5524
|
f
|
5520
5525
|
);
|
5521
5526
|
}
|
5527
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 25));
|
5528
|
+
if (f != null) {
|
5529
|
+
writer.writeFloat(
|
5530
|
+
25,
|
5531
|
+
f
|
5532
|
+
);
|
5533
|
+
}
|
5522
5534
|
};
|
5523
5535
|
|
5524
5536
|
|
@@ -6389,6 +6401,42 @@ proto.bonus.UserBonusItem.prototype.hasRewardFreeSpins = function() {
|
|
6389
6401
|
};
|
6390
6402
|
|
6391
6403
|
|
6404
|
+
/**
|
6405
|
+
* optional float cancellation_amount = 25;
|
6406
|
+
* @return {number}
|
6407
|
+
*/
|
6408
|
+
proto.bonus.UserBonusItem.prototype.getCancellationAmount = function() {
|
6409
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
6410
|
+
};
|
6411
|
+
|
6412
|
+
|
6413
|
+
/**
|
6414
|
+
* @param {number} value
|
6415
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6416
|
+
*/
|
6417
|
+
proto.bonus.UserBonusItem.prototype.setCancellationAmount = function(value) {
|
6418
|
+
return jspb.Message.setField(this, 25, value);
|
6419
|
+
};
|
6420
|
+
|
6421
|
+
|
6422
|
+
/**
|
6423
|
+
* Clears the field making it undefined.
|
6424
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6425
|
+
*/
|
6426
|
+
proto.bonus.UserBonusItem.prototype.clearCancellationAmount = function() {
|
6427
|
+
return jspb.Message.setField(this, 25, undefined);
|
6428
|
+
};
|
6429
|
+
|
6430
|
+
|
6431
|
+
/**
|
6432
|
+
* Returns whether this field is set.
|
6433
|
+
* @return {boolean}
|
6434
|
+
*/
|
6435
|
+
proto.bonus.UserBonusItem.prototype.hasCancellationAmount = function() {
|
6436
|
+
return jspb.Message.getField(this, 25) != null;
|
6437
|
+
};
|
6438
|
+
|
6439
|
+
|
6392
6440
|
|
6393
6441
|
|
6394
6442
|
|