protobuf-platform 1.0.149 → 1.0.150

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 CHANGED
@@ -438,6 +438,7 @@ message FreeSpinCampaignRequest {
438
438
  optional int32 bet_id = 10;
439
439
  optional float denomination = 11;
440
440
  optional int32 total_bet_id = 12;
441
+ optional float spin_amount = 13;
441
442
  }
442
443
  message FreeSpinStatusRequest {
443
444
  string free_spin_id = 1;
package/game/game_pb.js CHANGED
@@ -17900,7 +17900,8 @@ proto.game.FreeSpinCampaignRequest.toObject = function(includeInstance, msg) {
17900
17900
  freespinId: jspb.Message.getFieldWithDefault(msg, 9, ""),
17901
17901
  betId: jspb.Message.getFieldWithDefault(msg, 10, 0),
17902
17902
  denomination: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
17903
- totalBetId: jspb.Message.getFieldWithDefault(msg, 12, 0)
17903
+ totalBetId: jspb.Message.getFieldWithDefault(msg, 12, 0),
17904
+ spinAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0)
17904
17905
  };
17905
17906
 
17906
17907
  if (includeInstance) {
@@ -17985,6 +17986,10 @@ proto.game.FreeSpinCampaignRequest.deserializeBinaryFromReader = function(msg, r
17985
17986
  var value = /** @type {number} */ (reader.readInt32());
17986
17987
  msg.setTotalBetId(value);
17987
17988
  break;
17989
+ case 13:
17990
+ var value = /** @type {number} */ (reader.readFloat());
17991
+ msg.setSpinAmount(value);
17992
+ break;
17988
17993
  default:
17989
17994
  reader.skipField();
17990
17995
  break;
@@ -18098,6 +18103,13 @@ proto.game.FreeSpinCampaignRequest.serializeBinaryToWriter = function(message, w
18098
18103
  f
18099
18104
  );
18100
18105
  }
18106
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
18107
+ if (f != null) {
18108
+ writer.writeFloat(
18109
+ 13,
18110
+ f
18111
+ );
18112
+ }
18101
18113
  };
18102
18114
 
18103
18115
 
@@ -18407,6 +18419,42 @@ proto.game.FreeSpinCampaignRequest.prototype.hasTotalBetId = function() {
18407
18419
  };
18408
18420
 
18409
18421
 
18422
+ /**
18423
+ * optional float spin_amount = 13;
18424
+ * @return {number}
18425
+ */
18426
+ proto.game.FreeSpinCampaignRequest.prototype.getSpinAmount = function() {
18427
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
18428
+ };
18429
+
18430
+
18431
+ /**
18432
+ * @param {number} value
18433
+ * @return {!proto.game.FreeSpinCampaignRequest} returns this
18434
+ */
18435
+ proto.game.FreeSpinCampaignRequest.prototype.setSpinAmount = function(value) {
18436
+ return jspb.Message.setField(this, 13, value);
18437
+ };
18438
+
18439
+
18440
+ /**
18441
+ * Clears the field making it undefined.
18442
+ * @return {!proto.game.FreeSpinCampaignRequest} returns this
18443
+ */
18444
+ proto.game.FreeSpinCampaignRequest.prototype.clearSpinAmount = function() {
18445
+ return jspb.Message.setField(this, 13, undefined);
18446
+ };
18447
+
18448
+
18449
+ /**
18450
+ * Returns whether this field is set.
18451
+ * @return {boolean}
18452
+ */
18453
+ proto.game.FreeSpinCampaignRequest.prototype.hasSpinAmount = function() {
18454
+ return jspb.Message.getField(this, 13) != null;
18455
+ };
18456
+
18457
+
18410
18458
 
18411
18459
 
18412
18460
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {