protobuf-platform 1.2.395 → 1.2.396

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
@@ -755,6 +755,7 @@ message GameConfigCheckResponse {
755
755
  bool has_lobby = 8;
756
756
  repeated ActiveWageringUserBonus bonuses = 9;
757
757
  repeated ActiveUserTournament tournaments = 10;
758
+ optional bool has_demo = 11;
758
759
  }
759
760
  message InitGameSessionResponse {
760
761
  string game_url = 1;
package/game/game_pb.js CHANGED
@@ -31671,7 +31671,8 @@ proto.game.GameConfigCheckResponse.toObject = function(includeInstance, msg) {
31671
31671
  bonusesList: jspb.Message.toObjectList(msg.getBonusesList(),
31672
31672
  proto.game.ActiveWageringUserBonus.toObject, includeInstance),
31673
31673
  tournamentsList: jspb.Message.toObjectList(msg.getTournamentsList(),
31674
- proto.game.ActiveUserTournament.toObject, includeInstance)
31674
+ proto.game.ActiveUserTournament.toObject, includeInstance),
31675
+ hasDemo: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
31675
31676
  };
31676
31677
 
31677
31678
  if (includeInstance) {
@@ -31750,6 +31751,10 @@ proto.game.GameConfigCheckResponse.deserializeBinaryFromReader = function(msg, r
31750
31751
  reader.readMessage(value,proto.game.ActiveUserTournament.deserializeBinaryFromReader);
31751
31752
  msg.addTournaments(value);
31752
31753
  break;
31754
+ case 11:
31755
+ var value = /** @type {boolean} */ (reader.readBool());
31756
+ msg.setHasDemo(value);
31757
+ break;
31753
31758
  default:
31754
31759
  reader.skipField();
31755
31760
  break;
@@ -31851,6 +31856,13 @@ proto.game.GameConfigCheckResponse.serializeBinaryToWriter = function(message, w
31851
31856
  proto.game.ActiveUserTournament.serializeBinaryToWriter
31852
31857
  );
31853
31858
  }
31859
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
31860
+ if (f != null) {
31861
+ writer.writeBool(
31862
+ 11,
31863
+ f
31864
+ );
31865
+ }
31854
31866
  };
31855
31867
 
31856
31868
 
@@ -32074,6 +32086,42 @@ proto.game.GameConfigCheckResponse.prototype.clearTournamentsList = function() {
32074
32086
  };
32075
32087
 
32076
32088
 
32089
+ /**
32090
+ * optional bool has_demo = 11;
32091
+ * @return {boolean}
32092
+ */
32093
+ proto.game.GameConfigCheckResponse.prototype.getHasDemo = function() {
32094
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
32095
+ };
32096
+
32097
+
32098
+ /**
32099
+ * @param {boolean} value
32100
+ * @return {!proto.game.GameConfigCheckResponse} returns this
32101
+ */
32102
+ proto.game.GameConfigCheckResponse.prototype.setHasDemo = function(value) {
32103
+ return jspb.Message.setField(this, 11, value);
32104
+ };
32105
+
32106
+
32107
+ /**
32108
+ * Clears the field making it undefined.
32109
+ * @return {!proto.game.GameConfigCheckResponse} returns this
32110
+ */
32111
+ proto.game.GameConfigCheckResponse.prototype.clearHasDemo = function() {
32112
+ return jspb.Message.setField(this, 11, undefined);
32113
+ };
32114
+
32115
+
32116
+ /**
32117
+ * Returns whether this field is set.
32118
+ * @return {boolean}
32119
+ */
32120
+ proto.game.GameConfigCheckResponse.prototype.hasHasDemo = function() {
32121
+ return jspb.Message.getField(this, 11) != null;
32122
+ };
32123
+
32124
+
32077
32125
 
32078
32126
 
32079
32127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.395",
3
+ "version": "1.2.396",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {