protobuf-platform 1.2.242 → 1.2.244
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 -0
- package/game/game_pb.js +97 -1
- package/package.json +1 -1
- package/tournament/tournament.proto +1 -0
- package/tournament/tournament_pb.js +49 -1
package/game/game.proto
CHANGED
|
@@ -585,6 +585,8 @@ message ActiveUserTournament {
|
|
|
585
585
|
optional bool can_activated = 7;
|
|
586
586
|
optional string user_status = 8;
|
|
587
587
|
optional uint32 finished_in_milliseconds = 9;
|
|
588
|
+
optional uint32 max_members_count = 10;
|
|
589
|
+
optional uint32 current_members_count = 11;
|
|
588
590
|
}
|
|
589
591
|
message ActiveWageringUserBonus {
|
|
590
592
|
int32 user_bonus_id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -24139,7 +24139,9 @@ proto.game.ActiveUserTournament.toObject = function(includeInstance, msg) {
|
|
|
24139
24139
|
status: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
24140
24140
|
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
24141
24141
|
userStatus: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
24142
|
-
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
24142
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
24143
|
+
maxMembersCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
24144
|
+
currentMembersCount: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
24143
24145
|
};
|
|
24144
24146
|
|
|
24145
24147
|
if (includeInstance) {
|
|
@@ -24212,6 +24214,14 @@ proto.game.ActiveUserTournament.deserializeBinaryFromReader = function(msg, read
|
|
|
24212
24214
|
var value = /** @type {number} */ (reader.readUint32());
|
|
24213
24215
|
msg.setFinishedInMilliseconds(value);
|
|
24214
24216
|
break;
|
|
24217
|
+
case 10:
|
|
24218
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
24219
|
+
msg.setMaxMembersCount(value);
|
|
24220
|
+
break;
|
|
24221
|
+
case 11:
|
|
24222
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
24223
|
+
msg.setCurrentMembersCount(value);
|
|
24224
|
+
break;
|
|
24215
24225
|
default:
|
|
24216
24226
|
reader.skipField();
|
|
24217
24227
|
break;
|
|
@@ -24304,6 +24314,20 @@ proto.game.ActiveUserTournament.serializeBinaryToWriter = function(message, writ
|
|
|
24304
24314
|
f
|
|
24305
24315
|
);
|
|
24306
24316
|
}
|
|
24317
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
24318
|
+
if (f != null) {
|
|
24319
|
+
writer.writeUint32(
|
|
24320
|
+
10,
|
|
24321
|
+
f
|
|
24322
|
+
);
|
|
24323
|
+
}
|
|
24324
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
|
24325
|
+
if (f != null) {
|
|
24326
|
+
writer.writeUint32(
|
|
24327
|
+
11,
|
|
24328
|
+
f
|
|
24329
|
+
);
|
|
24330
|
+
}
|
|
24307
24331
|
};
|
|
24308
24332
|
|
|
24309
24333
|
|
|
@@ -24595,6 +24619,78 @@ proto.game.ActiveUserTournament.prototype.hasFinishedInMilliseconds = function()
|
|
|
24595
24619
|
};
|
|
24596
24620
|
|
|
24597
24621
|
|
|
24622
|
+
/**
|
|
24623
|
+
* optional uint32 max_members_count = 10;
|
|
24624
|
+
* @return {number}
|
|
24625
|
+
*/
|
|
24626
|
+
proto.game.ActiveUserTournament.prototype.getMaxMembersCount = function() {
|
|
24627
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
24628
|
+
};
|
|
24629
|
+
|
|
24630
|
+
|
|
24631
|
+
/**
|
|
24632
|
+
* @param {number} value
|
|
24633
|
+
* @return {!proto.game.ActiveUserTournament} returns this
|
|
24634
|
+
*/
|
|
24635
|
+
proto.game.ActiveUserTournament.prototype.setMaxMembersCount = function(value) {
|
|
24636
|
+
return jspb.Message.setField(this, 10, value);
|
|
24637
|
+
};
|
|
24638
|
+
|
|
24639
|
+
|
|
24640
|
+
/**
|
|
24641
|
+
* Clears the field making it undefined.
|
|
24642
|
+
* @return {!proto.game.ActiveUserTournament} returns this
|
|
24643
|
+
*/
|
|
24644
|
+
proto.game.ActiveUserTournament.prototype.clearMaxMembersCount = function() {
|
|
24645
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
24646
|
+
};
|
|
24647
|
+
|
|
24648
|
+
|
|
24649
|
+
/**
|
|
24650
|
+
* Returns whether this field is set.
|
|
24651
|
+
* @return {boolean}
|
|
24652
|
+
*/
|
|
24653
|
+
proto.game.ActiveUserTournament.prototype.hasMaxMembersCount = function() {
|
|
24654
|
+
return jspb.Message.getField(this, 10) != null;
|
|
24655
|
+
};
|
|
24656
|
+
|
|
24657
|
+
|
|
24658
|
+
/**
|
|
24659
|
+
* optional uint32 current_members_count = 11;
|
|
24660
|
+
* @return {number}
|
|
24661
|
+
*/
|
|
24662
|
+
proto.game.ActiveUserTournament.prototype.getCurrentMembersCount = function() {
|
|
24663
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
24664
|
+
};
|
|
24665
|
+
|
|
24666
|
+
|
|
24667
|
+
/**
|
|
24668
|
+
* @param {number} value
|
|
24669
|
+
* @return {!proto.game.ActiveUserTournament} returns this
|
|
24670
|
+
*/
|
|
24671
|
+
proto.game.ActiveUserTournament.prototype.setCurrentMembersCount = function(value) {
|
|
24672
|
+
return jspb.Message.setField(this, 11, value);
|
|
24673
|
+
};
|
|
24674
|
+
|
|
24675
|
+
|
|
24676
|
+
/**
|
|
24677
|
+
* Clears the field making it undefined.
|
|
24678
|
+
* @return {!proto.game.ActiveUserTournament} returns this
|
|
24679
|
+
*/
|
|
24680
|
+
proto.game.ActiveUserTournament.prototype.clearCurrentMembersCount = function() {
|
|
24681
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
24682
|
+
};
|
|
24683
|
+
|
|
24684
|
+
|
|
24685
|
+
/**
|
|
24686
|
+
* Returns whether this field is set.
|
|
24687
|
+
* @return {boolean}
|
|
24688
|
+
*/
|
|
24689
|
+
proto.game.ActiveUserTournament.prototype.hasCurrentMembersCount = function() {
|
|
24690
|
+
return jspb.Message.getField(this, 11) != null;
|
|
24691
|
+
};
|
|
24692
|
+
|
|
24693
|
+
|
|
24598
24694
|
|
|
24599
24695
|
/**
|
|
24600
24696
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
|
@@ -10490,7 +10490,8 @@ proto.tournament.TournamentLeaderboardUserItem.toObject = function(includeInstan
|
|
|
10490
10490
|
var f, obj = {
|
|
10491
10491
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10492
10492
|
rank: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10493
|
-
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
10493
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
10494
|
+
nickname: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10494
10495
|
};
|
|
10495
10496
|
|
|
10496
10497
|
if (includeInstance) {
|
|
@@ -10539,6 +10540,10 @@ proto.tournament.TournamentLeaderboardUserItem.deserializeBinaryFromReader = fun
|
|
|
10539
10540
|
var value = /** @type {number} */ (reader.readDouble());
|
|
10540
10541
|
msg.setScore(value);
|
|
10541
10542
|
break;
|
|
10543
|
+
case 4:
|
|
10544
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10545
|
+
msg.setNickname(value);
|
|
10546
|
+
break;
|
|
10542
10547
|
default:
|
|
10543
10548
|
reader.skipField();
|
|
10544
10549
|
break;
|
|
@@ -10589,6 +10594,13 @@ proto.tournament.TournamentLeaderboardUserItem.serializeBinaryToWriter = functio
|
|
|
10589
10594
|
f
|
|
10590
10595
|
);
|
|
10591
10596
|
}
|
|
10597
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
10598
|
+
if (f != null) {
|
|
10599
|
+
writer.writeString(
|
|
10600
|
+
4,
|
|
10601
|
+
f
|
|
10602
|
+
);
|
|
10603
|
+
}
|
|
10592
10604
|
};
|
|
10593
10605
|
|
|
10594
10606
|
|
|
@@ -10646,6 +10658,42 @@ proto.tournament.TournamentLeaderboardUserItem.prototype.setScore = function(val
|
|
|
10646
10658
|
};
|
|
10647
10659
|
|
|
10648
10660
|
|
|
10661
|
+
/**
|
|
10662
|
+
* optional string nickname = 4;
|
|
10663
|
+
* @return {string}
|
|
10664
|
+
*/
|
|
10665
|
+
proto.tournament.TournamentLeaderboardUserItem.prototype.getNickname = function() {
|
|
10666
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10667
|
+
};
|
|
10668
|
+
|
|
10669
|
+
|
|
10670
|
+
/**
|
|
10671
|
+
* @param {string} value
|
|
10672
|
+
* @return {!proto.tournament.TournamentLeaderboardUserItem} returns this
|
|
10673
|
+
*/
|
|
10674
|
+
proto.tournament.TournamentLeaderboardUserItem.prototype.setNickname = function(value) {
|
|
10675
|
+
return jspb.Message.setField(this, 4, value);
|
|
10676
|
+
};
|
|
10677
|
+
|
|
10678
|
+
|
|
10679
|
+
/**
|
|
10680
|
+
* Clears the field making it undefined.
|
|
10681
|
+
* @return {!proto.tournament.TournamentLeaderboardUserItem} returns this
|
|
10682
|
+
*/
|
|
10683
|
+
proto.tournament.TournamentLeaderboardUserItem.prototype.clearNickname = function() {
|
|
10684
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
10685
|
+
};
|
|
10686
|
+
|
|
10687
|
+
|
|
10688
|
+
/**
|
|
10689
|
+
* Returns whether this field is set.
|
|
10690
|
+
* @return {boolean}
|
|
10691
|
+
*/
|
|
10692
|
+
proto.tournament.TournamentLeaderboardUserItem.prototype.hasNickname = function() {
|
|
10693
|
+
return jspb.Message.getField(this, 4) != null;
|
|
10694
|
+
};
|
|
10695
|
+
|
|
10696
|
+
|
|
10649
10697
|
|
|
10650
10698
|
/**
|
|
10651
10699
|
* List of repeated fields within this message type.
|