protobuf-platform 1.2.472 → 1.2.474

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
@@ -760,6 +760,8 @@ message ActiveWageringUserBonus {
760
760
  int64 wagering_end_in_milliseconds = 7;
761
761
  repeated string wager_balances = 8;
762
762
  int32 wager_games_list_id = 9;
763
+ // Business-allowed: "any" | "real" | "bonus"
764
+ optional string wager_balance_priority = 10;
763
765
  }
764
766
  message GameConfigCheckResponse {
765
767
  int32 game_id = 1;
package/game/game_pb.js CHANGED
@@ -31962,7 +31962,8 @@ proto.game.ActiveWageringUserBonus.toObject = function(includeInstance, msg) {
31962
31962
  totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
31963
31963
  wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
31964
31964
  wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
31965
- wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
31965
+ wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
31966
+ wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
31966
31967
  };
31967
31968
 
31968
31969
  if (includeInstance) {
@@ -32035,6 +32036,10 @@ proto.game.ActiveWageringUserBonus.deserializeBinaryFromReader = function(msg, r
32035
32036
  var value = /** @type {number} */ (reader.readInt32());
32036
32037
  msg.setWagerGamesListId(value);
32037
32038
  break;
32039
+ case 10:
32040
+ var value = /** @type {string} */ (reader.readString());
32041
+ msg.setWagerBalancePriority(value);
32042
+ break;
32038
32043
  default:
32039
32044
  reader.skipField();
32040
32045
  break;
@@ -32127,6 +32132,13 @@ proto.game.ActiveWageringUserBonus.serializeBinaryToWriter = function(message, w
32127
32132
  f
32128
32133
  );
32129
32134
  }
32135
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
32136
+ if (f != null) {
32137
+ writer.writeString(
32138
+ 10,
32139
+ f
32140
+ );
32141
+ }
32130
32142
  };
32131
32143
 
32132
32144
 
@@ -32311,6 +32323,42 @@ proto.game.ActiveWageringUserBonus.prototype.setWagerGamesListId = function(valu
32311
32323
  };
32312
32324
 
32313
32325
 
32326
+ /**
32327
+ * optional string wager_balance_priority = 10;
32328
+ * @return {string}
32329
+ */
32330
+ proto.game.ActiveWageringUserBonus.prototype.getWagerBalancePriority = function() {
32331
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
32332
+ };
32333
+
32334
+
32335
+ /**
32336
+ * @param {string} value
32337
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
32338
+ */
32339
+ proto.game.ActiveWageringUserBonus.prototype.setWagerBalancePriority = function(value) {
32340
+ return jspb.Message.setField(this, 10, value);
32341
+ };
32342
+
32343
+
32344
+ /**
32345
+ * Clears the field making it undefined.
32346
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
32347
+ */
32348
+ proto.game.ActiveWageringUserBonus.prototype.clearWagerBalancePriority = function() {
32349
+ return jspb.Message.setField(this, 10, undefined);
32350
+ };
32351
+
32352
+
32353
+ /**
32354
+ * Returns whether this field is set.
32355
+ * @return {boolean}
32356
+ */
32357
+ proto.game.ActiveWageringUserBonus.prototype.hasWagerBalancePriority = function() {
32358
+ return jspb.Message.getField(this, 10) != null;
32359
+ };
32360
+
32361
+
32314
32362
 
32315
32363
  /**
32316
32364
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.472",
3
+ "version": "1.2.474",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {