protobuf-platform 1.0.155 → 1.0.156
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/game/game.proto +1 -1
- package/game/game_pb.js +8 -8
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -477,7 +477,7 @@ message WagerListRequest {
|
|
477
477
|
optional int32 id = 1;
|
478
478
|
optional string title = 2;
|
479
479
|
optional string description = 3;
|
480
|
-
optional
|
480
|
+
optional int32 is_active = 4;
|
481
481
|
optional float contribution = 5;
|
482
482
|
}
|
483
483
|
message WagerListGamesRequest {
|
package/game/game_pb.js
CHANGED
@@ -19523,7 +19523,7 @@ proto.game.WagerListRequest.toObject = function(includeInstance, msg) {
|
|
19523
19523
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
19524
19524
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
19525
19525
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
19526
|
-
isActive: jspb.Message.
|
19526
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
19527
19527
|
contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
19528
19528
|
};
|
19529
19529
|
|
@@ -19574,7 +19574,7 @@ proto.game.WagerListRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
19574
19574
|
msg.setDescription(value);
|
19575
19575
|
break;
|
19576
19576
|
case 4:
|
19577
|
-
var value = /** @type {
|
19577
|
+
var value = /** @type {number} */ (reader.readInt32());
|
19578
19578
|
msg.setIsActive(value);
|
19579
19579
|
break;
|
19580
19580
|
case 5:
|
@@ -19631,9 +19631,9 @@ proto.game.WagerListRequest.serializeBinaryToWriter = function(message, writer)
|
|
19631
19631
|
f
|
19632
19632
|
);
|
19633
19633
|
}
|
19634
|
-
f = /** @type {
|
19634
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
19635
19635
|
if (f != null) {
|
19636
|
-
writer.
|
19636
|
+
writer.writeInt32(
|
19637
19637
|
4,
|
19638
19638
|
f
|
19639
19639
|
);
|
@@ -19757,16 +19757,16 @@ proto.game.WagerListRequest.prototype.hasDescription = function() {
|
|
19757
19757
|
|
19758
19758
|
|
19759
19759
|
/**
|
19760
|
-
* optional
|
19761
|
-
* @return {
|
19760
|
+
* optional int32 is_active = 4;
|
19761
|
+
* @return {number}
|
19762
19762
|
*/
|
19763
19763
|
proto.game.WagerListRequest.prototype.getIsActive = function() {
|
19764
|
-
return /** @type {
|
19764
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
19765
19765
|
};
|
19766
19766
|
|
19767
19767
|
|
19768
19768
|
/**
|
19769
|
-
* @param {
|
19769
|
+
* @param {number} value
|
19770
19770
|
* @return {!proto.game.WagerListRequest} returns this
|
19771
19771
|
*/
|
19772
19772
|
proto.game.WagerListRequest.prototype.setIsActive = function(value) {
|