protobuf-platform 1.2.434 → 1.2.435
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/package.json
CHANGED
|
@@ -218,6 +218,7 @@ message UserTournamentItem {
|
|
|
218
218
|
optional uint64 finished_in_milliseconds = 17;
|
|
219
219
|
repeated GamePoorItem eligible_games = 18;
|
|
220
220
|
optional TournamentScoreItem score = 19;
|
|
221
|
+
repeated RewardItem places = 20;
|
|
221
222
|
}
|
|
222
223
|
message UserTournamentItemsResponse {
|
|
223
224
|
repeated UserTournamentItem items = 1;
|
|
@@ -9221,7 +9221,7 @@ proto.tournament.GamePoorItem.prototype.hasProviderSlug = function() {
|
|
|
9221
9221
|
* @private {!Array<number>}
|
|
9222
9222
|
* @const
|
|
9223
9223
|
*/
|
|
9224
|
-
proto.tournament.UserTournamentItem.repeatedFields_ = [11,12,18];
|
|
9224
|
+
proto.tournament.UserTournamentItem.repeatedFields_ = [11,12,18,20];
|
|
9225
9225
|
|
|
9226
9226
|
|
|
9227
9227
|
|
|
@@ -9275,7 +9275,9 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
|
9275
9275
|
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
9276
9276
|
eligibleGamesList: jspb.Message.toObjectList(msg.getEligibleGamesList(),
|
|
9277
9277
|
proto.tournament.GamePoorItem.toObject, includeInstance),
|
|
9278
|
-
score: (f = msg.getScore()) && proto.tournament.TournamentScoreItem.toObject(includeInstance, f)
|
|
9278
|
+
score: (f = msg.getScore()) && proto.tournament.TournamentScoreItem.toObject(includeInstance, f),
|
|
9279
|
+
placesList: jspb.Message.toObjectList(msg.getPlacesList(),
|
|
9280
|
+
proto.tournament.RewardItem.toObject, includeInstance)
|
|
9279
9281
|
};
|
|
9280
9282
|
|
|
9281
9283
|
if (includeInstance) {
|
|
@@ -9392,6 +9394,11 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
|
9392
9394
|
reader.readMessage(value,proto.tournament.TournamentScoreItem.deserializeBinaryFromReader);
|
|
9393
9395
|
msg.setScore(value);
|
|
9394
9396
|
break;
|
|
9397
|
+
case 20:
|
|
9398
|
+
var value = new proto.tournament.RewardItem;
|
|
9399
|
+
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
|
9400
|
+
msg.addPlaces(value);
|
|
9401
|
+
break;
|
|
9395
9402
|
default:
|
|
9396
9403
|
reader.skipField();
|
|
9397
9404
|
break;
|
|
@@ -9558,6 +9565,14 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
|
9558
9565
|
proto.tournament.TournamentScoreItem.serializeBinaryToWriter
|
|
9559
9566
|
);
|
|
9560
9567
|
}
|
|
9568
|
+
f = message.getPlacesList();
|
|
9569
|
+
if (f.length > 0) {
|
|
9570
|
+
writer.writeRepeatedMessage(
|
|
9571
|
+
20,
|
|
9572
|
+
f,
|
|
9573
|
+
proto.tournament.RewardItem.serializeBinaryToWriter
|
|
9574
|
+
);
|
|
9575
|
+
}
|
|
9561
9576
|
};
|
|
9562
9577
|
|
|
9563
9578
|
|
|
@@ -10252,6 +10267,44 @@ proto.tournament.UserTournamentItem.prototype.hasScore = function() {
|
|
|
10252
10267
|
};
|
|
10253
10268
|
|
|
10254
10269
|
|
|
10270
|
+
/**
|
|
10271
|
+
* repeated RewardItem places = 20;
|
|
10272
|
+
* @return {!Array<!proto.tournament.RewardItem>}
|
|
10273
|
+
*/
|
|
10274
|
+
proto.tournament.UserTournamentItem.prototype.getPlacesList = function() {
|
|
10275
|
+
return /** @type{!Array<!proto.tournament.RewardItem>} */ (
|
|
10276
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem, 20));
|
|
10277
|
+
};
|
|
10278
|
+
|
|
10279
|
+
|
|
10280
|
+
/**
|
|
10281
|
+
* @param {!Array<!proto.tournament.RewardItem>} value
|
|
10282
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10283
|
+
*/
|
|
10284
|
+
proto.tournament.UserTournamentItem.prototype.setPlacesList = function(value) {
|
|
10285
|
+
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
|
10286
|
+
};
|
|
10287
|
+
|
|
10288
|
+
|
|
10289
|
+
/**
|
|
10290
|
+
* @param {!proto.tournament.RewardItem=} opt_value
|
|
10291
|
+
* @param {number=} opt_index
|
|
10292
|
+
* @return {!proto.tournament.RewardItem}
|
|
10293
|
+
*/
|
|
10294
|
+
proto.tournament.UserTournamentItem.prototype.addPlaces = function(opt_value, opt_index) {
|
|
10295
|
+
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.tournament.RewardItem, opt_index);
|
|
10296
|
+
};
|
|
10297
|
+
|
|
10298
|
+
|
|
10299
|
+
/**
|
|
10300
|
+
* Clears the list making it empty but non-null.
|
|
10301
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10302
|
+
*/
|
|
10303
|
+
proto.tournament.UserTournamentItem.prototype.clearPlacesList = function() {
|
|
10304
|
+
return this.setPlacesList([]);
|
|
10305
|
+
};
|
|
10306
|
+
|
|
10307
|
+
|
|
10255
10308
|
|
|
10256
10309
|
/**
|
|
10257
10310
|
* List of repeated fields within this message type.
|