protobuf-platform 1.0.159 → 1.0.160
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 -3
- package/game/game_pb.js +24 -24
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -83,9 +83,9 @@ message PaginationRequest {
|
|
83
83
|
optional WagerSearchRequest wager_search_params = 4;
|
84
84
|
}
|
85
85
|
message GameSearchRequest {
|
86
|
-
optional
|
87
|
-
optional
|
88
|
-
optional
|
86
|
+
optional int32 is_active = 1;
|
87
|
+
optional int32 is_deactivated = 2;
|
88
|
+
optional int32 has_category = 3;
|
89
89
|
optional string game_title = 4;
|
90
90
|
repeated int32 category_ids = 5;
|
91
91
|
repeated int32 collection_ids = 6;
|
package/game/game_pb.js
CHANGED
@@ -2347,9 +2347,9 @@ proto.game.GameSearchRequest.prototype.toObject = function(opt_includeInstance)
|
|
2347
2347
|
*/
|
2348
2348
|
proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
2349
2349
|
var f, obj = {
|
2350
|
-
isActive: jspb.Message.
|
2351
|
-
isDeactivated: jspb.Message.
|
2352
|
-
hasCategory: jspb.Message.
|
2350
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2351
|
+
isDeactivated: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2352
|
+
hasCategory: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
2353
2353
|
gameTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
2354
2354
|
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
2355
2355
|
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
@@ -2396,15 +2396,15 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2396
2396
|
var field = reader.getFieldNumber();
|
2397
2397
|
switch (field) {
|
2398
2398
|
case 1:
|
2399
|
-
var value = /** @type {
|
2399
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2400
2400
|
msg.setIsActive(value);
|
2401
2401
|
break;
|
2402
2402
|
case 2:
|
2403
|
-
var value = /** @type {
|
2403
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2404
2404
|
msg.setIsDeactivated(value);
|
2405
2405
|
break;
|
2406
2406
|
case 3:
|
2407
|
-
var value = /** @type {
|
2407
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2408
2408
|
msg.setHasCategory(value);
|
2409
2409
|
break;
|
2410
2410
|
case 4:
|
@@ -2480,23 +2480,23 @@ proto.game.GameSearchRequest.prototype.serializeBinary = function() {
|
|
2480
2480
|
*/
|
2481
2481
|
proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
2482
2482
|
var f = undefined;
|
2483
|
-
f = /** @type {
|
2483
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
2484
2484
|
if (f != null) {
|
2485
|
-
writer.
|
2485
|
+
writer.writeInt32(
|
2486
2486
|
1,
|
2487
2487
|
f
|
2488
2488
|
);
|
2489
2489
|
}
|
2490
|
-
f = /** @type {
|
2490
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
2491
2491
|
if (f != null) {
|
2492
|
-
writer.
|
2492
|
+
writer.writeInt32(
|
2493
2493
|
2,
|
2494
2494
|
f
|
2495
2495
|
);
|
2496
2496
|
}
|
2497
|
-
f = /** @type {
|
2497
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
2498
2498
|
if (f != null) {
|
2499
|
-
writer.
|
2499
|
+
writer.writeInt32(
|
2500
2500
|
3,
|
2501
2501
|
f
|
2502
2502
|
);
|
@@ -2568,16 +2568,16 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2568
2568
|
|
2569
2569
|
|
2570
2570
|
/**
|
2571
|
-
* optional
|
2572
|
-
* @return {
|
2571
|
+
* optional int32 is_active = 1;
|
2572
|
+
* @return {number}
|
2573
2573
|
*/
|
2574
2574
|
proto.game.GameSearchRequest.prototype.getIsActive = function() {
|
2575
|
-
return /** @type {
|
2575
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
2576
2576
|
};
|
2577
2577
|
|
2578
2578
|
|
2579
2579
|
/**
|
2580
|
-
* @param {
|
2580
|
+
* @param {number} value
|
2581
2581
|
* @return {!proto.game.GameSearchRequest} returns this
|
2582
2582
|
*/
|
2583
2583
|
proto.game.GameSearchRequest.prototype.setIsActive = function(value) {
|
@@ -2604,16 +2604,16 @@ proto.game.GameSearchRequest.prototype.hasIsActive = function() {
|
|
2604
2604
|
|
2605
2605
|
|
2606
2606
|
/**
|
2607
|
-
* optional
|
2608
|
-
* @return {
|
2607
|
+
* optional int32 is_deactivated = 2;
|
2608
|
+
* @return {number}
|
2609
2609
|
*/
|
2610
2610
|
proto.game.GameSearchRequest.prototype.getIsDeactivated = function() {
|
2611
|
-
return /** @type {
|
2611
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
2612
2612
|
};
|
2613
2613
|
|
2614
2614
|
|
2615
2615
|
/**
|
2616
|
-
* @param {
|
2616
|
+
* @param {number} value
|
2617
2617
|
* @return {!proto.game.GameSearchRequest} returns this
|
2618
2618
|
*/
|
2619
2619
|
proto.game.GameSearchRequest.prototype.setIsDeactivated = function(value) {
|
@@ -2640,16 +2640,16 @@ proto.game.GameSearchRequest.prototype.hasIsDeactivated = function() {
|
|
2640
2640
|
|
2641
2641
|
|
2642
2642
|
/**
|
2643
|
-
* optional
|
2644
|
-
* @return {
|
2643
|
+
* optional int32 has_category = 3;
|
2644
|
+
* @return {number}
|
2645
2645
|
*/
|
2646
2646
|
proto.game.GameSearchRequest.prototype.getHasCategory = function() {
|
2647
|
-
return /** @type {
|
2647
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
2648
2648
|
};
|
2649
2649
|
|
2650
2650
|
|
2651
2651
|
/**
|
2652
|
-
* @param {
|
2652
|
+
* @param {number} value
|
2653
2653
|
* @return {!proto.game.GameSearchRequest} returns this
|
2654
2654
|
*/
|
2655
2655
|
proto.game.GameSearchRequest.prototype.setHasCategory = function(value) {
|