protobuf-platform 1.1.49 → 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 +4 -0
- package/bet/bet_pb.js +193 -1
- package/game/game.proto +1 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
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/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -3663,7 +3663,8 @@ proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
|
|
3663
3663
|
gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3664
3664
|
wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
3665
3665
|
geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
3666
|
-
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
3666
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
3667
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
3667
3668
|
};
|
3668
3669
|
|
3669
3670
|
if (includeInstance) {
|
@@ -3722,6 +3723,10 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
|
|
3722
3723
|
var value = /** @type {boolean} */ (reader.readBool());
|
3723
3724
|
msg.setIsMobile(value);
|
3724
3725
|
break;
|
3726
|
+
case 6:
|
3727
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
3728
|
+
msg.setAdminSide(value);
|
3729
|
+
break;
|
3725
3730
|
default:
|
3726
3731
|
reader.skipField();
|
3727
3732
|
break;
|
@@ -3786,6 +3791,13 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
|
|
3786
3791
|
f
|
3787
3792
|
);
|
3788
3793
|
}
|
3794
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
3795
|
+
if (f != null) {
|
3796
|
+
writer.writeBool(
|
3797
|
+
6,
|
3798
|
+
f
|
3799
|
+
);
|
3800
|
+
}
|
3789
3801
|
};
|
3790
3802
|
|
3791
3803
|
|
@@ -3970,6 +3982,42 @@ proto.game.WagerSearchRequest.prototype.hasIsMobile = function() {
|
|
3970
3982
|
};
|
3971
3983
|
|
3972
3984
|
|
3985
|
+
/**
|
3986
|
+
* optional bool admin_side = 6;
|
3987
|
+
* @return {boolean}
|
3988
|
+
*/
|
3989
|
+
proto.game.WagerSearchRequest.prototype.getAdminSide = function() {
|
3990
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
3991
|
+
};
|
3992
|
+
|
3993
|
+
|
3994
|
+
/**
|
3995
|
+
* @param {boolean} value
|
3996
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3997
|
+
*/
|
3998
|
+
proto.game.WagerSearchRequest.prototype.setAdminSide = function(value) {
|
3999
|
+
return jspb.Message.setField(this, 6, value);
|
4000
|
+
};
|
4001
|
+
|
4002
|
+
|
4003
|
+
/**
|
4004
|
+
* Clears the field making it undefined.
|
4005
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
4006
|
+
*/
|
4007
|
+
proto.game.WagerSearchRequest.prototype.clearAdminSide = function() {
|
4008
|
+
return jspb.Message.setField(this, 6, undefined);
|
4009
|
+
};
|
4010
|
+
|
4011
|
+
|
4012
|
+
/**
|
4013
|
+
* Returns whether this field is set.
|
4014
|
+
* @return {boolean}
|
4015
|
+
*/
|
4016
|
+
proto.game.WagerSearchRequest.prototype.hasAdminSide = function() {
|
4017
|
+
return jspb.Message.getField(this, 6) != null;
|
4018
|
+
};
|
4019
|
+
|
4020
|
+
|
3973
4021
|
|
3974
4022
|
/**
|
3975
4023
|
* List of repeated fields within this message type.
|