protobuf-platform 1.1.18 → 1.1.19
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
@@ -173,6 +173,7 @@ message UserTournamentItem {
|
|
173
173
|
repeated RewardItem rewards = 11;
|
174
174
|
optional string content = 12;
|
175
175
|
optional string slug = 13;
|
176
|
+
optional bool can_activated = 14;
|
176
177
|
}
|
177
178
|
message UserTournamentItemsResponse {
|
178
179
|
repeated UserTournamentItem items = 1;
|
@@ -7560,7 +7560,8 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
7560
7560
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
7561
7561
|
proto.tournament.RewardItem.toObject, includeInstance),
|
7562
7562
|
content: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
7563
|
-
slug: jspb.Message.getFieldWithDefault(msg, 13, "")
|
7563
|
+
slug: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
7564
|
+
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
7564
7565
|
};
|
7565
7566
|
|
7566
7567
|
if (includeInstance) {
|
@@ -7651,6 +7652,10 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
7651
7652
|
var value = /** @type {string} */ (reader.readString());
|
7652
7653
|
msg.setSlug(value);
|
7653
7654
|
break;
|
7655
|
+
case 14:
|
7656
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
7657
|
+
msg.setCanActivated(value);
|
7658
|
+
break;
|
7654
7659
|
default:
|
7655
7660
|
reader.skipField();
|
7656
7661
|
break;
|
@@ -7773,6 +7778,13 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
7773
7778
|
f
|
7774
7779
|
);
|
7775
7780
|
}
|
7781
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 14));
|
7782
|
+
if (f != null) {
|
7783
|
+
writer.writeBool(
|
7784
|
+
14,
|
7785
|
+
f
|
7786
|
+
);
|
7787
|
+
}
|
7776
7788
|
};
|
7777
7789
|
|
7778
7790
|
|
@@ -8248,6 +8260,42 @@ proto.tournament.UserTournamentItem.prototype.hasSlug = function() {
|
|
8248
8260
|
};
|
8249
8261
|
|
8250
8262
|
|
8263
|
+
/**
|
8264
|
+
* optional bool can_activated = 14;
|
8265
|
+
* @return {boolean}
|
8266
|
+
*/
|
8267
|
+
proto.tournament.UserTournamentItem.prototype.getCanActivated = function() {
|
8268
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
8269
|
+
};
|
8270
|
+
|
8271
|
+
|
8272
|
+
/**
|
8273
|
+
* @param {boolean} value
|
8274
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8275
|
+
*/
|
8276
|
+
proto.tournament.UserTournamentItem.prototype.setCanActivated = function(value) {
|
8277
|
+
return jspb.Message.setField(this, 14, value);
|
8278
|
+
};
|
8279
|
+
|
8280
|
+
|
8281
|
+
/**
|
8282
|
+
* Clears the field making it undefined.
|
8283
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
8284
|
+
*/
|
8285
|
+
proto.tournament.UserTournamentItem.prototype.clearCanActivated = function() {
|
8286
|
+
return jspb.Message.setField(this, 14, undefined);
|
8287
|
+
};
|
8288
|
+
|
8289
|
+
|
8290
|
+
/**
|
8291
|
+
* Returns whether this field is set.
|
8292
|
+
* @return {boolean}
|
8293
|
+
*/
|
8294
|
+
proto.tournament.UserTournamentItem.prototype.hasCanActivated = function() {
|
8295
|
+
return jspb.Message.getField(this, 14) != null;
|
8296
|
+
};
|
8297
|
+
|
8298
|
+
|
8251
8299
|
|
8252
8300
|
/**
|
8253
8301
|
* List of repeated fields within this message type.
|