protobuf-platform 1.0.292 → 1.0.293
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 +2 -2
- package/game/game_pb.js +26 -26
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -577,7 +577,7 @@ message GetCashBackListRequest {
|
|
577
577
|
}
|
578
578
|
message CashBackListRequest {
|
579
579
|
optional int32 id = 1;
|
580
|
-
optional
|
580
|
+
optional string cashback_type = 2;
|
581
581
|
optional string title = 3;
|
582
582
|
optional string description = 4;
|
583
583
|
}
|
@@ -587,7 +587,7 @@ message CashBackListGamesRequest {
|
|
587
587
|
}
|
588
588
|
message CashBackListItem {
|
589
589
|
int32 id = 1;
|
590
|
-
|
590
|
+
string cashback_type = 2;
|
591
591
|
string title = 3;
|
592
592
|
optional string description = 4;
|
593
593
|
}
|
package/game/game_pb.js
CHANGED
@@ -23881,7 +23881,7 @@ proto.game.CashBackListRequest.prototype.toObject = function(opt_includeInstance
|
|
23881
23881
|
proto.game.CashBackListRequest.toObject = function(includeInstance, msg) {
|
23882
23882
|
var f, obj = {
|
23883
23883
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
23884
|
-
|
23884
|
+
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
23885
23885
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
23886
23886
|
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
23887
23887
|
};
|
@@ -23925,8 +23925,8 @@ proto.game.CashBackListRequest.deserializeBinaryFromReader = function(msg, reade
|
|
23925
23925
|
msg.setId(value);
|
23926
23926
|
break;
|
23927
23927
|
case 2:
|
23928
|
-
var value = /** @type {
|
23929
|
-
msg.
|
23928
|
+
var value = /** @type {string} */ (reader.readString());
|
23929
|
+
msg.setCashbackType(value);
|
23930
23930
|
break;
|
23931
23931
|
case 3:
|
23932
23932
|
var value = /** @type {string} */ (reader.readString());
|
@@ -23972,9 +23972,9 @@ proto.game.CashBackListRequest.serializeBinaryToWriter = function(message, write
|
|
23972
23972
|
f
|
23973
23973
|
);
|
23974
23974
|
}
|
23975
|
-
f = /** @type {
|
23975
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
23976
23976
|
if (f != null) {
|
23977
|
-
writer.
|
23977
|
+
writer.writeString(
|
23978
23978
|
2,
|
23979
23979
|
f
|
23980
23980
|
);
|
@@ -24033,19 +24033,19 @@ proto.game.CashBackListRequest.prototype.hasId = function() {
|
|
24033
24033
|
|
24034
24034
|
|
24035
24035
|
/**
|
24036
|
-
* optional
|
24037
|
-
* @return {
|
24036
|
+
* optional string cashback_type = 2;
|
24037
|
+
* @return {string}
|
24038
24038
|
*/
|
24039
|
-
proto.game.CashBackListRequest.prototype.
|
24040
|
-
return /** @type {
|
24039
|
+
proto.game.CashBackListRequest.prototype.getCashbackType = function() {
|
24040
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
24041
24041
|
};
|
24042
24042
|
|
24043
24043
|
|
24044
24044
|
/**
|
24045
|
-
* @param {
|
24045
|
+
* @param {string} value
|
24046
24046
|
* @return {!proto.game.CashBackListRequest} returns this
|
24047
24047
|
*/
|
24048
|
-
proto.game.CashBackListRequest.prototype.
|
24048
|
+
proto.game.CashBackListRequest.prototype.setCashbackType = function(value) {
|
24049
24049
|
return jspb.Message.setField(this, 2, value);
|
24050
24050
|
};
|
24051
24051
|
|
@@ -24054,7 +24054,7 @@ proto.game.CashBackListRequest.prototype.setCashbackId = function(value) {
|
|
24054
24054
|
* Clears the field making it undefined.
|
24055
24055
|
* @return {!proto.game.CashBackListRequest} returns this
|
24056
24056
|
*/
|
24057
|
-
proto.game.CashBackListRequest.prototype.
|
24057
|
+
proto.game.CashBackListRequest.prototype.clearCashbackType = function() {
|
24058
24058
|
return jspb.Message.setField(this, 2, undefined);
|
24059
24059
|
};
|
24060
24060
|
|
@@ -24063,7 +24063,7 @@ proto.game.CashBackListRequest.prototype.clearCashbackId = function() {
|
|
24063
24063
|
* Returns whether this field is set.
|
24064
24064
|
* @return {boolean}
|
24065
24065
|
*/
|
24066
|
-
proto.game.CashBackListRequest.prototype.
|
24066
|
+
proto.game.CashBackListRequest.prototype.hasCashbackType = function() {
|
24067
24067
|
return jspb.Message.getField(this, 2) != null;
|
24068
24068
|
};
|
24069
24069
|
|
@@ -24361,7 +24361,7 @@ proto.game.CashBackListItem.prototype.toObject = function(opt_includeInstance) {
|
|
24361
24361
|
proto.game.CashBackListItem.toObject = function(includeInstance, msg) {
|
24362
24362
|
var f, obj = {
|
24363
24363
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
24364
|
-
|
24364
|
+
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
24365
24365
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
24366
24366
|
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
24367
24367
|
};
|
@@ -24405,8 +24405,8 @@ proto.game.CashBackListItem.deserializeBinaryFromReader = function(msg, reader)
|
|
24405
24405
|
msg.setId(value);
|
24406
24406
|
break;
|
24407
24407
|
case 2:
|
24408
|
-
var value = /** @type {
|
24409
|
-
msg.
|
24408
|
+
var value = /** @type {string} */ (reader.readString());
|
24409
|
+
msg.setCashbackType(value);
|
24410
24410
|
break;
|
24411
24411
|
case 3:
|
24412
24412
|
var value = /** @type {string} */ (reader.readString());
|
@@ -24452,9 +24452,9 @@ proto.game.CashBackListItem.serializeBinaryToWriter = function(message, writer)
|
|
24452
24452
|
f
|
24453
24453
|
);
|
24454
24454
|
}
|
24455
|
-
f = message.
|
24456
|
-
if (f
|
24457
|
-
writer.
|
24455
|
+
f = message.getCashbackType();
|
24456
|
+
if (f.length > 0) {
|
24457
|
+
writer.writeString(
|
24458
24458
|
2,
|
24459
24459
|
f
|
24460
24460
|
);
|
@@ -24495,20 +24495,20 @@ proto.game.CashBackListItem.prototype.setId = function(value) {
|
|
24495
24495
|
|
24496
24496
|
|
24497
24497
|
/**
|
24498
|
-
* optional
|
24499
|
-
* @return {
|
24498
|
+
* optional string cashback_type = 2;
|
24499
|
+
* @return {string}
|
24500
24500
|
*/
|
24501
|
-
proto.game.CashBackListItem.prototype.
|
24502
|
-
return /** @type {
|
24501
|
+
proto.game.CashBackListItem.prototype.getCashbackType = function() {
|
24502
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
24503
24503
|
};
|
24504
24504
|
|
24505
24505
|
|
24506
24506
|
/**
|
24507
|
-
* @param {
|
24507
|
+
* @param {string} value
|
24508
24508
|
* @return {!proto.game.CashBackListItem} returns this
|
24509
24509
|
*/
|
24510
|
-
proto.game.CashBackListItem.prototype.
|
24511
|
-
return jspb.Message.
|
24510
|
+
proto.game.CashBackListItem.prototype.setCashbackType = function(value) {
|
24511
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
24512
24512
|
};
|
24513
24513
|
|
24514
24514
|
|