protobuf-platform 1.2.215 → 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,12 +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 game_slug = 5;
175
- string provider_slug = 6;
176
- string user_nickname = 7;
177
- string currency = 8;
178
- float multiplier = 9;
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;
179
180
  }
180
181
  message WinRatesResponse {
181
182
  repeated WinRateItem items = 1;
package/bet/bet_pb.js CHANGED
@@ -6715,7 +6715,8 @@ proto.bet.WinRateItem.toObject = function(includeInstance, msg) {
6715
6715
  providerSlug: jspb.Message.getFieldWithDefault(msg, 6, ""),
6716
6716
  userNickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
6717
6717
  currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
6718
- multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0)
6718
+ multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
6719
+ hasDemo: jspb.Message.getFieldWithDefault(msg, 10, 0)
6719
6720
  };
6720
6721
 
6721
6722
  if (includeInstance) {
@@ -6788,6 +6789,10 @@ proto.bet.WinRateItem.deserializeBinaryFromReader = function(msg, reader) {
6788
6789
  var value = /** @type {number} */ (reader.readFloat());
6789
6790
  msg.setMultiplier(value);
6790
6791
  break;
6792
+ case 10:
6793
+ var value = /** @type {number} */ (reader.readInt32());
6794
+ msg.setHasDemo(value);
6795
+ break;
6791
6796
  default:
6792
6797
  reader.skipField();
6793
6798
  break;
@@ -6838,48 +6843,55 @@ proto.bet.WinRateItem.serializeBinaryToWriter = function(message, writer) {
6838
6843
  f
6839
6844
  );
6840
6845
  }
6841
- f = message.getGameProvider();
6842
- if (f.length > 0) {
6846
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
6847
+ if (f != null) {
6843
6848
  writer.writeString(
6844
6849
  4,
6845
6850
  f
6846
6851
  );
6847
6852
  }
6848
- f = message.getGameSlug();
6849
- if (f.length > 0) {
6853
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
6854
+ if (f != null) {
6850
6855
  writer.writeString(
6851
6856
  5,
6852
6857
  f
6853
6858
  );
6854
6859
  }
6855
- f = message.getProviderSlug();
6856
- if (f.length > 0) {
6860
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
6861
+ if (f != null) {
6857
6862
  writer.writeString(
6858
6863
  6,
6859
6864
  f
6860
6865
  );
6861
6866
  }
6862
- f = message.getUserNickname();
6863
- if (f.length > 0) {
6867
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
6868
+ if (f != null) {
6864
6869
  writer.writeString(
6865
6870
  7,
6866
6871
  f
6867
6872
  );
6868
6873
  }
6869
- f = message.getCurrency();
6870
- if (f.length > 0) {
6874
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
6875
+ if (f != null) {
6871
6876
  writer.writeString(
6872
6877
  8,
6873
6878
  f
6874
6879
  );
6875
6880
  }
6876
- f = message.getMultiplier();
6877
- if (f !== 0.0) {
6881
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
6882
+ if (f != null) {
6878
6883
  writer.writeFloat(
6879
6884
  9,
6880
6885
  f
6881
6886
  );
6882
6887
  }
6888
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
6889
+ if (f != null) {
6890
+ writer.writeInt32(
6891
+ 10,
6892
+ f
6893
+ );
6894
+ }
6883
6895
  };
6884
6896
 
6885
6897
 
@@ -6951,7 +6963,25 @@ proto.bet.WinRateItem.prototype.getGameProvider = function() {
6951
6963
  * @return {!proto.bet.WinRateItem} returns this
6952
6964
  */
6953
6965
  proto.bet.WinRateItem.prototype.setGameProvider = function(value) {
6954
- 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;
6955
6985
  };
6956
6986
 
6957
6987
 
@@ -6969,7 +6999,25 @@ proto.bet.WinRateItem.prototype.getGameSlug = function() {
6969
6999
  * @return {!proto.bet.WinRateItem} returns this
6970
7000
  */
6971
7001
  proto.bet.WinRateItem.prototype.setGameSlug = function(value) {
6972
- return jspb.Message.setProto3StringField(this, 5, 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;
6973
7021
  };
6974
7022
 
6975
7023
 
@@ -6987,7 +7035,25 @@ proto.bet.WinRateItem.prototype.getProviderSlug = function() {
6987
7035
  * @return {!proto.bet.WinRateItem} returns this
6988
7036
  */
6989
7037
  proto.bet.WinRateItem.prototype.setProviderSlug = function(value) {
6990
- return jspb.Message.setProto3StringField(this, 6, 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;
6991
7057
  };
6992
7058
 
6993
7059
 
@@ -7005,7 +7071,25 @@ proto.bet.WinRateItem.prototype.getUserNickname = function() {
7005
7071
  * @return {!proto.bet.WinRateItem} returns this
7006
7072
  */
7007
7073
  proto.bet.WinRateItem.prototype.setUserNickname = function(value) {
7008
- return jspb.Message.setProto3StringField(this, 7, value);
7074
+ return jspb.Message.setField(this, 7, value);
7075
+ };
7076
+
7077
+
7078
+ /**
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;
7009
7093
  };
7010
7094
 
7011
7095
 
@@ -7023,7 +7107,25 @@ proto.bet.WinRateItem.prototype.getCurrency = function() {
7023
7107
  * @return {!proto.bet.WinRateItem} returns this
7024
7108
  */
7025
7109
  proto.bet.WinRateItem.prototype.setCurrency = function(value) {
7026
- return jspb.Message.setProto3StringField(this, 8, value);
7110
+ return jspb.Message.setField(this, 8, value);
7111
+ };
7112
+
7113
+
7114
+ /**
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;
7027
7129
  };
7028
7130
 
7029
7131
 
@@ -7041,7 +7143,61 @@ proto.bet.WinRateItem.prototype.getMultiplier = function() {
7041
7143
  * @return {!proto.bet.WinRateItem} returns this
7042
7144
  */
7043
7145
  proto.bet.WinRateItem.prototype.setMultiplier = function(value) {
7044
- return jspb.Message.setProto3FloatField(this, 9, 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;
7045
7201
  };
7046
7202
 
7047
7203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.215",
3
+ "version": "1.2.216",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {