protobuf-platform 1.1.24 → 1.1.25
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
@@ -55,6 +55,9 @@ message TournamentItem {
|
|
55
55
|
repeated RewardItem rewards = 15;
|
56
56
|
repeated ContentItem contents = 16;
|
57
57
|
optional string slug = 17;
|
58
|
+
optional bool can_activated = 18;
|
59
|
+
optional string user_status = 19;
|
60
|
+
optional uint32 finished_in_milliseconds = 20;
|
58
61
|
}
|
59
62
|
message TournamentRequest {
|
60
63
|
oneof request {
|
@@ -1848,7 +1848,10 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
1848
1848
|
proto.tournament.RewardItem.toObject, includeInstance),
|
1849
1849
|
contentsList: jspb.Message.toObjectList(msg.getContentsList(),
|
1850
1850
|
proto.tournament.ContentItem.toObject, includeInstance),
|
1851
|
-
slug: jspb.Message.getFieldWithDefault(msg, 17, "")
|
1851
|
+
slug: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
1852
|
+
canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
1853
|
+
userStatus: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
1854
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, 0)
|
1852
1855
|
};
|
1853
1856
|
|
1854
1857
|
if (includeInstance) {
|
@@ -1957,6 +1960,18 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
|
|
1957
1960
|
var value = /** @type {string} */ (reader.readString());
|
1958
1961
|
msg.setSlug(value);
|
1959
1962
|
break;
|
1963
|
+
case 18:
|
1964
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
1965
|
+
msg.setCanActivated(value);
|
1966
|
+
break;
|
1967
|
+
case 19:
|
1968
|
+
var value = /** @type {string} */ (reader.readString());
|
1969
|
+
msg.setUserStatus(value);
|
1970
|
+
break;
|
1971
|
+
case 20:
|
1972
|
+
var value = /** @type {number} */ (reader.readUint32());
|
1973
|
+
msg.setFinishedInMilliseconds(value);
|
1974
|
+
break;
|
1960
1975
|
default:
|
1961
1976
|
reader.skipField();
|
1962
1977
|
break;
|
@@ -2109,6 +2124,27 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
2109
2124
|
f
|
2110
2125
|
);
|
2111
2126
|
}
|
2127
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 18));
|
2128
|
+
if (f != null) {
|
2129
|
+
writer.writeBool(
|
2130
|
+
18,
|
2131
|
+
f
|
2132
|
+
);
|
2133
|
+
}
|
2134
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
2135
|
+
if (f != null) {
|
2136
|
+
writer.writeString(
|
2137
|
+
19,
|
2138
|
+
f
|
2139
|
+
);
|
2140
|
+
}
|
2141
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
2142
|
+
if (f != null) {
|
2143
|
+
writer.writeUint32(
|
2144
|
+
20,
|
2145
|
+
f
|
2146
|
+
);
|
2147
|
+
}
|
2112
2148
|
};
|
2113
2149
|
|
2114
2150
|
|
@@ -2732,6 +2768,114 @@ proto.tournament.TournamentItem.prototype.hasSlug = function() {
|
|
2732
2768
|
};
|
2733
2769
|
|
2734
2770
|
|
2771
|
+
/**
|
2772
|
+
* optional bool can_activated = 18;
|
2773
|
+
* @return {boolean}
|
2774
|
+
*/
|
2775
|
+
proto.tournament.TournamentItem.prototype.getCanActivated = function() {
|
2776
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
|
2777
|
+
};
|
2778
|
+
|
2779
|
+
|
2780
|
+
/**
|
2781
|
+
* @param {boolean} value
|
2782
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2783
|
+
*/
|
2784
|
+
proto.tournament.TournamentItem.prototype.setCanActivated = function(value) {
|
2785
|
+
return jspb.Message.setField(this, 18, value);
|
2786
|
+
};
|
2787
|
+
|
2788
|
+
|
2789
|
+
/**
|
2790
|
+
* Clears the field making it undefined.
|
2791
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2792
|
+
*/
|
2793
|
+
proto.tournament.TournamentItem.prototype.clearCanActivated = function() {
|
2794
|
+
return jspb.Message.setField(this, 18, undefined);
|
2795
|
+
};
|
2796
|
+
|
2797
|
+
|
2798
|
+
/**
|
2799
|
+
* Returns whether this field is set.
|
2800
|
+
* @return {boolean}
|
2801
|
+
*/
|
2802
|
+
proto.tournament.TournamentItem.prototype.hasCanActivated = function() {
|
2803
|
+
return jspb.Message.getField(this, 18) != null;
|
2804
|
+
};
|
2805
|
+
|
2806
|
+
|
2807
|
+
/**
|
2808
|
+
* optional string user_status = 19;
|
2809
|
+
* @return {string}
|
2810
|
+
*/
|
2811
|
+
proto.tournament.TournamentItem.prototype.getUserStatus = function() {
|
2812
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
2813
|
+
};
|
2814
|
+
|
2815
|
+
|
2816
|
+
/**
|
2817
|
+
* @param {string} value
|
2818
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2819
|
+
*/
|
2820
|
+
proto.tournament.TournamentItem.prototype.setUserStatus = function(value) {
|
2821
|
+
return jspb.Message.setField(this, 19, value);
|
2822
|
+
};
|
2823
|
+
|
2824
|
+
|
2825
|
+
/**
|
2826
|
+
* Clears the field making it undefined.
|
2827
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2828
|
+
*/
|
2829
|
+
proto.tournament.TournamentItem.prototype.clearUserStatus = function() {
|
2830
|
+
return jspb.Message.setField(this, 19, undefined);
|
2831
|
+
};
|
2832
|
+
|
2833
|
+
|
2834
|
+
/**
|
2835
|
+
* Returns whether this field is set.
|
2836
|
+
* @return {boolean}
|
2837
|
+
*/
|
2838
|
+
proto.tournament.TournamentItem.prototype.hasUserStatus = function() {
|
2839
|
+
return jspb.Message.getField(this, 19) != null;
|
2840
|
+
};
|
2841
|
+
|
2842
|
+
|
2843
|
+
/**
|
2844
|
+
* optional uint32 finished_in_milliseconds = 20;
|
2845
|
+
* @return {number}
|
2846
|
+
*/
|
2847
|
+
proto.tournament.TournamentItem.prototype.getFinishedInMilliseconds = function() {
|
2848
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
2849
|
+
};
|
2850
|
+
|
2851
|
+
|
2852
|
+
/**
|
2853
|
+
* @param {number} value
|
2854
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2855
|
+
*/
|
2856
|
+
proto.tournament.TournamentItem.prototype.setFinishedInMilliseconds = function(value) {
|
2857
|
+
return jspb.Message.setField(this, 20, value);
|
2858
|
+
};
|
2859
|
+
|
2860
|
+
|
2861
|
+
/**
|
2862
|
+
* Clears the field making it undefined.
|
2863
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2864
|
+
*/
|
2865
|
+
proto.tournament.TournamentItem.prototype.clearFinishedInMilliseconds = function() {
|
2866
|
+
return jspb.Message.setField(this, 20, undefined);
|
2867
|
+
};
|
2868
|
+
|
2869
|
+
|
2870
|
+
/**
|
2871
|
+
* Returns whether this field is set.
|
2872
|
+
* @return {boolean}
|
2873
|
+
*/
|
2874
|
+
proto.tournament.TournamentItem.prototype.hasFinishedInMilliseconds = function() {
|
2875
|
+
return jspb.Message.getField(this, 20) != null;
|
2876
|
+
};
|
2877
|
+
|
2878
|
+
|
2735
2879
|
|
2736
2880
|
/**
|
2737
2881
|
* Oneof group definitions for this message. Each group defines the field
|