protobuf-platform 1.0.123 → 1.0.125
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 +3 -0
- package/game/game_pb.js +147 -3
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -75,6 +75,7 @@ message GameSearchRequest {
|
|
75
75
|
repeated int32 provider_ids = 9;
|
76
76
|
optional bool is_mobile = 10;
|
77
77
|
optional string user_geo = 11;
|
78
|
+
optional bool admin_side = 12;
|
78
79
|
}
|
79
80
|
//Media
|
80
81
|
message File { bytes media = 1; }
|
@@ -333,12 +334,14 @@ message SearchGamesIntoCollectionsRequest {
|
|
333
334
|
optional string geo = 2;
|
334
335
|
optional int32 limit = 3;
|
335
336
|
optional int32 offset = 4;
|
337
|
+
optional bool is_mobile = 5;
|
336
338
|
}
|
337
339
|
message SearchGamesIntoTagsRequest {
|
338
340
|
string tag_slugs = 1;
|
339
341
|
optional string geo = 2;
|
340
342
|
optional int32 limit = 3;
|
341
343
|
optional int32 offset = 4;
|
344
|
+
optional bool is_mobile = 5;
|
342
345
|
}
|
343
346
|
message GamesPriorityRequest {
|
344
347
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
@@ -2020,7 +2020,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
2020
2020
|
geosList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
2021
2021
|
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
2022
2022
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
2023
|
-
userGeo: jspb.Message.getFieldWithDefault(msg, 11, "")
|
2023
|
+
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
2024
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
2024
2025
|
};
|
2025
2026
|
|
2026
2027
|
if (includeInstance) {
|
@@ -2109,6 +2110,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2109
2110
|
var value = /** @type {string} */ (reader.readString());
|
2110
2111
|
msg.setUserGeo(value);
|
2111
2112
|
break;
|
2113
|
+
case 12:
|
2114
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
2115
|
+
msg.setAdminSide(value);
|
2116
|
+
break;
|
2112
2117
|
default:
|
2113
2118
|
reader.skipField();
|
2114
2119
|
break;
|
@@ -2215,6 +2220,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2215
2220
|
f
|
2216
2221
|
);
|
2217
2222
|
}
|
2223
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
|
2224
|
+
if (f != null) {
|
2225
|
+
writer.writeBool(
|
2226
|
+
12,
|
2227
|
+
f
|
2228
|
+
);
|
2229
|
+
}
|
2218
2230
|
};
|
2219
2231
|
|
2220
2232
|
|
@@ -2619,6 +2631,42 @@ proto.game.GameSearchRequest.prototype.hasUserGeo = function() {
|
|
2619
2631
|
};
|
2620
2632
|
|
2621
2633
|
|
2634
|
+
/**
|
2635
|
+
* optional bool admin_side = 12;
|
2636
|
+
* @return {boolean}
|
2637
|
+
*/
|
2638
|
+
proto.game.GameSearchRequest.prototype.getAdminSide = function() {
|
2639
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
2640
|
+
};
|
2641
|
+
|
2642
|
+
|
2643
|
+
/**
|
2644
|
+
* @param {boolean} value
|
2645
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2646
|
+
*/
|
2647
|
+
proto.game.GameSearchRequest.prototype.setAdminSide = function(value) {
|
2648
|
+
return jspb.Message.setField(this, 12, value);
|
2649
|
+
};
|
2650
|
+
|
2651
|
+
|
2652
|
+
/**
|
2653
|
+
* Clears the field making it undefined.
|
2654
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2655
|
+
*/
|
2656
|
+
proto.game.GameSearchRequest.prototype.clearAdminSide = function() {
|
2657
|
+
return jspb.Message.setField(this, 12, undefined);
|
2658
|
+
};
|
2659
|
+
|
2660
|
+
|
2661
|
+
/**
|
2662
|
+
* Returns whether this field is set.
|
2663
|
+
* @return {boolean}
|
2664
|
+
*/
|
2665
|
+
proto.game.GameSearchRequest.prototype.hasAdminSide = function() {
|
2666
|
+
return jspb.Message.getField(this, 12) != null;
|
2667
|
+
};
|
2668
|
+
|
2669
|
+
|
2622
2670
|
|
2623
2671
|
|
2624
2672
|
|
@@ -14064,7 +14112,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
|
|
14064
14112
|
collectionSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
14065
14113
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
14066
14114
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
14067
|
-
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
14115
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
14116
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
14068
14117
|
};
|
14069
14118
|
|
14070
14119
|
if (includeInstance) {
|
@@ -14117,6 +14166,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
14117
14166
|
var value = /** @type {number} */ (reader.readInt32());
|
14118
14167
|
msg.setOffset(value);
|
14119
14168
|
break;
|
14169
|
+
case 5:
|
14170
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
14171
|
+
msg.setIsMobile(value);
|
14172
|
+
break;
|
14120
14173
|
default:
|
14121
14174
|
reader.skipField();
|
14122
14175
|
break;
|
@@ -14174,6 +14227,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
14174
14227
|
f
|
14175
14228
|
);
|
14176
14229
|
}
|
14230
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
14231
|
+
if (f != null) {
|
14232
|
+
writer.writeBool(
|
14233
|
+
5,
|
14234
|
+
f
|
14235
|
+
);
|
14236
|
+
}
|
14177
14237
|
};
|
14178
14238
|
|
14179
14239
|
|
@@ -14303,6 +14363,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasOffset = function() {
|
|
14303
14363
|
};
|
14304
14364
|
|
14305
14365
|
|
14366
|
+
/**
|
14367
|
+
* optional bool is_mobile = 5;
|
14368
|
+
* @return {boolean}
|
14369
|
+
*/
|
14370
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getIsMobile = function() {
|
14371
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
14372
|
+
};
|
14373
|
+
|
14374
|
+
|
14375
|
+
/**
|
14376
|
+
* @param {boolean} value
|
14377
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
14378
|
+
*/
|
14379
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setIsMobile = function(value) {
|
14380
|
+
return jspb.Message.setField(this, 5, value);
|
14381
|
+
};
|
14382
|
+
|
14383
|
+
|
14384
|
+
/**
|
14385
|
+
* Clears the field making it undefined.
|
14386
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
14387
|
+
*/
|
14388
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearIsMobile = function() {
|
14389
|
+
return jspb.Message.setField(this, 5, undefined);
|
14390
|
+
};
|
14391
|
+
|
14392
|
+
|
14393
|
+
/**
|
14394
|
+
* Returns whether this field is set.
|
14395
|
+
* @return {boolean}
|
14396
|
+
*/
|
14397
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasIsMobile = function() {
|
14398
|
+
return jspb.Message.getField(this, 5) != null;
|
14399
|
+
};
|
14400
|
+
|
14401
|
+
|
14306
14402
|
|
14307
14403
|
|
14308
14404
|
|
@@ -14338,7 +14434,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
|
|
14338
14434
|
tagSlugs: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
14339
14435
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
14340
14436
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
14341
|
-
offset: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
14437
|
+
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
14438
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
14342
14439
|
};
|
14343
14440
|
|
14344
14441
|
if (includeInstance) {
|
@@ -14391,6 +14488,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
14391
14488
|
var value = /** @type {number} */ (reader.readInt32());
|
14392
14489
|
msg.setOffset(value);
|
14393
14490
|
break;
|
14491
|
+
case 5:
|
14492
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
14493
|
+
msg.setIsMobile(value);
|
14494
|
+
break;
|
14394
14495
|
default:
|
14395
14496
|
reader.skipField();
|
14396
14497
|
break;
|
@@ -14448,6 +14549,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
14448
14549
|
f
|
14449
14550
|
);
|
14450
14551
|
}
|
14552
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
14553
|
+
if (f != null) {
|
14554
|
+
writer.writeBool(
|
14555
|
+
5,
|
14556
|
+
f
|
14557
|
+
);
|
14558
|
+
}
|
14451
14559
|
};
|
14452
14560
|
|
14453
14561
|
|
@@ -14577,6 +14685,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasOffset = function() {
|
|
14577
14685
|
};
|
14578
14686
|
|
14579
14687
|
|
14688
|
+
/**
|
14689
|
+
* optional bool is_mobile = 5;
|
14690
|
+
* @return {boolean}
|
14691
|
+
*/
|
14692
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getIsMobile = function() {
|
14693
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
14694
|
+
};
|
14695
|
+
|
14696
|
+
|
14697
|
+
/**
|
14698
|
+
* @param {boolean} value
|
14699
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
14700
|
+
*/
|
14701
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setIsMobile = function(value) {
|
14702
|
+
return jspb.Message.setField(this, 5, value);
|
14703
|
+
};
|
14704
|
+
|
14705
|
+
|
14706
|
+
/**
|
14707
|
+
* Clears the field making it undefined.
|
14708
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
14709
|
+
*/
|
14710
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearIsMobile = function() {
|
14711
|
+
return jspb.Message.setField(this, 5, undefined);
|
14712
|
+
};
|
14713
|
+
|
14714
|
+
|
14715
|
+
/**
|
14716
|
+
* Returns whether this field is set.
|
14717
|
+
* @return {boolean}
|
14718
|
+
*/
|
14719
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.hasIsMobile = function() {
|
14720
|
+
return jspb.Message.getField(this, 5) != null;
|
14721
|
+
};
|
14722
|
+
|
14723
|
+
|
14580
14724
|
|
14581
14725
|
|
14582
14726
|
|