protobuf-platform 1.0.286 → 1.0.287
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 +1 -0
- package/game/game_pb.js +58 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -1027,7 +1027,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
1027
1027
|
* @constructor
|
1028
1028
|
*/
|
1029
1029
|
proto.game.GameItem = function(opt_data) {
|
1030
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
1030
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.GameItem.repeatedFields_, null);
|
1031
1031
|
};
|
1032
1032
|
goog.inherits(proto.game.GameItem, jspb.Message);
|
1033
1033
|
if (goog.DEBUG && !COMPILED) {
|
@@ -12186,6 +12186,13 @@ proto.game.IntegratorSelfValidationResponse.prototype.setData = function(value)
|
|
12186
12186
|
|
12187
12187
|
|
12188
12188
|
|
12189
|
+
/**
|
12190
|
+
* List of repeated fields within this message type.
|
12191
|
+
* @private {!Array<number>}
|
12192
|
+
* @const
|
12193
|
+
*/
|
12194
|
+
proto.game.GameItem.repeatedFields_ = [23];
|
12195
|
+
|
12189
12196
|
|
12190
12197
|
|
12191
12198
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -12238,7 +12245,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
|
|
12238
12245
|
collections: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
12239
12246
|
tags: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
12240
12247
|
isTop: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
12241
|
-
isVip: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
12248
|
+
isVip: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
12249
|
+
devicesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f
|
12242
12250
|
};
|
12243
12251
|
|
12244
12252
|
if (includeInstance) {
|
@@ -12364,6 +12372,10 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
12364
12372
|
var value = /** @type {boolean} */ (reader.readBool());
|
12365
12373
|
msg.setIsVip(value);
|
12366
12374
|
break;
|
12375
|
+
case 23:
|
12376
|
+
var value = /** @type {string} */ (reader.readString());
|
12377
|
+
msg.addDevices(value);
|
12378
|
+
break;
|
12367
12379
|
default:
|
12368
12380
|
reader.skipField();
|
12369
12381
|
break;
|
@@ -12548,6 +12560,13 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
|
|
12548
12560
|
f
|
12549
12561
|
);
|
12550
12562
|
}
|
12563
|
+
f = message.getDevicesList();
|
12564
|
+
if (f.length > 0) {
|
12565
|
+
writer.writeRepeatedString(
|
12566
|
+
23,
|
12567
|
+
f
|
12568
|
+
);
|
12569
|
+
}
|
12551
12570
|
};
|
12552
12571
|
|
12553
12572
|
|
@@ -13344,6 +13363,43 @@ proto.game.GameItem.prototype.hasIsVip = function() {
|
|
13344
13363
|
};
|
13345
13364
|
|
13346
13365
|
|
13366
|
+
/**
|
13367
|
+
* repeated string devices = 23;
|
13368
|
+
* @return {!Array<string>}
|
13369
|
+
*/
|
13370
|
+
proto.game.GameItem.prototype.getDevicesList = function() {
|
13371
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 23));
|
13372
|
+
};
|
13373
|
+
|
13374
|
+
|
13375
|
+
/**
|
13376
|
+
* @param {!Array<string>} value
|
13377
|
+
* @return {!proto.game.GameItem} returns this
|
13378
|
+
*/
|
13379
|
+
proto.game.GameItem.prototype.setDevicesList = function(value) {
|
13380
|
+
return jspb.Message.setField(this, 23, value || []);
|
13381
|
+
};
|
13382
|
+
|
13383
|
+
|
13384
|
+
/**
|
13385
|
+
* @param {string} value
|
13386
|
+
* @param {number=} opt_index
|
13387
|
+
* @return {!proto.game.GameItem} returns this
|
13388
|
+
*/
|
13389
|
+
proto.game.GameItem.prototype.addDevices = function(value, opt_index) {
|
13390
|
+
return jspb.Message.addToRepeatedField(this, 23, value, opt_index);
|
13391
|
+
};
|
13392
|
+
|
13393
|
+
|
13394
|
+
/**
|
13395
|
+
* Clears the list making it empty but non-null.
|
13396
|
+
* @return {!proto.game.GameItem} returns this
|
13397
|
+
*/
|
13398
|
+
proto.game.GameItem.prototype.clearDevicesList = function() {
|
13399
|
+
return this.setDevicesList([]);
|
13400
|
+
};
|
13401
|
+
|
13402
|
+
|
13347
13403
|
|
13348
13404
|
/**
|
13349
13405
|
* Oneof group definitions for this message. Each group defines the field
|