protobuf-platform 1.1.93 → 1.1.94
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
@@ -264,6 +264,7 @@ message SegmentResponse {
|
|
264
264
|
repeated SegmentBetRuleItem bet_rules = 8;
|
265
265
|
repeated SegmentSessionRuleItem session_rules = 9;
|
266
266
|
repeated SegmentGameRuleItem game_rules = 10;
|
267
|
+
repeated SegmentPlatformRuleItem platform_rules = 11;
|
267
268
|
}
|
268
269
|
message SegmentStatusResponse {
|
269
270
|
string status = 1;
|
package/user/user_pb.js
CHANGED
@@ -10661,7 +10661,7 @@ proto.user.GetSegmentRequest.prototype.hasGeo = function() {
|
|
10661
10661
|
* @private {!Array<number>}
|
10662
10662
|
* @const
|
10663
10663
|
*/
|
10664
|
-
proto.user.SegmentResponse.repeatedFields_ = [7,8,9,10];
|
10664
|
+
proto.user.SegmentResponse.repeatedFields_ = [7,8,9,10,11];
|
10665
10665
|
|
10666
10666
|
|
10667
10667
|
|
@@ -10707,7 +10707,9 @@ proto.user.SegmentResponse.toObject = function(includeInstance, msg) {
|
|
10707
10707
|
sessionRulesList: jspb.Message.toObjectList(msg.getSessionRulesList(),
|
10708
10708
|
proto.user.SegmentSessionRuleItem.toObject, includeInstance),
|
10709
10709
|
gameRulesList: jspb.Message.toObjectList(msg.getGameRulesList(),
|
10710
|
-
proto.user.SegmentGameRuleItem.toObject, includeInstance)
|
10710
|
+
proto.user.SegmentGameRuleItem.toObject, includeInstance),
|
10711
|
+
platformRulesList: jspb.Message.toObjectList(msg.getPlatformRulesList(),
|
10712
|
+
proto.user.SegmentPlatformRuleItem.toObject, includeInstance)
|
10711
10713
|
};
|
10712
10714
|
|
10713
10715
|
if (includeInstance) {
|
@@ -10788,6 +10790,11 @@ proto.user.SegmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10788
10790
|
reader.readMessage(value,proto.user.SegmentGameRuleItem.deserializeBinaryFromReader);
|
10789
10791
|
msg.addGameRules(value);
|
10790
10792
|
break;
|
10793
|
+
case 11:
|
10794
|
+
var value = new proto.user.SegmentPlatformRuleItem;
|
10795
|
+
reader.readMessage(value,proto.user.SegmentPlatformRuleItem.deserializeBinaryFromReader);
|
10796
|
+
msg.addPlatformRules(value);
|
10797
|
+
break;
|
10791
10798
|
default:
|
10792
10799
|
reader.skipField();
|
10793
10800
|
break;
|
@@ -10891,6 +10898,14 @@ proto.user.SegmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10891
10898
|
proto.user.SegmentGameRuleItem.serializeBinaryToWriter
|
10892
10899
|
);
|
10893
10900
|
}
|
10901
|
+
f = message.getPlatformRulesList();
|
10902
|
+
if (f.length > 0) {
|
10903
|
+
writer.writeRepeatedMessage(
|
10904
|
+
11,
|
10905
|
+
f,
|
10906
|
+
proto.user.SegmentPlatformRuleItem.serializeBinaryToWriter
|
10907
|
+
);
|
10908
|
+
}
|
10894
10909
|
};
|
10895
10910
|
|
10896
10911
|
|
@@ -11262,6 +11277,44 @@ proto.user.SegmentResponse.prototype.clearGameRulesList = function() {
|
|
11262
11277
|
};
|
11263
11278
|
|
11264
11279
|
|
11280
|
+
/**
|
11281
|
+
* repeated SegmentPlatformRuleItem platform_rules = 11;
|
11282
|
+
* @return {!Array<!proto.user.SegmentPlatformRuleItem>}
|
11283
|
+
*/
|
11284
|
+
proto.user.SegmentResponse.prototype.getPlatformRulesList = function() {
|
11285
|
+
return /** @type{!Array<!proto.user.SegmentPlatformRuleItem>} */ (
|
11286
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentPlatformRuleItem, 11));
|
11287
|
+
};
|
11288
|
+
|
11289
|
+
|
11290
|
+
/**
|
11291
|
+
* @param {!Array<!proto.user.SegmentPlatformRuleItem>} value
|
11292
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11293
|
+
*/
|
11294
|
+
proto.user.SegmentResponse.prototype.setPlatformRulesList = function(value) {
|
11295
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
11296
|
+
};
|
11297
|
+
|
11298
|
+
|
11299
|
+
/**
|
11300
|
+
* @param {!proto.user.SegmentPlatformRuleItem=} opt_value
|
11301
|
+
* @param {number=} opt_index
|
11302
|
+
* @return {!proto.user.SegmentPlatformRuleItem}
|
11303
|
+
*/
|
11304
|
+
proto.user.SegmentResponse.prototype.addPlatformRules = function(opt_value, opt_index) {
|
11305
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.user.SegmentPlatformRuleItem, opt_index);
|
11306
|
+
};
|
11307
|
+
|
11308
|
+
|
11309
|
+
/**
|
11310
|
+
* Clears the list making it empty but non-null.
|
11311
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11312
|
+
*/
|
11313
|
+
proto.user.SegmentResponse.prototype.clearPlatformRulesList = function() {
|
11314
|
+
return this.setPlatformRulesList([]);
|
11315
|
+
};
|
11316
|
+
|
11317
|
+
|
11265
11318
|
|
11266
11319
|
|
11267
11320
|
|