protobuf-platform 1.0.142 → 1.0.143
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 +2 -2
- package/game/game_pb.js +16 -16
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -322,8 +322,8 @@ message GameItemRequest {
|
|
322
322
|
optional string type = 11;
|
323
323
|
optional string file_name = 12;
|
324
324
|
optional string file_type = 13;
|
325
|
-
optional
|
326
|
-
optional
|
325
|
+
optional int32 is_top = 14;
|
326
|
+
optional int32 is_vip = 15;
|
327
327
|
|
328
328
|
}
|
329
329
|
message GetGameRequest {
|
package/game/game_pb.js
CHANGED
@@ -12930,8 +12930,8 @@ proto.game.GameItemRequest.toObject = function(includeInstance, msg) {
|
|
12930
12930
|
type: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
12931
12931
|
fileName: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
12932
12932
|
fileType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
12933
|
-
isTop: jspb.Message.
|
12934
|
-
isVip: jspb.Message.
|
12933
|
+
isTop: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
12934
|
+
isVip: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
12935
12935
|
};
|
12936
12936
|
|
12937
12937
|
if (includeInstance) {
|
@@ -13022,11 +13022,11 @@ proto.game.GameItemRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13022
13022
|
msg.setFileType(value);
|
13023
13023
|
break;
|
13024
13024
|
case 14:
|
13025
|
-
var value = /** @type {
|
13025
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13026
13026
|
msg.setIsTop(value);
|
13027
13027
|
break;
|
13028
13028
|
case 15:
|
13029
|
-
var value = /** @type {
|
13029
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13030
13030
|
msg.setIsVip(value);
|
13031
13031
|
break;
|
13032
13032
|
default:
|
@@ -13150,16 +13150,16 @@ proto.game.GameItemRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13150
13150
|
f
|
13151
13151
|
);
|
13152
13152
|
}
|
13153
|
-
f = /** @type {
|
13153
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
13154
13154
|
if (f != null) {
|
13155
|
-
writer.
|
13155
|
+
writer.writeInt32(
|
13156
13156
|
14,
|
13157
13157
|
f
|
13158
13158
|
);
|
13159
13159
|
}
|
13160
|
-
f = /** @type {
|
13160
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
13161
13161
|
if (f != null) {
|
13162
|
-
writer.
|
13162
|
+
writer.writeInt32(
|
13163
13163
|
15,
|
13164
13164
|
f
|
13165
13165
|
);
|
@@ -13637,16 +13637,16 @@ proto.game.GameItemRequest.prototype.hasFileType = function() {
|
|
13637
13637
|
|
13638
13638
|
|
13639
13639
|
/**
|
13640
|
-
* optional
|
13641
|
-
* @return {
|
13640
|
+
* optional int32 is_top = 14;
|
13641
|
+
* @return {number}
|
13642
13642
|
*/
|
13643
13643
|
proto.game.GameItemRequest.prototype.getIsTop = function() {
|
13644
|
-
return /** @type {
|
13644
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
13645
13645
|
};
|
13646
13646
|
|
13647
13647
|
|
13648
13648
|
/**
|
13649
|
-
* @param {
|
13649
|
+
* @param {number} value
|
13650
13650
|
* @return {!proto.game.GameItemRequest} returns this
|
13651
13651
|
*/
|
13652
13652
|
proto.game.GameItemRequest.prototype.setIsTop = function(value) {
|
@@ -13673,16 +13673,16 @@ proto.game.GameItemRequest.prototype.hasIsTop = function() {
|
|
13673
13673
|
|
13674
13674
|
|
13675
13675
|
/**
|
13676
|
-
* optional
|
13677
|
-
* @return {
|
13676
|
+
* optional int32 is_vip = 15;
|
13677
|
+
* @return {number}
|
13678
13678
|
*/
|
13679
13679
|
proto.game.GameItemRequest.prototype.getIsVip = function() {
|
13680
|
-
return /** @type {
|
13680
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
13681
13681
|
};
|
13682
13682
|
|
13683
13683
|
|
13684
13684
|
/**
|
13685
|
-
* @param {
|
13685
|
+
* @param {number} value
|
13686
13686
|
* @return {!proto.game.GameItemRequest} returns this
|
13687
13687
|
*/
|
13688
13688
|
proto.game.GameItemRequest.prototype.setIsVip = function(value) {
|