protobuf-platform 1.2.434 → 1.2.436
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
CHANGED
|
@@ -81,6 +81,8 @@ message TournamentItem {
|
|
|
81
81
|
optional bool can_activated = 19;
|
|
82
82
|
optional string user_status = 20;
|
|
83
83
|
optional uint64 finished_in_milliseconds = 21;
|
|
84
|
+
optional string image_small = 22;
|
|
85
|
+
optional string image_small_cdn = 23;
|
|
84
86
|
}
|
|
85
87
|
message TournamentRequest {
|
|
86
88
|
oneof request {
|
|
@@ -98,6 +100,8 @@ message TournamentItemRequest {
|
|
|
98
100
|
optional string started_at = 7;
|
|
99
101
|
optional string finished_at = 8;
|
|
100
102
|
optional int32 status_id = 9;
|
|
103
|
+
optional string image_small = 10;
|
|
104
|
+
optional string image_small_cdn = 11;
|
|
101
105
|
}
|
|
102
106
|
message GetTournamentRequest {
|
|
103
107
|
int32 id = 1;
|
|
@@ -218,6 +222,9 @@ message UserTournamentItem {
|
|
|
218
222
|
optional uint64 finished_in_milliseconds = 17;
|
|
219
223
|
repeated GamePoorItem eligible_games = 18;
|
|
220
224
|
optional TournamentScoreItem score = 19;
|
|
225
|
+
repeated RewardItem places = 20;
|
|
226
|
+
optional string image_small = 21;
|
|
227
|
+
optional string image_small_cdn = 22;
|
|
221
228
|
}
|
|
222
229
|
message UserTournamentItemsResponse {
|
|
223
230
|
repeated UserTournamentItem items = 1;
|
|
@@ -273,6 +280,8 @@ message OnlineTournamentInfoResponse {
|
|
|
273
280
|
repeated RewardItem rewards_places = 9; // all reward places for podium rendering
|
|
274
281
|
repeated TournamentLeaderboardUserItem top20 = 10; // top 20 snapshot (rank is 1-based)
|
|
275
282
|
optional TournamentLeaderboardUserItem me = 11; // MUST be returned by backend even if not in top20
|
|
283
|
+
optional string image_small = 12;
|
|
284
|
+
optional string image_small_cdn = 13;
|
|
276
285
|
}
|
|
277
286
|
|
|
278
287
|
message ResolveAutoTournamentForGameSessionRequest {
|
|
@@ -2772,7 +2772,9 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
|
2772
2772
|
slug: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2773
2773
|
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
2774
2774
|
userStatus: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
2775
|
-
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0)
|
|
2775
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
2776
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
2777
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
2776
2778
|
};
|
|
2777
2779
|
|
|
2778
2780
|
if (includeInstance) {
|
|
@@ -2897,6 +2899,14 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
|
|
|
2897
2899
|
var value = /** @type {number} */ (reader.readUint64());
|
|
2898
2900
|
msg.setFinishedInMilliseconds(value);
|
|
2899
2901
|
break;
|
|
2902
|
+
case 22:
|
|
2903
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2904
|
+
msg.setImageSmall(value);
|
|
2905
|
+
break;
|
|
2906
|
+
case 23:
|
|
2907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2908
|
+
msg.setImageSmallCdn(value);
|
|
2909
|
+
break;
|
|
2900
2910
|
default:
|
|
2901
2911
|
reader.skipField();
|
|
2902
2912
|
break;
|
|
@@ -3077,6 +3087,20 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
|
3077
3087
|
f
|
|
3078
3088
|
);
|
|
3079
3089
|
}
|
|
3090
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
3091
|
+
if (f != null) {
|
|
3092
|
+
writer.writeString(
|
|
3093
|
+
22,
|
|
3094
|
+
f
|
|
3095
|
+
);
|
|
3096
|
+
}
|
|
3097
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 23));
|
|
3098
|
+
if (f != null) {
|
|
3099
|
+
writer.writeString(
|
|
3100
|
+
23,
|
|
3101
|
+
f
|
|
3102
|
+
);
|
|
3103
|
+
}
|
|
3080
3104
|
};
|
|
3081
3105
|
|
|
3082
3106
|
|
|
@@ -3844,6 +3868,78 @@ proto.tournament.TournamentItem.prototype.hasFinishedInMilliseconds = function()
|
|
|
3844
3868
|
};
|
|
3845
3869
|
|
|
3846
3870
|
|
|
3871
|
+
/**
|
|
3872
|
+
* optional string image_small = 22;
|
|
3873
|
+
* @return {string}
|
|
3874
|
+
*/
|
|
3875
|
+
proto.tournament.TournamentItem.prototype.getImageSmall = function() {
|
|
3876
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
3877
|
+
};
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* @param {string} value
|
|
3882
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3883
|
+
*/
|
|
3884
|
+
proto.tournament.TournamentItem.prototype.setImageSmall = function(value) {
|
|
3885
|
+
return jspb.Message.setField(this, 22, value);
|
|
3886
|
+
};
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* Clears the field making it undefined.
|
|
3891
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3892
|
+
*/
|
|
3893
|
+
proto.tournament.TournamentItem.prototype.clearImageSmall = function() {
|
|
3894
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
3895
|
+
};
|
|
3896
|
+
|
|
3897
|
+
|
|
3898
|
+
/**
|
|
3899
|
+
* Returns whether this field is set.
|
|
3900
|
+
* @return {boolean}
|
|
3901
|
+
*/
|
|
3902
|
+
proto.tournament.TournamentItem.prototype.hasImageSmall = function() {
|
|
3903
|
+
return jspb.Message.getField(this, 22) != null;
|
|
3904
|
+
};
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* optional string image_small_cdn = 23;
|
|
3909
|
+
* @return {string}
|
|
3910
|
+
*/
|
|
3911
|
+
proto.tournament.TournamentItem.prototype.getImageSmallCdn = function() {
|
|
3912
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
3913
|
+
};
|
|
3914
|
+
|
|
3915
|
+
|
|
3916
|
+
/**
|
|
3917
|
+
* @param {string} value
|
|
3918
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3919
|
+
*/
|
|
3920
|
+
proto.tournament.TournamentItem.prototype.setImageSmallCdn = function(value) {
|
|
3921
|
+
return jspb.Message.setField(this, 23, value);
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* Clears the field making it undefined.
|
|
3927
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
|
3928
|
+
*/
|
|
3929
|
+
proto.tournament.TournamentItem.prototype.clearImageSmallCdn = function() {
|
|
3930
|
+
return jspb.Message.setField(this, 23, undefined);
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3933
|
+
|
|
3934
|
+
/**
|
|
3935
|
+
* Returns whether this field is set.
|
|
3936
|
+
* @return {boolean}
|
|
3937
|
+
*/
|
|
3938
|
+
proto.tournament.TournamentItem.prototype.hasImageSmallCdn = function() {
|
|
3939
|
+
return jspb.Message.getField(this, 23) != null;
|
|
3940
|
+
};
|
|
3941
|
+
|
|
3942
|
+
|
|
3847
3943
|
|
|
3848
3944
|
/**
|
|
3849
3945
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -4112,7 +4208,9 @@ proto.tournament.TournamentItemRequest.toObject = function(includeInstance, msg)
|
|
|
4112
4208
|
botsCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
4113
4209
|
startedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4114
4210
|
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4115
|
-
statusId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
4211
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
4212
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4213
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
4116
4214
|
};
|
|
4117
4215
|
|
|
4118
4216
|
if (includeInstance) {
|
|
@@ -4185,6 +4283,14 @@ proto.tournament.TournamentItemRequest.deserializeBinaryFromReader = function(ms
|
|
|
4185
4283
|
var value = /** @type {number} */ (reader.readInt32());
|
|
4186
4284
|
msg.setStatusId(value);
|
|
4187
4285
|
break;
|
|
4286
|
+
case 10:
|
|
4287
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4288
|
+
msg.setImageSmall(value);
|
|
4289
|
+
break;
|
|
4290
|
+
case 11:
|
|
4291
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4292
|
+
msg.setImageSmallCdn(value);
|
|
4293
|
+
break;
|
|
4188
4294
|
default:
|
|
4189
4295
|
reader.skipField();
|
|
4190
4296
|
break;
|
|
@@ -4277,6 +4383,20 @@ proto.tournament.TournamentItemRequest.serializeBinaryToWriter = function(messag
|
|
|
4277
4383
|
f
|
|
4278
4384
|
);
|
|
4279
4385
|
}
|
|
4386
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4387
|
+
if (f != null) {
|
|
4388
|
+
writer.writeString(
|
|
4389
|
+
10,
|
|
4390
|
+
f
|
|
4391
|
+
);
|
|
4392
|
+
}
|
|
4393
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
4394
|
+
if (f != null) {
|
|
4395
|
+
writer.writeString(
|
|
4396
|
+
11,
|
|
4397
|
+
f
|
|
4398
|
+
);
|
|
4399
|
+
}
|
|
4280
4400
|
};
|
|
4281
4401
|
|
|
4282
4402
|
|
|
@@ -4604,6 +4724,78 @@ proto.tournament.TournamentItemRequest.prototype.hasStatusId = function() {
|
|
|
4604
4724
|
};
|
|
4605
4725
|
|
|
4606
4726
|
|
|
4727
|
+
/**
|
|
4728
|
+
* optional string image_small = 10;
|
|
4729
|
+
* @return {string}
|
|
4730
|
+
*/
|
|
4731
|
+
proto.tournament.TournamentItemRequest.prototype.getImageSmall = function() {
|
|
4732
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4733
|
+
};
|
|
4734
|
+
|
|
4735
|
+
|
|
4736
|
+
/**
|
|
4737
|
+
* @param {string} value
|
|
4738
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
|
4739
|
+
*/
|
|
4740
|
+
proto.tournament.TournamentItemRequest.prototype.setImageSmall = function(value) {
|
|
4741
|
+
return jspb.Message.setField(this, 10, value);
|
|
4742
|
+
};
|
|
4743
|
+
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* Clears the field making it undefined.
|
|
4747
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
|
4748
|
+
*/
|
|
4749
|
+
proto.tournament.TournamentItemRequest.prototype.clearImageSmall = function() {
|
|
4750
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
4751
|
+
};
|
|
4752
|
+
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* Returns whether this field is set.
|
|
4756
|
+
* @return {boolean}
|
|
4757
|
+
*/
|
|
4758
|
+
proto.tournament.TournamentItemRequest.prototype.hasImageSmall = function() {
|
|
4759
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4760
|
+
};
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
/**
|
|
4764
|
+
* optional string image_small_cdn = 11;
|
|
4765
|
+
* @return {string}
|
|
4766
|
+
*/
|
|
4767
|
+
proto.tournament.TournamentItemRequest.prototype.getImageSmallCdn = function() {
|
|
4768
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4769
|
+
};
|
|
4770
|
+
|
|
4771
|
+
|
|
4772
|
+
/**
|
|
4773
|
+
* @param {string} value
|
|
4774
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
|
4775
|
+
*/
|
|
4776
|
+
proto.tournament.TournamentItemRequest.prototype.setImageSmallCdn = function(value) {
|
|
4777
|
+
return jspb.Message.setField(this, 11, value);
|
|
4778
|
+
};
|
|
4779
|
+
|
|
4780
|
+
|
|
4781
|
+
/**
|
|
4782
|
+
* Clears the field making it undefined.
|
|
4783
|
+
* @return {!proto.tournament.TournamentItemRequest} returns this
|
|
4784
|
+
*/
|
|
4785
|
+
proto.tournament.TournamentItemRequest.prototype.clearImageSmallCdn = function() {
|
|
4786
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
4787
|
+
};
|
|
4788
|
+
|
|
4789
|
+
|
|
4790
|
+
/**
|
|
4791
|
+
* Returns whether this field is set.
|
|
4792
|
+
* @return {boolean}
|
|
4793
|
+
*/
|
|
4794
|
+
proto.tournament.TournamentItemRequest.prototype.hasImageSmallCdn = function() {
|
|
4795
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4796
|
+
};
|
|
4797
|
+
|
|
4798
|
+
|
|
4607
4799
|
|
|
4608
4800
|
|
|
4609
4801
|
|
|
@@ -9221,7 +9413,7 @@ proto.tournament.GamePoorItem.prototype.hasProviderSlug = function() {
|
|
|
9221
9413
|
* @private {!Array<number>}
|
|
9222
9414
|
* @const
|
|
9223
9415
|
*/
|
|
9224
|
-
proto.tournament.UserTournamentItem.repeatedFields_ = [11,12,18];
|
|
9416
|
+
proto.tournament.UserTournamentItem.repeatedFields_ = [11,12,18,20];
|
|
9225
9417
|
|
|
9226
9418
|
|
|
9227
9419
|
|
|
@@ -9275,7 +9467,11 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
|
9275
9467
|
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
9276
9468
|
eligibleGamesList: jspb.Message.toObjectList(msg.getEligibleGamesList(),
|
|
9277
9469
|
proto.tournament.GamePoorItem.toObject, includeInstance),
|
|
9278
|
-
score: (f = msg.getScore()) && proto.tournament.TournamentScoreItem.toObject(includeInstance, f)
|
|
9470
|
+
score: (f = msg.getScore()) && proto.tournament.TournamentScoreItem.toObject(includeInstance, f),
|
|
9471
|
+
placesList: jspb.Message.toObjectList(msg.getPlacesList(),
|
|
9472
|
+
proto.tournament.RewardItem.toObject, includeInstance),
|
|
9473
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
9474
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
9279
9475
|
};
|
|
9280
9476
|
|
|
9281
9477
|
if (includeInstance) {
|
|
@@ -9392,6 +9588,19 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
|
9392
9588
|
reader.readMessage(value,proto.tournament.TournamentScoreItem.deserializeBinaryFromReader);
|
|
9393
9589
|
msg.setScore(value);
|
|
9394
9590
|
break;
|
|
9591
|
+
case 20:
|
|
9592
|
+
var value = new proto.tournament.RewardItem;
|
|
9593
|
+
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
|
9594
|
+
msg.addPlaces(value);
|
|
9595
|
+
break;
|
|
9596
|
+
case 21:
|
|
9597
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9598
|
+
msg.setImageSmall(value);
|
|
9599
|
+
break;
|
|
9600
|
+
case 22:
|
|
9601
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9602
|
+
msg.setImageSmallCdn(value);
|
|
9603
|
+
break;
|
|
9395
9604
|
default:
|
|
9396
9605
|
reader.skipField();
|
|
9397
9606
|
break;
|
|
@@ -9558,6 +9767,28 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
|
9558
9767
|
proto.tournament.TournamentScoreItem.serializeBinaryToWriter
|
|
9559
9768
|
);
|
|
9560
9769
|
}
|
|
9770
|
+
f = message.getPlacesList();
|
|
9771
|
+
if (f.length > 0) {
|
|
9772
|
+
writer.writeRepeatedMessage(
|
|
9773
|
+
20,
|
|
9774
|
+
f,
|
|
9775
|
+
proto.tournament.RewardItem.serializeBinaryToWriter
|
|
9776
|
+
);
|
|
9777
|
+
}
|
|
9778
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
9779
|
+
if (f != null) {
|
|
9780
|
+
writer.writeString(
|
|
9781
|
+
21,
|
|
9782
|
+
f
|
|
9783
|
+
);
|
|
9784
|
+
}
|
|
9785
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
9786
|
+
if (f != null) {
|
|
9787
|
+
writer.writeString(
|
|
9788
|
+
22,
|
|
9789
|
+
f
|
|
9790
|
+
);
|
|
9791
|
+
}
|
|
9561
9792
|
};
|
|
9562
9793
|
|
|
9563
9794
|
|
|
@@ -10252,6 +10483,116 @@ proto.tournament.UserTournamentItem.prototype.hasScore = function() {
|
|
|
10252
10483
|
};
|
|
10253
10484
|
|
|
10254
10485
|
|
|
10486
|
+
/**
|
|
10487
|
+
* repeated RewardItem places = 20;
|
|
10488
|
+
* @return {!Array<!proto.tournament.RewardItem>}
|
|
10489
|
+
*/
|
|
10490
|
+
proto.tournament.UserTournamentItem.prototype.getPlacesList = function() {
|
|
10491
|
+
return /** @type{!Array<!proto.tournament.RewardItem>} */ (
|
|
10492
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.RewardItem, 20));
|
|
10493
|
+
};
|
|
10494
|
+
|
|
10495
|
+
|
|
10496
|
+
/**
|
|
10497
|
+
* @param {!Array<!proto.tournament.RewardItem>} value
|
|
10498
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10499
|
+
*/
|
|
10500
|
+
proto.tournament.UserTournamentItem.prototype.setPlacesList = function(value) {
|
|
10501
|
+
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
|
10502
|
+
};
|
|
10503
|
+
|
|
10504
|
+
|
|
10505
|
+
/**
|
|
10506
|
+
* @param {!proto.tournament.RewardItem=} opt_value
|
|
10507
|
+
* @param {number=} opt_index
|
|
10508
|
+
* @return {!proto.tournament.RewardItem}
|
|
10509
|
+
*/
|
|
10510
|
+
proto.tournament.UserTournamentItem.prototype.addPlaces = function(opt_value, opt_index) {
|
|
10511
|
+
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.tournament.RewardItem, opt_index);
|
|
10512
|
+
};
|
|
10513
|
+
|
|
10514
|
+
|
|
10515
|
+
/**
|
|
10516
|
+
* Clears the list making it empty but non-null.
|
|
10517
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10518
|
+
*/
|
|
10519
|
+
proto.tournament.UserTournamentItem.prototype.clearPlacesList = function() {
|
|
10520
|
+
return this.setPlacesList([]);
|
|
10521
|
+
};
|
|
10522
|
+
|
|
10523
|
+
|
|
10524
|
+
/**
|
|
10525
|
+
* optional string image_small = 21;
|
|
10526
|
+
* @return {string}
|
|
10527
|
+
*/
|
|
10528
|
+
proto.tournament.UserTournamentItem.prototype.getImageSmall = function() {
|
|
10529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
10530
|
+
};
|
|
10531
|
+
|
|
10532
|
+
|
|
10533
|
+
/**
|
|
10534
|
+
* @param {string} value
|
|
10535
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10536
|
+
*/
|
|
10537
|
+
proto.tournament.UserTournamentItem.prototype.setImageSmall = function(value) {
|
|
10538
|
+
return jspb.Message.setField(this, 21, value);
|
|
10539
|
+
};
|
|
10540
|
+
|
|
10541
|
+
|
|
10542
|
+
/**
|
|
10543
|
+
* Clears the field making it undefined.
|
|
10544
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10545
|
+
*/
|
|
10546
|
+
proto.tournament.UserTournamentItem.prototype.clearImageSmall = function() {
|
|
10547
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
10548
|
+
};
|
|
10549
|
+
|
|
10550
|
+
|
|
10551
|
+
/**
|
|
10552
|
+
* Returns whether this field is set.
|
|
10553
|
+
* @return {boolean}
|
|
10554
|
+
*/
|
|
10555
|
+
proto.tournament.UserTournamentItem.prototype.hasImageSmall = function() {
|
|
10556
|
+
return jspb.Message.getField(this, 21) != null;
|
|
10557
|
+
};
|
|
10558
|
+
|
|
10559
|
+
|
|
10560
|
+
/**
|
|
10561
|
+
* optional string image_small_cdn = 22;
|
|
10562
|
+
* @return {string}
|
|
10563
|
+
*/
|
|
10564
|
+
proto.tournament.UserTournamentItem.prototype.getImageSmallCdn = function() {
|
|
10565
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
10566
|
+
};
|
|
10567
|
+
|
|
10568
|
+
|
|
10569
|
+
/**
|
|
10570
|
+
* @param {string} value
|
|
10571
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10572
|
+
*/
|
|
10573
|
+
proto.tournament.UserTournamentItem.prototype.setImageSmallCdn = function(value) {
|
|
10574
|
+
return jspb.Message.setField(this, 22, value);
|
|
10575
|
+
};
|
|
10576
|
+
|
|
10577
|
+
|
|
10578
|
+
/**
|
|
10579
|
+
* Clears the field making it undefined.
|
|
10580
|
+
* @return {!proto.tournament.UserTournamentItem} returns this
|
|
10581
|
+
*/
|
|
10582
|
+
proto.tournament.UserTournamentItem.prototype.clearImageSmallCdn = function() {
|
|
10583
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
10584
|
+
};
|
|
10585
|
+
|
|
10586
|
+
|
|
10587
|
+
/**
|
|
10588
|
+
* Returns whether this field is set.
|
|
10589
|
+
* @return {boolean}
|
|
10590
|
+
*/
|
|
10591
|
+
proto.tournament.UserTournamentItem.prototype.hasImageSmallCdn = function() {
|
|
10592
|
+
return jspb.Message.getField(this, 22) != null;
|
|
10593
|
+
};
|
|
10594
|
+
|
|
10595
|
+
|
|
10255
10596
|
|
|
10256
10597
|
/**
|
|
10257
10598
|
* List of repeated fields within this message type.
|
|
@@ -11952,7 +12293,9 @@ proto.tournament.OnlineTournamentInfoResponse.toObject = function(includeInstanc
|
|
|
11952
12293
|
proto.tournament.RewardItem.toObject, includeInstance),
|
|
11953
12294
|
top20List: jspb.Message.toObjectList(msg.getTop20List(),
|
|
11954
12295
|
proto.tournament.TournamentLeaderboardUserItem.toObject, includeInstance),
|
|
11955
|
-
me: (f = msg.getMe()) && proto.tournament.TournamentLeaderboardUserItem.toObject(includeInstance, f)
|
|
12296
|
+
me: (f = msg.getMe()) && proto.tournament.TournamentLeaderboardUserItem.toObject(includeInstance, f),
|
|
12297
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
12298
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
11956
12299
|
};
|
|
11957
12300
|
|
|
11958
12301
|
if (includeInstance) {
|
|
@@ -12036,6 +12379,14 @@ proto.tournament.OnlineTournamentInfoResponse.deserializeBinaryFromReader = func
|
|
|
12036
12379
|
reader.readMessage(value,proto.tournament.TournamentLeaderboardUserItem.deserializeBinaryFromReader);
|
|
12037
12380
|
msg.setMe(value);
|
|
12038
12381
|
break;
|
|
12382
|
+
case 12:
|
|
12383
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12384
|
+
msg.setImageSmall(value);
|
|
12385
|
+
break;
|
|
12386
|
+
case 13:
|
|
12387
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12388
|
+
msg.setImageSmallCdn(value);
|
|
12389
|
+
break;
|
|
12039
12390
|
default:
|
|
12040
12391
|
reader.skipField();
|
|
12041
12392
|
break;
|
|
@@ -12145,6 +12496,20 @@ proto.tournament.OnlineTournamentInfoResponse.serializeBinaryToWriter = function
|
|
|
12145
12496
|
proto.tournament.TournamentLeaderboardUserItem.serializeBinaryToWriter
|
|
12146
12497
|
);
|
|
12147
12498
|
}
|
|
12499
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
12500
|
+
if (f != null) {
|
|
12501
|
+
writer.writeString(
|
|
12502
|
+
12,
|
|
12503
|
+
f
|
|
12504
|
+
);
|
|
12505
|
+
}
|
|
12506
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
12507
|
+
if (f != null) {
|
|
12508
|
+
writer.writeString(
|
|
12509
|
+
13,
|
|
12510
|
+
f
|
|
12511
|
+
);
|
|
12512
|
+
}
|
|
12148
12513
|
};
|
|
12149
12514
|
|
|
12150
12515
|
|
|
@@ -12513,6 +12878,78 @@ proto.tournament.OnlineTournamentInfoResponse.prototype.hasMe = function() {
|
|
|
12513
12878
|
};
|
|
12514
12879
|
|
|
12515
12880
|
|
|
12881
|
+
/**
|
|
12882
|
+
* optional string image_small = 12;
|
|
12883
|
+
* @return {string}
|
|
12884
|
+
*/
|
|
12885
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.getImageSmall = function() {
|
|
12886
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
12887
|
+
};
|
|
12888
|
+
|
|
12889
|
+
|
|
12890
|
+
/**
|
|
12891
|
+
* @param {string} value
|
|
12892
|
+
* @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
|
|
12893
|
+
*/
|
|
12894
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.setImageSmall = function(value) {
|
|
12895
|
+
return jspb.Message.setField(this, 12, value);
|
|
12896
|
+
};
|
|
12897
|
+
|
|
12898
|
+
|
|
12899
|
+
/**
|
|
12900
|
+
* Clears the field making it undefined.
|
|
12901
|
+
* @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
|
|
12902
|
+
*/
|
|
12903
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.clearImageSmall = function() {
|
|
12904
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
12905
|
+
};
|
|
12906
|
+
|
|
12907
|
+
|
|
12908
|
+
/**
|
|
12909
|
+
* Returns whether this field is set.
|
|
12910
|
+
* @return {boolean}
|
|
12911
|
+
*/
|
|
12912
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.hasImageSmall = function() {
|
|
12913
|
+
return jspb.Message.getField(this, 12) != null;
|
|
12914
|
+
};
|
|
12915
|
+
|
|
12916
|
+
|
|
12917
|
+
/**
|
|
12918
|
+
* optional string image_small_cdn = 13;
|
|
12919
|
+
* @return {string}
|
|
12920
|
+
*/
|
|
12921
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.getImageSmallCdn = function() {
|
|
12922
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
12923
|
+
};
|
|
12924
|
+
|
|
12925
|
+
|
|
12926
|
+
/**
|
|
12927
|
+
* @param {string} value
|
|
12928
|
+
* @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
|
|
12929
|
+
*/
|
|
12930
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.setImageSmallCdn = function(value) {
|
|
12931
|
+
return jspb.Message.setField(this, 13, value);
|
|
12932
|
+
};
|
|
12933
|
+
|
|
12934
|
+
|
|
12935
|
+
/**
|
|
12936
|
+
* Clears the field making it undefined.
|
|
12937
|
+
* @return {!proto.tournament.OnlineTournamentInfoResponse} returns this
|
|
12938
|
+
*/
|
|
12939
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.clearImageSmallCdn = function() {
|
|
12940
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
12941
|
+
};
|
|
12942
|
+
|
|
12943
|
+
|
|
12944
|
+
/**
|
|
12945
|
+
* Returns whether this field is set.
|
|
12946
|
+
* @return {boolean}
|
|
12947
|
+
*/
|
|
12948
|
+
proto.tournament.OnlineTournamentInfoResponse.prototype.hasImageSmallCdn = function() {
|
|
12949
|
+
return jspb.Message.getField(this, 13) != null;
|
|
12950
|
+
};
|
|
12951
|
+
|
|
12952
|
+
|
|
12516
12953
|
|
|
12517
12954
|
/**
|
|
12518
12955
|
* List of repeated fields within this message type.
|