protobuf-platform 1.2.534 → 1.2.536
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 +51 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
|
@@ -20415,7 +20415,7 @@ proto.game.GameImages.prototype.hasSquare = function() {
|
|
|
20415
20415
|
* @private {!Array<number>}
|
|
20416
20416
|
* @const
|
|
20417
20417
|
*/
|
|
20418
|
-
proto.game.GameItem.repeatedFields_ = [23];
|
|
20418
|
+
proto.game.GameItem.repeatedFields_ = [23,30];
|
|
20419
20419
|
|
|
20420
20420
|
|
|
20421
20421
|
|
|
@@ -20476,7 +20476,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
|
|
|
20476
20476
|
isNew: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
20477
20477
|
isPopular: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
|
20478
20478
|
isExclusive: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
|
|
20479
|
-
isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
20479
|
+
isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
|
|
20480
|
+
supportedCurrenciesList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f
|
|
20480
20481
|
};
|
|
20481
20482
|
|
|
20482
20483
|
if (includeInstance) {
|
|
@@ -20631,6 +20632,10 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
20631
20632
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
20632
20633
|
msg.setIsTrending(value);
|
|
20633
20634
|
break;
|
|
20635
|
+
case 30:
|
|
20636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20637
|
+
msg.addSupportedCurrencies(value);
|
|
20638
|
+
break;
|
|
20634
20639
|
default:
|
|
20635
20640
|
reader.skipField();
|
|
20636
20641
|
break;
|
|
@@ -20865,6 +20870,13 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
20865
20870
|
f
|
|
20866
20871
|
);
|
|
20867
20872
|
}
|
|
20873
|
+
f = message.getSupportedCurrenciesList();
|
|
20874
|
+
if (f.length > 0) {
|
|
20875
|
+
writer.writeRepeatedString(
|
|
20876
|
+
30,
|
|
20877
|
+
f
|
|
20878
|
+
);
|
|
20879
|
+
}
|
|
20868
20880
|
};
|
|
20869
20881
|
|
|
20870
20882
|
|
|
@@ -21915,6 +21927,43 @@ proto.game.GameItem.prototype.hasIsTrending = function() {
|
|
|
21915
21927
|
};
|
|
21916
21928
|
|
|
21917
21929
|
|
|
21930
|
+
/**
|
|
21931
|
+
* repeated string supported_currencies = 30;
|
|
21932
|
+
* @return {!Array<string>}
|
|
21933
|
+
*/
|
|
21934
|
+
proto.game.GameItem.prototype.getSupportedCurrenciesList = function() {
|
|
21935
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 30));
|
|
21936
|
+
};
|
|
21937
|
+
|
|
21938
|
+
|
|
21939
|
+
/**
|
|
21940
|
+
* @param {!Array<string>} value
|
|
21941
|
+
* @return {!proto.game.GameItem} returns this
|
|
21942
|
+
*/
|
|
21943
|
+
proto.game.GameItem.prototype.setSupportedCurrenciesList = function(value) {
|
|
21944
|
+
return jspb.Message.setField(this, 30, value || []);
|
|
21945
|
+
};
|
|
21946
|
+
|
|
21947
|
+
|
|
21948
|
+
/**
|
|
21949
|
+
* @param {string} value
|
|
21950
|
+
* @param {number=} opt_index
|
|
21951
|
+
* @return {!proto.game.GameItem} returns this
|
|
21952
|
+
*/
|
|
21953
|
+
proto.game.GameItem.prototype.addSupportedCurrencies = function(value, opt_index) {
|
|
21954
|
+
return jspb.Message.addToRepeatedField(this, 30, value, opt_index);
|
|
21955
|
+
};
|
|
21956
|
+
|
|
21957
|
+
|
|
21958
|
+
/**
|
|
21959
|
+
* Clears the list making it empty but non-null.
|
|
21960
|
+
* @return {!proto.game.GameItem} returns this
|
|
21961
|
+
*/
|
|
21962
|
+
proto.game.GameItem.prototype.clearSupportedCurrenciesList = function() {
|
|
21963
|
+
return this.setSupportedCurrenciesList([]);
|
|
21964
|
+
};
|
|
21965
|
+
|
|
21966
|
+
|
|
21918
21967
|
|
|
21919
21968
|
/**
|
|
21920
21969
|
* Oneof group definitions for this message. Each group defines the field
|