protobuf-platform 1.2.634 → 1.2.635
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 +3 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -10,6 +10,8 @@ service Game {
|
|
|
10
10
|
rpc readListMultiScopes(MultiScopeListRequest) returns (MultiScopeItemsResponse);
|
|
11
11
|
rpc setMultiScopeItems(MultiScopeSetItemsRequest) returns (MultiScopeStatusResponse);
|
|
12
12
|
rpc readMultiScopeItems(GetMultiScopeRequest) returns (MultiScopeCompositionResponse);
|
|
13
|
+
rpc getMultiScopeTranslation(GameEntityTranslationRequest) returns (GameEntityTranslationResponse);
|
|
14
|
+
rpc setMultiScopeTranslation(GameEntityTranslationRequest) returns (MultiScopeStatusResponse);
|
|
13
15
|
//Tech
|
|
14
16
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
|
15
17
|
//Common
|
|
@@ -1034,6 +1036,7 @@ message MultiScopeRequest {
|
|
|
1034
1036
|
}
|
|
1035
1037
|
message GetMultiScopeRequest {
|
|
1036
1038
|
int32 id = 1;
|
|
1039
|
+
optional string locale = 2;
|
|
1037
1040
|
}
|
|
1038
1041
|
message MultiScopeListRequest {
|
|
1039
1042
|
int32 limit = 1;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -1645,6 +1645,28 @@ var GameService = exports.GameService = {
|
|
|
1645
1645
|
responseSerialize: serialize_game_MultiScopeCompositionResponse,
|
|
1646
1646
|
responseDeserialize: deserialize_game_MultiScopeCompositionResponse,
|
|
1647
1647
|
},
|
|
1648
|
+
getMultiScopeTranslation: {
|
|
1649
|
+
path: '/game.Game/getMultiScopeTranslation',
|
|
1650
|
+
requestStream: false,
|
|
1651
|
+
responseStream: false,
|
|
1652
|
+
requestType: game_pb.GameEntityTranslationRequest,
|
|
1653
|
+
responseType: game_pb.GameEntityTranslationResponse,
|
|
1654
|
+
requestSerialize: serialize_game_GameEntityTranslationRequest,
|
|
1655
|
+
requestDeserialize: deserialize_game_GameEntityTranslationRequest,
|
|
1656
|
+
responseSerialize: serialize_game_GameEntityTranslationResponse,
|
|
1657
|
+
responseDeserialize: deserialize_game_GameEntityTranslationResponse,
|
|
1658
|
+
},
|
|
1659
|
+
setMultiScopeTranslation: {
|
|
1660
|
+
path: '/game.Game/setMultiScopeTranslation',
|
|
1661
|
+
requestStream: false,
|
|
1662
|
+
responseStream: false,
|
|
1663
|
+
requestType: game_pb.GameEntityTranslationRequest,
|
|
1664
|
+
responseType: game_pb.MultiScopeStatusResponse,
|
|
1665
|
+
requestSerialize: serialize_game_GameEntityTranslationRequest,
|
|
1666
|
+
requestDeserialize: deserialize_game_GameEntityTranslationRequest,
|
|
1667
|
+
responseSerialize: serialize_game_MultiScopeStatusResponse,
|
|
1668
|
+
responseDeserialize: deserialize_game_MultiScopeStatusResponse,
|
|
1669
|
+
},
|
|
1648
1670
|
// Tech
|
|
1649
1671
|
checkConnection: {
|
|
1650
1672
|
path: '/game.Game/checkConnection',
|
package/game/game_pb.js
CHANGED
|
@@ -43379,7 +43379,8 @@ proto.game.GetMultiScopeRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
43379
43379
|
*/
|
|
43380
43380
|
proto.game.GetMultiScopeRequest.toObject = function(includeInstance, msg) {
|
|
43381
43381
|
var f, obj = {
|
|
43382
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
43382
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43383
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
43383
43384
|
};
|
|
43384
43385
|
|
|
43385
43386
|
if (includeInstance) {
|
|
@@ -43420,6 +43421,10 @@ proto.game.GetMultiScopeRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
43420
43421
|
var value = /** @type {number} */ (reader.readInt32());
|
|
43421
43422
|
msg.setId(value);
|
|
43422
43423
|
break;
|
|
43424
|
+
case 2:
|
|
43425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43426
|
+
msg.setLocale(value);
|
|
43427
|
+
break;
|
|
43423
43428
|
default:
|
|
43424
43429
|
reader.skipField();
|
|
43425
43430
|
break;
|
|
@@ -43456,6 +43461,13 @@ proto.game.GetMultiScopeRequest.serializeBinaryToWriter = function(message, writ
|
|
|
43456
43461
|
f
|
|
43457
43462
|
);
|
|
43458
43463
|
}
|
|
43464
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
43465
|
+
if (f != null) {
|
|
43466
|
+
writer.writeString(
|
|
43467
|
+
2,
|
|
43468
|
+
f
|
|
43469
|
+
);
|
|
43470
|
+
}
|
|
43459
43471
|
};
|
|
43460
43472
|
|
|
43461
43473
|
|
|
@@ -43477,6 +43489,42 @@ proto.game.GetMultiScopeRequest.prototype.setId = function(value) {
|
|
|
43477
43489
|
};
|
|
43478
43490
|
|
|
43479
43491
|
|
|
43492
|
+
/**
|
|
43493
|
+
* optional string locale = 2;
|
|
43494
|
+
* @return {string}
|
|
43495
|
+
*/
|
|
43496
|
+
proto.game.GetMultiScopeRequest.prototype.getLocale = function() {
|
|
43497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
43498
|
+
};
|
|
43499
|
+
|
|
43500
|
+
|
|
43501
|
+
/**
|
|
43502
|
+
* @param {string} value
|
|
43503
|
+
* @return {!proto.game.GetMultiScopeRequest} returns this
|
|
43504
|
+
*/
|
|
43505
|
+
proto.game.GetMultiScopeRequest.prototype.setLocale = function(value) {
|
|
43506
|
+
return jspb.Message.setField(this, 2, value);
|
|
43507
|
+
};
|
|
43508
|
+
|
|
43509
|
+
|
|
43510
|
+
/**
|
|
43511
|
+
* Clears the field making it undefined.
|
|
43512
|
+
* @return {!proto.game.GetMultiScopeRequest} returns this
|
|
43513
|
+
*/
|
|
43514
|
+
proto.game.GetMultiScopeRequest.prototype.clearLocale = function() {
|
|
43515
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
43516
|
+
};
|
|
43517
|
+
|
|
43518
|
+
|
|
43519
|
+
/**
|
|
43520
|
+
* Returns whether this field is set.
|
|
43521
|
+
* @return {boolean}
|
|
43522
|
+
*/
|
|
43523
|
+
proto.game.GetMultiScopeRequest.prototype.hasLocale = function() {
|
|
43524
|
+
return jspb.Message.getField(this, 2) != null;
|
|
43525
|
+
};
|
|
43526
|
+
|
|
43527
|
+
|
|
43480
43528
|
|
|
43481
43529
|
/**
|
|
43482
43530
|
* List of repeated fields within this message type.
|