protobuf-platform 1.2.214 → 1.2.216

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 CHANGED
@@ -170,10 +170,13 @@ message WinRateItem {
170
170
  float amount = 1;
171
171
  string game_title = 2;
172
172
  string game_image = 3;
173
- string game_provider = 4;
174
- string user_nickname = 5;
175
- string currency = 6;
176
- float multiplier = 7;
173
+ optional string game_provider = 4;
174
+ optional string game_slug = 5;
175
+ optional string provider_slug = 6;
176
+ optional string user_nickname = 7;
177
+ optional string currency = 8;
178
+ optional float multiplier = 9;
179
+ optional int32 has_demo = 10;
177
180
  }
178
181
  message WinRatesResponse {
179
182
  repeated WinRateItem items = 1;
package/bet/bet_pb.js CHANGED
@@ -6711,9 +6711,12 @@ 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
- userNickname: jspb.Message.getFieldWithDefault(msg, 5, ""),
6715
- currency: jspb.Message.getFieldWithDefault(msg, 6, ""),
6716
- multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
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),
6719
+ hasDemo: jspb.Message.getFieldWithDefault(msg, 10, 0)
6717
6720
  };
6718
6721
 
6719
6722
  if (includeInstance) {
@@ -6768,16 +6771,28 @@ proto.bet.WinRateItem.deserializeBinaryFromReader = function(msg, reader) {
6768
6771
  break;
6769
6772
  case 5:
6770
6773
  var value = /** @type {string} */ (reader.readString());
6771
- msg.setUserNickname(value);
6774
+ msg.setGameSlug(value);
6772
6775
  break;
6773
6776
  case 6:
6774
6777
  var value = /** @type {string} */ (reader.readString());
6775
- msg.setCurrency(value);
6778
+ msg.setProviderSlug(value);
6776
6779
  break;
6777
6780
  case 7:
6781
+ var value = /** @type {string} */ (reader.readString());
6782
+ msg.setUserNickname(value);
6783
+ break;
6784
+ case 8:
6785
+ var value = /** @type {string} */ (reader.readString());
6786
+ msg.setCurrency(value);
6787
+ break;
6788
+ case 9:
6778
6789
  var value = /** @type {number} */ (reader.readFloat());
6779
6790
  msg.setMultiplier(value);
6780
6791
  break;
6792
+ case 10:
6793
+ var value = /** @type {number} */ (reader.readInt32());
6794
+ msg.setHasDemo(value);
6795
+ break;
6781
6796
  default:
6782
6797
  reader.skipField();
6783
6798
  break;
@@ -6828,34 +6843,55 @@ proto.bet.WinRateItem.serializeBinaryToWriter = function(message, writer) {
6828
6843
  f
6829
6844
  );
6830
6845
  }
6831
- f = message.getGameProvider();
6832
- if (f.length > 0) {
6846
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
6847
+ if (f != null) {
6833
6848
  writer.writeString(
6834
6849
  4,
6835
6850
  f
6836
6851
  );
6837
6852
  }
6838
- f = message.getUserNickname();
6839
- if (f.length > 0) {
6853
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
6854
+ if (f != null) {
6840
6855
  writer.writeString(
6841
6856
  5,
6842
6857
  f
6843
6858
  );
6844
6859
  }
6845
- f = message.getCurrency();
6846
- if (f.length > 0) {
6860
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
6861
+ if (f != null) {
6847
6862
  writer.writeString(
6848
6863
  6,
6849
6864
  f
6850
6865
  );
6851
6866
  }
6852
- f = message.getMultiplier();
6853
- if (f !== 0.0) {
6854
- writer.writeFloat(
6867
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
6868
+ if (f != null) {
6869
+ writer.writeString(
6855
6870
  7,
6856
6871
  f
6857
6872
  );
6858
6873
  }
6874
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
6875
+ if (f != null) {
6876
+ writer.writeString(
6877
+ 8,
6878
+ f
6879
+ );
6880
+ }
6881
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
6882
+ if (f != null) {
6883
+ writer.writeFloat(
6884
+ 9,
6885
+ f
6886
+ );
6887
+ }
6888
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
6889
+ if (f != null) {
6890
+ writer.writeInt32(
6891
+ 10,
6892
+ f
6893
+ );
6894
+ }
6859
6895
  };
6860
6896
 
6861
6897
 
@@ -6927,34 +6963,142 @@ proto.bet.WinRateItem.prototype.getGameProvider = function() {
6927
6963
  * @return {!proto.bet.WinRateItem} returns this
6928
6964
  */
6929
6965
  proto.bet.WinRateItem.prototype.setGameProvider = function(value) {
6930
- return jspb.Message.setProto3StringField(this, 4, value);
6966
+ return jspb.Message.setField(this, 4, value);
6967
+ };
6968
+
6969
+
6970
+ /**
6971
+ * Clears the field making it undefined.
6972
+ * @return {!proto.bet.WinRateItem} returns this
6973
+ */
6974
+ proto.bet.WinRateItem.prototype.clearGameProvider = function() {
6975
+ return jspb.Message.setField(this, 4, undefined);
6976
+ };
6977
+
6978
+
6979
+ /**
6980
+ * Returns whether this field is set.
6981
+ * @return {boolean}
6982
+ */
6983
+ proto.bet.WinRateItem.prototype.hasGameProvider = function() {
6984
+ return jspb.Message.getField(this, 4) != null;
6931
6985
  };
6932
6986
 
6933
6987
 
6934
6988
  /**
6935
- * optional string user_nickname = 5;
6989
+ * optional string game_slug = 5;
6936
6990
  * @return {string}
6937
6991
  */
6938
- proto.bet.WinRateItem.prototype.getUserNickname = function() {
6992
+ proto.bet.WinRateItem.prototype.getGameSlug = function() {
6939
6993
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6940
6994
  };
6941
6995
 
6942
6996
 
6997
+ /**
6998
+ * @param {string} value
6999
+ * @return {!proto.bet.WinRateItem} returns this
7000
+ */
7001
+ proto.bet.WinRateItem.prototype.setGameSlug = function(value) {
7002
+ return jspb.Message.setField(this, 5, value);
7003
+ };
7004
+
7005
+
7006
+ /**
7007
+ * Clears the field making it undefined.
7008
+ * @return {!proto.bet.WinRateItem} returns this
7009
+ */
7010
+ proto.bet.WinRateItem.prototype.clearGameSlug = function() {
7011
+ return jspb.Message.setField(this, 5, undefined);
7012
+ };
7013
+
7014
+
7015
+ /**
7016
+ * Returns whether this field is set.
7017
+ * @return {boolean}
7018
+ */
7019
+ proto.bet.WinRateItem.prototype.hasGameSlug = function() {
7020
+ return jspb.Message.getField(this, 5) != null;
7021
+ };
7022
+
7023
+
7024
+ /**
7025
+ * optional string provider_slug = 6;
7026
+ * @return {string}
7027
+ */
7028
+ proto.bet.WinRateItem.prototype.getProviderSlug = function() {
7029
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7030
+ };
7031
+
7032
+
7033
+ /**
7034
+ * @param {string} value
7035
+ * @return {!proto.bet.WinRateItem} returns this
7036
+ */
7037
+ proto.bet.WinRateItem.prototype.setProviderSlug = function(value) {
7038
+ return jspb.Message.setField(this, 6, value);
7039
+ };
7040
+
7041
+
7042
+ /**
7043
+ * Clears the field making it undefined.
7044
+ * @return {!proto.bet.WinRateItem} returns this
7045
+ */
7046
+ proto.bet.WinRateItem.prototype.clearProviderSlug = function() {
7047
+ return jspb.Message.setField(this, 6, undefined);
7048
+ };
7049
+
7050
+
7051
+ /**
7052
+ * Returns whether this field is set.
7053
+ * @return {boolean}
7054
+ */
7055
+ proto.bet.WinRateItem.prototype.hasProviderSlug = function() {
7056
+ return jspb.Message.getField(this, 6) != null;
7057
+ };
7058
+
7059
+
7060
+ /**
7061
+ * optional string user_nickname = 7;
7062
+ * @return {string}
7063
+ */
7064
+ proto.bet.WinRateItem.prototype.getUserNickname = function() {
7065
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7066
+ };
7067
+
7068
+
6943
7069
  /**
6944
7070
  * @param {string} value
6945
7071
  * @return {!proto.bet.WinRateItem} returns this
6946
7072
  */
6947
7073
  proto.bet.WinRateItem.prototype.setUserNickname = function(value) {
6948
- return jspb.Message.setProto3StringField(this, 5, value);
7074
+ return jspb.Message.setField(this, 7, value);
6949
7075
  };
6950
7076
 
6951
7077
 
6952
7078
  /**
6953
- * optional string currency = 6;
7079
+ * Clears the field making it undefined.
7080
+ * @return {!proto.bet.WinRateItem} returns this
7081
+ */
7082
+ proto.bet.WinRateItem.prototype.clearUserNickname = function() {
7083
+ return jspb.Message.setField(this, 7, undefined);
7084
+ };
7085
+
7086
+
7087
+ /**
7088
+ * Returns whether this field is set.
7089
+ * @return {boolean}
7090
+ */
7091
+ proto.bet.WinRateItem.prototype.hasUserNickname = function() {
7092
+ return jspb.Message.getField(this, 7) != null;
7093
+ };
7094
+
7095
+
7096
+ /**
7097
+ * optional string currency = 8;
6954
7098
  * @return {string}
6955
7099
  */
6956
7100
  proto.bet.WinRateItem.prototype.getCurrency = function() {
6957
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7101
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
6958
7102
  };
6959
7103
 
6960
7104
 
@@ -6963,16 +7107,34 @@ proto.bet.WinRateItem.prototype.getCurrency = function() {
6963
7107
  * @return {!proto.bet.WinRateItem} returns this
6964
7108
  */
6965
7109
  proto.bet.WinRateItem.prototype.setCurrency = function(value) {
6966
- return jspb.Message.setProto3StringField(this, 6, value);
7110
+ return jspb.Message.setField(this, 8, value);
6967
7111
  };
6968
7112
 
6969
7113
 
6970
7114
  /**
6971
- * optional float multiplier = 7;
7115
+ * Clears the field making it undefined.
7116
+ * @return {!proto.bet.WinRateItem} returns this
7117
+ */
7118
+ proto.bet.WinRateItem.prototype.clearCurrency = function() {
7119
+ return jspb.Message.setField(this, 8, undefined);
7120
+ };
7121
+
7122
+
7123
+ /**
7124
+ * Returns whether this field is set.
7125
+ * @return {boolean}
7126
+ */
7127
+ proto.bet.WinRateItem.prototype.hasCurrency = function() {
7128
+ return jspb.Message.getField(this, 8) != null;
7129
+ };
7130
+
7131
+
7132
+ /**
7133
+ * optional float multiplier = 9;
6972
7134
  * @return {number}
6973
7135
  */
6974
7136
  proto.bet.WinRateItem.prototype.getMultiplier = function() {
6975
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
7137
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
6976
7138
  };
6977
7139
 
6978
7140
 
@@ -6981,7 +7143,61 @@ proto.bet.WinRateItem.prototype.getMultiplier = function() {
6981
7143
  * @return {!proto.bet.WinRateItem} returns this
6982
7144
  */
6983
7145
  proto.bet.WinRateItem.prototype.setMultiplier = function(value) {
6984
- return jspb.Message.setProto3FloatField(this, 7, value);
7146
+ return jspb.Message.setField(this, 9, value);
7147
+ };
7148
+
7149
+
7150
+ /**
7151
+ * Clears the field making it undefined.
7152
+ * @return {!proto.bet.WinRateItem} returns this
7153
+ */
7154
+ proto.bet.WinRateItem.prototype.clearMultiplier = function() {
7155
+ return jspb.Message.setField(this, 9, undefined);
7156
+ };
7157
+
7158
+
7159
+ /**
7160
+ * Returns whether this field is set.
7161
+ * @return {boolean}
7162
+ */
7163
+ proto.bet.WinRateItem.prototype.hasMultiplier = function() {
7164
+ return jspb.Message.getField(this, 9) != null;
7165
+ };
7166
+
7167
+
7168
+ /**
7169
+ * optional int32 has_demo = 10;
7170
+ * @return {number}
7171
+ */
7172
+ proto.bet.WinRateItem.prototype.getHasDemo = function() {
7173
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
7174
+ };
7175
+
7176
+
7177
+ /**
7178
+ * @param {number} value
7179
+ * @return {!proto.bet.WinRateItem} returns this
7180
+ */
7181
+ proto.bet.WinRateItem.prototype.setHasDemo = function(value) {
7182
+ return jspb.Message.setField(this, 10, value);
7183
+ };
7184
+
7185
+
7186
+ /**
7187
+ * Clears the field making it undefined.
7188
+ * @return {!proto.bet.WinRateItem} returns this
7189
+ */
7190
+ proto.bet.WinRateItem.prototype.clearHasDemo = function() {
7191
+ return jspb.Message.setField(this, 10, undefined);
7192
+ };
7193
+
7194
+
7195
+ /**
7196
+ * Returns whether this field is set.
7197
+ * @return {boolean}
7198
+ */
7199
+ proto.bet.WinRateItem.prototype.hasHasDemo = function() {
7200
+ return jspb.Message.getField(this, 10) != null;
6985
7201
  };
6986
7202
 
6987
7203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.214",
3
+ "version": "1.2.216",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {