protobuf-platform 1.0.161 → 1.0.163
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/bonus/bonus.proto +3 -0
- package/bonus/bonus_pb.js +145 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -135,6 +135,9 @@ message UserBonusItem {
|
|
135
135
|
optional int32 claiming_end_in_milliseconds = 19;
|
136
136
|
optional int32 activation_end_in_milliseconds = 20;
|
137
137
|
optional int32 wagering_end_in_milliseconds = 21;
|
138
|
+
optional bool has_free_spins = 22;
|
139
|
+
optional string status_free_spins = 23;
|
140
|
+
optional float reward_free_spins = 24;
|
138
141
|
}
|
139
142
|
message FreeSpinItem {
|
140
143
|
int32 game_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -5182,7 +5182,10 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
|
|
5182
5182
|
canceledAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
5183
5183
|
claimingEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
5184
5184
|
activationEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
5185
|
-
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0)
|
5185
|
+
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
5186
|
+
hasFreeSpins: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
5187
|
+
statusFreeSpins: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
5188
|
+
rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0)
|
5186
5189
|
};
|
5187
5190
|
|
5188
5191
|
if (includeInstance) {
|
@@ -5305,6 +5308,18 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5305
5308
|
var value = /** @type {number} */ (reader.readInt32());
|
5306
5309
|
msg.setWageringEndInMilliseconds(value);
|
5307
5310
|
break;
|
5311
|
+
case 22:
|
5312
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
5313
|
+
msg.setHasFreeSpins(value);
|
5314
|
+
break;
|
5315
|
+
case 23:
|
5316
|
+
var value = /** @type {string} */ (reader.readString());
|
5317
|
+
msg.setStatusFreeSpins(value);
|
5318
|
+
break;
|
5319
|
+
case 24:
|
5320
|
+
var value = /** @type {number} */ (reader.readFloat());
|
5321
|
+
msg.setRewardFreeSpins(value);
|
5322
|
+
break;
|
5308
5323
|
default:
|
5309
5324
|
reader.skipField();
|
5310
5325
|
break;
|
@@ -5483,6 +5498,27 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5483
5498
|
f
|
5484
5499
|
);
|
5485
5500
|
}
|
5501
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 22));
|
5502
|
+
if (f != null) {
|
5503
|
+
writer.writeBool(
|
5504
|
+
22,
|
5505
|
+
f
|
5506
|
+
);
|
5507
|
+
}
|
5508
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 23));
|
5509
|
+
if (f != null) {
|
5510
|
+
writer.writeString(
|
5511
|
+
23,
|
5512
|
+
f
|
5513
|
+
);
|
5514
|
+
}
|
5515
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 24));
|
5516
|
+
if (f != null) {
|
5517
|
+
writer.writeFloat(
|
5518
|
+
24,
|
5519
|
+
f
|
5520
|
+
);
|
5521
|
+
}
|
5486
5522
|
};
|
5487
5523
|
|
5488
5524
|
|
@@ -6245,6 +6281,114 @@ proto.bonus.UserBonusItem.prototype.hasWageringEndInMilliseconds = function() {
|
|
6245
6281
|
};
|
6246
6282
|
|
6247
6283
|
|
6284
|
+
/**
|
6285
|
+
* optional bool has_free_spins = 22;
|
6286
|
+
* @return {boolean}
|
6287
|
+
*/
|
6288
|
+
proto.bonus.UserBonusItem.prototype.getHasFreeSpins = function() {
|
6289
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
6290
|
+
};
|
6291
|
+
|
6292
|
+
|
6293
|
+
/**
|
6294
|
+
* @param {boolean} value
|
6295
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6296
|
+
*/
|
6297
|
+
proto.bonus.UserBonusItem.prototype.setHasFreeSpins = function(value) {
|
6298
|
+
return jspb.Message.setField(this, 22, value);
|
6299
|
+
};
|
6300
|
+
|
6301
|
+
|
6302
|
+
/**
|
6303
|
+
* Clears the field making it undefined.
|
6304
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6305
|
+
*/
|
6306
|
+
proto.bonus.UserBonusItem.prototype.clearHasFreeSpins = function() {
|
6307
|
+
return jspb.Message.setField(this, 22, undefined);
|
6308
|
+
};
|
6309
|
+
|
6310
|
+
|
6311
|
+
/**
|
6312
|
+
* Returns whether this field is set.
|
6313
|
+
* @return {boolean}
|
6314
|
+
*/
|
6315
|
+
proto.bonus.UserBonusItem.prototype.hasHasFreeSpins = function() {
|
6316
|
+
return jspb.Message.getField(this, 22) != null;
|
6317
|
+
};
|
6318
|
+
|
6319
|
+
|
6320
|
+
/**
|
6321
|
+
* optional string status_free_spins = 23;
|
6322
|
+
* @return {string}
|
6323
|
+
*/
|
6324
|
+
proto.bonus.UserBonusItem.prototype.getStatusFreeSpins = function() {
|
6325
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
6326
|
+
};
|
6327
|
+
|
6328
|
+
|
6329
|
+
/**
|
6330
|
+
* @param {string} value
|
6331
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6332
|
+
*/
|
6333
|
+
proto.bonus.UserBonusItem.prototype.setStatusFreeSpins = function(value) {
|
6334
|
+
return jspb.Message.setField(this, 23, value);
|
6335
|
+
};
|
6336
|
+
|
6337
|
+
|
6338
|
+
/**
|
6339
|
+
* Clears the field making it undefined.
|
6340
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6341
|
+
*/
|
6342
|
+
proto.bonus.UserBonusItem.prototype.clearStatusFreeSpins = function() {
|
6343
|
+
return jspb.Message.setField(this, 23, undefined);
|
6344
|
+
};
|
6345
|
+
|
6346
|
+
|
6347
|
+
/**
|
6348
|
+
* Returns whether this field is set.
|
6349
|
+
* @return {boolean}
|
6350
|
+
*/
|
6351
|
+
proto.bonus.UserBonusItem.prototype.hasStatusFreeSpins = function() {
|
6352
|
+
return jspb.Message.getField(this, 23) != null;
|
6353
|
+
};
|
6354
|
+
|
6355
|
+
|
6356
|
+
/**
|
6357
|
+
* optional float reward_free_spins = 24;
|
6358
|
+
* @return {number}
|
6359
|
+
*/
|
6360
|
+
proto.bonus.UserBonusItem.prototype.getRewardFreeSpins = function() {
|
6361
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 24, 0.0));
|
6362
|
+
};
|
6363
|
+
|
6364
|
+
|
6365
|
+
/**
|
6366
|
+
* @param {number} value
|
6367
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6368
|
+
*/
|
6369
|
+
proto.bonus.UserBonusItem.prototype.setRewardFreeSpins = function(value) {
|
6370
|
+
return jspb.Message.setField(this, 24, value);
|
6371
|
+
};
|
6372
|
+
|
6373
|
+
|
6374
|
+
/**
|
6375
|
+
* Clears the field making it undefined.
|
6376
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6377
|
+
*/
|
6378
|
+
proto.bonus.UserBonusItem.prototype.clearRewardFreeSpins = function() {
|
6379
|
+
return jspb.Message.setField(this, 24, undefined);
|
6380
|
+
};
|
6381
|
+
|
6382
|
+
|
6383
|
+
/**
|
6384
|
+
* Returns whether this field is set.
|
6385
|
+
* @return {boolean}
|
6386
|
+
*/
|
6387
|
+
proto.bonus.UserBonusItem.prototype.hasRewardFreeSpins = function() {
|
6388
|
+
return jspb.Message.getField(this, 24) != null;
|
6389
|
+
};
|
6390
|
+
|
6391
|
+
|
6248
6392
|
|
6249
6393
|
|
6250
6394
|
|