protobuf-platform 1.0.158 → 1.0.159

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 CHANGED
@@ -359,7 +359,7 @@ message GameRelationItem {
359
359
  }
360
360
  message GameGeo {
361
361
  string geo = 1;
362
- int32 geo_id = 2;
362
+ bool is_accepted = 2;
363
363
  }
364
364
  //Game CRUD | Responses
365
365
  message GameResponse {
package/game/game_pb.js CHANGED
@@ -14904,7 +14904,7 @@ proto.game.GameGeo.prototype.toObject = function(opt_includeInstance) {
14904
14904
  proto.game.GameGeo.toObject = function(includeInstance, msg) {
14905
14905
  var f, obj = {
14906
14906
  geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
14907
- geoId: jspb.Message.getFieldWithDefault(msg, 2, 0)
14907
+ isAccepted: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
14908
14908
  };
14909
14909
 
14910
14910
  if (includeInstance) {
@@ -14946,8 +14946,8 @@ proto.game.GameGeo.deserializeBinaryFromReader = function(msg, reader) {
14946
14946
  msg.setGeo(value);
14947
14947
  break;
14948
14948
  case 2:
14949
- var value = /** @type {number} */ (reader.readInt32());
14950
- msg.setGeoId(value);
14949
+ var value = /** @type {boolean} */ (reader.readBool());
14950
+ msg.setIsAccepted(value);
14951
14951
  break;
14952
14952
  default:
14953
14953
  reader.skipField();
@@ -14985,9 +14985,9 @@ proto.game.GameGeo.serializeBinaryToWriter = function(message, writer) {
14985
14985
  f
14986
14986
  );
14987
14987
  }
14988
- f = message.getGeoId();
14989
- if (f !== 0) {
14990
- writer.writeInt32(
14988
+ f = message.getIsAccepted();
14989
+ if (f) {
14990
+ writer.writeBool(
14991
14991
  2,
14992
14992
  f
14993
14993
  );
@@ -15014,20 +15014,20 @@ proto.game.GameGeo.prototype.setGeo = function(value) {
15014
15014
 
15015
15015
 
15016
15016
  /**
15017
- * optional int32 geo_id = 2;
15018
- * @return {number}
15017
+ * optional bool is_accepted = 2;
15018
+ * @return {boolean}
15019
15019
  */
15020
- proto.game.GameGeo.prototype.getGeoId = function() {
15021
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
15020
+ proto.game.GameGeo.prototype.getIsAccepted = function() {
15021
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
15022
15022
  };
15023
15023
 
15024
15024
 
15025
15025
  /**
15026
- * @param {number} value
15026
+ * @param {boolean} value
15027
15027
  * @return {!proto.game.GameGeo} returns this
15028
15028
  */
15029
- proto.game.GameGeo.prototype.setGeoId = function(value) {
15030
- return jspb.Message.setProto3IntField(this, 2, value);
15029
+ proto.game.GameGeo.prototype.setIsAccepted = function(value) {
15030
+ return jspb.Message.setProto3BooleanField(this, 2, value);
15031
15031
  };
15032
15032
 
15033
15033
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.158",
3
+ "version": "1.0.159",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {