protobuf-platform 1.2.214 → 1.2.215
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/bet/bet.proto +5 -3
- package/bet/bet_pb.js +77 -17
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
|
@@ -171,9 +171,11 @@ message WinRateItem {
|
|
|
171
171
|
string game_title = 2;
|
|
172
172
|
string game_image = 3;
|
|
173
173
|
string game_provider = 4;
|
|
174
|
-
string
|
|
175
|
-
string
|
|
176
|
-
|
|
174
|
+
string game_slug = 5;
|
|
175
|
+
string provider_slug = 6;
|
|
176
|
+
string user_nickname = 7;
|
|
177
|
+
string currency = 8;
|
|
178
|
+
float multiplier = 9;
|
|
177
179
|
}
|
|
178
180
|
message WinRatesResponse {
|
|
179
181
|
repeated WinRateItem items = 1;
|
package/bet/bet_pb.js
CHANGED
|
@@ -6711,9 +6711,11 @@ proto.bet.WinRateItem.toObject = function(includeInstance, msg) {
|
|
|
6711
6711
|
gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6712
6712
|
gameImage: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6713
6713
|
gameProvider: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6714
|
+
gameSlug: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6715
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6716
|
+
userNickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6717
|
+
currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6718
|
+
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0)
|
|
6717
6719
|
};
|
|
6718
6720
|
|
|
6719
6721
|
if (includeInstance) {
|
|
@@ -6768,13 +6770,21 @@ proto.bet.WinRateItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6768
6770
|
break;
|
|
6769
6771
|
case 5:
|
|
6770
6772
|
var value = /** @type {string} */ (reader.readString());
|
|
6771
|
-
msg.
|
|
6773
|
+
msg.setGameSlug(value);
|
|
6772
6774
|
break;
|
|
6773
6775
|
case 6:
|
|
6774
6776
|
var value = /** @type {string} */ (reader.readString());
|
|
6775
|
-
msg.
|
|
6777
|
+
msg.setProviderSlug(value);
|
|
6776
6778
|
break;
|
|
6777
6779
|
case 7:
|
|
6780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6781
|
+
msg.setUserNickname(value);
|
|
6782
|
+
break;
|
|
6783
|
+
case 8:
|
|
6784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6785
|
+
msg.setCurrency(value);
|
|
6786
|
+
break;
|
|
6787
|
+
case 9:
|
|
6778
6788
|
var value = /** @type {number} */ (reader.readFloat());
|
|
6779
6789
|
msg.setMultiplier(value);
|
|
6780
6790
|
break;
|
|
@@ -6835,24 +6845,38 @@ proto.bet.WinRateItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
6835
6845
|
f
|
|
6836
6846
|
);
|
|
6837
6847
|
}
|
|
6838
|
-
f = message.
|
|
6848
|
+
f = message.getGameSlug();
|
|
6839
6849
|
if (f.length > 0) {
|
|
6840
6850
|
writer.writeString(
|
|
6841
6851
|
5,
|
|
6842
6852
|
f
|
|
6843
6853
|
);
|
|
6844
6854
|
}
|
|
6845
|
-
f = message.
|
|
6855
|
+
f = message.getProviderSlug();
|
|
6846
6856
|
if (f.length > 0) {
|
|
6847
6857
|
writer.writeString(
|
|
6848
6858
|
6,
|
|
6849
6859
|
f
|
|
6850
6860
|
);
|
|
6851
6861
|
}
|
|
6862
|
+
f = message.getUserNickname();
|
|
6863
|
+
if (f.length > 0) {
|
|
6864
|
+
writer.writeString(
|
|
6865
|
+
7,
|
|
6866
|
+
f
|
|
6867
|
+
);
|
|
6868
|
+
}
|
|
6869
|
+
f = message.getCurrency();
|
|
6870
|
+
if (f.length > 0) {
|
|
6871
|
+
writer.writeString(
|
|
6872
|
+
8,
|
|
6873
|
+
f
|
|
6874
|
+
);
|
|
6875
|
+
}
|
|
6852
6876
|
f = message.getMultiplier();
|
|
6853
6877
|
if (f !== 0.0) {
|
|
6854
6878
|
writer.writeFloat(
|
|
6855
|
-
|
|
6879
|
+
9,
|
|
6856
6880
|
f
|
|
6857
6881
|
);
|
|
6858
6882
|
}
|
|
@@ -6932,10 +6956,10 @@ proto.bet.WinRateItem.prototype.setGameProvider = function(value) {
|
|
|
6932
6956
|
|
|
6933
6957
|
|
|
6934
6958
|
/**
|
|
6935
|
-
* optional string
|
|
6959
|
+
* optional string game_slug = 5;
|
|
6936
6960
|
* @return {string}
|
|
6937
6961
|
*/
|
|
6938
|
-
proto.bet.WinRateItem.prototype.
|
|
6962
|
+
proto.bet.WinRateItem.prototype.getGameSlug = function() {
|
|
6939
6963
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6940
6964
|
};
|
|
6941
6965
|
|
|
@@ -6944,16 +6968,16 @@ proto.bet.WinRateItem.prototype.getUserNickname = function() {
|
|
|
6944
6968
|
* @param {string} value
|
|
6945
6969
|
* @return {!proto.bet.WinRateItem} returns this
|
|
6946
6970
|
*/
|
|
6947
|
-
proto.bet.WinRateItem.prototype.
|
|
6971
|
+
proto.bet.WinRateItem.prototype.setGameSlug = function(value) {
|
|
6948
6972
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6949
6973
|
};
|
|
6950
6974
|
|
|
6951
6975
|
|
|
6952
6976
|
/**
|
|
6953
|
-
* optional string
|
|
6977
|
+
* optional string provider_slug = 6;
|
|
6954
6978
|
* @return {string}
|
|
6955
6979
|
*/
|
|
6956
|
-
proto.bet.WinRateItem.prototype.
|
|
6980
|
+
proto.bet.WinRateItem.prototype.getProviderSlug = function() {
|
|
6957
6981
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6958
6982
|
};
|
|
6959
6983
|
|
|
@@ -6962,17 +6986,53 @@ proto.bet.WinRateItem.prototype.getCurrency = function() {
|
|
|
6962
6986
|
* @param {string} value
|
|
6963
6987
|
* @return {!proto.bet.WinRateItem} returns this
|
|
6964
6988
|
*/
|
|
6965
|
-
proto.bet.WinRateItem.prototype.
|
|
6989
|
+
proto.bet.WinRateItem.prototype.setProviderSlug = function(value) {
|
|
6966
6990
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6967
6991
|
};
|
|
6968
6992
|
|
|
6969
6993
|
|
|
6970
6994
|
/**
|
|
6971
|
-
* optional
|
|
6995
|
+
* optional string user_nickname = 7;
|
|
6996
|
+
* @return {string}
|
|
6997
|
+
*/
|
|
6998
|
+
proto.bet.WinRateItem.prototype.getUserNickname = function() {
|
|
6999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7000
|
+
};
|
|
7001
|
+
|
|
7002
|
+
|
|
7003
|
+
/**
|
|
7004
|
+
* @param {string} value
|
|
7005
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
7006
|
+
*/
|
|
7007
|
+
proto.bet.WinRateItem.prototype.setUserNickname = function(value) {
|
|
7008
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7009
|
+
};
|
|
7010
|
+
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* optional string currency = 8;
|
|
7014
|
+
* @return {string}
|
|
7015
|
+
*/
|
|
7016
|
+
proto.bet.WinRateItem.prototype.getCurrency = function() {
|
|
7017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7018
|
+
};
|
|
7019
|
+
|
|
7020
|
+
|
|
7021
|
+
/**
|
|
7022
|
+
* @param {string} value
|
|
7023
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
7024
|
+
*/
|
|
7025
|
+
proto.bet.WinRateItem.prototype.setCurrency = function(value) {
|
|
7026
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7027
|
+
};
|
|
7028
|
+
|
|
7029
|
+
|
|
7030
|
+
/**
|
|
7031
|
+
* optional float multiplier = 9;
|
|
6972
7032
|
* @return {number}
|
|
6973
7033
|
*/
|
|
6974
7034
|
proto.bet.WinRateItem.prototype.getMultiplier = function() {
|
|
6975
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
7035
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
6976
7036
|
};
|
|
6977
7037
|
|
|
6978
7038
|
|
|
@@ -6981,7 +7041,7 @@ proto.bet.WinRateItem.prototype.getMultiplier = function() {
|
|
|
6981
7041
|
* @return {!proto.bet.WinRateItem} returns this
|
|
6982
7042
|
*/
|
|
6983
7043
|
proto.bet.WinRateItem.prototype.setMultiplier = function(value) {
|
|
6984
|
-
return jspb.Message.setProto3FloatField(this,
|
|
7044
|
+
return jspb.Message.setProto3FloatField(this, 9, value);
|
|
6985
7045
|
};
|
|
6986
7046
|
|
|
6987
7047
|
|