protobuf-platform 1.2.569 → 1.2.571
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 +7 -0
- package/game/game_pb.js +343 -7
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -271,12 +271,14 @@ message GameEntityTranslationItem {
|
|
|
271
271
|
string locale = 1;
|
|
272
272
|
optional string title = 2;
|
|
273
273
|
optional string description = 3;
|
|
274
|
+
optional bool is_active = 4;
|
|
274
275
|
}
|
|
275
276
|
message GameEntityTranslationRequest {
|
|
276
277
|
int32 entity_id = 1;
|
|
277
278
|
string locale = 2;
|
|
278
279
|
optional string title = 3;
|
|
279
280
|
optional string description = 4;
|
|
281
|
+
optional bool is_active = 5;
|
|
280
282
|
}
|
|
281
283
|
message GameEntityTranslationResponse {
|
|
282
284
|
GameEntityTranslationItem data = 1;
|
|
@@ -619,6 +621,7 @@ message GameItemRequest {
|
|
|
619
621
|
message GetGameRequest {
|
|
620
622
|
int32 id = 1;
|
|
621
623
|
optional int32 admin_side = 2;
|
|
624
|
+
optional string locale = 3;
|
|
622
625
|
}
|
|
623
626
|
message GameRelationsRequest {
|
|
624
627
|
int32 game_id = 1;
|
|
@@ -725,6 +728,7 @@ message SearchGamesIntoCollectionsRequest {
|
|
|
725
728
|
optional bool is_mobile = 5;
|
|
726
729
|
optional bool admin_side = 6;
|
|
727
730
|
optional string game_title = 7;
|
|
731
|
+
optional string locale = 8;
|
|
728
732
|
}
|
|
729
733
|
message SearchGamesIntoTagsRequest {
|
|
730
734
|
repeated string tag_slugs = 1;
|
|
@@ -734,6 +738,7 @@ message SearchGamesIntoTagsRequest {
|
|
|
734
738
|
optional bool is_mobile = 5;
|
|
735
739
|
optional bool admin_side = 6;
|
|
736
740
|
optional string game_title = 7;
|
|
741
|
+
optional string locale = 8;
|
|
737
742
|
}
|
|
738
743
|
message SearchGamesIntoProvidersRequest {
|
|
739
744
|
repeated string provider_slugs = 1;
|
|
@@ -742,6 +747,7 @@ message SearchGamesIntoProvidersRequest {
|
|
|
742
747
|
optional int32 offset = 4;
|
|
743
748
|
optional bool is_mobile = 5;
|
|
744
749
|
optional bool admin_side = 6;
|
|
750
|
+
optional string locale = 7;
|
|
745
751
|
}
|
|
746
752
|
message SearchGamesIntoCategoriesRequest {
|
|
747
753
|
repeated string category_slugs = 1;
|
|
@@ -750,6 +756,7 @@ message SearchGamesIntoCategoriesRequest {
|
|
|
750
756
|
optional int32 offset = 4;
|
|
751
757
|
optional bool is_mobile = 5;
|
|
752
758
|
optional bool admin_side = 6;
|
|
759
|
+
optional string locale = 7;
|
|
753
760
|
}
|
|
754
761
|
message GamesPriorityRequest {
|
|
755
762
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -10070,7 +10070,8 @@ proto.game.GameEntityTranslationItem.toObject = function(includeInstance, msg) {
|
|
|
10070
10070
|
var f, obj = {
|
|
10071
10071
|
locale: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10072
10072
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10073
|
-
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
10073
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10074
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
10074
10075
|
};
|
|
10075
10076
|
|
|
10076
10077
|
if (includeInstance) {
|
|
@@ -10119,6 +10120,10 @@ proto.game.GameEntityTranslationItem.deserializeBinaryFromReader = function(msg,
|
|
|
10119
10120
|
var value = /** @type {string} */ (reader.readString());
|
|
10120
10121
|
msg.setDescription(value);
|
|
10121
10122
|
break;
|
|
10123
|
+
case 4:
|
|
10124
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10125
|
+
msg.setIsActive(value);
|
|
10126
|
+
break;
|
|
10122
10127
|
default:
|
|
10123
10128
|
reader.skipField();
|
|
10124
10129
|
break;
|
|
@@ -10169,6 +10174,13 @@ proto.game.GameEntityTranslationItem.serializeBinaryToWriter = function(message,
|
|
|
10169
10174
|
f
|
|
10170
10175
|
);
|
|
10171
10176
|
}
|
|
10177
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
10178
|
+
if (f != null) {
|
|
10179
|
+
writer.writeBool(
|
|
10180
|
+
4,
|
|
10181
|
+
f
|
|
10182
|
+
);
|
|
10183
|
+
}
|
|
10172
10184
|
};
|
|
10173
10185
|
|
|
10174
10186
|
|
|
@@ -10262,6 +10274,42 @@ proto.game.GameEntityTranslationItem.prototype.hasDescription = function() {
|
|
|
10262
10274
|
};
|
|
10263
10275
|
|
|
10264
10276
|
|
|
10277
|
+
/**
|
|
10278
|
+
* optional bool is_active = 4;
|
|
10279
|
+
* @return {boolean}
|
|
10280
|
+
*/
|
|
10281
|
+
proto.game.GameEntityTranslationItem.prototype.getIsActive = function() {
|
|
10282
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
10283
|
+
};
|
|
10284
|
+
|
|
10285
|
+
|
|
10286
|
+
/**
|
|
10287
|
+
* @param {boolean} value
|
|
10288
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10289
|
+
*/
|
|
10290
|
+
proto.game.GameEntityTranslationItem.prototype.setIsActive = function(value) {
|
|
10291
|
+
return jspb.Message.setField(this, 4, value);
|
|
10292
|
+
};
|
|
10293
|
+
|
|
10294
|
+
|
|
10295
|
+
/**
|
|
10296
|
+
* Clears the field making it undefined.
|
|
10297
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10298
|
+
*/
|
|
10299
|
+
proto.game.GameEntityTranslationItem.prototype.clearIsActive = function() {
|
|
10300
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
10301
|
+
};
|
|
10302
|
+
|
|
10303
|
+
|
|
10304
|
+
/**
|
|
10305
|
+
* Returns whether this field is set.
|
|
10306
|
+
* @return {boolean}
|
|
10307
|
+
*/
|
|
10308
|
+
proto.game.GameEntityTranslationItem.prototype.hasIsActive = function() {
|
|
10309
|
+
return jspb.Message.getField(this, 4) != null;
|
|
10310
|
+
};
|
|
10311
|
+
|
|
10312
|
+
|
|
10265
10313
|
|
|
10266
10314
|
|
|
10267
10315
|
|
|
@@ -10297,7 +10345,8 @@ proto.game.GameEntityTranslationRequest.toObject = function(includeInstance, msg
|
|
|
10297
10345
|
entityId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10298
10346
|
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10299
10347
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10300
|
-
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10348
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10349
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
10301
10350
|
};
|
|
10302
10351
|
|
|
10303
10352
|
if (includeInstance) {
|
|
@@ -10350,6 +10399,10 @@ proto.game.GameEntityTranslationRequest.deserializeBinaryFromReader = function(m
|
|
|
10350
10399
|
var value = /** @type {string} */ (reader.readString());
|
|
10351
10400
|
msg.setDescription(value);
|
|
10352
10401
|
break;
|
|
10402
|
+
case 5:
|
|
10403
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10404
|
+
msg.setIsActive(value);
|
|
10405
|
+
break;
|
|
10353
10406
|
default:
|
|
10354
10407
|
reader.skipField();
|
|
10355
10408
|
break;
|
|
@@ -10407,6 +10460,13 @@ proto.game.GameEntityTranslationRequest.serializeBinaryToWriter = function(messa
|
|
|
10407
10460
|
f
|
|
10408
10461
|
);
|
|
10409
10462
|
}
|
|
10463
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
10464
|
+
if (f != null) {
|
|
10465
|
+
writer.writeBool(
|
|
10466
|
+
5,
|
|
10467
|
+
f
|
|
10468
|
+
);
|
|
10469
|
+
}
|
|
10410
10470
|
};
|
|
10411
10471
|
|
|
10412
10472
|
|
|
@@ -10518,6 +10578,42 @@ proto.game.GameEntityTranslationRequest.prototype.hasDescription = function() {
|
|
|
10518
10578
|
};
|
|
10519
10579
|
|
|
10520
10580
|
|
|
10581
|
+
/**
|
|
10582
|
+
* optional bool is_active = 5;
|
|
10583
|
+
* @return {boolean}
|
|
10584
|
+
*/
|
|
10585
|
+
proto.game.GameEntityTranslationRequest.prototype.getIsActive = function() {
|
|
10586
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
10587
|
+
};
|
|
10588
|
+
|
|
10589
|
+
|
|
10590
|
+
/**
|
|
10591
|
+
* @param {boolean} value
|
|
10592
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10593
|
+
*/
|
|
10594
|
+
proto.game.GameEntityTranslationRequest.prototype.setIsActive = function(value) {
|
|
10595
|
+
return jspb.Message.setField(this, 5, value);
|
|
10596
|
+
};
|
|
10597
|
+
|
|
10598
|
+
|
|
10599
|
+
/**
|
|
10600
|
+
* Clears the field making it undefined.
|
|
10601
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10602
|
+
*/
|
|
10603
|
+
proto.game.GameEntityTranslationRequest.prototype.clearIsActive = function() {
|
|
10604
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
10605
|
+
};
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
/**
|
|
10609
|
+
* Returns whether this field is set.
|
|
10610
|
+
* @return {boolean}
|
|
10611
|
+
*/
|
|
10612
|
+
proto.game.GameEntityTranslationRequest.prototype.hasIsActive = function() {
|
|
10613
|
+
return jspb.Message.getField(this, 5) != null;
|
|
10614
|
+
};
|
|
10615
|
+
|
|
10616
|
+
|
|
10521
10617
|
|
|
10522
10618
|
|
|
10523
10619
|
|
|
@@ -25437,7 +25533,8 @@ proto.game.GetGameRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
25437
25533
|
proto.game.GetGameRequest.toObject = function(includeInstance, msg) {
|
|
25438
25534
|
var f, obj = {
|
|
25439
25535
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25440
|
-
adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
25536
|
+
adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
25537
|
+
locale: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
25441
25538
|
};
|
|
25442
25539
|
|
|
25443
25540
|
if (includeInstance) {
|
|
@@ -25482,6 +25579,10 @@ proto.game.GetGameRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
25482
25579
|
var value = /** @type {number} */ (reader.readInt32());
|
|
25483
25580
|
msg.setAdminSide(value);
|
|
25484
25581
|
break;
|
|
25582
|
+
case 3:
|
|
25583
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25584
|
+
msg.setLocale(value);
|
|
25585
|
+
break;
|
|
25485
25586
|
default:
|
|
25486
25587
|
reader.skipField();
|
|
25487
25588
|
break;
|
|
@@ -25525,6 +25626,13 @@ proto.game.GetGameRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
25525
25626
|
f
|
|
25526
25627
|
);
|
|
25527
25628
|
}
|
|
25629
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
25630
|
+
if (f != null) {
|
|
25631
|
+
writer.writeString(
|
|
25632
|
+
3,
|
|
25633
|
+
f
|
|
25634
|
+
);
|
|
25635
|
+
}
|
|
25528
25636
|
};
|
|
25529
25637
|
|
|
25530
25638
|
|
|
@@ -25582,6 +25690,42 @@ proto.game.GetGameRequest.prototype.hasAdminSide = function() {
|
|
|
25582
25690
|
};
|
|
25583
25691
|
|
|
25584
25692
|
|
|
25693
|
+
/**
|
|
25694
|
+
* optional string locale = 3;
|
|
25695
|
+
* @return {string}
|
|
25696
|
+
*/
|
|
25697
|
+
proto.game.GetGameRequest.prototype.getLocale = function() {
|
|
25698
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25699
|
+
};
|
|
25700
|
+
|
|
25701
|
+
|
|
25702
|
+
/**
|
|
25703
|
+
* @param {string} value
|
|
25704
|
+
* @return {!proto.game.GetGameRequest} returns this
|
|
25705
|
+
*/
|
|
25706
|
+
proto.game.GetGameRequest.prototype.setLocale = function(value) {
|
|
25707
|
+
return jspb.Message.setField(this, 3, value);
|
|
25708
|
+
};
|
|
25709
|
+
|
|
25710
|
+
|
|
25711
|
+
/**
|
|
25712
|
+
* Clears the field making it undefined.
|
|
25713
|
+
* @return {!proto.game.GetGameRequest} returns this
|
|
25714
|
+
*/
|
|
25715
|
+
proto.game.GetGameRequest.prototype.clearLocale = function() {
|
|
25716
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
25717
|
+
};
|
|
25718
|
+
|
|
25719
|
+
|
|
25720
|
+
/**
|
|
25721
|
+
* Returns whether this field is set.
|
|
25722
|
+
* @return {boolean}
|
|
25723
|
+
*/
|
|
25724
|
+
proto.game.GetGameRequest.prototype.hasLocale = function() {
|
|
25725
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25726
|
+
};
|
|
25727
|
+
|
|
25728
|
+
|
|
25585
25729
|
|
|
25586
25730
|
|
|
25587
25731
|
|
|
@@ -30332,7 +30476,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
|
|
|
30332
30476
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
30333
30477
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
30334
30478
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
30335
|
-
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30479
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
30480
|
+
locale: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
30336
30481
|
};
|
|
30337
30482
|
|
|
30338
30483
|
if (includeInstance) {
|
|
@@ -30397,6 +30542,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
|
30397
30542
|
var value = /** @type {string} */ (reader.readString());
|
|
30398
30543
|
msg.setGameTitle(value);
|
|
30399
30544
|
break;
|
|
30545
|
+
case 8:
|
|
30546
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30547
|
+
msg.setLocale(value);
|
|
30548
|
+
break;
|
|
30400
30549
|
default:
|
|
30401
30550
|
reader.skipField();
|
|
30402
30551
|
break;
|
|
@@ -30475,6 +30624,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
|
30475
30624
|
f
|
|
30476
30625
|
);
|
|
30477
30626
|
}
|
|
30627
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
30628
|
+
if (f != null) {
|
|
30629
|
+
writer.writeString(
|
|
30630
|
+
8,
|
|
30631
|
+
f
|
|
30632
|
+
);
|
|
30633
|
+
}
|
|
30478
30634
|
};
|
|
30479
30635
|
|
|
30480
30636
|
|
|
@@ -30731,6 +30887,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGameTitle = function()
|
|
|
30731
30887
|
};
|
|
30732
30888
|
|
|
30733
30889
|
|
|
30890
|
+
/**
|
|
30891
|
+
* optional string locale = 8;
|
|
30892
|
+
* @return {string}
|
|
30893
|
+
*/
|
|
30894
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getLocale = function() {
|
|
30895
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
30896
|
+
};
|
|
30897
|
+
|
|
30898
|
+
|
|
30899
|
+
/**
|
|
30900
|
+
* @param {string} value
|
|
30901
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
|
30902
|
+
*/
|
|
30903
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setLocale = function(value) {
|
|
30904
|
+
return jspb.Message.setField(this, 8, value);
|
|
30905
|
+
};
|
|
30906
|
+
|
|
30907
|
+
|
|
30908
|
+
/**
|
|
30909
|
+
* Clears the field making it undefined.
|
|
30910
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
|
30911
|
+
*/
|
|
30912
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearLocale = function() {
|
|
30913
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
30914
|
+
};
|
|
30915
|
+
|
|
30916
|
+
|
|
30917
|
+
/**
|
|
30918
|
+
* Returns whether this field is set.
|
|
30919
|
+
* @return {boolean}
|
|
30920
|
+
*/
|
|
30921
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasLocale = function() {
|
|
30922
|
+
return jspb.Message.getField(this, 8) != null;
|
|
30923
|
+
};
|
|
30924
|
+
|
|
30925
|
+
|
|
30734
30926
|
|
|
30735
30927
|
/**
|
|
30736
30928
|
* List of repeated fields within this message type.
|
|
@@ -30776,7 +30968,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
|
|
|
30776
30968
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
30777
30969
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
30778
30970
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
30779
|
-
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30971
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
30972
|
+
locale: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
30780
30973
|
};
|
|
30781
30974
|
|
|
30782
30975
|
if (includeInstance) {
|
|
@@ -30841,6 +31034,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
|
30841
31034
|
var value = /** @type {string} */ (reader.readString());
|
|
30842
31035
|
msg.setGameTitle(value);
|
|
30843
31036
|
break;
|
|
31037
|
+
case 8:
|
|
31038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31039
|
+
msg.setLocale(value);
|
|
31040
|
+
break;
|
|
30844
31041
|
default:
|
|
30845
31042
|
reader.skipField();
|
|
30846
31043
|
break;
|
|
@@ -30919,6 +31116,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
|
30919
31116
|
f
|
|
30920
31117
|
);
|
|
30921
31118
|
}
|
|
31119
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
31120
|
+
if (f != null) {
|
|
31121
|
+
writer.writeString(
|
|
31122
|
+
8,
|
|
31123
|
+
f
|
|
31124
|
+
);
|
|
31125
|
+
}
|
|
30922
31126
|
};
|
|
30923
31127
|
|
|
30924
31128
|
|
|
@@ -31175,6 +31379,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasGameTitle = function() {
|
|
|
31175
31379
|
};
|
|
31176
31380
|
|
|
31177
31381
|
|
|
31382
|
+
/**
|
|
31383
|
+
* optional string locale = 8;
|
|
31384
|
+
* @return {string}
|
|
31385
|
+
*/
|
|
31386
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getLocale = function() {
|
|
31387
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
31388
|
+
};
|
|
31389
|
+
|
|
31390
|
+
|
|
31391
|
+
/**
|
|
31392
|
+
* @param {string} value
|
|
31393
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
|
31394
|
+
*/
|
|
31395
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setLocale = function(value) {
|
|
31396
|
+
return jspb.Message.setField(this, 8, value);
|
|
31397
|
+
};
|
|
31398
|
+
|
|
31399
|
+
|
|
31400
|
+
/**
|
|
31401
|
+
* Clears the field making it undefined.
|
|
31402
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
|
31403
|
+
*/
|
|
31404
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearLocale = function() {
|
|
31405
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
31406
|
+
};
|
|
31407
|
+
|
|
31408
|
+
|
|
31409
|
+
/**
|
|
31410
|
+
* Returns whether this field is set.
|
|
31411
|
+
* @return {boolean}
|
|
31412
|
+
*/
|
|
31413
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.hasLocale = function() {
|
|
31414
|
+
return jspb.Message.getField(this, 8) != null;
|
|
31415
|
+
};
|
|
31416
|
+
|
|
31417
|
+
|
|
31178
31418
|
|
|
31179
31419
|
/**
|
|
31180
31420
|
* List of repeated fields within this message type.
|
|
@@ -31219,7 +31459,8 @@ proto.game.SearchGamesIntoProvidersRequest.toObject = function(includeInstance,
|
|
|
31219
31459
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
31220
31460
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
31221
31461
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
31222
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
31462
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
31463
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
31223
31464
|
};
|
|
31224
31465
|
|
|
31225
31466
|
if (includeInstance) {
|
|
@@ -31280,6 +31521,10 @@ proto.game.SearchGamesIntoProvidersRequest.deserializeBinaryFromReader = functio
|
|
|
31280
31521
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
31281
31522
|
msg.setAdminSide(value);
|
|
31282
31523
|
break;
|
|
31524
|
+
case 7:
|
|
31525
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31526
|
+
msg.setLocale(value);
|
|
31527
|
+
break;
|
|
31283
31528
|
default:
|
|
31284
31529
|
reader.skipField();
|
|
31285
31530
|
break;
|
|
@@ -31351,6 +31596,13 @@ proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(me
|
|
|
31351
31596
|
f
|
|
31352
31597
|
);
|
|
31353
31598
|
}
|
|
31599
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
31600
|
+
if (f != null) {
|
|
31601
|
+
writer.writeString(
|
|
31602
|
+
7,
|
|
31603
|
+
f
|
|
31604
|
+
);
|
|
31605
|
+
}
|
|
31354
31606
|
};
|
|
31355
31607
|
|
|
31356
31608
|
|
|
@@ -31571,6 +31823,42 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.hasAdminSide = function() {
|
|
|
31571
31823
|
};
|
|
31572
31824
|
|
|
31573
31825
|
|
|
31826
|
+
/**
|
|
31827
|
+
* optional string locale = 7;
|
|
31828
|
+
* @return {string}
|
|
31829
|
+
*/
|
|
31830
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.getLocale = function() {
|
|
31831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
31832
|
+
};
|
|
31833
|
+
|
|
31834
|
+
|
|
31835
|
+
/**
|
|
31836
|
+
* @param {string} value
|
|
31837
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
|
31838
|
+
*/
|
|
31839
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.setLocale = function(value) {
|
|
31840
|
+
return jspb.Message.setField(this, 7, value);
|
|
31841
|
+
};
|
|
31842
|
+
|
|
31843
|
+
|
|
31844
|
+
/**
|
|
31845
|
+
* Clears the field making it undefined.
|
|
31846
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
|
31847
|
+
*/
|
|
31848
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.clearLocale = function() {
|
|
31849
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
31850
|
+
};
|
|
31851
|
+
|
|
31852
|
+
|
|
31853
|
+
/**
|
|
31854
|
+
* Returns whether this field is set.
|
|
31855
|
+
* @return {boolean}
|
|
31856
|
+
*/
|
|
31857
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.hasLocale = function() {
|
|
31858
|
+
return jspb.Message.getField(this, 7) != null;
|
|
31859
|
+
};
|
|
31860
|
+
|
|
31861
|
+
|
|
31574
31862
|
|
|
31575
31863
|
/**
|
|
31576
31864
|
* List of repeated fields within this message type.
|
|
@@ -31615,7 +31903,8 @@ proto.game.SearchGamesIntoCategoriesRequest.toObject = function(includeInstance,
|
|
|
31615
31903
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
31616
31904
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
31617
31905
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
31618
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
31906
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
31907
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
31619
31908
|
};
|
|
31620
31909
|
|
|
31621
31910
|
if (includeInstance) {
|
|
@@ -31676,6 +31965,10 @@ proto.game.SearchGamesIntoCategoriesRequest.deserializeBinaryFromReader = functi
|
|
|
31676
31965
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
31677
31966
|
msg.setAdminSide(value);
|
|
31678
31967
|
break;
|
|
31968
|
+
case 7:
|
|
31969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31970
|
+
msg.setLocale(value);
|
|
31971
|
+
break;
|
|
31679
31972
|
default:
|
|
31680
31973
|
reader.skipField();
|
|
31681
31974
|
break;
|
|
@@ -31747,6 +32040,13 @@ proto.game.SearchGamesIntoCategoriesRequest.serializeBinaryToWriter = function(m
|
|
|
31747
32040
|
f
|
|
31748
32041
|
);
|
|
31749
32042
|
}
|
|
32043
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
32044
|
+
if (f != null) {
|
|
32045
|
+
writer.writeString(
|
|
32046
|
+
7,
|
|
32047
|
+
f
|
|
32048
|
+
);
|
|
32049
|
+
}
|
|
31750
32050
|
};
|
|
31751
32051
|
|
|
31752
32052
|
|
|
@@ -31967,6 +32267,42 @@ proto.game.SearchGamesIntoCategoriesRequest.prototype.hasAdminSide = function()
|
|
|
31967
32267
|
};
|
|
31968
32268
|
|
|
31969
32269
|
|
|
32270
|
+
/**
|
|
32271
|
+
* optional string locale = 7;
|
|
32272
|
+
* @return {string}
|
|
32273
|
+
*/
|
|
32274
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.getLocale = function() {
|
|
32275
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
32276
|
+
};
|
|
32277
|
+
|
|
32278
|
+
|
|
32279
|
+
/**
|
|
32280
|
+
* @param {string} value
|
|
32281
|
+
* @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
|
|
32282
|
+
*/
|
|
32283
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.setLocale = function(value) {
|
|
32284
|
+
return jspb.Message.setField(this, 7, value);
|
|
32285
|
+
};
|
|
32286
|
+
|
|
32287
|
+
|
|
32288
|
+
/**
|
|
32289
|
+
* Clears the field making it undefined.
|
|
32290
|
+
* @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
|
|
32291
|
+
*/
|
|
32292
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.clearLocale = function() {
|
|
32293
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
32294
|
+
};
|
|
32295
|
+
|
|
32296
|
+
|
|
32297
|
+
/**
|
|
32298
|
+
* Returns whether this field is set.
|
|
32299
|
+
* @return {boolean}
|
|
32300
|
+
*/
|
|
32301
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.hasLocale = function() {
|
|
32302
|
+
return jspb.Message.getField(this, 7) != null;
|
|
32303
|
+
};
|
|
32304
|
+
|
|
32305
|
+
|
|
31970
32306
|
|
|
31971
32307
|
|
|
31972
32308
|
|