protobuf-platform 1.2.615 → 1.2.616
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/game/game.proto +1 -1
- package/game/game_pb.js +8 -8
- package/package.json +1 -1
- package/payment/payment.proto +1 -1
- package/payment/payment_pb.js +8 -8
package/game/game.proto
CHANGED
|
@@ -913,7 +913,7 @@ message GameConfigCheckResponse {
|
|
|
913
913
|
message GameLaunchWalletContext {
|
|
914
914
|
string currency = 1;
|
|
915
915
|
int32 currency_scale = 2;
|
|
916
|
-
int64 balance_minor = 3;
|
|
916
|
+
int64 balance_minor = 3 [jstype = JS_STRING];
|
|
917
917
|
string balance_major = 4;
|
|
918
918
|
}
|
|
919
919
|
message GameLaunchCurrencyContext {
|
package/game/game_pb.js
CHANGED
|
@@ -38499,7 +38499,7 @@ proto.game.GameLaunchWalletContext.toObject = function(includeInstance, msg) {
|
|
|
38499
38499
|
var f, obj = {
|
|
38500
38500
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38501
38501
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
38502
|
-
balanceMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
38502
|
+
balanceMinor: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
38503
38503
|
balanceMajor: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
38504
38504
|
};
|
|
38505
38505
|
|
|
@@ -38546,7 +38546,7 @@ proto.game.GameLaunchWalletContext.deserializeBinaryFromReader = function(msg, r
|
|
|
38546
38546
|
msg.setCurrencyScale(value);
|
|
38547
38547
|
break;
|
|
38548
38548
|
case 3:
|
|
38549
|
-
var value = /** @type {
|
|
38549
|
+
var value = /** @type {string} */ (reader.readInt64String());
|
|
38550
38550
|
msg.setBalanceMinor(value);
|
|
38551
38551
|
break;
|
|
38552
38552
|
case 4:
|
|
@@ -38597,8 +38597,8 @@ proto.game.GameLaunchWalletContext.serializeBinaryToWriter = function(message, w
|
|
|
38597
38597
|
);
|
|
38598
38598
|
}
|
|
38599
38599
|
f = message.getBalanceMinor();
|
|
38600
|
-
if (f !== 0) {
|
|
38601
|
-
writer.
|
|
38600
|
+
if (parseInt(f, 10) !== 0) {
|
|
38601
|
+
writer.writeInt64String(
|
|
38602
38602
|
3,
|
|
38603
38603
|
f
|
|
38604
38604
|
);
|
|
@@ -38651,19 +38651,19 @@ proto.game.GameLaunchWalletContext.prototype.setCurrencyScale = function(value)
|
|
|
38651
38651
|
|
|
38652
38652
|
/**
|
|
38653
38653
|
* optional int64 balance_minor = 3;
|
|
38654
|
-
* @return {
|
|
38654
|
+
* @return {string}
|
|
38655
38655
|
*/
|
|
38656
38656
|
proto.game.GameLaunchWalletContext.prototype.getBalanceMinor = function() {
|
|
38657
|
-
return /** @type {
|
|
38657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
38658
38658
|
};
|
|
38659
38659
|
|
|
38660
38660
|
|
|
38661
38661
|
/**
|
|
38662
|
-
* @param {
|
|
38662
|
+
* @param {string} value
|
|
38663
38663
|
* @return {!proto.game.GameLaunchWalletContext} returns this
|
|
38664
38664
|
*/
|
|
38665
38665
|
proto.game.GameLaunchWalletContext.prototype.setBalanceMinor = function(value) {
|
|
38666
|
-
return jspb.Message.
|
|
38666
|
+
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
38667
38667
|
};
|
|
38668
38668
|
|
|
38669
38669
|
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -927,7 +927,7 @@ message ResolveGameWalletContextResponse {
|
|
|
927
927
|
int32 user_id = 1;
|
|
928
928
|
string wallet_currency = 2;
|
|
929
929
|
int32 currency_scale = 3;
|
|
930
|
-
int64 balance_minor = 4;
|
|
930
|
+
int64 balance_minor = 4 [jstype = JS_STRING];
|
|
931
931
|
string balance_major = 5;
|
|
932
932
|
}
|
|
933
933
|
//Segmentation
|
package/payment/payment_pb.js
CHANGED
|
@@ -39698,7 +39698,7 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
39698
39698
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
39699
39699
|
walletCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
39700
39700
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
39701
|
-
balanceMinor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
39701
|
+
balanceMinor: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
39702
39702
|
balanceMajor: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
39703
39703
|
};
|
|
39704
39704
|
|
|
@@ -39749,7 +39749,7 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
39749
39749
|
msg.setCurrencyScale(value);
|
|
39750
39750
|
break;
|
|
39751
39751
|
case 4:
|
|
39752
|
-
var value = /** @type {
|
|
39752
|
+
var value = /** @type {string} */ (reader.readInt64String());
|
|
39753
39753
|
msg.setBalanceMinor(value);
|
|
39754
39754
|
break;
|
|
39755
39755
|
case 5:
|
|
@@ -39807,8 +39807,8 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
39807
39807
|
);
|
|
39808
39808
|
}
|
|
39809
39809
|
f = message.getBalanceMinor();
|
|
39810
|
-
if (f !== 0) {
|
|
39811
|
-
writer.
|
|
39810
|
+
if (parseInt(f, 10) !== 0) {
|
|
39811
|
+
writer.writeInt64String(
|
|
39812
39812
|
4,
|
|
39813
39813
|
f
|
|
39814
39814
|
);
|
|
@@ -39879,19 +39879,19 @@ proto.payment.ResolveGameWalletContextResponse.prototype.setCurrencyScale = func
|
|
|
39879
39879
|
|
|
39880
39880
|
/**
|
|
39881
39881
|
* optional int64 balance_minor = 4;
|
|
39882
|
-
* @return {
|
|
39882
|
+
* @return {string}
|
|
39883
39883
|
*/
|
|
39884
39884
|
proto.payment.ResolveGameWalletContextResponse.prototype.getBalanceMinor = function() {
|
|
39885
|
-
return /** @type {
|
|
39885
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
|
|
39886
39886
|
};
|
|
39887
39887
|
|
|
39888
39888
|
|
|
39889
39889
|
/**
|
|
39890
|
-
* @param {
|
|
39890
|
+
* @param {string} value
|
|
39891
39891
|
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
39892
39892
|
*/
|
|
39893
39893
|
proto.payment.ResolveGameWalletContextResponse.prototype.setBalanceMinor = function(value) {
|
|
39894
|
-
return jspb.Message.
|
|
39894
|
+
return jspb.Message.setProto3StringIntField(this, 4, value);
|
|
39895
39895
|
};
|
|
39896
39896
|
|
|
39897
39897
|
|