protobuf-platform 1.0.73 → 1.0.74
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 -1
- package/game/game_pb.js +30 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -13630,7 +13630,7 @@ proto.game.VendorActionResponse.prototype.toObject = function(opt_includeInstanc
|
|
13630
13630
|
*/
|
13631
13631
|
proto.game.VendorActionResponse.toObject = function(includeInstance, msg) {
|
13632
13632
|
var f, obj = {
|
13633
|
-
|
13633
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
13634
13634
|
};
|
13635
13635
|
|
13636
13636
|
if (includeInstance) {
|
@@ -13667,6 +13667,10 @@ proto.game.VendorActionResponse.deserializeBinaryFromReader = function(msg, read
|
|
13667
13667
|
}
|
13668
13668
|
var field = reader.getFieldNumber();
|
13669
13669
|
switch (field) {
|
13670
|
+
case 1:
|
13671
|
+
var value = /** @type {string} */ (reader.readString());
|
13672
|
+
msg.setData(value);
|
13673
|
+
break;
|
13670
13674
|
default:
|
13671
13675
|
reader.skipField();
|
13672
13676
|
break;
|
@@ -13696,6 +13700,31 @@ proto.game.VendorActionResponse.prototype.serializeBinary = function() {
|
|
13696
13700
|
*/
|
13697
13701
|
proto.game.VendorActionResponse.serializeBinaryToWriter = function(message, writer) {
|
13698
13702
|
var f = undefined;
|
13703
|
+
f = message.getData();
|
13704
|
+
if (f.length > 0) {
|
13705
|
+
writer.writeString(
|
13706
|
+
1,
|
13707
|
+
f
|
13708
|
+
);
|
13709
|
+
}
|
13710
|
+
};
|
13711
|
+
|
13712
|
+
|
13713
|
+
/**
|
13714
|
+
* optional string data = 1;
|
13715
|
+
* @return {string}
|
13716
|
+
*/
|
13717
|
+
proto.game.VendorActionResponse.prototype.getData = function() {
|
13718
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
13719
|
+
};
|
13720
|
+
|
13721
|
+
|
13722
|
+
/**
|
13723
|
+
* @param {string} value
|
13724
|
+
* @return {!proto.game.VendorActionResponse} returns this
|
13725
|
+
*/
|
13726
|
+
proto.game.VendorActionResponse.prototype.setData = function(value) {
|
13727
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
13699
13728
|
};
|
13700
13729
|
|
13701
13730
|
|