protobuf-platform 1.2.417 → 1.2.420
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/loyalty/loyalty.proto +9 -0
- package/loyalty/loyalty_pb.js +431 -3
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -146,6 +146,13 @@ message BetPoint {
|
|
|
146
146
|
optional int32 number_of_step = 5;
|
|
147
147
|
optional int32 wager_game_list_id = 6;
|
|
148
148
|
optional string wager_game_list_title = 7;
|
|
149
|
+
optional int32 is_real_balance_allowed = 8;
|
|
150
|
+
optional int32 is_bonus_balance_allowed = 9;
|
|
151
|
+
}
|
|
152
|
+
message WagerPoint {
|
|
153
|
+
string currency = 1;
|
|
154
|
+
double multiplier = 2;
|
|
155
|
+
optional int32 is_active = 3;
|
|
149
156
|
}
|
|
150
157
|
message PointItem {
|
|
151
158
|
optional int32 id = 1;
|
|
@@ -153,6 +160,7 @@ message PointItem {
|
|
|
153
160
|
optional SignUpPoint sign_up_point = 3;
|
|
154
161
|
optional DepositPoint deposit_point = 4;
|
|
155
162
|
optional BetPoint bet_point = 5;
|
|
163
|
+
optional WagerPoint wager_point = 6;
|
|
156
164
|
}
|
|
157
165
|
//Point CRUD | Requests
|
|
158
166
|
message PointRequest {
|
|
@@ -161,6 +169,7 @@ message PointRequest {
|
|
|
161
169
|
optional SignUpPoint sign_up_point = 3;
|
|
162
170
|
optional DepositPoint deposit_point = 4;
|
|
163
171
|
optional BetPoint bet_point = 5;
|
|
172
|
+
optional WagerPoint wager_point = 6;
|
|
164
173
|
}
|
|
165
174
|
message GetPointRequest {
|
|
166
175
|
int32 id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.loyalty.SignUpPoint', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.loyalty.UserLoyaltyPoint', null, global);
|
|
54
54
|
goog.exportSymbol('proto.loyalty.UserLoyaltyPointsResponse', null, global);
|
|
55
55
|
goog.exportSymbol('proto.loyalty.UserLoyaltyResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.loyalty.WagerPoint', null, global);
|
|
56
57
|
/**
|
|
57
58
|
* Generated by JsPbCodeGenerator.
|
|
58
59
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -494,6 +495,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
494
495
|
*/
|
|
495
496
|
proto.loyalty.BetPoint.displayName = 'proto.loyalty.BetPoint';
|
|
496
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* Generated by JsPbCodeGenerator.
|
|
500
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
501
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
502
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
503
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
504
|
+
* valid.
|
|
505
|
+
* @extends {jspb.Message}
|
|
506
|
+
* @constructor
|
|
507
|
+
*/
|
|
508
|
+
proto.loyalty.WagerPoint = function(opt_data) {
|
|
509
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
510
|
+
};
|
|
511
|
+
goog.inherits(proto.loyalty.WagerPoint, jspb.Message);
|
|
512
|
+
if (goog.DEBUG && !COMPILED) {
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
* @override
|
|
516
|
+
*/
|
|
517
|
+
proto.loyalty.WagerPoint.displayName = 'proto.loyalty.WagerPoint';
|
|
518
|
+
}
|
|
497
519
|
/**
|
|
498
520
|
* Generated by JsPbCodeGenerator.
|
|
499
521
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6093,7 +6115,9 @@ proto.loyalty.BetPoint.toObject = function(includeInstance, msg) {
|
|
|
6093
6115
|
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
6094
6116
|
numberOfStep: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
6095
6117
|
wagerGameListId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
6096
|
-
wagerGameListTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
6118
|
+
wagerGameListTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6119
|
+
isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
6120
|
+
isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
6097
6121
|
};
|
|
6098
6122
|
|
|
6099
6123
|
if (includeInstance) {
|
|
@@ -6158,6 +6182,14 @@ proto.loyalty.BetPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6158
6182
|
var value = /** @type {string} */ (reader.readString());
|
|
6159
6183
|
msg.setWagerGameListTitle(value);
|
|
6160
6184
|
break;
|
|
6185
|
+
case 8:
|
|
6186
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6187
|
+
msg.setIsRealBalanceAllowed(value);
|
|
6188
|
+
break;
|
|
6189
|
+
case 9:
|
|
6190
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6191
|
+
msg.setIsBonusBalanceAllowed(value);
|
|
6192
|
+
break;
|
|
6161
6193
|
default:
|
|
6162
6194
|
reader.skipField();
|
|
6163
6195
|
break;
|
|
@@ -6236,6 +6268,20 @@ proto.loyalty.BetPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
6236
6268
|
f
|
|
6237
6269
|
);
|
|
6238
6270
|
}
|
|
6271
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
6272
|
+
if (f != null) {
|
|
6273
|
+
writer.writeInt32(
|
|
6274
|
+
8,
|
|
6275
|
+
f
|
|
6276
|
+
);
|
|
6277
|
+
}
|
|
6278
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
6279
|
+
if (f != null) {
|
|
6280
|
+
writer.writeInt32(
|
|
6281
|
+
9,
|
|
6282
|
+
f
|
|
6283
|
+
);
|
|
6284
|
+
}
|
|
6239
6285
|
};
|
|
6240
6286
|
|
|
6241
6287
|
|
|
@@ -6419,6 +6465,286 @@ proto.loyalty.BetPoint.prototype.hasWagerGameListTitle = function() {
|
|
|
6419
6465
|
};
|
|
6420
6466
|
|
|
6421
6467
|
|
|
6468
|
+
/**
|
|
6469
|
+
* optional int32 is_real_balance_allowed = 8;
|
|
6470
|
+
* @return {number}
|
|
6471
|
+
*/
|
|
6472
|
+
proto.loyalty.BetPoint.prototype.getIsRealBalanceAllowed = function() {
|
|
6473
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
6474
|
+
};
|
|
6475
|
+
|
|
6476
|
+
|
|
6477
|
+
/**
|
|
6478
|
+
* @param {number} value
|
|
6479
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
|
6480
|
+
*/
|
|
6481
|
+
proto.loyalty.BetPoint.prototype.setIsRealBalanceAllowed = function(value) {
|
|
6482
|
+
return jspb.Message.setField(this, 8, value);
|
|
6483
|
+
};
|
|
6484
|
+
|
|
6485
|
+
|
|
6486
|
+
/**
|
|
6487
|
+
* Clears the field making it undefined.
|
|
6488
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
|
6489
|
+
*/
|
|
6490
|
+
proto.loyalty.BetPoint.prototype.clearIsRealBalanceAllowed = function() {
|
|
6491
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
6492
|
+
};
|
|
6493
|
+
|
|
6494
|
+
|
|
6495
|
+
/**
|
|
6496
|
+
* Returns whether this field is set.
|
|
6497
|
+
* @return {boolean}
|
|
6498
|
+
*/
|
|
6499
|
+
proto.loyalty.BetPoint.prototype.hasIsRealBalanceAllowed = function() {
|
|
6500
|
+
return jspb.Message.getField(this, 8) != null;
|
|
6501
|
+
};
|
|
6502
|
+
|
|
6503
|
+
|
|
6504
|
+
/**
|
|
6505
|
+
* optional int32 is_bonus_balance_allowed = 9;
|
|
6506
|
+
* @return {number}
|
|
6507
|
+
*/
|
|
6508
|
+
proto.loyalty.BetPoint.prototype.getIsBonusBalanceAllowed = function() {
|
|
6509
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
6510
|
+
};
|
|
6511
|
+
|
|
6512
|
+
|
|
6513
|
+
/**
|
|
6514
|
+
* @param {number} value
|
|
6515
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
|
6516
|
+
*/
|
|
6517
|
+
proto.loyalty.BetPoint.prototype.setIsBonusBalanceAllowed = function(value) {
|
|
6518
|
+
return jspb.Message.setField(this, 9, value);
|
|
6519
|
+
};
|
|
6520
|
+
|
|
6521
|
+
|
|
6522
|
+
/**
|
|
6523
|
+
* Clears the field making it undefined.
|
|
6524
|
+
* @return {!proto.loyalty.BetPoint} returns this
|
|
6525
|
+
*/
|
|
6526
|
+
proto.loyalty.BetPoint.prototype.clearIsBonusBalanceAllowed = function() {
|
|
6527
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
6528
|
+
};
|
|
6529
|
+
|
|
6530
|
+
|
|
6531
|
+
/**
|
|
6532
|
+
* Returns whether this field is set.
|
|
6533
|
+
* @return {boolean}
|
|
6534
|
+
*/
|
|
6535
|
+
proto.loyalty.BetPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
6536
|
+
return jspb.Message.getField(this, 9) != null;
|
|
6537
|
+
};
|
|
6538
|
+
|
|
6539
|
+
|
|
6540
|
+
|
|
6541
|
+
|
|
6542
|
+
|
|
6543
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6544
|
+
/**
|
|
6545
|
+
* Creates an object representation of this proto.
|
|
6546
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6547
|
+
* Optional fields that are not set will be set to undefined.
|
|
6548
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6549
|
+
* For the list of reserved names please see:
|
|
6550
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6551
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6552
|
+
* JSPB instance for transitional soy proto support:
|
|
6553
|
+
* http://goto/soy-param-migration
|
|
6554
|
+
* @return {!Object}
|
|
6555
|
+
*/
|
|
6556
|
+
proto.loyalty.WagerPoint.prototype.toObject = function(opt_includeInstance) {
|
|
6557
|
+
return proto.loyalty.WagerPoint.toObject(opt_includeInstance, this);
|
|
6558
|
+
};
|
|
6559
|
+
|
|
6560
|
+
|
|
6561
|
+
/**
|
|
6562
|
+
* Static version of the {@see toObject} method.
|
|
6563
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6564
|
+
* the JSPB instance for transitional soy proto support:
|
|
6565
|
+
* http://goto/soy-param-migration
|
|
6566
|
+
* @param {!proto.loyalty.WagerPoint} msg The msg instance to transform.
|
|
6567
|
+
* @return {!Object}
|
|
6568
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6569
|
+
*/
|
|
6570
|
+
proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
|
|
6571
|
+
var f, obj = {
|
|
6572
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6573
|
+
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
6574
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6575
|
+
};
|
|
6576
|
+
|
|
6577
|
+
if (includeInstance) {
|
|
6578
|
+
obj.$jspbMessageInstance = msg;
|
|
6579
|
+
}
|
|
6580
|
+
return obj;
|
|
6581
|
+
};
|
|
6582
|
+
}
|
|
6583
|
+
|
|
6584
|
+
|
|
6585
|
+
/**
|
|
6586
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6587
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6588
|
+
* @return {!proto.loyalty.WagerPoint}
|
|
6589
|
+
*/
|
|
6590
|
+
proto.loyalty.WagerPoint.deserializeBinary = function(bytes) {
|
|
6591
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6592
|
+
var msg = new proto.loyalty.WagerPoint;
|
|
6593
|
+
return proto.loyalty.WagerPoint.deserializeBinaryFromReader(msg, reader);
|
|
6594
|
+
};
|
|
6595
|
+
|
|
6596
|
+
|
|
6597
|
+
/**
|
|
6598
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6599
|
+
* given reader into the given message object.
|
|
6600
|
+
* @param {!proto.loyalty.WagerPoint} msg The message object to deserialize into.
|
|
6601
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6602
|
+
* @return {!proto.loyalty.WagerPoint}
|
|
6603
|
+
*/
|
|
6604
|
+
proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
6605
|
+
while (reader.nextField()) {
|
|
6606
|
+
if (reader.isEndGroup()) {
|
|
6607
|
+
break;
|
|
6608
|
+
}
|
|
6609
|
+
var field = reader.getFieldNumber();
|
|
6610
|
+
switch (field) {
|
|
6611
|
+
case 1:
|
|
6612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6613
|
+
msg.setCurrency(value);
|
|
6614
|
+
break;
|
|
6615
|
+
case 2:
|
|
6616
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6617
|
+
msg.setMultiplier(value);
|
|
6618
|
+
break;
|
|
6619
|
+
case 3:
|
|
6620
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6621
|
+
msg.setIsActive(value);
|
|
6622
|
+
break;
|
|
6623
|
+
default:
|
|
6624
|
+
reader.skipField();
|
|
6625
|
+
break;
|
|
6626
|
+
}
|
|
6627
|
+
}
|
|
6628
|
+
return msg;
|
|
6629
|
+
};
|
|
6630
|
+
|
|
6631
|
+
|
|
6632
|
+
/**
|
|
6633
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6634
|
+
* @return {!Uint8Array}
|
|
6635
|
+
*/
|
|
6636
|
+
proto.loyalty.WagerPoint.prototype.serializeBinary = function() {
|
|
6637
|
+
var writer = new jspb.BinaryWriter();
|
|
6638
|
+
proto.loyalty.WagerPoint.serializeBinaryToWriter(this, writer);
|
|
6639
|
+
return writer.getResultBuffer();
|
|
6640
|
+
};
|
|
6641
|
+
|
|
6642
|
+
|
|
6643
|
+
/**
|
|
6644
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6645
|
+
* format), writing to the given BinaryWriter.
|
|
6646
|
+
* @param {!proto.loyalty.WagerPoint} message
|
|
6647
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6648
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6649
|
+
*/
|
|
6650
|
+
proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
|
|
6651
|
+
var f = undefined;
|
|
6652
|
+
f = message.getCurrency();
|
|
6653
|
+
if (f.length > 0) {
|
|
6654
|
+
writer.writeString(
|
|
6655
|
+
1,
|
|
6656
|
+
f
|
|
6657
|
+
);
|
|
6658
|
+
}
|
|
6659
|
+
f = message.getMultiplier();
|
|
6660
|
+
if (f !== 0.0) {
|
|
6661
|
+
writer.writeDouble(
|
|
6662
|
+
2,
|
|
6663
|
+
f
|
|
6664
|
+
);
|
|
6665
|
+
}
|
|
6666
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
6667
|
+
if (f != null) {
|
|
6668
|
+
writer.writeInt32(
|
|
6669
|
+
3,
|
|
6670
|
+
f
|
|
6671
|
+
);
|
|
6672
|
+
}
|
|
6673
|
+
};
|
|
6674
|
+
|
|
6675
|
+
|
|
6676
|
+
/**
|
|
6677
|
+
* optional string currency = 1;
|
|
6678
|
+
* @return {string}
|
|
6679
|
+
*/
|
|
6680
|
+
proto.loyalty.WagerPoint.prototype.getCurrency = function() {
|
|
6681
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6682
|
+
};
|
|
6683
|
+
|
|
6684
|
+
|
|
6685
|
+
/**
|
|
6686
|
+
* @param {string} value
|
|
6687
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6688
|
+
*/
|
|
6689
|
+
proto.loyalty.WagerPoint.prototype.setCurrency = function(value) {
|
|
6690
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6691
|
+
};
|
|
6692
|
+
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* optional double multiplier = 2;
|
|
6696
|
+
* @return {number}
|
|
6697
|
+
*/
|
|
6698
|
+
proto.loyalty.WagerPoint.prototype.getMultiplier = function() {
|
|
6699
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
6700
|
+
};
|
|
6701
|
+
|
|
6702
|
+
|
|
6703
|
+
/**
|
|
6704
|
+
* @param {number} value
|
|
6705
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6706
|
+
*/
|
|
6707
|
+
proto.loyalty.WagerPoint.prototype.setMultiplier = function(value) {
|
|
6708
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
6709
|
+
};
|
|
6710
|
+
|
|
6711
|
+
|
|
6712
|
+
/**
|
|
6713
|
+
* optional int32 is_active = 3;
|
|
6714
|
+
* @return {number}
|
|
6715
|
+
*/
|
|
6716
|
+
proto.loyalty.WagerPoint.prototype.getIsActive = function() {
|
|
6717
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6718
|
+
};
|
|
6719
|
+
|
|
6720
|
+
|
|
6721
|
+
/**
|
|
6722
|
+
* @param {number} value
|
|
6723
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6724
|
+
*/
|
|
6725
|
+
proto.loyalty.WagerPoint.prototype.setIsActive = function(value) {
|
|
6726
|
+
return jspb.Message.setField(this, 3, value);
|
|
6727
|
+
};
|
|
6728
|
+
|
|
6729
|
+
|
|
6730
|
+
/**
|
|
6731
|
+
* Clears the field making it undefined.
|
|
6732
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6733
|
+
*/
|
|
6734
|
+
proto.loyalty.WagerPoint.prototype.clearIsActive = function() {
|
|
6735
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6736
|
+
};
|
|
6737
|
+
|
|
6738
|
+
|
|
6739
|
+
/**
|
|
6740
|
+
* Returns whether this field is set.
|
|
6741
|
+
* @return {boolean}
|
|
6742
|
+
*/
|
|
6743
|
+
proto.loyalty.WagerPoint.prototype.hasIsActive = function() {
|
|
6744
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6745
|
+
};
|
|
6746
|
+
|
|
6747
|
+
|
|
6422
6748
|
|
|
6423
6749
|
|
|
6424
6750
|
|
|
@@ -6455,7 +6781,8 @@ proto.loyalty.PointItem.toObject = function(includeInstance, msg) {
|
|
|
6455
6781
|
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6456
6782
|
signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
|
|
6457
6783
|
depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
|
|
6458
|
-
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
|
|
6784
|
+
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f),
|
|
6785
|
+
wagerPoint: (f = msg.getWagerPoint()) && proto.loyalty.WagerPoint.toObject(includeInstance, f)
|
|
6459
6786
|
};
|
|
6460
6787
|
|
|
6461
6788
|
if (includeInstance) {
|
|
@@ -6515,6 +6842,11 @@ proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6515
6842
|
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
|
6516
6843
|
msg.setBetPoint(value);
|
|
6517
6844
|
break;
|
|
6845
|
+
case 6:
|
|
6846
|
+
var value = new proto.loyalty.WagerPoint;
|
|
6847
|
+
reader.readMessage(value,proto.loyalty.WagerPoint.deserializeBinaryFromReader);
|
|
6848
|
+
msg.setWagerPoint(value);
|
|
6849
|
+
break;
|
|
6518
6850
|
default:
|
|
6519
6851
|
reader.skipField();
|
|
6520
6852
|
break;
|
|
@@ -6582,6 +6914,14 @@ proto.loyalty.PointItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
6582
6914
|
proto.loyalty.BetPoint.serializeBinaryToWriter
|
|
6583
6915
|
);
|
|
6584
6916
|
}
|
|
6917
|
+
f = message.getWagerPoint();
|
|
6918
|
+
if (f != null) {
|
|
6919
|
+
writer.writeMessage(
|
|
6920
|
+
6,
|
|
6921
|
+
f,
|
|
6922
|
+
proto.loyalty.WagerPoint.serializeBinaryToWriter
|
|
6923
|
+
);
|
|
6924
|
+
}
|
|
6585
6925
|
};
|
|
6586
6926
|
|
|
6587
6927
|
|
|
@@ -6768,6 +7108,43 @@ proto.loyalty.PointItem.prototype.hasBetPoint = function() {
|
|
|
6768
7108
|
};
|
|
6769
7109
|
|
|
6770
7110
|
|
|
7111
|
+
/**
|
|
7112
|
+
* optional WagerPoint wager_point = 6;
|
|
7113
|
+
* @return {?proto.loyalty.WagerPoint}
|
|
7114
|
+
*/
|
|
7115
|
+
proto.loyalty.PointItem.prototype.getWagerPoint = function() {
|
|
7116
|
+
return /** @type{?proto.loyalty.WagerPoint} */ (
|
|
7117
|
+
jspb.Message.getWrapperField(this, proto.loyalty.WagerPoint, 6));
|
|
7118
|
+
};
|
|
7119
|
+
|
|
7120
|
+
|
|
7121
|
+
/**
|
|
7122
|
+
* @param {?proto.loyalty.WagerPoint|undefined} value
|
|
7123
|
+
* @return {!proto.loyalty.PointItem} returns this
|
|
7124
|
+
*/
|
|
7125
|
+
proto.loyalty.PointItem.prototype.setWagerPoint = function(value) {
|
|
7126
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
7127
|
+
};
|
|
7128
|
+
|
|
7129
|
+
|
|
7130
|
+
/**
|
|
7131
|
+
* Clears the message field making it undefined.
|
|
7132
|
+
* @return {!proto.loyalty.PointItem} returns this
|
|
7133
|
+
*/
|
|
7134
|
+
proto.loyalty.PointItem.prototype.clearWagerPoint = function() {
|
|
7135
|
+
return this.setWagerPoint(undefined);
|
|
7136
|
+
};
|
|
7137
|
+
|
|
7138
|
+
|
|
7139
|
+
/**
|
|
7140
|
+
* Returns whether this field is set.
|
|
7141
|
+
* @return {boolean}
|
|
7142
|
+
*/
|
|
7143
|
+
proto.loyalty.PointItem.prototype.hasWagerPoint = function() {
|
|
7144
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7145
|
+
};
|
|
7146
|
+
|
|
7147
|
+
|
|
6771
7148
|
|
|
6772
7149
|
|
|
6773
7150
|
|
|
@@ -6804,7 +7181,8 @@ proto.loyalty.PointRequest.toObject = function(includeInstance, msg) {
|
|
|
6804
7181
|
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6805
7182
|
signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
|
|
6806
7183
|
depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
|
|
6807
|
-
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
|
|
7184
|
+
betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f),
|
|
7185
|
+
wagerPoint: (f = msg.getWagerPoint()) && proto.loyalty.WagerPoint.toObject(includeInstance, f)
|
|
6808
7186
|
};
|
|
6809
7187
|
|
|
6810
7188
|
if (includeInstance) {
|
|
@@ -6864,6 +7242,11 @@ proto.loyalty.PointRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6864
7242
|
reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
|
|
6865
7243
|
msg.setBetPoint(value);
|
|
6866
7244
|
break;
|
|
7245
|
+
case 6:
|
|
7246
|
+
var value = new proto.loyalty.WagerPoint;
|
|
7247
|
+
reader.readMessage(value,proto.loyalty.WagerPoint.deserializeBinaryFromReader);
|
|
7248
|
+
msg.setWagerPoint(value);
|
|
7249
|
+
break;
|
|
6867
7250
|
default:
|
|
6868
7251
|
reader.skipField();
|
|
6869
7252
|
break;
|
|
@@ -6931,6 +7314,14 @@ proto.loyalty.PointRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
6931
7314
|
proto.loyalty.BetPoint.serializeBinaryToWriter
|
|
6932
7315
|
);
|
|
6933
7316
|
}
|
|
7317
|
+
f = message.getWagerPoint();
|
|
7318
|
+
if (f != null) {
|
|
7319
|
+
writer.writeMessage(
|
|
7320
|
+
6,
|
|
7321
|
+
f,
|
|
7322
|
+
proto.loyalty.WagerPoint.serializeBinaryToWriter
|
|
7323
|
+
);
|
|
7324
|
+
}
|
|
6934
7325
|
};
|
|
6935
7326
|
|
|
6936
7327
|
|
|
@@ -7117,6 +7508,43 @@ proto.loyalty.PointRequest.prototype.hasBetPoint = function() {
|
|
|
7117
7508
|
};
|
|
7118
7509
|
|
|
7119
7510
|
|
|
7511
|
+
/**
|
|
7512
|
+
* optional WagerPoint wager_point = 6;
|
|
7513
|
+
* @return {?proto.loyalty.WagerPoint}
|
|
7514
|
+
*/
|
|
7515
|
+
proto.loyalty.PointRequest.prototype.getWagerPoint = function() {
|
|
7516
|
+
return /** @type{?proto.loyalty.WagerPoint} */ (
|
|
7517
|
+
jspb.Message.getWrapperField(this, proto.loyalty.WagerPoint, 6));
|
|
7518
|
+
};
|
|
7519
|
+
|
|
7520
|
+
|
|
7521
|
+
/**
|
|
7522
|
+
* @param {?proto.loyalty.WagerPoint|undefined} value
|
|
7523
|
+
* @return {!proto.loyalty.PointRequest} returns this
|
|
7524
|
+
*/
|
|
7525
|
+
proto.loyalty.PointRequest.prototype.setWagerPoint = function(value) {
|
|
7526
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
7527
|
+
};
|
|
7528
|
+
|
|
7529
|
+
|
|
7530
|
+
/**
|
|
7531
|
+
* Clears the message field making it undefined.
|
|
7532
|
+
* @return {!proto.loyalty.PointRequest} returns this
|
|
7533
|
+
*/
|
|
7534
|
+
proto.loyalty.PointRequest.prototype.clearWagerPoint = function() {
|
|
7535
|
+
return this.setWagerPoint(undefined);
|
|
7536
|
+
};
|
|
7537
|
+
|
|
7538
|
+
|
|
7539
|
+
/**
|
|
7540
|
+
* Returns whether this field is set.
|
|
7541
|
+
* @return {boolean}
|
|
7542
|
+
*/
|
|
7543
|
+
proto.loyalty.PointRequest.prototype.hasWagerPoint = function() {
|
|
7544
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7545
|
+
};
|
|
7546
|
+
|
|
7547
|
+
|
|
7120
7548
|
|
|
7121
7549
|
|
|
7122
7550
|
|