protobuf-platform 1.2.613 → 1.2.615

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.
@@ -166,6 +166,7 @@ message CurrencyRateItem {
166
166
  optional bool is_manual = 10;
167
167
  optional string status = 11;
168
168
  optional string error_code = 12;
169
+ optional string rate_decimal = 13;
169
170
  }
170
171
 
171
172
  message CurrenciesRatesResponse {
@@ -5855,7 +5855,8 @@ proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
5855
5855
  validUntil: jspb.Message.getFieldWithDefault(msg, 9, ""),
5856
5856
  isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
5857
5857
  status: jspb.Message.getFieldWithDefault(msg, 11, ""),
5858
- errorCode: jspb.Message.getFieldWithDefault(msg, 12, "")
5858
+ errorCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
5859
+ rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, "")
5859
5860
  };
5860
5861
 
5861
5862
  if (includeInstance) {
@@ -5940,6 +5941,10 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
5940
5941
  var value = /** @type {string} */ (reader.readString());
5941
5942
  msg.setErrorCode(value);
5942
5943
  break;
5944
+ case 13:
5945
+ var value = /** @type {string} */ (reader.readString());
5946
+ msg.setRateDecimal(value);
5947
+ break;
5943
5948
  default:
5944
5949
  reader.skipField();
5945
5950
  break;
@@ -6053,6 +6058,13 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
6053
6058
  f
6054
6059
  );
6055
6060
  }
6061
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
6062
+ if (f != null) {
6063
+ writer.writeString(
6064
+ 13,
6065
+ f
6066
+ );
6067
+ }
6056
6068
  };
6057
6069
 
6058
6070
 
@@ -6434,6 +6446,42 @@ proto.config.CurrencyRateItem.prototype.hasErrorCode = function() {
6434
6446
  };
6435
6447
 
6436
6448
 
6449
+ /**
6450
+ * optional string rate_decimal = 13;
6451
+ * @return {string}
6452
+ */
6453
+ proto.config.CurrencyRateItem.prototype.getRateDecimal = function() {
6454
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
6455
+ };
6456
+
6457
+
6458
+ /**
6459
+ * @param {string} value
6460
+ * @return {!proto.config.CurrencyRateItem} returns this
6461
+ */
6462
+ proto.config.CurrencyRateItem.prototype.setRateDecimal = function(value) {
6463
+ return jspb.Message.setField(this, 13, value);
6464
+ };
6465
+
6466
+
6467
+ /**
6468
+ * Clears the field making it undefined.
6469
+ * @return {!proto.config.CurrencyRateItem} returns this
6470
+ */
6471
+ proto.config.CurrencyRateItem.prototype.clearRateDecimal = function() {
6472
+ return jspb.Message.setField(this, 13, undefined);
6473
+ };
6474
+
6475
+
6476
+ /**
6477
+ * Returns whether this field is set.
6478
+ * @return {boolean}
6479
+ */
6480
+ proto.config.CurrencyRateItem.prototype.hasRateDecimal = function() {
6481
+ return jspb.Message.getField(this, 13) != null;
6482
+ };
6483
+
6484
+
6437
6485
 
6438
6486
  /**
6439
6487
  * List of repeated fields within this message type.
package/game/game.proto CHANGED
@@ -837,6 +837,8 @@ message InitGameSessionRequest {
837
837
  optional int32 user_bonus_id = 11;
838
838
  optional string user_session_id = 12;
839
839
  optional string user_ip = 13;
840
+ optional string wallet_currency = 14;
841
+ optional string game_currency = 15;
840
842
  }
841
843
  message InitGameSessionV2Request {
842
844
  int32 user_id = 1;
@@ -853,6 +855,8 @@ message InitGameSessionV2Request {
853
855
  optional string user_session_id = 12;
854
856
  optional string user_ip = 13;
855
857
  optional uint64 selected_tournament_id = 14;
858
+ optional string wallet_currency = 15;
859
+ optional string game_currency = 16;
856
860
  }
857
861
  message InitDemoGameSessionRequest {
858
862
  string game_slug = 1;
@@ -906,6 +910,16 @@ message GameConfigCheckResponse {
906
910
  repeated ActiveUserTournament tournaments = 10;
907
911
  optional bool has_demo = 11;
908
912
  }
913
+ message GameLaunchWalletContext {
914
+ string currency = 1;
915
+ int32 currency_scale = 2;
916
+ int64 balance_minor = 3;
917
+ string balance_major = 4;
918
+ }
919
+ message GameLaunchCurrencyContext {
920
+ string selected_currency = 1;
921
+ repeated string available_currencies = 2;
922
+ }
909
923
  message InitGameSessionResponse {
910
924
  string game_url = 1;
911
925
  optional string game_uuid = 2;
@@ -920,6 +934,8 @@ message InitGameSessionResponse {
920
934
  optional bool has_demo = 11;
921
935
  optional string launch_type = 12;
922
936
  optional string launch_html = 13;
937
+ optional GameLaunchWalletContext wallet = 14;
938
+ optional GameLaunchCurrencyContext game_currency = 15;
923
939
  }
924
940
  //Vendor
925
941
  message VendorActionRequest {