protobuf-platform 1.2.311 → 1.2.312
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
|
@@ -226,6 +226,7 @@ message TagSearchRequest {
|
|
|
226
226
|
message ItemsBunchRequest {
|
|
227
227
|
repeated int32 ids = 1;
|
|
228
228
|
optional int32 is_active = 2;
|
|
229
|
+
optional int32 is_popular = 3;
|
|
229
230
|
}
|
|
230
231
|
message SyncImagesRequest {
|
|
231
232
|
string type = 1;
|
|
@@ -384,6 +385,7 @@ message ProviderItem {
|
|
|
384
385
|
optional string image = 6;
|
|
385
386
|
optional string image_cdn = 7;
|
|
386
387
|
optional int32 count_of_games = 8;
|
|
388
|
+
optional int32 is_popular = 9;
|
|
387
389
|
}
|
|
388
390
|
//Provider CRUD | Requests
|
|
389
391
|
message ProviderRequest {
|
|
@@ -400,6 +402,7 @@ message ProviderItemRequest {
|
|
|
400
402
|
optional int32 is_active = 5;
|
|
401
403
|
optional string file_name = 6;
|
|
402
404
|
optional string file_type = 7;
|
|
405
|
+
optional int32 is_popular = 8;
|
|
403
406
|
}
|
|
404
407
|
message GetProviderRequest {
|
|
405
408
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -8148,7 +8148,8 @@ proto.game.ItemsBunchRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
8148
8148
|
proto.game.ItemsBunchRequest.toObject = function(includeInstance, msg) {
|
|
8149
8149
|
var f, obj = {
|
|
8150
8150
|
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8151
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8151
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8152
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8152
8153
|
};
|
|
8153
8154
|
|
|
8154
8155
|
if (includeInstance) {
|
|
@@ -8195,6 +8196,10 @@ proto.game.ItemsBunchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
8195
8196
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8196
8197
|
msg.setIsActive(value);
|
|
8197
8198
|
break;
|
|
8199
|
+
case 3:
|
|
8200
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8201
|
+
msg.setIsPopular(value);
|
|
8202
|
+
break;
|
|
8198
8203
|
default:
|
|
8199
8204
|
reader.skipField();
|
|
8200
8205
|
break;
|
|
@@ -8238,6 +8243,13 @@ proto.game.ItemsBunchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
8238
8243
|
f
|
|
8239
8244
|
);
|
|
8240
8245
|
}
|
|
8246
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
8247
|
+
if (f != null) {
|
|
8248
|
+
writer.writeInt32(
|
|
8249
|
+
3,
|
|
8250
|
+
f
|
|
8251
|
+
);
|
|
8252
|
+
}
|
|
8241
8253
|
};
|
|
8242
8254
|
|
|
8243
8255
|
|
|
@@ -8314,6 +8326,42 @@ proto.game.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
8314
8326
|
};
|
|
8315
8327
|
|
|
8316
8328
|
|
|
8329
|
+
/**
|
|
8330
|
+
* optional int32 is_popular = 3;
|
|
8331
|
+
* @return {number}
|
|
8332
|
+
*/
|
|
8333
|
+
proto.game.ItemsBunchRequest.prototype.getIsPopular = function() {
|
|
8334
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8335
|
+
};
|
|
8336
|
+
|
|
8337
|
+
|
|
8338
|
+
/**
|
|
8339
|
+
* @param {number} value
|
|
8340
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8341
|
+
*/
|
|
8342
|
+
proto.game.ItemsBunchRequest.prototype.setIsPopular = function(value) {
|
|
8343
|
+
return jspb.Message.setField(this, 3, value);
|
|
8344
|
+
};
|
|
8345
|
+
|
|
8346
|
+
|
|
8347
|
+
/**
|
|
8348
|
+
* Clears the field making it undefined.
|
|
8349
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8350
|
+
*/
|
|
8351
|
+
proto.game.ItemsBunchRequest.prototype.clearIsPopular = function() {
|
|
8352
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
8353
|
+
};
|
|
8354
|
+
|
|
8355
|
+
|
|
8356
|
+
/**
|
|
8357
|
+
* Returns whether this field is set.
|
|
8358
|
+
* @return {boolean}
|
|
8359
|
+
*/
|
|
8360
|
+
proto.game.ItemsBunchRequest.prototype.hasIsPopular = function() {
|
|
8361
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8362
|
+
};
|
|
8363
|
+
|
|
8364
|
+
|
|
8317
8365
|
|
|
8318
8366
|
|
|
8319
8367
|
|
|
@@ -14757,7 +14805,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
14757
14805
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
14758
14806
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
14759
14807
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14760
|
-
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
14808
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
14809
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
14761
14810
|
};
|
|
14762
14811
|
|
|
14763
14812
|
if (includeInstance) {
|
|
@@ -14826,6 +14875,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
14826
14875
|
var value = /** @type {number} */ (reader.readInt32());
|
|
14827
14876
|
msg.setCountOfGames(value);
|
|
14828
14877
|
break;
|
|
14878
|
+
case 9:
|
|
14879
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14880
|
+
msg.setIsPopular(value);
|
|
14881
|
+
break;
|
|
14829
14882
|
default:
|
|
14830
14883
|
reader.skipField();
|
|
14831
14884
|
break;
|
|
@@ -14911,6 +14964,13 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
14911
14964
|
f
|
|
14912
14965
|
);
|
|
14913
14966
|
}
|
|
14967
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
14968
|
+
if (f != null) {
|
|
14969
|
+
writer.writeInt32(
|
|
14970
|
+
9,
|
|
14971
|
+
f
|
|
14972
|
+
);
|
|
14973
|
+
}
|
|
14914
14974
|
};
|
|
14915
14975
|
|
|
14916
14976
|
|
|
@@ -15202,6 +15262,42 @@ proto.game.ProviderItem.prototype.hasCountOfGames = function() {
|
|
|
15202
15262
|
};
|
|
15203
15263
|
|
|
15204
15264
|
|
|
15265
|
+
/**
|
|
15266
|
+
* optional int32 is_popular = 9;
|
|
15267
|
+
* @return {number}
|
|
15268
|
+
*/
|
|
15269
|
+
proto.game.ProviderItem.prototype.getIsPopular = function() {
|
|
15270
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
15271
|
+
};
|
|
15272
|
+
|
|
15273
|
+
|
|
15274
|
+
/**
|
|
15275
|
+
* @param {number} value
|
|
15276
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15277
|
+
*/
|
|
15278
|
+
proto.game.ProviderItem.prototype.setIsPopular = function(value) {
|
|
15279
|
+
return jspb.Message.setField(this, 9, value);
|
|
15280
|
+
};
|
|
15281
|
+
|
|
15282
|
+
|
|
15283
|
+
/**
|
|
15284
|
+
* Clears the field making it undefined.
|
|
15285
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15286
|
+
*/
|
|
15287
|
+
proto.game.ProviderItem.prototype.clearIsPopular = function() {
|
|
15288
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
15289
|
+
};
|
|
15290
|
+
|
|
15291
|
+
|
|
15292
|
+
/**
|
|
15293
|
+
* Returns whether this field is set.
|
|
15294
|
+
* @return {boolean}
|
|
15295
|
+
*/
|
|
15296
|
+
proto.game.ProviderItem.prototype.hasIsPopular = function() {
|
|
15297
|
+
return jspb.Message.getField(this, 9) != null;
|
|
15298
|
+
};
|
|
15299
|
+
|
|
15300
|
+
|
|
15205
15301
|
|
|
15206
15302
|
/**
|
|
15207
15303
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -15468,7 +15564,8 @@ proto.game.ProviderItemRequest.toObject = function(includeInstance, msg) {
|
|
|
15468
15564
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15469
15565
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15470
15566
|
fileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
15471
|
-
fileType: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
15567
|
+
fileType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15568
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
15472
15569
|
};
|
|
15473
15570
|
|
|
15474
15571
|
if (includeInstance) {
|
|
@@ -15533,6 +15630,10 @@ proto.game.ProviderItemRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
15533
15630
|
var value = /** @type {string} */ (reader.readString());
|
|
15534
15631
|
msg.setFileType(value);
|
|
15535
15632
|
break;
|
|
15633
|
+
case 8:
|
|
15634
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15635
|
+
msg.setIsPopular(value);
|
|
15636
|
+
break;
|
|
15536
15637
|
default:
|
|
15537
15638
|
reader.skipField();
|
|
15538
15639
|
break;
|
|
@@ -15611,6 +15712,13 @@ proto.game.ProviderItemRequest.serializeBinaryToWriter = function(message, write
|
|
|
15611
15712
|
f
|
|
15612
15713
|
);
|
|
15613
15714
|
}
|
|
15715
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
15716
|
+
if (f != null) {
|
|
15717
|
+
writer.writeInt32(
|
|
15718
|
+
8,
|
|
15719
|
+
f
|
|
15720
|
+
);
|
|
15721
|
+
}
|
|
15614
15722
|
};
|
|
15615
15723
|
|
|
15616
15724
|
|
|
@@ -15866,6 +15974,42 @@ proto.game.ProviderItemRequest.prototype.hasFileType = function() {
|
|
|
15866
15974
|
};
|
|
15867
15975
|
|
|
15868
15976
|
|
|
15977
|
+
/**
|
|
15978
|
+
* optional int32 is_popular = 8;
|
|
15979
|
+
* @return {number}
|
|
15980
|
+
*/
|
|
15981
|
+
proto.game.ProviderItemRequest.prototype.getIsPopular = function() {
|
|
15982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
15983
|
+
};
|
|
15984
|
+
|
|
15985
|
+
|
|
15986
|
+
/**
|
|
15987
|
+
* @param {number} value
|
|
15988
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
15989
|
+
*/
|
|
15990
|
+
proto.game.ProviderItemRequest.prototype.setIsPopular = function(value) {
|
|
15991
|
+
return jspb.Message.setField(this, 8, value);
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
|
|
15995
|
+
/**
|
|
15996
|
+
* Clears the field making it undefined.
|
|
15997
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
15998
|
+
*/
|
|
15999
|
+
proto.game.ProviderItemRequest.prototype.clearIsPopular = function() {
|
|
16000
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
16001
|
+
};
|
|
16002
|
+
|
|
16003
|
+
|
|
16004
|
+
/**
|
|
16005
|
+
* Returns whether this field is set.
|
|
16006
|
+
* @return {boolean}
|
|
16007
|
+
*/
|
|
16008
|
+
proto.game.ProviderItemRequest.prototype.hasIsPopular = function() {
|
|
16009
|
+
return jspb.Message.getField(this, 8) != null;
|
|
16010
|
+
};
|
|
16011
|
+
|
|
16012
|
+
|
|
15869
16013
|
|
|
15870
16014
|
|
|
15871
16015
|
|