protobuf-platform 1.0.274 → 1.0.275
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 -2
- package/game/game_pb.js +59 -11
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -87,8 +87,9 @@ message PongResponse { string pong = 1; }
|
|
87
87
|
message PaginationRequest {
|
88
88
|
int32 limit = 1;
|
89
89
|
int32 offset = 2;
|
90
|
-
optional
|
91
|
-
optional
|
90
|
+
optional bool admin_side = 3;
|
91
|
+
optional GameSearchRequest game_search_params = 4;
|
92
|
+
optional WagerSearchRequest wager_search_params = 5;
|
92
93
|
}
|
93
94
|
message GameSearchRequest {
|
94
95
|
optional int32 is_active = 1;
|
package/game/game_pb.js
CHANGED
@@ -2234,6 +2234,7 @@ proto.game.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
2234
2234
|
var f, obj = {
|
2235
2235
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2236
2236
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2237
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
2237
2238
|
gameSearchParams: (f = msg.getGameSearchParams()) && proto.game.GameSearchRequest.toObject(includeInstance, f),
|
2238
2239
|
wagerSearchParams: (f = msg.getWagerSearchParams()) && proto.game.WagerSearchRequest.toObject(includeInstance, f)
|
2239
2240
|
};
|
@@ -2281,11 +2282,15 @@ proto.game.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2281
2282
|
msg.setOffset(value);
|
2282
2283
|
break;
|
2283
2284
|
case 3:
|
2285
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
2286
|
+
msg.setAdminSide(value);
|
2287
|
+
break;
|
2288
|
+
case 4:
|
2284
2289
|
var value = new proto.game.GameSearchRequest;
|
2285
2290
|
reader.readMessage(value,proto.game.GameSearchRequest.deserializeBinaryFromReader);
|
2286
2291
|
msg.setGameSearchParams(value);
|
2287
2292
|
break;
|
2288
|
-
case
|
2293
|
+
case 5:
|
2289
2294
|
var value = new proto.game.WagerSearchRequest;
|
2290
2295
|
reader.readMessage(value,proto.game.WagerSearchRequest.deserializeBinaryFromReader);
|
2291
2296
|
msg.setWagerSearchParams(value);
|
@@ -2333,10 +2338,17 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2333
2338
|
f
|
2334
2339
|
);
|
2335
2340
|
}
|
2341
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
2342
|
+
if (f != null) {
|
2343
|
+
writer.writeBool(
|
2344
|
+
3,
|
2345
|
+
f
|
2346
|
+
);
|
2347
|
+
}
|
2336
2348
|
f = message.getGameSearchParams();
|
2337
2349
|
if (f != null) {
|
2338
2350
|
writer.writeMessage(
|
2339
|
-
|
2351
|
+
4,
|
2340
2352
|
f,
|
2341
2353
|
proto.game.GameSearchRequest.serializeBinaryToWriter
|
2342
2354
|
);
|
@@ -2344,7 +2356,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2344
2356
|
f = message.getWagerSearchParams();
|
2345
2357
|
if (f != null) {
|
2346
2358
|
writer.writeMessage(
|
2347
|
-
|
2359
|
+
5,
|
2348
2360
|
f,
|
2349
2361
|
proto.game.WagerSearchRequest.serializeBinaryToWriter
|
2350
2362
|
);
|
@@ -2389,12 +2401,48 @@ proto.game.PaginationRequest.prototype.setOffset = function(value) {
|
|
2389
2401
|
|
2390
2402
|
|
2391
2403
|
/**
|
2392
|
-
* optional
|
2404
|
+
* optional bool admin_side = 3;
|
2405
|
+
* @return {boolean}
|
2406
|
+
*/
|
2407
|
+
proto.game.PaginationRequest.prototype.getAdminSide = function() {
|
2408
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
2409
|
+
};
|
2410
|
+
|
2411
|
+
|
2412
|
+
/**
|
2413
|
+
* @param {boolean} value
|
2414
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2415
|
+
*/
|
2416
|
+
proto.game.PaginationRequest.prototype.setAdminSide = function(value) {
|
2417
|
+
return jspb.Message.setField(this, 3, value);
|
2418
|
+
};
|
2419
|
+
|
2420
|
+
|
2421
|
+
/**
|
2422
|
+
* Clears the field making it undefined.
|
2423
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2424
|
+
*/
|
2425
|
+
proto.game.PaginationRequest.prototype.clearAdminSide = function() {
|
2426
|
+
return jspb.Message.setField(this, 3, undefined);
|
2427
|
+
};
|
2428
|
+
|
2429
|
+
|
2430
|
+
/**
|
2431
|
+
* Returns whether this field is set.
|
2432
|
+
* @return {boolean}
|
2433
|
+
*/
|
2434
|
+
proto.game.PaginationRequest.prototype.hasAdminSide = function() {
|
2435
|
+
return jspb.Message.getField(this, 3) != null;
|
2436
|
+
};
|
2437
|
+
|
2438
|
+
|
2439
|
+
/**
|
2440
|
+
* optional GameSearchRequest game_search_params = 4;
|
2393
2441
|
* @return {?proto.game.GameSearchRequest}
|
2394
2442
|
*/
|
2395
2443
|
proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
2396
2444
|
return /** @type{?proto.game.GameSearchRequest} */ (
|
2397
|
-
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest,
|
2445
|
+
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest, 4));
|
2398
2446
|
};
|
2399
2447
|
|
2400
2448
|
|
@@ -2403,7 +2451,7 @@ proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
|
2403
2451
|
* @return {!proto.game.PaginationRequest} returns this
|
2404
2452
|
*/
|
2405
2453
|
proto.game.PaginationRequest.prototype.setGameSearchParams = function(value) {
|
2406
|
-
return jspb.Message.setWrapperField(this,
|
2454
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
2407
2455
|
};
|
2408
2456
|
|
2409
2457
|
|
@@ -2421,17 +2469,17 @@ proto.game.PaginationRequest.prototype.clearGameSearchParams = function() {
|
|
2421
2469
|
* @return {boolean}
|
2422
2470
|
*/
|
2423
2471
|
proto.game.PaginationRequest.prototype.hasGameSearchParams = function() {
|
2424
|
-
return jspb.Message.getField(this,
|
2472
|
+
return jspb.Message.getField(this, 4) != null;
|
2425
2473
|
};
|
2426
2474
|
|
2427
2475
|
|
2428
2476
|
/**
|
2429
|
-
* optional WagerSearchRequest wager_search_params =
|
2477
|
+
* optional WagerSearchRequest wager_search_params = 5;
|
2430
2478
|
* @return {?proto.game.WagerSearchRequest}
|
2431
2479
|
*/
|
2432
2480
|
proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
2433
2481
|
return /** @type{?proto.game.WagerSearchRequest} */ (
|
2434
|
-
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest,
|
2482
|
+
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest, 5));
|
2435
2483
|
};
|
2436
2484
|
|
2437
2485
|
|
@@ -2440,7 +2488,7 @@ proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
|
2440
2488
|
* @return {!proto.game.PaginationRequest} returns this
|
2441
2489
|
*/
|
2442
2490
|
proto.game.PaginationRequest.prototype.setWagerSearchParams = function(value) {
|
2443
|
-
return jspb.Message.setWrapperField(this,
|
2491
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
2444
2492
|
};
|
2445
2493
|
|
2446
2494
|
|
@@ -2458,7 +2506,7 @@ proto.game.PaginationRequest.prototype.clearWagerSearchParams = function() {
|
|
2458
2506
|
* @return {boolean}
|
2459
2507
|
*/
|
2460
2508
|
proto.game.PaginationRequest.prototype.hasWagerSearchParams = function() {
|
2461
|
-
return jspb.Message.getField(this,
|
2509
|
+
return jspb.Message.getField(this, 5) != null;
|
2462
2510
|
};
|
2463
2511
|
|
2464
2512
|
|