protobuf-platform 1.1.52 → 1.1.54
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/bet/bet.proto +2 -0
- package/bet/bet_pb.js +97 -1
- package/bonus/bonus.proto +1 -0
- package/bonus/bonus_pb.js +31 -1
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
@@ -52,6 +52,8 @@ message DashboardResponse {
|
|
52
52
|
optional int32 bet_bonus_count = 21;
|
53
53
|
optional int32 win_real_count = 22;
|
54
54
|
optional int32 win_bonus_count = 23;
|
55
|
+
optional int32 bet_total_count = 24;
|
56
|
+
optional int32 win_total_count = 25;
|
55
57
|
}
|
56
58
|
//User info
|
57
59
|
message UserBetItem {
|
package/bet/bet_pb.js
CHANGED
@@ -1415,7 +1415,9 @@ proto.bet.DashboardResponse.toObject = function(includeInstance, msg) {
|
|
1415
1415
|
betRealCount: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
1416
1416
|
betBonusCount: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
1417
1417
|
winRealCount: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
1418
|
-
winBonusCount: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
1418
|
+
winBonusCount: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
1419
|
+
betTotalCount: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
1420
|
+
winTotalCount: jspb.Message.getFieldWithDefault(msg, 25, 0)
|
1419
1421
|
};
|
1420
1422
|
|
1421
1423
|
if (includeInstance) {
|
@@ -1548,6 +1550,14 @@ proto.bet.DashboardResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
1548
1550
|
var value = /** @type {number} */ (reader.readInt32());
|
1549
1551
|
msg.setWinBonusCount(value);
|
1550
1552
|
break;
|
1553
|
+
case 24:
|
1554
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1555
|
+
msg.setBetTotalCount(value);
|
1556
|
+
break;
|
1557
|
+
case 25:
|
1558
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1559
|
+
msg.setWinTotalCount(value);
|
1560
|
+
break;
|
1551
1561
|
default:
|
1552
1562
|
reader.skipField();
|
1553
1563
|
break;
|
@@ -1742,6 +1752,20 @@ proto.bet.DashboardResponse.serializeBinaryToWriter = function(message, writer)
|
|
1742
1752
|
f
|
1743
1753
|
);
|
1744
1754
|
}
|
1755
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 24));
|
1756
|
+
if (f != null) {
|
1757
|
+
writer.writeInt32(
|
1758
|
+
24,
|
1759
|
+
f
|
1760
|
+
);
|
1761
|
+
}
|
1762
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 25));
|
1763
|
+
if (f != null) {
|
1764
|
+
writer.writeInt32(
|
1765
|
+
25,
|
1766
|
+
f
|
1767
|
+
);
|
1768
|
+
}
|
1745
1769
|
};
|
1746
1770
|
|
1747
1771
|
|
@@ -2581,6 +2605,78 @@ proto.bet.DashboardResponse.prototype.hasWinBonusCount = function() {
|
|
2581
2605
|
};
|
2582
2606
|
|
2583
2607
|
|
2608
|
+
/**
|
2609
|
+
* optional int32 bet_total_count = 24;
|
2610
|
+
* @return {number}
|
2611
|
+
*/
|
2612
|
+
proto.bet.DashboardResponse.prototype.getBetTotalCount = function() {
|
2613
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
2614
|
+
};
|
2615
|
+
|
2616
|
+
|
2617
|
+
/**
|
2618
|
+
* @param {number} value
|
2619
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2620
|
+
*/
|
2621
|
+
proto.bet.DashboardResponse.prototype.setBetTotalCount = function(value) {
|
2622
|
+
return jspb.Message.setField(this, 24, value);
|
2623
|
+
};
|
2624
|
+
|
2625
|
+
|
2626
|
+
/**
|
2627
|
+
* Clears the field making it undefined.
|
2628
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2629
|
+
*/
|
2630
|
+
proto.bet.DashboardResponse.prototype.clearBetTotalCount = function() {
|
2631
|
+
return jspb.Message.setField(this, 24, undefined);
|
2632
|
+
};
|
2633
|
+
|
2634
|
+
|
2635
|
+
/**
|
2636
|
+
* Returns whether this field is set.
|
2637
|
+
* @return {boolean}
|
2638
|
+
*/
|
2639
|
+
proto.bet.DashboardResponse.prototype.hasBetTotalCount = function() {
|
2640
|
+
return jspb.Message.getField(this, 24) != null;
|
2641
|
+
};
|
2642
|
+
|
2643
|
+
|
2644
|
+
/**
|
2645
|
+
* optional int32 win_total_count = 25;
|
2646
|
+
* @return {number}
|
2647
|
+
*/
|
2648
|
+
proto.bet.DashboardResponse.prototype.getWinTotalCount = function() {
|
2649
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
2650
|
+
};
|
2651
|
+
|
2652
|
+
|
2653
|
+
/**
|
2654
|
+
* @param {number} value
|
2655
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2656
|
+
*/
|
2657
|
+
proto.bet.DashboardResponse.prototype.setWinTotalCount = function(value) {
|
2658
|
+
return jspb.Message.setField(this, 25, value);
|
2659
|
+
};
|
2660
|
+
|
2661
|
+
|
2662
|
+
/**
|
2663
|
+
* Clears the field making it undefined.
|
2664
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2665
|
+
*/
|
2666
|
+
proto.bet.DashboardResponse.prototype.clearWinTotalCount = function() {
|
2667
|
+
return jspb.Message.setField(this, 25, undefined);
|
2668
|
+
};
|
2669
|
+
|
2670
|
+
|
2671
|
+
/**
|
2672
|
+
* Returns whether this field is set.
|
2673
|
+
* @return {boolean}
|
2674
|
+
*/
|
2675
|
+
proto.bet.DashboardResponse.prototype.hasWinTotalCount = function() {
|
2676
|
+
return jspb.Message.getField(this, 25) != null;
|
2677
|
+
};
|
2678
|
+
|
2679
|
+
|
2584
2680
|
|
2585
2681
|
|
2586
2682
|
|
package/bonus/bonus.proto
CHANGED
package/bonus/bonus_pb.js
CHANGED
@@ -10382,7 +10382,8 @@ proto.bonus.DashboardResponse.prototype.toObject = function(opt_includeInstance)
|
|
10382
10382
|
proto.bonus.DashboardResponse.toObject = function(includeInstance, msg) {
|
10383
10383
|
var f, obj = {
|
10384
10384
|
freeSpinsTotal: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
10385
|
-
freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
10385
|
+
freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
10386
|
+
freeSpinsPlayedSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
10386
10387
|
};
|
10387
10388
|
|
10388
10389
|
if (includeInstance) {
|
@@ -10427,6 +10428,10 @@ proto.bonus.DashboardResponse.deserializeBinaryFromReader = function(msg, reader
|
|
10427
10428
|
var value = /** @type {number} */ (reader.readInt32());
|
10428
10429
|
msg.setFreeSpinsPlayed(value);
|
10429
10430
|
break;
|
10431
|
+
case 3:
|
10432
|
+
var value = /** @type {number} */ (reader.readFloat());
|
10433
|
+
msg.setFreeSpinsPlayedSum(value);
|
10434
|
+
break;
|
10430
10435
|
default:
|
10431
10436
|
reader.skipField();
|
10432
10437
|
break;
|
@@ -10470,6 +10475,13 @@ proto.bonus.DashboardResponse.serializeBinaryToWriter = function(message, writer
|
|
10470
10475
|
f
|
10471
10476
|
);
|
10472
10477
|
}
|
10478
|
+
f = message.getFreeSpinsPlayedSum();
|
10479
|
+
if (f !== 0.0) {
|
10480
|
+
writer.writeFloat(
|
10481
|
+
3,
|
10482
|
+
f
|
10483
|
+
);
|
10484
|
+
}
|
10473
10485
|
};
|
10474
10486
|
|
10475
10487
|
|
@@ -10509,4 +10521,22 @@ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayed = function(value) {
|
|
10509
10521
|
};
|
10510
10522
|
|
10511
10523
|
|
10524
|
+
/**
|
10525
|
+
* optional float free_spins_played_sum = 3;
|
10526
|
+
* @return {number}
|
10527
|
+
*/
|
10528
|
+
proto.bonus.DashboardResponse.prototype.getFreeSpinsPlayedSum = function() {
|
10529
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
10530
|
+
};
|
10531
|
+
|
10532
|
+
|
10533
|
+
/**
|
10534
|
+
* @param {number} value
|
10535
|
+
* @return {!proto.bonus.DashboardResponse} returns this
|
10536
|
+
*/
|
10537
|
+
proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayedSum = function(value) {
|
10538
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
10539
|
+
};
|
10540
|
+
|
10541
|
+
|
10512
10542
|
goog.object.extend(exports, proto.bonus);
|