protobuf-platform 1.2.723 → 1.2.724
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 +5 -0
- package/game/game_pb.js +146 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -305,6 +305,8 @@ message GameEntityTranslationItem {
|
|
|
305
305
|
optional string title = 2;
|
|
306
306
|
optional string description = 3;
|
|
307
307
|
optional bool is_active = 4;
|
|
308
|
+
// Locale HTML content. Independent of description.
|
|
309
|
+
optional string content = 5;
|
|
308
310
|
}
|
|
309
311
|
message GameEntityTranslationRequest {
|
|
310
312
|
int32 entity_id = 1;
|
|
@@ -314,6 +316,9 @@ message GameEntityTranslationRequest {
|
|
|
314
316
|
optional bool is_active = 5;
|
|
315
317
|
// Explicit WYSIWYG clear. Independent of field 4 so omission and "" stay distinct.
|
|
316
318
|
optional bool clear_description = 6;
|
|
319
|
+
optional string content = 7;
|
|
320
|
+
// Explicit content clear. Independent of field 7 so omission and "" stay distinct.
|
|
321
|
+
optional bool clear_content = 8;
|
|
317
322
|
}
|
|
318
323
|
message GameEntityTranslationResponse {
|
|
319
324
|
GameEntityTranslationItem data = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -11126,7 +11126,8 @@ proto.game.GameEntityTranslationItem.toObject = function(includeInstance, msg) {
|
|
|
11126
11126
|
locale: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11127
11127
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11128
11128
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11129
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
11129
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
11130
|
+
content: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
11130
11131
|
};
|
|
11131
11132
|
|
|
11132
11133
|
if (includeInstance) {
|
|
@@ -11179,6 +11180,10 @@ proto.game.GameEntityTranslationItem.deserializeBinaryFromReader = function(msg,
|
|
|
11179
11180
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
11180
11181
|
msg.setIsActive(value);
|
|
11181
11182
|
break;
|
|
11183
|
+
case 5:
|
|
11184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11185
|
+
msg.setContent(value);
|
|
11186
|
+
break;
|
|
11182
11187
|
default:
|
|
11183
11188
|
reader.skipField();
|
|
11184
11189
|
break;
|
|
@@ -11236,6 +11241,13 @@ proto.game.GameEntityTranslationItem.serializeBinaryToWriter = function(message,
|
|
|
11236
11241
|
f
|
|
11237
11242
|
);
|
|
11238
11243
|
}
|
|
11244
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
11245
|
+
if (f != null) {
|
|
11246
|
+
writer.writeString(
|
|
11247
|
+
5,
|
|
11248
|
+
f
|
|
11249
|
+
);
|
|
11250
|
+
}
|
|
11239
11251
|
};
|
|
11240
11252
|
|
|
11241
11253
|
|
|
@@ -11365,6 +11377,42 @@ proto.game.GameEntityTranslationItem.prototype.hasIsActive = function() {
|
|
|
11365
11377
|
};
|
|
11366
11378
|
|
|
11367
11379
|
|
|
11380
|
+
/**
|
|
11381
|
+
* optional string content = 5;
|
|
11382
|
+
* @return {string}
|
|
11383
|
+
*/
|
|
11384
|
+
proto.game.GameEntityTranslationItem.prototype.getContent = function() {
|
|
11385
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11386
|
+
};
|
|
11387
|
+
|
|
11388
|
+
|
|
11389
|
+
/**
|
|
11390
|
+
* @param {string} value
|
|
11391
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
11392
|
+
*/
|
|
11393
|
+
proto.game.GameEntityTranslationItem.prototype.setContent = function(value) {
|
|
11394
|
+
return jspb.Message.setField(this, 5, value);
|
|
11395
|
+
};
|
|
11396
|
+
|
|
11397
|
+
|
|
11398
|
+
/**
|
|
11399
|
+
* Clears the field making it undefined.
|
|
11400
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
11401
|
+
*/
|
|
11402
|
+
proto.game.GameEntityTranslationItem.prototype.clearContent = function() {
|
|
11403
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
11404
|
+
};
|
|
11405
|
+
|
|
11406
|
+
|
|
11407
|
+
/**
|
|
11408
|
+
* Returns whether this field is set.
|
|
11409
|
+
* @return {boolean}
|
|
11410
|
+
*/
|
|
11411
|
+
proto.game.GameEntityTranslationItem.prototype.hasContent = function() {
|
|
11412
|
+
return jspb.Message.getField(this, 5) != null;
|
|
11413
|
+
};
|
|
11414
|
+
|
|
11415
|
+
|
|
11368
11416
|
|
|
11369
11417
|
|
|
11370
11418
|
|
|
@@ -11402,7 +11450,9 @@ proto.game.GameEntityTranslationRequest.toObject = function(includeInstance, msg
|
|
|
11402
11450
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11403
11451
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11404
11452
|
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
11405
|
-
clearDescription: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
11453
|
+
clearDescription: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
11454
|
+
content: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11455
|
+
clearContent: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
11406
11456
|
};
|
|
11407
11457
|
|
|
11408
11458
|
if (includeInstance) {
|
|
@@ -11463,6 +11513,14 @@ proto.game.GameEntityTranslationRequest.deserializeBinaryFromReader = function(m
|
|
|
11463
11513
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
11464
11514
|
msg.setClearDescription(value);
|
|
11465
11515
|
break;
|
|
11516
|
+
case 7:
|
|
11517
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11518
|
+
msg.setContent(value);
|
|
11519
|
+
break;
|
|
11520
|
+
case 8:
|
|
11521
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11522
|
+
msg.setClearContent(value);
|
|
11523
|
+
break;
|
|
11466
11524
|
default:
|
|
11467
11525
|
reader.skipField();
|
|
11468
11526
|
break;
|
|
@@ -11534,6 +11592,20 @@ proto.game.GameEntityTranslationRequest.serializeBinaryToWriter = function(messa
|
|
|
11534
11592
|
f
|
|
11535
11593
|
);
|
|
11536
11594
|
}
|
|
11595
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
11596
|
+
if (f != null) {
|
|
11597
|
+
writer.writeString(
|
|
11598
|
+
7,
|
|
11599
|
+
f
|
|
11600
|
+
);
|
|
11601
|
+
}
|
|
11602
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
|
|
11603
|
+
if (f != null) {
|
|
11604
|
+
writer.writeBool(
|
|
11605
|
+
8,
|
|
11606
|
+
f
|
|
11607
|
+
);
|
|
11608
|
+
}
|
|
11537
11609
|
};
|
|
11538
11610
|
|
|
11539
11611
|
|
|
@@ -11717,6 +11789,78 @@ proto.game.GameEntityTranslationRequest.prototype.hasClearDescription = function
|
|
|
11717
11789
|
};
|
|
11718
11790
|
|
|
11719
11791
|
|
|
11792
|
+
/**
|
|
11793
|
+
* optional string content = 7;
|
|
11794
|
+
* @return {string}
|
|
11795
|
+
*/
|
|
11796
|
+
proto.game.GameEntityTranslationRequest.prototype.getContent = function() {
|
|
11797
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11798
|
+
};
|
|
11799
|
+
|
|
11800
|
+
|
|
11801
|
+
/**
|
|
11802
|
+
* @param {string} value
|
|
11803
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
11804
|
+
*/
|
|
11805
|
+
proto.game.GameEntityTranslationRequest.prototype.setContent = function(value) {
|
|
11806
|
+
return jspb.Message.setField(this, 7, value);
|
|
11807
|
+
};
|
|
11808
|
+
|
|
11809
|
+
|
|
11810
|
+
/**
|
|
11811
|
+
* Clears the field making it undefined.
|
|
11812
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
11813
|
+
*/
|
|
11814
|
+
proto.game.GameEntityTranslationRequest.prototype.clearContent = function() {
|
|
11815
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
11816
|
+
};
|
|
11817
|
+
|
|
11818
|
+
|
|
11819
|
+
/**
|
|
11820
|
+
* Returns whether this field is set.
|
|
11821
|
+
* @return {boolean}
|
|
11822
|
+
*/
|
|
11823
|
+
proto.game.GameEntityTranslationRequest.prototype.hasContent = function() {
|
|
11824
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11825
|
+
};
|
|
11826
|
+
|
|
11827
|
+
|
|
11828
|
+
/**
|
|
11829
|
+
* optional bool clear_content = 8;
|
|
11830
|
+
* @return {boolean}
|
|
11831
|
+
*/
|
|
11832
|
+
proto.game.GameEntityTranslationRequest.prototype.getClearContent = function() {
|
|
11833
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
11834
|
+
};
|
|
11835
|
+
|
|
11836
|
+
|
|
11837
|
+
/**
|
|
11838
|
+
* @param {boolean} value
|
|
11839
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
11840
|
+
*/
|
|
11841
|
+
proto.game.GameEntityTranslationRequest.prototype.setClearContent = function(value) {
|
|
11842
|
+
return jspb.Message.setField(this, 8, value);
|
|
11843
|
+
};
|
|
11844
|
+
|
|
11845
|
+
|
|
11846
|
+
/**
|
|
11847
|
+
* Clears the field making it undefined.
|
|
11848
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
11849
|
+
*/
|
|
11850
|
+
proto.game.GameEntityTranslationRequest.prototype.clearClearContent = function() {
|
|
11851
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
11852
|
+
};
|
|
11853
|
+
|
|
11854
|
+
|
|
11855
|
+
/**
|
|
11856
|
+
* Returns whether this field is set.
|
|
11857
|
+
* @return {boolean}
|
|
11858
|
+
*/
|
|
11859
|
+
proto.game.GameEntityTranslationRequest.prototype.hasClearContent = function() {
|
|
11860
|
+
return jspb.Message.getField(this, 8) != null;
|
|
11861
|
+
};
|
|
11862
|
+
|
|
11863
|
+
|
|
11720
11864
|
|
|
11721
11865
|
|
|
11722
11866
|
|