protobuf-platform 1.0.123 → 1.0.124
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 +2 -0
- package/game/game_pb.js +98 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -333,12 +333,14 @@ message SearchGamesIntoCollectionsRequest {
|
|
333
333
|
optional string geo = 2;
|
334
334
|
optional int32 limit = 3;
|
335
335
|
optional int32 offset = 4;
|
336
|
+
optional bool is_mobile = 5;
|
336
337
|
}
|
337
338
|
message SearchGamesIntoTagsRequest {
|
338
339
|
string tag_slugs = 1;
|
339
340
|
optional string geo = 2;
|
340
341
|
optional int32 limit = 3;
|
341
342
|
optional int32 offset = 4;
|
343
|
+
optional bool is_mobile = 5;
|
342
344
|
}
|
343
345
|
message GamesPriorityRequest {
|
344
346
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
@@ -14064,7 +14064,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
|
|
14064
14064
|
collectionSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
14065
14065
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
14066
14066
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
14067
|
-
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
14067
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
14068
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
14068
14069
|
};
|
14069
14070
|
|
14070
14071
|
if (includeInstance) {
|
@@ -14117,6 +14118,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
14117
14118
|
var value = /** @type {number} */ (reader.readInt32());
|
14118
14119
|
msg.setOffset(value);
|
14119
14120
|
break;
|
14121
|
+
case 5:
|
14122
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
14123
|
+
msg.setIsMobile(value);
|
14124
|
+
break;
|
14120
14125
|
default:
|
14121
14126
|
reader.skipField();
|
14122
14127
|
break;
|
@@ -14174,6 +14179,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
14174
14179
|
f
|
14175
14180
|
);
|
14176
14181
|
}
|
14182
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
14183
|
+
if (f != null) {
|
14184
|
+
writer.writeBool(
|
14185
|
+
5,
|
14186
|
+
f
|
14187
|
+
);
|
14188
|
+
}
|
14177
14189
|
};
|
14178
14190
|
|
14179
14191
|
|
@@ -14303,6 +14315,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasOffset = function() {
|
|
14303
14315
|
};
|
14304
14316
|
|
14305
14317
|
|
14318
|
+
/**
|
14319
|
+
* optional bool is_mobile = 5;
|
14320
|
+
* @return {boolean}
|
14321
|
+
*/
|
14322
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getIsMobile = function() {
|
14323
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
14324
|
+
};
|
14325
|
+
|
14326
|
+
|
14327
|
+
/**
|
14328
|
+
* @param {boolean} value
|
14329
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
14330
|
+
*/
|
14331
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setIsMobile = function(value) {
|
14332
|
+
return jspb.Message.setField(this, 5, value);
|
14333
|
+
};
|
14334
|
+
|
14335
|
+
|
14336
|
+
/**
|
14337
|
+
* Clears the field making it undefined.
|
14338
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
14339
|
+
*/
|
14340
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearIsMobile = function() {
|
14341
|
+
return jspb.Message.setField(this, 5, undefined);
|
14342
|
+
};
|
14343
|
+
|
14344
|
+
|
14345
|
+
/**
|
14346
|
+
* Returns whether this field is set.
|
14347
|
+
* @return {boolean}
|
14348
|
+
*/
|
14349
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasIsMobile = function() {
|
14350
|
+
return jspb.Message.getField(this, 5) != null;
|
14351
|
+
};
|
14352
|
+
|
14353
|
+
|
14306
14354
|
|
14307
14355
|
|
14308
14356
|
|
@@ -14338,7 +14386,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
|
|
14338
14386
|
tagSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
14339
14387
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
14340
14388
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
14341
|
-
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
14389
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
14390
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
14342
14391
|
};
|
14343
14392
|
|
14344
14393
|
if (includeInstance) {
|
@@ -14391,6 +14440,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
14391
14440
|
var value = /** @type {number} */ (reader.readInt32());
|
14392
14441
|
msg.setOffset(value);
|
14393
14442
|
break;
|
14443
|
+
case 5:
|
14444
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
14445
|
+
msg.setIsMobile(value);
|
14446
|
+
break;
|
14394
14447
|
default:
|
14395
14448
|
reader.skipField();
|
14396
14449
|
break;
|
@@ -14448,6 +14501,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
14448
14501
|
f
|
14449
14502
|
);
|
14450
14503
|
}
|
14504
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
14505
|
+
if (f != null) {
|
14506
|
+
writer.writeBool(
|
14507
|
+
5,
|
14508
|
+
f
|
14509
|
+
);
|
14510
|
+
}
|
14451
14511
|
};
|
14452
14512
|
|
14453
14513
|
|
@@ -14577,6 +14637,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasOffset = function() {
|
|
14577
14637
|
};
|
14578
14638
|
|
14579
14639
|
|
14640
|
+
/**
|
14641
|
+
* optional bool is_mobile = 5;
|
14642
|
+
* @return {boolean}
|
14643
|
+
*/
|
14644
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getIsMobile = function() {
|
14645
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
14646
|
+
};
|
14647
|
+
|
14648
|
+
|
14649
|
+
/**
|
14650
|
+
* @param {boolean} value
|
14651
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
14652
|
+
*/
|
14653
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setIsMobile = function(value) {
|
14654
|
+
return jspb.Message.setField(this, 5, value);
|
14655
|
+
};
|
14656
|
+
|
14657
|
+
|
14658
|
+
/**
|
14659
|
+
* Clears the field making it undefined.
|
14660
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
14661
|
+
*/
|
14662
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearIsMobile = function() {
|
14663
|
+
return jspb.Message.setField(this, 5, undefined);
|
14664
|
+
};
|
14665
|
+
|
14666
|
+
|
14667
|
+
/**
|
14668
|
+
* Returns whether this field is set.
|
14669
|
+
* @return {boolean}
|
14670
|
+
*/
|
14671
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.hasIsMobile = function() {
|
14672
|
+
return jspb.Message.getField(this, 5) != null;
|
14673
|
+
};
|
14674
|
+
|
14675
|
+
|
14580
14676
|
|
14581
14677
|
|
14582
14678
|
|