protobuf-platform 1.2.567 → 1.2.568
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 -0
- package/game/game_pb.js +97 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
|
@@ -34157,7 +34157,9 @@ proto.game.InitGameSessionResponse.toObject = function(includeInstance, msg) {
|
|
|
34157
34157
|
providerTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
34158
34158
|
providerSlug: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
34159
34159
|
userId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
34160
|
-
hasDemo: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
34160
|
+
hasDemo: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
34161
|
+
launchType: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
34162
|
+
launchHtml: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
34161
34163
|
};
|
|
34162
34164
|
|
|
34163
34165
|
if (includeInstance) {
|
|
@@ -34238,6 +34240,14 @@ proto.game.InitGameSessionResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
34238
34240
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
34239
34241
|
msg.setHasDemo(value);
|
|
34240
34242
|
break;
|
|
34243
|
+
case 12:
|
|
34244
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34245
|
+
msg.setLaunchType(value);
|
|
34246
|
+
break;
|
|
34247
|
+
case 13:
|
|
34248
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34249
|
+
msg.setLaunchHtml(value);
|
|
34250
|
+
break;
|
|
34241
34251
|
default:
|
|
34242
34252
|
reader.skipField();
|
|
34243
34253
|
break;
|
|
@@ -34344,6 +34354,20 @@ proto.game.InitGameSessionResponse.serializeBinaryToWriter = function(message, w
|
|
|
34344
34354
|
f
|
|
34345
34355
|
);
|
|
34346
34356
|
}
|
|
34357
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
34358
|
+
if (f != null) {
|
|
34359
|
+
writer.writeString(
|
|
34360
|
+
12,
|
|
34361
|
+
f
|
|
34362
|
+
);
|
|
34363
|
+
}
|
|
34364
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
34365
|
+
if (f != null) {
|
|
34366
|
+
writer.writeString(
|
|
34367
|
+
13,
|
|
34368
|
+
f
|
|
34369
|
+
);
|
|
34370
|
+
}
|
|
34347
34371
|
};
|
|
34348
34372
|
|
|
34349
34373
|
|
|
@@ -34617,6 +34641,78 @@ proto.game.InitGameSessionResponse.prototype.hasHasDemo = function() {
|
|
|
34617
34641
|
};
|
|
34618
34642
|
|
|
34619
34643
|
|
|
34644
|
+
/**
|
|
34645
|
+
* optional string launch_type = 12;
|
|
34646
|
+
* @return {string}
|
|
34647
|
+
*/
|
|
34648
|
+
proto.game.InitGameSessionResponse.prototype.getLaunchType = function() {
|
|
34649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
34650
|
+
};
|
|
34651
|
+
|
|
34652
|
+
|
|
34653
|
+
/**
|
|
34654
|
+
* @param {string} value
|
|
34655
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
34656
|
+
*/
|
|
34657
|
+
proto.game.InitGameSessionResponse.prototype.setLaunchType = function(value) {
|
|
34658
|
+
return jspb.Message.setField(this, 12, value);
|
|
34659
|
+
};
|
|
34660
|
+
|
|
34661
|
+
|
|
34662
|
+
/**
|
|
34663
|
+
* Clears the field making it undefined.
|
|
34664
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
34665
|
+
*/
|
|
34666
|
+
proto.game.InitGameSessionResponse.prototype.clearLaunchType = function() {
|
|
34667
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
34668
|
+
};
|
|
34669
|
+
|
|
34670
|
+
|
|
34671
|
+
/**
|
|
34672
|
+
* Returns whether this field is set.
|
|
34673
|
+
* @return {boolean}
|
|
34674
|
+
*/
|
|
34675
|
+
proto.game.InitGameSessionResponse.prototype.hasLaunchType = function() {
|
|
34676
|
+
return jspb.Message.getField(this, 12) != null;
|
|
34677
|
+
};
|
|
34678
|
+
|
|
34679
|
+
|
|
34680
|
+
/**
|
|
34681
|
+
* optional string launch_html = 13;
|
|
34682
|
+
* @return {string}
|
|
34683
|
+
*/
|
|
34684
|
+
proto.game.InitGameSessionResponse.prototype.getLaunchHtml = function() {
|
|
34685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
34686
|
+
};
|
|
34687
|
+
|
|
34688
|
+
|
|
34689
|
+
/**
|
|
34690
|
+
* @param {string} value
|
|
34691
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
34692
|
+
*/
|
|
34693
|
+
proto.game.InitGameSessionResponse.prototype.setLaunchHtml = function(value) {
|
|
34694
|
+
return jspb.Message.setField(this, 13, value);
|
|
34695
|
+
};
|
|
34696
|
+
|
|
34697
|
+
|
|
34698
|
+
/**
|
|
34699
|
+
* Clears the field making it undefined.
|
|
34700
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
34701
|
+
*/
|
|
34702
|
+
proto.game.InitGameSessionResponse.prototype.clearLaunchHtml = function() {
|
|
34703
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
34704
|
+
};
|
|
34705
|
+
|
|
34706
|
+
|
|
34707
|
+
/**
|
|
34708
|
+
* Returns whether this field is set.
|
|
34709
|
+
* @return {boolean}
|
|
34710
|
+
*/
|
|
34711
|
+
proto.game.InitGameSessionResponse.prototype.hasLaunchHtml = function() {
|
|
34712
|
+
return jspb.Message.getField(this, 13) != null;
|
|
34713
|
+
};
|
|
34714
|
+
|
|
34715
|
+
|
|
34620
34716
|
|
|
34621
34717
|
|
|
34622
34718
|
|