protobuf-platform 1.2.293 → 1.2.295

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
@@ -440,6 +440,18 @@ message IntegratorSettingsResponse { string data = 1; }
440
440
  message IntegratorSelfValidationRequest { string vendor = 1; }
441
441
  message IntegratorSelfValidationResponse { string data = 1; }
442
442
  //Game CRUD
443
+ enum GameImageSlot {
444
+ GAME_IMAGE_SLOT_UNSPECIFIED = 0;
445
+ GAME_IMAGE_SLOT_REGULAR = 1;
446
+ GAME_IMAGE_SLOT_PORTRAIT = 2;
447
+ GAME_IMAGE_SLOT_LANDSCAPE = 3;
448
+ GAME_IMAGE_SLOT_SQUARE = 4;
449
+ }
450
+ message GameImageUploadMetadata {
451
+ GameImageSlot slot = 1;
452
+ string file_name = 2;
453
+ string file_type = 3;
454
+ }
443
455
  message GameImages {
444
456
  optional string portrait = 1;
445
457
  optional string landscape = 2;
@@ -477,6 +489,7 @@ message GameRequest {
477
489
  oneof request {
478
490
  GameItemRequest game_data = 1;
479
491
  File file = 2;
492
+ GameImageUploadMetadata game_image_metadata = 3;
480
493
  }
481
494
  }
482
495
  message GameItemRequest {
@@ -491,10 +504,8 @@ message GameItemRequest {
491
504
  optional int32 has_demo = 9;
492
505
  optional int32 has_free_spins = 10;
493
506
  optional string type = 11;
494
- optional string file_name = 12;
495
- optional string file_type = 13;
496
- optional int32 is_top = 14;
497
- optional int32 is_vip = 15;
507
+ optional int32 is_top = 12;
508
+ optional int32 is_vip = 13;
498
509
 
499
510
  }
500
511
  message GetGameRequest {
package/game/game_pb.js CHANGED
@@ -64,6 +64,8 @@ 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.GameImageSlot', null, global);
68
+ goog.exportSymbol('proto.game.GameImageUploadMetadata', null, global);
67
69
  goog.exportSymbol('proto.game.GameImages', null, global);
68
70
  goog.exportSymbol('proto.game.GameImagesParsingTechnicalResponse', null, global);
69
71
  goog.exportSymbol('proto.game.GameItem', null, global);
@@ -1419,6 +1421,27 @@ if (goog.DEBUG && !COMPILED) {
1419
1421
  */
1420
1422
  proto.game.IntegratorSelfValidationResponse.displayName = 'proto.game.IntegratorSelfValidationResponse';
1421
1423
  }
1424
+ /**
1425
+ * Generated by JsPbCodeGenerator.
1426
+ * @param {Array=} opt_data Optional initial data array, typically from a
1427
+ * server response, or constructed directly in Javascript. The array is used
1428
+ * in place and becomes part of the constructed object. It is not cloned.
1429
+ * If no data is provided, the constructed object will be empty, but still
1430
+ * valid.
1431
+ * @extends {jspb.Message}
1432
+ * @constructor
1433
+ */
1434
+ proto.game.GameImageUploadMetadata = function(opt_data) {
1435
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1436
+ };
1437
+ goog.inherits(proto.game.GameImageUploadMetadata, jspb.Message);
1438
+ if (goog.DEBUG && !COMPILED) {
1439
+ /**
1440
+ * @public
1441
+ * @override
1442
+ */
1443
+ proto.game.GameImageUploadMetadata.displayName = 'proto.game.GameImageUploadMetadata';
1444
+ }
1422
1445
  /**
1423
1446
  * Generated by JsPbCodeGenerator.
1424
1447
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17961,6 +17984,196 @@ proto.game.IntegratorSelfValidationResponse.prototype.setData = function(value)
17961
17984
 
17962
17985
 
17963
17986
 
17987
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17988
+ /**
17989
+ * Creates an object representation of this proto.
17990
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17991
+ * Optional fields that are not set will be set to undefined.
17992
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17993
+ * For the list of reserved names please see:
17994
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17995
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17996
+ * JSPB instance for transitional soy proto support:
17997
+ * http://goto/soy-param-migration
17998
+ * @return {!Object}
17999
+ */
18000
+ proto.game.GameImageUploadMetadata.prototype.toObject = function(opt_includeInstance) {
18001
+ return proto.game.GameImageUploadMetadata.toObject(opt_includeInstance, this);
18002
+ };
18003
+
18004
+
18005
+ /**
18006
+ * Static version of the {@see toObject} method.
18007
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18008
+ * the JSPB instance for transitional soy proto support:
18009
+ * http://goto/soy-param-migration
18010
+ * @param {!proto.game.GameImageUploadMetadata} msg The msg instance to transform.
18011
+ * @return {!Object}
18012
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18013
+ */
18014
+ proto.game.GameImageUploadMetadata.toObject = function(includeInstance, msg) {
18015
+ var f, obj = {
18016
+ slot: jspb.Message.getFieldWithDefault(msg, 1, 0),
18017
+ fileName: jspb.Message.getFieldWithDefault(msg, 2, ""),
18018
+ fileType: jspb.Message.getFieldWithDefault(msg, 3, "")
18019
+ };
18020
+
18021
+ if (includeInstance) {
18022
+ obj.$jspbMessageInstance = msg;
18023
+ }
18024
+ return obj;
18025
+ };
18026
+ }
18027
+
18028
+
18029
+ /**
18030
+ * Deserializes binary data (in protobuf wire format).
18031
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18032
+ * @return {!proto.game.GameImageUploadMetadata}
18033
+ */
18034
+ proto.game.GameImageUploadMetadata.deserializeBinary = function(bytes) {
18035
+ var reader = new jspb.BinaryReader(bytes);
18036
+ var msg = new proto.game.GameImageUploadMetadata;
18037
+ return proto.game.GameImageUploadMetadata.deserializeBinaryFromReader(msg, reader);
18038
+ };
18039
+
18040
+
18041
+ /**
18042
+ * Deserializes binary data (in protobuf wire format) from the
18043
+ * given reader into the given message object.
18044
+ * @param {!proto.game.GameImageUploadMetadata} msg The message object to deserialize into.
18045
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18046
+ * @return {!proto.game.GameImageUploadMetadata}
18047
+ */
18048
+ proto.game.GameImageUploadMetadata.deserializeBinaryFromReader = function(msg, reader) {
18049
+ while (reader.nextField()) {
18050
+ if (reader.isEndGroup()) {
18051
+ break;
18052
+ }
18053
+ var field = reader.getFieldNumber();
18054
+ switch (field) {
18055
+ case 1:
18056
+ var value = /** @type {!proto.game.GameImageSlot} */ (reader.readEnum());
18057
+ msg.setSlot(value);
18058
+ break;
18059
+ case 2:
18060
+ var value = /** @type {string} */ (reader.readString());
18061
+ msg.setFileName(value);
18062
+ break;
18063
+ case 3:
18064
+ var value = /** @type {string} */ (reader.readString());
18065
+ msg.setFileType(value);
18066
+ break;
18067
+ default:
18068
+ reader.skipField();
18069
+ break;
18070
+ }
18071
+ }
18072
+ return msg;
18073
+ };
18074
+
18075
+
18076
+ /**
18077
+ * Serializes the message to binary data (in protobuf wire format).
18078
+ * @return {!Uint8Array}
18079
+ */
18080
+ proto.game.GameImageUploadMetadata.prototype.serializeBinary = function() {
18081
+ var writer = new jspb.BinaryWriter();
18082
+ proto.game.GameImageUploadMetadata.serializeBinaryToWriter(this, writer);
18083
+ return writer.getResultBuffer();
18084
+ };
18085
+
18086
+
18087
+ /**
18088
+ * Serializes the given message to binary data (in protobuf wire
18089
+ * format), writing to the given BinaryWriter.
18090
+ * @param {!proto.game.GameImageUploadMetadata} message
18091
+ * @param {!jspb.BinaryWriter} writer
18092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18093
+ */
18094
+ proto.game.GameImageUploadMetadata.serializeBinaryToWriter = function(message, writer) {
18095
+ var f = undefined;
18096
+ f = message.getSlot();
18097
+ if (f !== 0.0) {
18098
+ writer.writeEnum(
18099
+ 1,
18100
+ f
18101
+ );
18102
+ }
18103
+ f = message.getFileName();
18104
+ if (f.length > 0) {
18105
+ writer.writeString(
18106
+ 2,
18107
+ f
18108
+ );
18109
+ }
18110
+ f = message.getFileType();
18111
+ if (f.length > 0) {
18112
+ writer.writeString(
18113
+ 3,
18114
+ f
18115
+ );
18116
+ }
18117
+ };
18118
+
18119
+
18120
+ /**
18121
+ * optional GameImageSlot slot = 1;
18122
+ * @return {!proto.game.GameImageSlot}
18123
+ */
18124
+ proto.game.GameImageUploadMetadata.prototype.getSlot = function() {
18125
+ return /** @type {!proto.game.GameImageSlot} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18126
+ };
18127
+
18128
+
18129
+ /**
18130
+ * @param {!proto.game.GameImageSlot} value
18131
+ * @return {!proto.game.GameImageUploadMetadata} returns this
18132
+ */
18133
+ proto.game.GameImageUploadMetadata.prototype.setSlot = function(value) {
18134
+ return jspb.Message.setProto3EnumField(this, 1, value);
18135
+ };
18136
+
18137
+
18138
+ /**
18139
+ * optional string file_name = 2;
18140
+ * @return {string}
18141
+ */
18142
+ proto.game.GameImageUploadMetadata.prototype.getFileName = function() {
18143
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18144
+ };
18145
+
18146
+
18147
+ /**
18148
+ * @param {string} value
18149
+ * @return {!proto.game.GameImageUploadMetadata} returns this
18150
+ */
18151
+ proto.game.GameImageUploadMetadata.prototype.setFileName = function(value) {
18152
+ return jspb.Message.setProto3StringField(this, 2, value);
18153
+ };
18154
+
18155
+
18156
+ /**
18157
+ * optional string file_type = 3;
18158
+ * @return {string}
18159
+ */
18160
+ proto.game.GameImageUploadMetadata.prototype.getFileType = function() {
18161
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18162
+ };
18163
+
18164
+
18165
+ /**
18166
+ * @param {string} value
18167
+ * @return {!proto.game.GameImageUploadMetadata} returns this
18168
+ */
18169
+ proto.game.GameImageUploadMetadata.prototype.setFileType = function(value) {
18170
+ return jspb.Message.setProto3StringField(this, 3, value);
18171
+ };
18172
+
18173
+
18174
+
18175
+
18176
+
17964
18177
  if (jspb.Message.GENERATE_TO_OBJECT) {
17965
18178
  /**
17966
18179
  * Creates an object representation of this proto.
@@ -19525,7 +19738,7 @@ proto.game.GameItem.prototype.hasImages = function() {
19525
19738
  * @private {!Array<!Array<number>>}
19526
19739
  * @const
19527
19740
  */
19528
- proto.game.GameRequest.oneofGroups_ = [[1,2]];
19741
+ proto.game.GameRequest.oneofGroups_ = [[1,2,3]];
19529
19742
 
19530
19743
  /**
19531
19744
  * @enum {number}
@@ -19533,7 +19746,8 @@ proto.game.GameRequest.oneofGroups_ = [[1,2]];
19533
19746
  proto.game.GameRequest.RequestCase = {
19534
19747
  REQUEST_NOT_SET: 0,
19535
19748
  GAME_DATA: 1,
19536
- FILE: 2
19749
+ FILE: 2,
19750
+ GAME_IMAGE_METADATA: 3
19537
19751
  };
19538
19752
 
19539
19753
  /**
@@ -19575,7 +19789,8 @@ proto.game.GameRequest.prototype.toObject = function(opt_includeInstance) {
19575
19789
  proto.game.GameRequest.toObject = function(includeInstance, msg) {
19576
19790
  var f, obj = {
19577
19791
  gameData: (f = msg.getGameData()) && proto.game.GameItemRequest.toObject(includeInstance, f),
19578
- file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
19792
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
19793
+ gameImageMetadata: (f = msg.getGameImageMetadata()) && proto.game.GameImageUploadMetadata.toObject(includeInstance, f)
19579
19794
  };
19580
19795
 
19581
19796
  if (includeInstance) {
@@ -19622,6 +19837,11 @@ proto.game.GameRequest.deserializeBinaryFromReader = function(msg, reader) {
19622
19837
  reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
19623
19838
  msg.setFile(value);
19624
19839
  break;
19840
+ case 3:
19841
+ var value = new proto.game.GameImageUploadMetadata;
19842
+ reader.readMessage(value,proto.game.GameImageUploadMetadata.deserializeBinaryFromReader);
19843
+ msg.setGameImageMetadata(value);
19844
+ break;
19625
19845
  default:
19626
19846
  reader.skipField();
19627
19847
  break;
@@ -19667,6 +19887,14 @@ proto.game.GameRequest.serializeBinaryToWriter = function(message, writer) {
19667
19887
  proto.game.File.serializeBinaryToWriter
19668
19888
  );
19669
19889
  }
19890
+ f = message.getGameImageMetadata();
19891
+ if (f != null) {
19892
+ writer.writeMessage(
19893
+ 3,
19894
+ f,
19895
+ proto.game.GameImageUploadMetadata.serializeBinaryToWriter
19896
+ );
19897
+ }
19670
19898
  };
19671
19899
 
19672
19900
 
@@ -19744,6 +19972,43 @@ proto.game.GameRequest.prototype.hasFile = function() {
19744
19972
  };
19745
19973
 
19746
19974
 
19975
+ /**
19976
+ * optional GameImageUploadMetadata game_image_metadata = 3;
19977
+ * @return {?proto.game.GameImageUploadMetadata}
19978
+ */
19979
+ proto.game.GameRequest.prototype.getGameImageMetadata = function() {
19980
+ return /** @type{?proto.game.GameImageUploadMetadata} */ (
19981
+ jspb.Message.getWrapperField(this, proto.game.GameImageUploadMetadata, 3));
19982
+ };
19983
+
19984
+
19985
+ /**
19986
+ * @param {?proto.game.GameImageUploadMetadata|undefined} value
19987
+ * @return {!proto.game.GameRequest} returns this
19988
+ */
19989
+ proto.game.GameRequest.prototype.setGameImageMetadata = function(value) {
19990
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.GameRequest.oneofGroups_[0], value);
19991
+ };
19992
+
19993
+
19994
+ /**
19995
+ * Clears the message field making it undefined.
19996
+ * @return {!proto.game.GameRequest} returns this
19997
+ */
19998
+ proto.game.GameRequest.prototype.clearGameImageMetadata = function() {
19999
+ return this.setGameImageMetadata(undefined);
20000
+ };
20001
+
20002
+
20003
+ /**
20004
+ * Returns whether this field is set.
20005
+ * @return {boolean}
20006
+ */
20007
+ proto.game.GameRequest.prototype.hasGameImageMetadata = function() {
20008
+ return jspb.Message.getField(this, 3) != null;
20009
+ };
20010
+
20011
+
19747
20012
 
19748
20013
 
19749
20014
 
@@ -19787,10 +20052,8 @@ proto.game.GameItemRequest.toObject = function(includeInstance, msg) {
19787
20052
  hasDemo: jspb.Message.getFieldWithDefault(msg, 9, 0),
19788
20053
  hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 10, 0),
19789
20054
  type: jspb.Message.getFieldWithDefault(msg, 11, ""),
19790
- fileName: jspb.Message.getFieldWithDefault(msg, 12, ""),
19791
- fileType: jspb.Message.getFieldWithDefault(msg, 13, ""),
19792
- isTop: jspb.Message.getFieldWithDefault(msg, 14, 0),
19793
- isVip: jspb.Message.getFieldWithDefault(msg, 15, 0)
20055
+ isTop: jspb.Message.getFieldWithDefault(msg, 12, 0),
20056
+ isVip: jspb.Message.getFieldWithDefault(msg, 13, 0)
19794
20057
  };
19795
20058
 
19796
20059
  if (includeInstance) {
@@ -19873,18 +20136,10 @@ proto.game.GameItemRequest.deserializeBinaryFromReader = function(msg, reader) {
19873
20136
  msg.setType(value);
19874
20137
  break;
19875
20138
  case 12:
19876
- var value = /** @type {string} */ (reader.readString());
19877
- msg.setFileName(value);
19878
- break;
19879
- case 13:
19880
- var value = /** @type {string} */ (reader.readString());
19881
- msg.setFileType(value);
19882
- break;
19883
- case 14:
19884
20139
  var value = /** @type {number} */ (reader.readInt32());
19885
20140
  msg.setIsTop(value);
19886
20141
  break;
19887
- case 15:
20142
+ case 13:
19888
20143
  var value = /** @type {number} */ (reader.readInt32());
19889
20144
  msg.setIsVip(value);
19890
20145
  break;
@@ -19995,31 +20250,17 @@ proto.game.GameItemRequest.serializeBinaryToWriter = function(message, writer) {
19995
20250
  f
19996
20251
  );
19997
20252
  }
19998
- f = /** @type {string} */ (jspb.Message.getField(message, 12));
19999
- if (f != null) {
20000
- writer.writeString(
20001
- 12,
20002
- f
20003
- );
20004
- }
20005
- f = /** @type {string} */ (jspb.Message.getField(message, 13));
20006
- if (f != null) {
20007
- writer.writeString(
20008
- 13,
20009
- f
20010
- );
20011
- }
20012
- f = /** @type {number} */ (jspb.Message.getField(message, 14));
20253
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
20013
20254
  if (f != null) {
20014
20255
  writer.writeInt32(
20015
- 14,
20256
+ 12,
20016
20257
  f
20017
20258
  );
20018
20259
  }
20019
- f = /** @type {number} */ (jspb.Message.getField(message, 15));
20260
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
20020
20261
  if (f != null) {
20021
20262
  writer.writeInt32(
20022
- 15,
20263
+ 13,
20023
20264
  f
20024
20265
  );
20025
20266
  }
@@ -20424,83 +20665,11 @@ proto.game.GameItemRequest.prototype.hasType = function() {
20424
20665
 
20425
20666
 
20426
20667
  /**
20427
- * optional string file_name = 12;
20428
- * @return {string}
20429
- */
20430
- proto.game.GameItemRequest.prototype.getFileName = function() {
20431
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
20432
- };
20433
-
20434
-
20435
- /**
20436
- * @param {string} value
20437
- * @return {!proto.game.GameItemRequest} returns this
20438
- */
20439
- proto.game.GameItemRequest.prototype.setFileName = function(value) {
20440
- return jspb.Message.setField(this, 12, value);
20441
- };
20442
-
20443
-
20444
- /**
20445
- * Clears the field making it undefined.
20446
- * @return {!proto.game.GameItemRequest} returns this
20447
- */
20448
- proto.game.GameItemRequest.prototype.clearFileName = function() {
20449
- return jspb.Message.setField(this, 12, undefined);
20450
- };
20451
-
20452
-
20453
- /**
20454
- * Returns whether this field is set.
20455
- * @return {boolean}
20456
- */
20457
- proto.game.GameItemRequest.prototype.hasFileName = function() {
20458
- return jspb.Message.getField(this, 12) != null;
20459
- };
20460
-
20461
-
20462
- /**
20463
- * optional string file_type = 13;
20464
- * @return {string}
20465
- */
20466
- proto.game.GameItemRequest.prototype.getFileType = function() {
20467
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
20468
- };
20469
-
20470
-
20471
- /**
20472
- * @param {string} value
20473
- * @return {!proto.game.GameItemRequest} returns this
20474
- */
20475
- proto.game.GameItemRequest.prototype.setFileType = function(value) {
20476
- return jspb.Message.setField(this, 13, value);
20477
- };
20478
-
20479
-
20480
- /**
20481
- * Clears the field making it undefined.
20482
- * @return {!proto.game.GameItemRequest} returns this
20483
- */
20484
- proto.game.GameItemRequest.prototype.clearFileType = function() {
20485
- return jspb.Message.setField(this, 13, undefined);
20486
- };
20487
-
20488
-
20489
- /**
20490
- * Returns whether this field is set.
20491
- * @return {boolean}
20492
- */
20493
- proto.game.GameItemRequest.prototype.hasFileType = function() {
20494
- return jspb.Message.getField(this, 13) != null;
20495
- };
20496
-
20497
-
20498
- /**
20499
- * optional int32 is_top = 14;
20668
+ * optional int32 is_top = 12;
20500
20669
  * @return {number}
20501
20670
  */
20502
20671
  proto.game.GameItemRequest.prototype.getIsTop = function() {
20503
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
20672
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
20504
20673
  };
20505
20674
 
20506
20675
 
@@ -20509,7 +20678,7 @@ proto.game.GameItemRequest.prototype.getIsTop = function() {
20509
20678
  * @return {!proto.game.GameItemRequest} returns this
20510
20679
  */
20511
20680
  proto.game.GameItemRequest.prototype.setIsTop = function(value) {
20512
- return jspb.Message.setField(this, 14, value);
20681
+ return jspb.Message.setField(this, 12, value);
20513
20682
  };
20514
20683
 
20515
20684
 
@@ -20518,7 +20687,7 @@ proto.game.GameItemRequest.prototype.setIsTop = function(value) {
20518
20687
  * @return {!proto.game.GameItemRequest} returns this
20519
20688
  */
20520
20689
  proto.game.GameItemRequest.prototype.clearIsTop = function() {
20521
- return jspb.Message.setField(this, 14, undefined);
20690
+ return jspb.Message.setField(this, 12, undefined);
20522
20691
  };
20523
20692
 
20524
20693
 
@@ -20527,16 +20696,16 @@ proto.game.GameItemRequest.prototype.clearIsTop = function() {
20527
20696
  * @return {boolean}
20528
20697
  */
20529
20698
  proto.game.GameItemRequest.prototype.hasIsTop = function() {
20530
- return jspb.Message.getField(this, 14) != null;
20699
+ return jspb.Message.getField(this, 12) != null;
20531
20700
  };
20532
20701
 
20533
20702
 
20534
20703
  /**
20535
- * optional int32 is_vip = 15;
20704
+ * optional int32 is_vip = 13;
20536
20705
  * @return {number}
20537
20706
  */
20538
20707
  proto.game.GameItemRequest.prototype.getIsVip = function() {
20539
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
20708
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
20540
20709
  };
20541
20710
 
20542
20711
 
@@ -20545,7 +20714,7 @@ proto.game.GameItemRequest.prototype.getIsVip = function() {
20545
20714
  * @return {!proto.game.GameItemRequest} returns this
20546
20715
  */
20547
20716
  proto.game.GameItemRequest.prototype.setIsVip = function(value) {
20548
- return jspb.Message.setField(this, 15, value);
20717
+ return jspb.Message.setField(this, 13, value);
20549
20718
  };
20550
20719
 
20551
20720
 
@@ -20554,7 +20723,7 @@ proto.game.GameItemRequest.prototype.setIsVip = function(value) {
20554
20723
  * @return {!proto.game.GameItemRequest} returns this
20555
20724
  */
20556
20725
  proto.game.GameItemRequest.prototype.clearIsVip = function() {
20557
- return jspb.Message.setField(this, 15, undefined);
20726
+ return jspb.Message.setField(this, 13, undefined);
20558
20727
  };
20559
20728
 
20560
20729
 
@@ -20563,7 +20732,7 @@ proto.game.GameItemRequest.prototype.clearIsVip = function() {
20563
20732
  * @return {boolean}
20564
20733
  */
20565
20734
  proto.game.GameItemRequest.prototype.hasIsVip = function() {
20566
- return jspb.Message.getField(this, 15) != null;
20735
+ return jspb.Message.getField(this, 13) != null;
20567
20736
  };
20568
20737
 
20569
20738
 
@@ -38569,4 +38738,15 @@ proto.game.GeoRestrictionResponse.prototype.clearGeoList = function() {
38569
38738
  };
38570
38739
 
38571
38740
 
38741
+ /**
38742
+ * @enum {number}
38743
+ */
38744
+ proto.game.GameImageSlot = {
38745
+ GAME_IMAGE_SLOT_UNSPECIFIED: 0,
38746
+ GAME_IMAGE_SLOT_REGULAR: 1,
38747
+ GAME_IMAGE_SLOT_PORTRAIT: 2,
38748
+ GAME_IMAGE_SLOT_LANDSCAPE: 3,
38749
+ GAME_IMAGE_SLOT_SQUARE: 4
38750
+ };
38751
+
38572
38752
  goog.object.extend(exports, proto.game);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.293",
3
+ "version": "1.2.295",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {