protobuf-platform 1.2.435 → 1.2.437
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/payment/payment.proto +2 -2
- package/payment/payment_pb.js +10 -10
- package/tournament/tournament.proto +8 -0
- package/tournament/tournament_pb.js +388 -4
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -608,8 +608,8 @@ message UserPaymentMethodItem {
|
|
|
608
608
|
string image_cdn = 6;
|
|
609
609
|
string currency = 7;
|
|
610
610
|
optional string payment_type = 8;
|
|
611
|
-
optional
|
|
612
|
-
optional
|
|
611
|
+
optional float min_amount = 9;
|
|
612
|
+
optional float max_amount = 10;
|
|
613
613
|
optional string sdk_provider = 11;
|
|
614
614
|
optional bool sdk_enabled = 12;
|
|
615
615
|
optional string processing_type = 13;
|
package/payment/payment_pb.js
CHANGED
|
@@ -25935,8 +25935,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
25935
25935
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
25936
25936
|
currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
25937
25937
|
paymentType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
25938
|
-
minAmount: jspb.Message.
|
|
25939
|
-
maxAmount: jspb.Message.
|
|
25938
|
+
minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
25939
|
+
maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
25940
25940
|
sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
25941
25941
|
sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
25942
25942
|
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
@@ -26016,11 +26016,11 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
26016
26016
|
msg.setPaymentType(value);
|
|
26017
26017
|
break;
|
|
26018
26018
|
case 9:
|
|
26019
|
-
var value = /** @type {number} */ (reader.
|
|
26019
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
26020
26020
|
msg.setMinAmount(value);
|
|
26021
26021
|
break;
|
|
26022
26022
|
case 10:
|
|
26023
|
-
var value = /** @type {number} */ (reader.
|
|
26023
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
26024
26024
|
msg.setMaxAmount(value);
|
|
26025
26025
|
break;
|
|
26026
26026
|
case 11:
|
|
@@ -26147,14 +26147,14 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
26147
26147
|
}
|
|
26148
26148
|
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
26149
26149
|
if (f != null) {
|
|
26150
|
-
writer.
|
|
26150
|
+
writer.writeFloat(
|
|
26151
26151
|
9,
|
|
26152
26152
|
f
|
|
26153
26153
|
);
|
|
26154
26154
|
}
|
|
26155
26155
|
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
26156
26156
|
if (f != null) {
|
|
26157
|
-
writer.
|
|
26157
|
+
writer.writeFloat(
|
|
26158
26158
|
10,
|
|
26159
26159
|
f
|
|
26160
26160
|
);
|
|
@@ -26389,11 +26389,11 @@ proto.payment.UserPaymentMethodItem.prototype.hasPaymentType = function() {
|
|
|
26389
26389
|
|
|
26390
26390
|
|
|
26391
26391
|
/**
|
|
26392
|
-
* optional
|
|
26392
|
+
* optional float min_amount = 9;
|
|
26393
26393
|
* @return {number}
|
|
26394
26394
|
*/
|
|
26395
26395
|
proto.payment.UserPaymentMethodItem.prototype.getMinAmount = function() {
|
|
26396
|
-
return /** @type {number} */ (jspb.Message.
|
|
26396
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
26397
26397
|
};
|
|
26398
26398
|
|
|
26399
26399
|
|
|
@@ -26425,11 +26425,11 @@ proto.payment.UserPaymentMethodItem.prototype.hasMinAmount = function() {
|
|
|
26425
26425
|
|
|
26426
26426
|
|
|
26427
26427
|
/**
|
|
26428
|
-
* optional
|
|
26428
|
+
* optional float max_amount = 10;
|
|
26429
26429
|
* @return {number}
|
|
26430
26430
|
*/
|
|
26431
26431
|
proto.payment.UserPaymentMethodItem.prototype.getMaxAmount = function() {
|
|
26432
|
-
return /** @type {number} */ (jspb.Message.
|
|
26432
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
|
26433
26433
|
};
|
|
26434
26434
|
|
|
26435
26435
|
|
|
@@ -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;
|
|
@@ -219,6 +223,8 @@ message UserTournamentItem {
|
|
|
219
223
|
repeated GamePoorItem eligible_games = 18;
|
|
220
224
|
optional TournamentScoreItem score = 19;
|
|
221
225
|
repeated RewardItem places = 20;
|
|
226
|
+
optional string image_small = 21;
|
|
227
|
+
optional string image_small_cdn = 22;
|
|
222
228
|
}
|
|
223
229
|
message UserTournamentItemsResponse {
|
|
224
230
|
repeated UserTournamentItem items = 1;
|
|
@@ -274,6 +280,8 @@ message OnlineTournamentInfoResponse {
|
|
|
274
280
|
repeated RewardItem rewards_places = 9; // all reward places for podium rendering
|
|
275
281
|
repeated TournamentLeaderboardUserItem top20 = 10; // top 20 snapshot (rank is 1-based)
|
|
276
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;
|
|
277
285
|
}
|
|
278
286
|
|
|
279
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
|
|
|
@@ -9277,7 +9469,9 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
|
|
|
9277
9469
|
proto.tournament.GamePoorItem.toObject, includeInstance),
|
|
9278
9470
|
score: (f = msg.getScore()) && proto.tournament.TournamentScoreItem.toObject(includeInstance, f),
|
|
9279
9471
|
placesList: jspb.Message.toObjectList(msg.getPlacesList(),
|
|
9280
|
-
proto.tournament.RewardItem.toObject, includeInstance)
|
|
9472
|
+
proto.tournament.RewardItem.toObject, includeInstance),
|
|
9473
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
9474
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
9281
9475
|
};
|
|
9282
9476
|
|
|
9283
9477
|
if (includeInstance) {
|
|
@@ -9399,6 +9593,14 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
|
|
|
9399
9593
|
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
|
9400
9594
|
msg.addPlaces(value);
|
|
9401
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;
|
|
9402
9604
|
default:
|
|
9403
9605
|
reader.skipField();
|
|
9404
9606
|
break;
|
|
@@ -9573,6 +9775,20 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
|
|
|
9573
9775
|
proto.tournament.RewardItem.serializeBinaryToWriter
|
|
9574
9776
|
);
|
|
9575
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
|
+
}
|
|
9576
9792
|
};
|
|
9577
9793
|
|
|
9578
9794
|
|
|
@@ -10305,6 +10521,78 @@ proto.tournament.UserTournamentItem.prototype.clearPlacesList = function() {
|
|
|
10305
10521
|
};
|
|
10306
10522
|
|
|
10307
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
|
+
|
|
10308
10596
|
|
|
10309
10597
|
/**
|
|
10310
10598
|
* List of repeated fields within this message type.
|
|
@@ -12005,7 +12293,9 @@ proto.tournament.OnlineTournamentInfoResponse.toObject = function(includeInstanc
|
|
|
12005
12293
|
proto.tournament.RewardItem.toObject, includeInstance),
|
|
12006
12294
|
top20List: jspb.Message.toObjectList(msg.getTop20List(),
|
|
12007
12295
|
proto.tournament.TournamentLeaderboardUserItem.toObject, includeInstance),
|
|
12008
|
-
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, "")
|
|
12009
12299
|
};
|
|
12010
12300
|
|
|
12011
12301
|
if (includeInstance) {
|
|
@@ -12089,6 +12379,14 @@ proto.tournament.OnlineTournamentInfoResponse.deserializeBinaryFromReader = func
|
|
|
12089
12379
|
reader.readMessage(value,proto.tournament.TournamentLeaderboardUserItem.deserializeBinaryFromReader);
|
|
12090
12380
|
msg.setMe(value);
|
|
12091
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;
|
|
12092
12390
|
default:
|
|
12093
12391
|
reader.skipField();
|
|
12094
12392
|
break;
|
|
@@ -12198,6 +12496,20 @@ proto.tournament.OnlineTournamentInfoResponse.serializeBinaryToWriter = function
|
|
|
12198
12496
|
proto.tournament.TournamentLeaderboardUserItem.serializeBinaryToWriter
|
|
12199
12497
|
);
|
|
12200
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
|
+
}
|
|
12201
12513
|
};
|
|
12202
12514
|
|
|
12203
12515
|
|
|
@@ -12566,6 +12878,78 @@ proto.tournament.OnlineTournamentInfoResponse.prototype.hasMe = function() {
|
|
|
12566
12878
|
};
|
|
12567
12879
|
|
|
12568
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
|
+
|
|
12569
12953
|
|
|
12570
12954
|
/**
|
|
12571
12955
|
* List of repeated fields within this message type.
|