protobuf-platform 1.2.629 → 1.2.630

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
@@ -1006,6 +1006,8 @@ message MultiScopeItemRequest {
1006
1006
  optional string title = 2;
1007
1007
  optional string slug = 3;
1008
1008
  optional bool is_active = 4;
1009
+ optional bool remove_image = 5;
1010
+ optional bool remove_icon = 6;
1009
1011
  }
1010
1012
  message MultiScopeRequest {
1011
1013
  oneof request {
package/game/game_pb.js CHANGED
@@ -42073,7 +42073,9 @@ proto.game.MultiScopeItemRequest.toObject = function(includeInstance, msg) {
42073
42073
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
42074
42074
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
42075
42075
  slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
42076
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
42076
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
42077
+ removeImage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
42078
+ removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
42077
42079
  };
42078
42080
 
42079
42081
  if (includeInstance) {
@@ -42126,6 +42128,14 @@ proto.game.MultiScopeItemRequest.deserializeBinaryFromReader = function(msg, rea
42126
42128
  var value = /** @type {boolean} */ (reader.readBool());
42127
42129
  msg.setIsActive(value);
42128
42130
  break;
42131
+ case 5:
42132
+ var value = /** @type {boolean} */ (reader.readBool());
42133
+ msg.setRemoveImage(value);
42134
+ break;
42135
+ case 6:
42136
+ var value = /** @type {boolean} */ (reader.readBool());
42137
+ msg.setRemoveIcon(value);
42138
+ break;
42129
42139
  default:
42130
42140
  reader.skipField();
42131
42141
  break;
@@ -42183,6 +42193,20 @@ proto.game.MultiScopeItemRequest.serializeBinaryToWriter = function(message, wri
42183
42193
  f
42184
42194
  );
42185
42195
  }
42196
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
42197
+ if (f != null) {
42198
+ writer.writeBool(
42199
+ 5,
42200
+ f
42201
+ );
42202
+ }
42203
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
42204
+ if (f != null) {
42205
+ writer.writeBool(
42206
+ 6,
42207
+ f
42208
+ );
42209
+ }
42186
42210
  };
42187
42211
 
42188
42212
 
@@ -42330,6 +42354,78 @@ proto.game.MultiScopeItemRequest.prototype.hasIsActive = function() {
42330
42354
  };
42331
42355
 
42332
42356
 
42357
+ /**
42358
+ * optional bool remove_image = 5;
42359
+ * @return {boolean}
42360
+ */
42361
+ proto.game.MultiScopeItemRequest.prototype.getRemoveImage = function() {
42362
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
42363
+ };
42364
+
42365
+
42366
+ /**
42367
+ * @param {boolean} value
42368
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42369
+ */
42370
+ proto.game.MultiScopeItemRequest.prototype.setRemoveImage = function(value) {
42371
+ return jspb.Message.setField(this, 5, value);
42372
+ };
42373
+
42374
+
42375
+ /**
42376
+ * Clears the field making it undefined.
42377
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42378
+ */
42379
+ proto.game.MultiScopeItemRequest.prototype.clearRemoveImage = function() {
42380
+ return jspb.Message.setField(this, 5, undefined);
42381
+ };
42382
+
42383
+
42384
+ /**
42385
+ * Returns whether this field is set.
42386
+ * @return {boolean}
42387
+ */
42388
+ proto.game.MultiScopeItemRequest.prototype.hasRemoveImage = function() {
42389
+ return jspb.Message.getField(this, 5) != null;
42390
+ };
42391
+
42392
+
42393
+ /**
42394
+ * optional bool remove_icon = 6;
42395
+ * @return {boolean}
42396
+ */
42397
+ proto.game.MultiScopeItemRequest.prototype.getRemoveIcon = function() {
42398
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
42399
+ };
42400
+
42401
+
42402
+ /**
42403
+ * @param {boolean} value
42404
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42405
+ */
42406
+ proto.game.MultiScopeItemRequest.prototype.setRemoveIcon = function(value) {
42407
+ return jspb.Message.setField(this, 6, value);
42408
+ };
42409
+
42410
+
42411
+ /**
42412
+ * Clears the field making it undefined.
42413
+ * @return {!proto.game.MultiScopeItemRequest} returns this
42414
+ */
42415
+ proto.game.MultiScopeItemRequest.prototype.clearRemoveIcon = function() {
42416
+ return jspb.Message.setField(this, 6, undefined);
42417
+ };
42418
+
42419
+
42420
+ /**
42421
+ * Returns whether this field is set.
42422
+ * @return {boolean}
42423
+ */
42424
+ proto.game.MultiScopeItemRequest.prototype.hasRemoveIcon = function() {
42425
+ return jspb.Message.getField(this, 6) != null;
42426
+ };
42427
+
42428
+
42333
42429
 
42334
42430
  /**
42335
42431
  * Oneof group definitions for this message. Each group defines the field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.629",
3
+ "version": "1.2.630",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {