protobuf-platform 1.1.50 → 1.1.51

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
@@ -48,6 +48,10 @@ message DashboardResponse {
48
48
  repeated DashboardGameInfo top_games_count_bet_bonus = 17;
49
49
  repeated DashboardGameInfo top_games_sum_bet_real = 18;
50
50
  repeated DashboardGameInfo top_games_sum_bet_bonus = 19;
51
+ optional int32 bet_real_count = 20;
52
+ optional int32 bet_bonus_count = 21;
53
+ optional int32 win_real_count = 22;
54
+ optional int32 win_bonus_count = 23;
51
55
  }
52
56
  //User info
53
57
  message UserBetItem {
package/bet/bet_pb.js CHANGED
@@ -1411,7 +1411,11 @@ proto.bet.DashboardResponse.toObject = function(includeInstance, msg) {
1411
1411
  topGamesSumBetRealList: jspb.Message.toObjectList(msg.getTopGamesSumBetRealList(),
1412
1412
  proto.bet.DashboardGameInfo.toObject, includeInstance),
1413
1413
  topGamesSumBetBonusList: jspb.Message.toObjectList(msg.getTopGamesSumBetBonusList(),
1414
- proto.bet.DashboardGameInfo.toObject, includeInstance)
1414
+ proto.bet.DashboardGameInfo.toObject, includeInstance),
1415
+ betRealCount: jspb.Message.getFieldWithDefault(msg, 20, 0),
1416
+ betBonusCount: jspb.Message.getFieldWithDefault(msg, 21, 0),
1417
+ winRealCount: jspb.Message.getFieldWithDefault(msg, 22, 0),
1418
+ winBonusCount: jspb.Message.getFieldWithDefault(msg, 23, 0)
1415
1419
  };
1416
1420
 
1417
1421
  if (includeInstance) {
@@ -1528,6 +1532,22 @@ proto.bet.DashboardResponse.deserializeBinaryFromReader = function(msg, reader)
1528
1532
  reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
1529
1533
  msg.addTopGamesSumBetBonus(value);
1530
1534
  break;
1535
+ case 20:
1536
+ var value = /** @type {number} */ (reader.readInt32());
1537
+ msg.setBetRealCount(value);
1538
+ break;
1539
+ case 21:
1540
+ var value = /** @type {number} */ (reader.readInt32());
1541
+ msg.setBetBonusCount(value);
1542
+ break;
1543
+ case 22:
1544
+ var value = /** @type {number} */ (reader.readInt32());
1545
+ msg.setWinRealCount(value);
1546
+ break;
1547
+ case 23:
1548
+ var value = /** @type {number} */ (reader.readInt32());
1549
+ msg.setWinBonusCount(value);
1550
+ break;
1531
1551
  default:
1532
1552
  reader.skipField();
1533
1553
  break;
@@ -1694,6 +1714,34 @@ proto.bet.DashboardResponse.serializeBinaryToWriter = function(message, writer)
1694
1714
  proto.bet.DashboardGameInfo.serializeBinaryToWriter
1695
1715
  );
1696
1716
  }
1717
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
1718
+ if (f != null) {
1719
+ writer.writeInt32(
1720
+ 20,
1721
+ f
1722
+ );
1723
+ }
1724
+ f = /** @type {number} */ (jspb.Message.getField(message, 21));
1725
+ if (f != null) {
1726
+ writer.writeInt32(
1727
+ 21,
1728
+ f
1729
+ );
1730
+ }
1731
+ f = /** @type {number} */ (jspb.Message.getField(message, 22));
1732
+ if (f != null) {
1733
+ writer.writeInt32(
1734
+ 22,
1735
+ f
1736
+ );
1737
+ }
1738
+ f = /** @type {number} */ (jspb.Message.getField(message, 23));
1739
+ if (f != null) {
1740
+ writer.writeInt32(
1741
+ 23,
1742
+ f
1743
+ );
1744
+ }
1697
1745
  };
1698
1746
 
1699
1747
 
@@ -2389,6 +2437,150 @@ proto.bet.DashboardResponse.prototype.clearTopGamesSumBetBonusList = function()
2389
2437
  };
2390
2438
 
2391
2439
 
2440
+ /**
2441
+ * optional int32 bet_real_count = 20;
2442
+ * @return {number}
2443
+ */
2444
+ proto.bet.DashboardResponse.prototype.getBetRealCount = function() {
2445
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
2446
+ };
2447
+
2448
+
2449
+ /**
2450
+ * @param {number} value
2451
+ * @return {!proto.bet.DashboardResponse} returns this
2452
+ */
2453
+ proto.bet.DashboardResponse.prototype.setBetRealCount = function(value) {
2454
+ return jspb.Message.setField(this, 20, value);
2455
+ };
2456
+
2457
+
2458
+ /**
2459
+ * Clears the field making it undefined.
2460
+ * @return {!proto.bet.DashboardResponse} returns this
2461
+ */
2462
+ proto.bet.DashboardResponse.prototype.clearBetRealCount = function() {
2463
+ return jspb.Message.setField(this, 20, undefined);
2464
+ };
2465
+
2466
+
2467
+ /**
2468
+ * Returns whether this field is set.
2469
+ * @return {boolean}
2470
+ */
2471
+ proto.bet.DashboardResponse.prototype.hasBetRealCount = function() {
2472
+ return jspb.Message.getField(this, 20) != null;
2473
+ };
2474
+
2475
+
2476
+ /**
2477
+ * optional int32 bet_bonus_count = 21;
2478
+ * @return {number}
2479
+ */
2480
+ proto.bet.DashboardResponse.prototype.getBetBonusCount = function() {
2481
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
2482
+ };
2483
+
2484
+
2485
+ /**
2486
+ * @param {number} value
2487
+ * @return {!proto.bet.DashboardResponse} returns this
2488
+ */
2489
+ proto.bet.DashboardResponse.prototype.setBetBonusCount = function(value) {
2490
+ return jspb.Message.setField(this, 21, value);
2491
+ };
2492
+
2493
+
2494
+ /**
2495
+ * Clears the field making it undefined.
2496
+ * @return {!proto.bet.DashboardResponse} returns this
2497
+ */
2498
+ proto.bet.DashboardResponse.prototype.clearBetBonusCount = function() {
2499
+ return jspb.Message.setField(this, 21, undefined);
2500
+ };
2501
+
2502
+
2503
+ /**
2504
+ * Returns whether this field is set.
2505
+ * @return {boolean}
2506
+ */
2507
+ proto.bet.DashboardResponse.prototype.hasBetBonusCount = function() {
2508
+ return jspb.Message.getField(this, 21) != null;
2509
+ };
2510
+
2511
+
2512
+ /**
2513
+ * optional int32 win_real_count = 22;
2514
+ * @return {number}
2515
+ */
2516
+ proto.bet.DashboardResponse.prototype.getWinRealCount = function() {
2517
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
2518
+ };
2519
+
2520
+
2521
+ /**
2522
+ * @param {number} value
2523
+ * @return {!proto.bet.DashboardResponse} returns this
2524
+ */
2525
+ proto.bet.DashboardResponse.prototype.setWinRealCount = function(value) {
2526
+ return jspb.Message.setField(this, 22, value);
2527
+ };
2528
+
2529
+
2530
+ /**
2531
+ * Clears the field making it undefined.
2532
+ * @return {!proto.bet.DashboardResponse} returns this
2533
+ */
2534
+ proto.bet.DashboardResponse.prototype.clearWinRealCount = function() {
2535
+ return jspb.Message.setField(this, 22, undefined);
2536
+ };
2537
+
2538
+
2539
+ /**
2540
+ * Returns whether this field is set.
2541
+ * @return {boolean}
2542
+ */
2543
+ proto.bet.DashboardResponse.prototype.hasWinRealCount = function() {
2544
+ return jspb.Message.getField(this, 22) != null;
2545
+ };
2546
+
2547
+
2548
+ /**
2549
+ * optional int32 win_bonus_count = 23;
2550
+ * @return {number}
2551
+ */
2552
+ proto.bet.DashboardResponse.prototype.getWinBonusCount = function() {
2553
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
2554
+ };
2555
+
2556
+
2557
+ /**
2558
+ * @param {number} value
2559
+ * @return {!proto.bet.DashboardResponse} returns this
2560
+ */
2561
+ proto.bet.DashboardResponse.prototype.setWinBonusCount = function(value) {
2562
+ return jspb.Message.setField(this, 23, value);
2563
+ };
2564
+
2565
+
2566
+ /**
2567
+ * Clears the field making it undefined.
2568
+ * @return {!proto.bet.DashboardResponse} returns this
2569
+ */
2570
+ proto.bet.DashboardResponse.prototype.clearWinBonusCount = function() {
2571
+ return jspb.Message.setField(this, 23, undefined);
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * Returns whether this field is set.
2577
+ * @return {boolean}
2578
+ */
2579
+ proto.bet.DashboardResponse.prototype.hasWinBonusCount = function() {
2580
+ return jspb.Message.getField(this, 23) != null;
2581
+ };
2582
+
2583
+
2392
2584
 
2393
2585
 
2394
2586
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.50",
3
+ "version": "1.1.51",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {