protobuf-platform 1.1.91 → 1.1.92
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/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +55 -2
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -263,6 +263,7 @@ message SegmentResponse {
|
|
263
263
|
repeated SegmentPaymentRuleItem payment_rules = 7;
|
264
264
|
repeated SegmentBetRuleItem bet_rules = 8;
|
265
265
|
repeated SegmentSessionRuleItem session_rules = 9;
|
266
|
+
repeated SegmentGameRuleItem game_rules = 10;
|
266
267
|
}
|
267
268
|
message SegmentStatusResponse {
|
268
269
|
string status = 1;
|
package/user/user_pb.js
CHANGED
@@ -10617,7 +10617,7 @@ proto.user.GetSegmentRequest.prototype.hasGeo = function() {
|
|
10617
10617
|
* @private {!Array<number>}
|
10618
10618
|
* @const
|
10619
10619
|
*/
|
10620
|
-
proto.user.SegmentResponse.repeatedFields_ = [7,8,9];
|
10620
|
+
proto.user.SegmentResponse.repeatedFields_ = [7,8,9,10];
|
10621
10621
|
|
10622
10622
|
|
10623
10623
|
|
@@ -10661,7 +10661,9 @@ proto.user.SegmentResponse.toObject = function(includeInstance, msg) {
|
|
10661
10661
|
betRulesList: jspb.Message.toObjectList(msg.getBetRulesList(),
|
10662
10662
|
proto.user.SegmentBetRuleItem.toObject, includeInstance),
|
10663
10663
|
sessionRulesList: jspb.Message.toObjectList(msg.getSessionRulesList(),
|
10664
|
-
proto.user.SegmentSessionRuleItem.toObject, includeInstance)
|
10664
|
+
proto.user.SegmentSessionRuleItem.toObject, includeInstance),
|
10665
|
+
gameRulesList: jspb.Message.toObjectList(msg.getGameRulesList(),
|
10666
|
+
proto.user.SegmentGameRuleItem.toObject, includeInstance)
|
10665
10667
|
};
|
10666
10668
|
|
10667
10669
|
if (includeInstance) {
|
@@ -10737,6 +10739,11 @@ proto.user.SegmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10737
10739
|
reader.readMessage(value,proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader);
|
10738
10740
|
msg.addSessionRules(value);
|
10739
10741
|
break;
|
10742
|
+
case 10:
|
10743
|
+
var value = new proto.user.SegmentGameRuleItem;
|
10744
|
+
reader.readMessage(value,proto.user.SegmentGameRuleItem.deserializeBinaryFromReader);
|
10745
|
+
msg.addGameRules(value);
|
10746
|
+
break;
|
10740
10747
|
default:
|
10741
10748
|
reader.skipField();
|
10742
10749
|
break;
|
@@ -10832,6 +10839,14 @@ proto.user.SegmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10832
10839
|
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter
|
10833
10840
|
);
|
10834
10841
|
}
|
10842
|
+
f = message.getGameRulesList();
|
10843
|
+
if (f.length > 0) {
|
10844
|
+
writer.writeRepeatedMessage(
|
10845
|
+
10,
|
10846
|
+
f,
|
10847
|
+
proto.user.SegmentGameRuleItem.serializeBinaryToWriter
|
10848
|
+
);
|
10849
|
+
}
|
10835
10850
|
};
|
10836
10851
|
|
10837
10852
|
|
@@ -11165,6 +11180,44 @@ proto.user.SegmentResponse.prototype.clearSessionRulesList = function() {
|
|
11165
11180
|
};
|
11166
11181
|
|
11167
11182
|
|
11183
|
+
/**
|
11184
|
+
* repeated SegmentGameRuleItem game_rules = 10;
|
11185
|
+
* @return {!Array<!proto.user.SegmentGameRuleItem>}
|
11186
|
+
*/
|
11187
|
+
proto.user.SegmentResponse.prototype.getGameRulesList = function() {
|
11188
|
+
return /** @type{!Array<!proto.user.SegmentGameRuleItem>} */ (
|
11189
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentGameRuleItem, 10));
|
11190
|
+
};
|
11191
|
+
|
11192
|
+
|
11193
|
+
/**
|
11194
|
+
* @param {!Array<!proto.user.SegmentGameRuleItem>} value
|
11195
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11196
|
+
*/
|
11197
|
+
proto.user.SegmentResponse.prototype.setGameRulesList = function(value) {
|
11198
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
11199
|
+
};
|
11200
|
+
|
11201
|
+
|
11202
|
+
/**
|
11203
|
+
* @param {!proto.user.SegmentGameRuleItem=} opt_value
|
11204
|
+
* @param {number=} opt_index
|
11205
|
+
* @return {!proto.user.SegmentGameRuleItem}
|
11206
|
+
*/
|
11207
|
+
proto.user.SegmentResponse.prototype.addGameRules = function(opt_value, opt_index) {
|
11208
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.user.SegmentGameRuleItem, opt_index);
|
11209
|
+
};
|
11210
|
+
|
11211
|
+
|
11212
|
+
/**
|
11213
|
+
* Clears the list making it empty but non-null.
|
11214
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11215
|
+
*/
|
11216
|
+
proto.user.SegmentResponse.prototype.clearGameRulesList = function() {
|
11217
|
+
return this.setGameRulesList([]);
|
11218
|
+
};
|
11219
|
+
|
11220
|
+
|
11168
11221
|
|
11169
11222
|
|
11170
11223
|
|