protobuf-platform 1.2.291 → 1.2.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 CHANGED
@@ -71,6 +71,7 @@ service Game {
71
71
  rpc parseGameImagesForProvider(ParseGameImagesForProviderRequest) returns (GameImagesParsingTechnicalResponse);
72
72
  rpc parseGameImagesForAllInbound(ParseGameImagesForAllInboundRequest) returns (GameImagesParsingTechnicalResponse);
73
73
  rpc syncGameImageUrls(SyncGameImageUrlsRequest) returns (GameImagesParsingTechnicalResponse);
74
+ rpc syncGameImageUrlsForProvider(SyncGameImageUrlsForProviderRequest) returns (GameImagesParsingTechnicalResponse);
74
75
  rpc searchGames(PaginationRequest) returns (SearchGamesResponse);
75
76
  //Vendor
76
77
  rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
@@ -424,6 +425,9 @@ message ParseGameImagesForProviderRequest {
424
425
  }
425
426
  message ParseGameImagesForAllInboundRequest {}
426
427
  message SyncGameImageUrlsRequest {}
428
+ message SyncGameImageUrlsForProviderRequest {
429
+ string provider = 1;
430
+ }
427
431
  message GameImagesParsingTechnicalResponse {
428
432
  string status = 1;
429
433
  int32 total = 2;
@@ -436,6 +440,11 @@ message IntegratorSettingsResponse { string data = 1; }
436
440
  message IntegratorSelfValidationRequest { string vendor = 1; }
437
441
  message IntegratorSelfValidationResponse { string data = 1; }
438
442
  //Game CRUD
443
+ message GameImages {
444
+ optional string portrait = 1;
445
+ optional string landscape = 2;
446
+ optional string square = 3;
447
+ }
439
448
  message GameItem {
440
449
  optional int32 id = 1;
441
450
  optional ProviderItem provider = 2;
@@ -461,6 +470,7 @@ message GameItem {
461
470
  optional bool is_vip = 22;
462
471
  repeated string devices = 23;
463
472
  optional bool is_hidden = 24;
473
+ optional GameImages images = 25;
464
474
  }
465
475
  //Game CRUD | Requests
466
476
  message GameRequest {
@@ -928,6 +928,17 @@ function deserialize_game_SegmentedUserResponse(buffer_arg) {
928
928
  return game_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
929
929
  }
930
930
 
931
+ function serialize_game_SyncGameImageUrlsForProviderRequest(arg) {
932
+ if (!(arg instanceof game_pb.SyncGameImageUrlsForProviderRequest)) {
933
+ throw new Error('Expected argument of type game.SyncGameImageUrlsForProviderRequest');
934
+ }
935
+ return Buffer.from(arg.serializeBinary());
936
+ }
937
+
938
+ function deserialize_game_SyncGameImageUrlsForProviderRequest(buffer_arg) {
939
+ return game_pb.SyncGameImageUrlsForProviderRequest.deserializeBinary(new Uint8Array(buffer_arg));
940
+ }
941
+
931
942
  function serialize_game_SyncGameImageUrlsRequest(arg) {
932
943
  if (!(arg instanceof game_pb.SyncGameImageUrlsRequest)) {
933
944
  throw new Error('Expected argument of type game.SyncGameImageUrlsRequest');
@@ -1785,6 +1796,17 @@ parseGameImagesForProvider: {
1785
1796
  responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1786
1797
  responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1787
1798
  },
1799
+ syncGameImageUrlsForProvider: {
1800
+ path: '/game.Game/syncGameImageUrlsForProvider',
1801
+ requestStream: false,
1802
+ responseStream: false,
1803
+ requestType: game_pb.SyncGameImageUrlsForProviderRequest,
1804
+ responseType: game_pb.GameImagesParsingTechnicalResponse,
1805
+ requestSerialize: serialize_game_SyncGameImageUrlsForProviderRequest,
1806
+ requestDeserialize: deserialize_game_SyncGameImageUrlsForProviderRequest,
1807
+ responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1808
+ responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1809
+ },
1788
1810
  searchGames: {
1789
1811
  path: '/game.Game/searchGames',
1790
1812
  requestStream: false,
package/game/game_pb.js CHANGED
@@ -64,6 +64,7 @@ goog.exportSymbol('proto.game.FreeSpinSettingsResponse', null, global);
64
64
  goog.exportSymbol('proto.game.FreeSpinStatusRequest', null, global);
65
65
  goog.exportSymbol('proto.game.GameConfigCheckResponse', null, global);
66
66
  goog.exportSymbol('proto.game.GameGeo', null, global);
67
+ goog.exportSymbol('proto.game.GameImages', null, global);
67
68
  goog.exportSymbol('proto.game.GameImagesParsingTechnicalResponse', null, global);
68
69
  goog.exportSymbol('proto.game.GameItem', null, global);
69
70
  goog.exportSymbol('proto.game.GameItemRequest', null, global);
@@ -131,6 +132,7 @@ goog.exportSymbol('proto.game.SearchGamesIntoTagsRequest', null, global);
131
132
  goog.exportSymbol('proto.game.SearchGamesResponse', null, global);
132
133
  goog.exportSymbol('proto.game.SegmentedUserRequest', null, global);
133
134
  goog.exportSymbol('proto.game.SegmentedUserResponse', null, global);
135
+ goog.exportSymbol('proto.game.SyncGameImageUrlsForProviderRequest', null, global);
134
136
  goog.exportSymbol('proto.game.SyncGameImageUrlsRequest', null, global);
135
137
  goog.exportSymbol('proto.game.SyncImagesRequest', null, global);
136
138
  goog.exportSymbol('proto.game.TagGamesRequest', null, global);
@@ -1291,6 +1293,27 @@ if (goog.DEBUG && !COMPILED) {
1291
1293
  */
1292
1294
  proto.game.SyncGameImageUrlsRequest.displayName = 'proto.game.SyncGameImageUrlsRequest';
1293
1295
  }
1296
+ /**
1297
+ * Generated by JsPbCodeGenerator.
1298
+ * @param {Array=} opt_data Optional initial data array, typically from a
1299
+ * server response, or constructed directly in Javascript. The array is used
1300
+ * in place and becomes part of the constructed object. It is not cloned.
1301
+ * If no data is provided, the constructed object will be empty, but still
1302
+ * valid.
1303
+ * @extends {jspb.Message}
1304
+ * @constructor
1305
+ */
1306
+ proto.game.SyncGameImageUrlsForProviderRequest = function(opt_data) {
1307
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1308
+ };
1309
+ goog.inherits(proto.game.SyncGameImageUrlsForProviderRequest, jspb.Message);
1310
+ if (goog.DEBUG && !COMPILED) {
1311
+ /**
1312
+ * @public
1313
+ * @override
1314
+ */
1315
+ proto.game.SyncGameImageUrlsForProviderRequest.displayName = 'proto.game.SyncGameImageUrlsForProviderRequest';
1316
+ }
1294
1317
  /**
1295
1318
  * Generated by JsPbCodeGenerator.
1296
1319
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1396,6 +1419,27 @@ if (goog.DEBUG && !COMPILED) {
1396
1419
  */
1397
1420
  proto.game.IntegratorSelfValidationResponse.displayName = 'proto.game.IntegratorSelfValidationResponse';
1398
1421
  }
1422
+ /**
1423
+ * Generated by JsPbCodeGenerator.
1424
+ * @param {Array=} opt_data Optional initial data array, typically from a
1425
+ * server response, or constructed directly in Javascript. The array is used
1426
+ * in place and becomes part of the constructed object. It is not cloned.
1427
+ * If no data is provided, the constructed object will be empty, but still
1428
+ * valid.
1429
+ * @extends {jspb.Message}
1430
+ * @constructor
1431
+ */
1432
+ proto.game.GameImages = function(opt_data) {
1433
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1434
+ };
1435
+ goog.inherits(proto.game.GameImages, jspb.Message);
1436
+ if (goog.DEBUG && !COMPILED) {
1437
+ /**
1438
+ * @public
1439
+ * @override
1440
+ */
1441
+ proto.game.GameImages.displayName = 'proto.game.GameImages';
1442
+ }
1399
1443
  /**
1400
1444
  * Generated by JsPbCodeGenerator.
1401
1445
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17017,6 +17061,136 @@ proto.game.SyncGameImageUrlsRequest.serializeBinaryToWriter = function(message,
17017
17061
 
17018
17062
 
17019
17063
 
17064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17065
+ /**
17066
+ * Creates an object representation of this proto.
17067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17068
+ * Optional fields that are not set will be set to undefined.
17069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17070
+ * For the list of reserved names please see:
17071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17073
+ * JSPB instance for transitional soy proto support:
17074
+ * http://goto/soy-param-migration
17075
+ * @return {!Object}
17076
+ */
17077
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.toObject = function(opt_includeInstance) {
17078
+ return proto.game.SyncGameImageUrlsForProviderRequest.toObject(opt_includeInstance, this);
17079
+ };
17080
+
17081
+
17082
+ /**
17083
+ * Static version of the {@see toObject} method.
17084
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17085
+ * the JSPB instance for transitional soy proto support:
17086
+ * http://goto/soy-param-migration
17087
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} msg The msg instance to transform.
17088
+ * @return {!Object}
17089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17090
+ */
17091
+ proto.game.SyncGameImageUrlsForProviderRequest.toObject = function(includeInstance, msg) {
17092
+ var f, obj = {
17093
+ provider: jspb.Message.getFieldWithDefault(msg, 1, "")
17094
+ };
17095
+
17096
+ if (includeInstance) {
17097
+ obj.$jspbMessageInstance = msg;
17098
+ }
17099
+ return obj;
17100
+ };
17101
+ }
17102
+
17103
+
17104
+ /**
17105
+ * Deserializes binary data (in protobuf wire format).
17106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17107
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest}
17108
+ */
17109
+ proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinary = function(bytes) {
17110
+ var reader = new jspb.BinaryReader(bytes);
17111
+ var msg = new proto.game.SyncGameImageUrlsForProviderRequest;
17112
+ return proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinaryFromReader(msg, reader);
17113
+ };
17114
+
17115
+
17116
+ /**
17117
+ * Deserializes binary data (in protobuf wire format) from the
17118
+ * given reader into the given message object.
17119
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} msg The message object to deserialize into.
17120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17121
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest}
17122
+ */
17123
+ proto.game.SyncGameImageUrlsForProviderRequest.deserializeBinaryFromReader = function(msg, reader) {
17124
+ while (reader.nextField()) {
17125
+ if (reader.isEndGroup()) {
17126
+ break;
17127
+ }
17128
+ var field = reader.getFieldNumber();
17129
+ switch (field) {
17130
+ case 1:
17131
+ var value = /** @type {string} */ (reader.readString());
17132
+ msg.setProvider(value);
17133
+ break;
17134
+ default:
17135
+ reader.skipField();
17136
+ break;
17137
+ }
17138
+ }
17139
+ return msg;
17140
+ };
17141
+
17142
+
17143
+ /**
17144
+ * Serializes the message to binary data (in protobuf wire format).
17145
+ * @return {!Uint8Array}
17146
+ */
17147
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.serializeBinary = function() {
17148
+ var writer = new jspb.BinaryWriter();
17149
+ proto.game.SyncGameImageUrlsForProviderRequest.serializeBinaryToWriter(this, writer);
17150
+ return writer.getResultBuffer();
17151
+ };
17152
+
17153
+
17154
+ /**
17155
+ * Serializes the given message to binary data (in protobuf wire
17156
+ * format), writing to the given BinaryWriter.
17157
+ * @param {!proto.game.SyncGameImageUrlsForProviderRequest} message
17158
+ * @param {!jspb.BinaryWriter} writer
17159
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17160
+ */
17161
+ proto.game.SyncGameImageUrlsForProviderRequest.serializeBinaryToWriter = function(message, writer) {
17162
+ var f = undefined;
17163
+ f = message.getProvider();
17164
+ if (f.length > 0) {
17165
+ writer.writeString(
17166
+ 1,
17167
+ f
17168
+ );
17169
+ }
17170
+ };
17171
+
17172
+
17173
+ /**
17174
+ * optional string provider = 1;
17175
+ * @return {string}
17176
+ */
17177
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.getProvider = function() {
17178
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17179
+ };
17180
+
17181
+
17182
+ /**
17183
+ * @param {string} value
17184
+ * @return {!proto.game.SyncGameImageUrlsForProviderRequest} returns this
17185
+ */
17186
+ proto.game.SyncGameImageUrlsForProviderRequest.prototype.setProvider = function(value) {
17187
+ return jspb.Message.setProto3StringField(this, 1, value);
17188
+ };
17189
+
17190
+
17191
+
17192
+
17193
+
17020
17194
  if (jspb.Message.GENERATE_TO_OBJECT) {
17021
17195
  /**
17022
17196
  * Creates an object representation of this proto.
@@ -17785,6 +17959,250 @@ proto.game.IntegratorSelfValidationResponse.prototype.setData = function(value)
17785
17959
 
17786
17960
 
17787
17961
 
17962
+
17963
+
17964
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17965
+ /**
17966
+ * Creates an object representation of this proto.
17967
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17968
+ * Optional fields that are not set will be set to undefined.
17969
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17970
+ * For the list of reserved names please see:
17971
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17972
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17973
+ * JSPB instance for transitional soy proto support:
17974
+ * http://goto/soy-param-migration
17975
+ * @return {!Object}
17976
+ */
17977
+ proto.game.GameImages.prototype.toObject = function(opt_includeInstance) {
17978
+ return proto.game.GameImages.toObject(opt_includeInstance, this);
17979
+ };
17980
+
17981
+
17982
+ /**
17983
+ * Static version of the {@see toObject} method.
17984
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17985
+ * the JSPB instance for transitional soy proto support:
17986
+ * http://goto/soy-param-migration
17987
+ * @param {!proto.game.GameImages} msg The msg instance to transform.
17988
+ * @return {!Object}
17989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17990
+ */
17991
+ proto.game.GameImages.toObject = function(includeInstance, msg) {
17992
+ var f, obj = {
17993
+ portrait: jspb.Message.getFieldWithDefault(msg, 1, ""),
17994
+ landscape: jspb.Message.getFieldWithDefault(msg, 2, ""),
17995
+ square: jspb.Message.getFieldWithDefault(msg, 3, "")
17996
+ };
17997
+
17998
+ if (includeInstance) {
17999
+ obj.$jspbMessageInstance = msg;
18000
+ }
18001
+ return obj;
18002
+ };
18003
+ }
18004
+
18005
+
18006
+ /**
18007
+ * Deserializes binary data (in protobuf wire format).
18008
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18009
+ * @return {!proto.game.GameImages}
18010
+ */
18011
+ proto.game.GameImages.deserializeBinary = function(bytes) {
18012
+ var reader = new jspb.BinaryReader(bytes);
18013
+ var msg = new proto.game.GameImages;
18014
+ return proto.game.GameImages.deserializeBinaryFromReader(msg, reader);
18015
+ };
18016
+
18017
+
18018
+ /**
18019
+ * Deserializes binary data (in protobuf wire format) from the
18020
+ * given reader into the given message object.
18021
+ * @param {!proto.game.GameImages} msg The message object to deserialize into.
18022
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18023
+ * @return {!proto.game.GameImages}
18024
+ */
18025
+ proto.game.GameImages.deserializeBinaryFromReader = function(msg, reader) {
18026
+ while (reader.nextField()) {
18027
+ if (reader.isEndGroup()) {
18028
+ break;
18029
+ }
18030
+ var field = reader.getFieldNumber();
18031
+ switch (field) {
18032
+ case 1:
18033
+ var value = /** @type {string} */ (reader.readString());
18034
+ msg.setPortrait(value);
18035
+ break;
18036
+ case 2:
18037
+ var value = /** @type {string} */ (reader.readString());
18038
+ msg.setLandscape(value);
18039
+ break;
18040
+ case 3:
18041
+ var value = /** @type {string} */ (reader.readString());
18042
+ msg.setSquare(value);
18043
+ break;
18044
+ default:
18045
+ reader.skipField();
18046
+ break;
18047
+ }
18048
+ }
18049
+ return msg;
18050
+ };
18051
+
18052
+
18053
+ /**
18054
+ * Serializes the message to binary data (in protobuf wire format).
18055
+ * @return {!Uint8Array}
18056
+ */
18057
+ proto.game.GameImages.prototype.serializeBinary = function() {
18058
+ var writer = new jspb.BinaryWriter();
18059
+ proto.game.GameImages.serializeBinaryToWriter(this, writer);
18060
+ return writer.getResultBuffer();
18061
+ };
18062
+
18063
+
18064
+ /**
18065
+ * Serializes the given message to binary data (in protobuf wire
18066
+ * format), writing to the given BinaryWriter.
18067
+ * @param {!proto.game.GameImages} message
18068
+ * @param {!jspb.BinaryWriter} writer
18069
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18070
+ */
18071
+ proto.game.GameImages.serializeBinaryToWriter = function(message, writer) {
18072
+ var f = undefined;
18073
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
18074
+ if (f != null) {
18075
+ writer.writeString(
18076
+ 1,
18077
+ f
18078
+ );
18079
+ }
18080
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
18081
+ if (f != null) {
18082
+ writer.writeString(
18083
+ 2,
18084
+ f
18085
+ );
18086
+ }
18087
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
18088
+ if (f != null) {
18089
+ writer.writeString(
18090
+ 3,
18091
+ f
18092
+ );
18093
+ }
18094
+ };
18095
+
18096
+
18097
+ /**
18098
+ * optional string portrait = 1;
18099
+ * @return {string}
18100
+ */
18101
+ proto.game.GameImages.prototype.getPortrait = function() {
18102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18103
+ };
18104
+
18105
+
18106
+ /**
18107
+ * @param {string} value
18108
+ * @return {!proto.game.GameImages} returns this
18109
+ */
18110
+ proto.game.GameImages.prototype.setPortrait = function(value) {
18111
+ return jspb.Message.setField(this, 1, value);
18112
+ };
18113
+
18114
+
18115
+ /**
18116
+ * Clears the field making it undefined.
18117
+ * @return {!proto.game.GameImages} returns this
18118
+ */
18119
+ proto.game.GameImages.prototype.clearPortrait = function() {
18120
+ return jspb.Message.setField(this, 1, undefined);
18121
+ };
18122
+
18123
+
18124
+ /**
18125
+ * Returns whether this field is set.
18126
+ * @return {boolean}
18127
+ */
18128
+ proto.game.GameImages.prototype.hasPortrait = function() {
18129
+ return jspb.Message.getField(this, 1) != null;
18130
+ };
18131
+
18132
+
18133
+ /**
18134
+ * optional string landscape = 2;
18135
+ * @return {string}
18136
+ */
18137
+ proto.game.GameImages.prototype.getLandscape = function() {
18138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18139
+ };
18140
+
18141
+
18142
+ /**
18143
+ * @param {string} value
18144
+ * @return {!proto.game.GameImages} returns this
18145
+ */
18146
+ proto.game.GameImages.prototype.setLandscape = function(value) {
18147
+ return jspb.Message.setField(this, 2, value);
18148
+ };
18149
+
18150
+
18151
+ /**
18152
+ * Clears the field making it undefined.
18153
+ * @return {!proto.game.GameImages} returns this
18154
+ */
18155
+ proto.game.GameImages.prototype.clearLandscape = function() {
18156
+ return jspb.Message.setField(this, 2, undefined);
18157
+ };
18158
+
18159
+
18160
+ /**
18161
+ * Returns whether this field is set.
18162
+ * @return {boolean}
18163
+ */
18164
+ proto.game.GameImages.prototype.hasLandscape = function() {
18165
+ return jspb.Message.getField(this, 2) != null;
18166
+ };
18167
+
18168
+
18169
+ /**
18170
+ * optional string square = 3;
18171
+ * @return {string}
18172
+ */
18173
+ proto.game.GameImages.prototype.getSquare = function() {
18174
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18175
+ };
18176
+
18177
+
18178
+ /**
18179
+ * @param {string} value
18180
+ * @return {!proto.game.GameImages} returns this
18181
+ */
18182
+ proto.game.GameImages.prototype.setSquare = function(value) {
18183
+ return jspb.Message.setField(this, 3, value);
18184
+ };
18185
+
18186
+
18187
+ /**
18188
+ * Clears the field making it undefined.
18189
+ * @return {!proto.game.GameImages} returns this
18190
+ */
18191
+ proto.game.GameImages.prototype.clearSquare = function() {
18192
+ return jspb.Message.setField(this, 3, undefined);
18193
+ };
18194
+
18195
+
18196
+ /**
18197
+ * Returns whether this field is set.
18198
+ * @return {boolean}
18199
+ */
18200
+ proto.game.GameImages.prototype.hasSquare = function() {
18201
+ return jspb.Message.getField(this, 3) != null;
18202
+ };
18203
+
18204
+
18205
+
17788
18206
  /**
17789
18207
  * List of repeated fields within this message type.
17790
18208
  * @private {!Array<number>}
@@ -17846,7 +18264,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
17846
18264
  isTop: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
17847
18265
  isVip: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
17848
18266
  devicesList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
17849
- isHidden: jspb.Message.getBooleanFieldWithDefault(msg, 24, false)
18267
+ isHidden: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
18268
+ images: (f = msg.getImages()) && proto.game.GameImages.toObject(includeInstance, f)
17850
18269
  };
17851
18270
 
17852
18271
  if (includeInstance) {
@@ -17980,6 +18399,11 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
17980
18399
  var value = /** @type {boolean} */ (reader.readBool());
17981
18400
  msg.setIsHidden(value);
17982
18401
  break;
18402
+ case 25:
18403
+ var value = new proto.game.GameImages;
18404
+ reader.readMessage(value,proto.game.GameImages.deserializeBinaryFromReader);
18405
+ msg.setImages(value);
18406
+ break;
17983
18407
  default:
17984
18408
  reader.skipField();
17985
18409
  break;
@@ -18178,6 +18602,14 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
18178
18602
  f
18179
18603
  );
18180
18604
  }
18605
+ f = message.getImages();
18606
+ if (f != null) {
18607
+ writer.writeMessage(
18608
+ 25,
18609
+ f,
18610
+ proto.game.GameImages.serializeBinaryToWriter
18611
+ );
18612
+ }
18181
18613
  };
18182
18614
 
18183
18615
 
@@ -19047,6 +19479,43 @@ proto.game.GameItem.prototype.hasIsHidden = function() {
19047
19479
  };
19048
19480
 
19049
19481
 
19482
+ /**
19483
+ * optional GameImages images = 25;
19484
+ * @return {?proto.game.GameImages}
19485
+ */
19486
+ proto.game.GameItem.prototype.getImages = function() {
19487
+ return /** @type{?proto.game.GameImages} */ (
19488
+ jspb.Message.getWrapperField(this, proto.game.GameImages, 25));
19489
+ };
19490
+
19491
+
19492
+ /**
19493
+ * @param {?proto.game.GameImages|undefined} value
19494
+ * @return {!proto.game.GameItem} returns this
19495
+ */
19496
+ proto.game.GameItem.prototype.setImages = function(value) {
19497
+ return jspb.Message.setWrapperField(this, 25, value);
19498
+ };
19499
+
19500
+
19501
+ /**
19502
+ * Clears the message field making it undefined.
19503
+ * @return {!proto.game.GameItem} returns this
19504
+ */
19505
+ proto.game.GameItem.prototype.clearImages = function() {
19506
+ return this.setImages(undefined);
19507
+ };
19508
+
19509
+
19510
+ /**
19511
+ * Returns whether this field is set.
19512
+ * @return {boolean}
19513
+ */
19514
+ proto.game.GameItem.prototype.hasImages = function() {
19515
+ return jspb.Message.getField(this, 25) != null;
19516
+ };
19517
+
19518
+
19050
19519
 
19051
19520
  /**
19052
19521
  * Oneof group definitions for this message. Each group defines the field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.291",
3
+ "version": "1.2.293",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {