protobuf-platform 1.1.52 → 1.1.53

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 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.52",
3
+ "version": "1.1.53",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {