protobuf-platform 1.0.102 → 1.0.103
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 +97 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -1908,7 +1908,9 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
1908
1908
|
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
1909
1909
|
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
1910
1910
|
geosList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
1911
|
-
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
1911
|
+
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
1912
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
1913
|
+
userGeo: jspb.Message.getFieldWithDefault(msg, 11, "")
|
1912
1914
|
};
|
1913
1915
|
|
1914
1916
|
if (includeInstance) {
|
@@ -1989,6 +1991,14 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
1989
1991
|
msg.addProviderIds(values[i]);
|
1990
1992
|
}
|
1991
1993
|
break;
|
1994
|
+
case 10:
|
1995
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
1996
|
+
msg.setIsMobile(value);
|
1997
|
+
break;
|
1998
|
+
case 11:
|
1999
|
+
var value = /** @type {string} */ (reader.readString());
|
2000
|
+
msg.setUserGeo(value);
|
2001
|
+
break;
|
1992
2002
|
default:
|
1993
2003
|
reader.skipField();
|
1994
2004
|
break;
|
@@ -2081,6 +2091,20 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2081
2091
|
f
|
2082
2092
|
);
|
2083
2093
|
}
|
2094
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
2095
|
+
if (f != null) {
|
2096
|
+
writer.writeBool(
|
2097
|
+
10,
|
2098
|
+
f
|
2099
|
+
);
|
2100
|
+
}
|
2101
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
2102
|
+
if (f != null) {
|
2103
|
+
writer.writeString(
|
2104
|
+
11,
|
2105
|
+
f
|
2106
|
+
);
|
2107
|
+
}
|
2084
2108
|
};
|
2085
2109
|
|
2086
2110
|
|
@@ -2413,6 +2437,78 @@ proto.game.GameSearchRequest.prototype.clearProviderIdsList = function() {
|
|
2413
2437
|
};
|
2414
2438
|
|
2415
2439
|
|
2440
|
+
/**
|
2441
|
+
* optional bool is_mobile = 10;
|
2442
|
+
* @return {boolean}
|
2443
|
+
*/
|
2444
|
+
proto.game.GameSearchRequest.prototype.getIsMobile = function() {
|
2445
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
2446
|
+
};
|
2447
|
+
|
2448
|
+
|
2449
|
+
/**
|
2450
|
+
* @param {boolean} value
|
2451
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2452
|
+
*/
|
2453
|
+
proto.game.GameSearchRequest.prototype.setIsMobile = function(value) {
|
2454
|
+
return jspb.Message.setField(this, 10, value);
|
2455
|
+
};
|
2456
|
+
|
2457
|
+
|
2458
|
+
/**
|
2459
|
+
* Clears the field making it undefined.
|
2460
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2461
|
+
*/
|
2462
|
+
proto.game.GameSearchRequest.prototype.clearIsMobile = function() {
|
2463
|
+
return jspb.Message.setField(this, 10, undefined);
|
2464
|
+
};
|
2465
|
+
|
2466
|
+
|
2467
|
+
/**
|
2468
|
+
* Returns whether this field is set.
|
2469
|
+
* @return {boolean}
|
2470
|
+
*/
|
2471
|
+
proto.game.GameSearchRequest.prototype.hasIsMobile = function() {
|
2472
|
+
return jspb.Message.getField(this, 10) != null;
|
2473
|
+
};
|
2474
|
+
|
2475
|
+
|
2476
|
+
/**
|
2477
|
+
* optional string user_geo = 11;
|
2478
|
+
* @return {string}
|
2479
|
+
*/
|
2480
|
+
proto.game.GameSearchRequest.prototype.getUserGeo = function() {
|
2481
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
2482
|
+
};
|
2483
|
+
|
2484
|
+
|
2485
|
+
/**
|
2486
|
+
* @param {string} value
|
2487
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2488
|
+
*/
|
2489
|
+
proto.game.GameSearchRequest.prototype.setUserGeo = function(value) {
|
2490
|
+
return jspb.Message.setField(this, 11, value);
|
2491
|
+
};
|
2492
|
+
|
2493
|
+
|
2494
|
+
/**
|
2495
|
+
* Clears the field making it undefined.
|
2496
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
2497
|
+
*/
|
2498
|
+
proto.game.GameSearchRequest.prototype.clearUserGeo = function() {
|
2499
|
+
return jspb.Message.setField(this, 11, undefined);
|
2500
|
+
};
|
2501
|
+
|
2502
|
+
|
2503
|
+
/**
|
2504
|
+
* Returns whether this field is set.
|
2505
|
+
* @return {boolean}
|
2506
|
+
*/
|
2507
|
+
proto.game.GameSearchRequest.prototype.hasUserGeo = function() {
|
2508
|
+
return jspb.Message.getField(this, 11) != null;
|
2509
|
+
};
|
2510
|
+
|
2511
|
+
|
2416
2512
|
|
2417
2513
|
|
2418
2514
|
|