protobuf-platform 1.0.142 → 1.0.144
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/user/user.proto +2 -0
- package/user/user_pb.js +97 -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) {
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -96,6 +96,8 @@ message UserDataResponse {
|
|
96
96
|
optional string balance_type = 17;
|
97
97
|
optional int32 affiliate_id = 18;
|
98
98
|
optional string timezone = 19;
|
99
|
+
optional string risk_status = 20;
|
100
|
+
optional string category = 21;
|
99
101
|
}
|
100
102
|
message UsersResponse {
|
101
103
|
repeated UserDataResponse items = 1;
|
package/user/user_pb.js
CHANGED
@@ -2818,7 +2818,9 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
|
|
2818
2818
|
balanceBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
2819
2819
|
balanceType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
2820
2820
|
affiliateId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
2821
|
-
timezone: jspb.Message.getFieldWithDefault(msg, 19, "")
|
2821
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
2822
|
+
riskStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
2823
|
+
category: jspb.Message.getFieldWithDefault(msg, 21, "")
|
2822
2824
|
};
|
2823
2825
|
|
2824
2826
|
if (includeInstance) {
|
@@ -2931,6 +2933,14 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
2931
2933
|
var value = /** @type {string} */ (reader.readString());
|
2932
2934
|
msg.setTimezone(value);
|
2933
2935
|
break;
|
2936
|
+
case 20:
|
2937
|
+
var value = /** @type {string} */ (reader.readString());
|
2938
|
+
msg.setRiskStatus(value);
|
2939
|
+
break;
|
2940
|
+
case 21:
|
2941
|
+
var value = /** @type {string} */ (reader.readString());
|
2942
|
+
msg.setCategory(value);
|
2943
|
+
break;
|
2934
2944
|
default:
|
2935
2945
|
reader.skipField();
|
2936
2946
|
break;
|
@@ -3093,6 +3103,20 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
|
|
3093
3103
|
f
|
3094
3104
|
);
|
3095
3105
|
}
|
3106
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
3107
|
+
if (f != null) {
|
3108
|
+
writer.writeString(
|
3109
|
+
20,
|
3110
|
+
f
|
3111
|
+
);
|
3112
|
+
}
|
3113
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
3114
|
+
if (f != null) {
|
3115
|
+
writer.writeString(
|
3116
|
+
21,
|
3117
|
+
f
|
3118
|
+
);
|
3119
|
+
}
|
3096
3120
|
};
|
3097
3121
|
|
3098
3122
|
|
@@ -3744,6 +3768,78 @@ proto.user.UserDataResponse.prototype.hasTimezone = function() {
|
|
3744
3768
|
};
|
3745
3769
|
|
3746
3770
|
|
3771
|
+
/**
|
3772
|
+
* optional string risk_status = 20;
|
3773
|
+
* @return {string}
|
3774
|
+
*/
|
3775
|
+
proto.user.UserDataResponse.prototype.getRiskStatus = function() {
|
3776
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
3777
|
+
};
|
3778
|
+
|
3779
|
+
|
3780
|
+
/**
|
3781
|
+
* @param {string} value
|
3782
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3783
|
+
*/
|
3784
|
+
proto.user.UserDataResponse.prototype.setRiskStatus = function(value) {
|
3785
|
+
return jspb.Message.setField(this, 20, value);
|
3786
|
+
};
|
3787
|
+
|
3788
|
+
|
3789
|
+
/**
|
3790
|
+
* Clears the field making it undefined.
|
3791
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3792
|
+
*/
|
3793
|
+
proto.user.UserDataResponse.prototype.clearRiskStatus = function() {
|
3794
|
+
return jspb.Message.setField(this, 20, undefined);
|
3795
|
+
};
|
3796
|
+
|
3797
|
+
|
3798
|
+
/**
|
3799
|
+
* Returns whether this field is set.
|
3800
|
+
* @return {boolean}
|
3801
|
+
*/
|
3802
|
+
proto.user.UserDataResponse.prototype.hasRiskStatus = function() {
|
3803
|
+
return jspb.Message.getField(this, 20) != null;
|
3804
|
+
};
|
3805
|
+
|
3806
|
+
|
3807
|
+
/**
|
3808
|
+
* optional string category = 21;
|
3809
|
+
* @return {string}
|
3810
|
+
*/
|
3811
|
+
proto.user.UserDataResponse.prototype.getCategory = function() {
|
3812
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
3813
|
+
};
|
3814
|
+
|
3815
|
+
|
3816
|
+
/**
|
3817
|
+
* @param {string} value
|
3818
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3819
|
+
*/
|
3820
|
+
proto.user.UserDataResponse.prototype.setCategory = function(value) {
|
3821
|
+
return jspb.Message.setField(this, 21, value);
|
3822
|
+
};
|
3823
|
+
|
3824
|
+
|
3825
|
+
/**
|
3826
|
+
* Clears the field making it undefined.
|
3827
|
+
* @return {!proto.user.UserDataResponse} returns this
|
3828
|
+
*/
|
3829
|
+
proto.user.UserDataResponse.prototype.clearCategory = function() {
|
3830
|
+
return jspb.Message.setField(this, 21, undefined);
|
3831
|
+
};
|
3832
|
+
|
3833
|
+
|
3834
|
+
/**
|
3835
|
+
* Returns whether this field is set.
|
3836
|
+
* @return {boolean}
|
3837
|
+
*/
|
3838
|
+
proto.user.UserDataResponse.prototype.hasCategory = function() {
|
3839
|
+
return jspb.Message.getField(this, 21) != null;
|
3840
|
+
};
|
3841
|
+
|
3842
|
+
|
3747
3843
|
|
3748
3844
|
/**
|
3749
3845
|
* List of repeated fields within this message type.
|