protobuf-platform 1.2.563 → 1.2.564
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/bonus/bonus.proto +1 -0
- package/bonus/bonus_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
package/bonus/bonus_pb.js
CHANGED
|
@@ -7985,7 +7985,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
7985
7985
|
availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
|
|
7986
7986
|
portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
|
|
7987
7987
|
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
7988
|
-
canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
|
|
7988
|
+
canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false),
|
|
7989
|
+
content: jspb.Message.getFieldWithDefault(msg, 46, "")
|
|
7989
7990
|
};
|
|
7990
7991
|
|
|
7991
7992
|
if (includeInstance) {
|
|
@@ -8215,6 +8216,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8215
8216
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
8216
8217
|
msg.setCanGuestShow(value);
|
|
8217
8218
|
break;
|
|
8219
|
+
case 46:
|
|
8220
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8221
|
+
msg.setContent(value);
|
|
8222
|
+
break;
|
|
8218
8223
|
default:
|
|
8219
8224
|
reader.skipField();
|
|
8220
8225
|
break;
|
|
@@ -8566,6 +8571,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
8566
8571
|
f
|
|
8567
8572
|
);
|
|
8568
8573
|
}
|
|
8574
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 46));
|
|
8575
|
+
if (f != null) {
|
|
8576
|
+
writer.writeString(
|
|
8577
|
+
46,
|
|
8578
|
+
f
|
|
8579
|
+
);
|
|
8580
|
+
}
|
|
8569
8581
|
};
|
|
8570
8582
|
|
|
8571
8583
|
|
|
@@ -10189,6 +10201,42 @@ proto.bonus.BonusItem.prototype.hasCanGuestShow = function() {
|
|
|
10189
10201
|
};
|
|
10190
10202
|
|
|
10191
10203
|
|
|
10204
|
+
/**
|
|
10205
|
+
* optional string content = 46;
|
|
10206
|
+
* @return {string}
|
|
10207
|
+
*/
|
|
10208
|
+
proto.bonus.BonusItem.prototype.getContent = function() {
|
|
10209
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
|
|
10210
|
+
};
|
|
10211
|
+
|
|
10212
|
+
|
|
10213
|
+
/**
|
|
10214
|
+
* @param {string} value
|
|
10215
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
10216
|
+
*/
|
|
10217
|
+
proto.bonus.BonusItem.prototype.setContent = function(value) {
|
|
10218
|
+
return jspb.Message.setField(this, 46, value);
|
|
10219
|
+
};
|
|
10220
|
+
|
|
10221
|
+
|
|
10222
|
+
/**
|
|
10223
|
+
* Clears the field making it undefined.
|
|
10224
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
10225
|
+
*/
|
|
10226
|
+
proto.bonus.BonusItem.prototype.clearContent = function() {
|
|
10227
|
+
return jspb.Message.setField(this, 46, undefined);
|
|
10228
|
+
};
|
|
10229
|
+
|
|
10230
|
+
|
|
10231
|
+
/**
|
|
10232
|
+
* Returns whether this field is set.
|
|
10233
|
+
* @return {boolean}
|
|
10234
|
+
*/
|
|
10235
|
+
proto.bonus.BonusItem.prototype.hasContent = function() {
|
|
10236
|
+
return jspb.Message.getField(this, 46) != null;
|
|
10237
|
+
};
|
|
10238
|
+
|
|
10239
|
+
|
|
10192
10240
|
|
|
10193
10241
|
/**
|
|
10194
10242
|
* List of repeated fields within this message type.
|