protobuf-platform 1.2.188 → 1.2.190
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 +4 -3
- package/game/game_pb.js +85 -19
- package/package.json +2 -1
package/game/game.proto
CHANGED
|
@@ -557,9 +557,10 @@ message InitGameSessionResponse {
|
|
|
557
557
|
string game_image = 4;
|
|
558
558
|
string game_slug = 5;
|
|
559
559
|
string game_description = 6;
|
|
560
|
-
|
|
561
|
-
string
|
|
562
|
-
string
|
|
560
|
+
optional int32 game_id = 7;
|
|
561
|
+
optional string provider_title = 8;
|
|
562
|
+
string provider_slug = 9;
|
|
563
|
+
string user_id = 10;
|
|
563
564
|
}
|
|
564
565
|
//Vendor
|
|
565
566
|
message VendorActionRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -23019,9 +23019,10 @@ proto.game.InitGameSessionResponse.toObject = function(includeInstance, msg) {
|
|
|
23019
23019
|
gameImage: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23020
23020
|
gameSlug: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23021
23021
|
gameDescription: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
23022
|
-
|
|
23023
|
-
|
|
23024
|
-
|
|
23022
|
+
gameId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
23023
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
23024
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
23025
|
+
userId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
23025
23026
|
};
|
|
23026
23027
|
|
|
23027
23028
|
if (includeInstance) {
|
|
@@ -23083,14 +23084,18 @@ proto.game.InitGameSessionResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
23083
23084
|
msg.setGameDescription(value);
|
|
23084
23085
|
break;
|
|
23085
23086
|
case 7:
|
|
23087
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23088
|
+
msg.setGameId(value);
|
|
23089
|
+
break;
|
|
23090
|
+
case 8:
|
|
23086
23091
|
var value = /** @type {string} */ (reader.readString());
|
|
23087
23092
|
msg.setProviderTitle(value);
|
|
23088
23093
|
break;
|
|
23089
|
-
case
|
|
23094
|
+
case 9:
|
|
23090
23095
|
var value = /** @type {string} */ (reader.readString());
|
|
23091
23096
|
msg.setProviderSlug(value);
|
|
23092
23097
|
break;
|
|
23093
|
-
case
|
|
23098
|
+
case 10:
|
|
23094
23099
|
var value = /** @type {string} */ (reader.readString());
|
|
23095
23100
|
msg.setUserId(value);
|
|
23096
23101
|
break;
|
|
@@ -23165,24 +23170,31 @@ proto.game.InitGameSessionResponse.serializeBinaryToWriter = function(message, w
|
|
|
23165
23170
|
f
|
|
23166
23171
|
);
|
|
23167
23172
|
}
|
|
23168
|
-
f =
|
|
23169
|
-
if (f
|
|
23170
|
-
writer.
|
|
23173
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
23174
|
+
if (f != null) {
|
|
23175
|
+
writer.writeInt32(
|
|
23171
23176
|
7,
|
|
23172
23177
|
f
|
|
23173
23178
|
);
|
|
23174
23179
|
}
|
|
23180
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
23181
|
+
if (f != null) {
|
|
23182
|
+
writer.writeString(
|
|
23183
|
+
8,
|
|
23184
|
+
f
|
|
23185
|
+
);
|
|
23186
|
+
}
|
|
23175
23187
|
f = message.getProviderSlug();
|
|
23176
23188
|
if (f.length > 0) {
|
|
23177
23189
|
writer.writeString(
|
|
23178
|
-
|
|
23190
|
+
9,
|
|
23179
23191
|
f
|
|
23180
23192
|
);
|
|
23181
23193
|
}
|
|
23182
23194
|
f = message.getUserId();
|
|
23183
23195
|
if (f.length > 0) {
|
|
23184
23196
|
writer.writeString(
|
|
23185
|
-
|
|
23197
|
+
10,
|
|
23186
23198
|
f
|
|
23187
23199
|
);
|
|
23188
23200
|
}
|
|
@@ -23316,11 +23328,47 @@ proto.game.InitGameSessionResponse.prototype.setGameDescription = function(value
|
|
|
23316
23328
|
|
|
23317
23329
|
|
|
23318
23330
|
/**
|
|
23319
|
-
* optional
|
|
23331
|
+
* optional int32 game_id = 7;
|
|
23332
|
+
* @return {number}
|
|
23333
|
+
*/
|
|
23334
|
+
proto.game.InitGameSessionResponse.prototype.getGameId = function() {
|
|
23335
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
23336
|
+
};
|
|
23337
|
+
|
|
23338
|
+
|
|
23339
|
+
/**
|
|
23340
|
+
* @param {number} value
|
|
23341
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23342
|
+
*/
|
|
23343
|
+
proto.game.InitGameSessionResponse.prototype.setGameId = function(value) {
|
|
23344
|
+
return jspb.Message.setField(this, 7, value);
|
|
23345
|
+
};
|
|
23346
|
+
|
|
23347
|
+
|
|
23348
|
+
/**
|
|
23349
|
+
* Clears the field making it undefined.
|
|
23350
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23351
|
+
*/
|
|
23352
|
+
proto.game.InitGameSessionResponse.prototype.clearGameId = function() {
|
|
23353
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
23354
|
+
};
|
|
23355
|
+
|
|
23356
|
+
|
|
23357
|
+
/**
|
|
23358
|
+
* Returns whether this field is set.
|
|
23359
|
+
* @return {boolean}
|
|
23360
|
+
*/
|
|
23361
|
+
proto.game.InitGameSessionResponse.prototype.hasGameId = function() {
|
|
23362
|
+
return jspb.Message.getField(this, 7) != null;
|
|
23363
|
+
};
|
|
23364
|
+
|
|
23365
|
+
|
|
23366
|
+
/**
|
|
23367
|
+
* optional string provider_title = 8;
|
|
23320
23368
|
* @return {string}
|
|
23321
23369
|
*/
|
|
23322
23370
|
proto.game.InitGameSessionResponse.prototype.getProviderTitle = function() {
|
|
23323
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
23371
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
23324
23372
|
};
|
|
23325
23373
|
|
|
23326
23374
|
|
|
@@ -23329,16 +23377,34 @@ proto.game.InitGameSessionResponse.prototype.getProviderTitle = function() {
|
|
|
23329
23377
|
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23330
23378
|
*/
|
|
23331
23379
|
proto.game.InitGameSessionResponse.prototype.setProviderTitle = function(value) {
|
|
23332
|
-
return jspb.Message.
|
|
23380
|
+
return jspb.Message.setField(this, 8, value);
|
|
23381
|
+
};
|
|
23382
|
+
|
|
23383
|
+
|
|
23384
|
+
/**
|
|
23385
|
+
* Clears the field making it undefined.
|
|
23386
|
+
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23387
|
+
*/
|
|
23388
|
+
proto.game.InitGameSessionResponse.prototype.clearProviderTitle = function() {
|
|
23389
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
23390
|
+
};
|
|
23391
|
+
|
|
23392
|
+
|
|
23393
|
+
/**
|
|
23394
|
+
* Returns whether this field is set.
|
|
23395
|
+
* @return {boolean}
|
|
23396
|
+
*/
|
|
23397
|
+
proto.game.InitGameSessionResponse.prototype.hasProviderTitle = function() {
|
|
23398
|
+
return jspb.Message.getField(this, 8) != null;
|
|
23333
23399
|
};
|
|
23334
23400
|
|
|
23335
23401
|
|
|
23336
23402
|
/**
|
|
23337
|
-
* optional string provider_slug =
|
|
23403
|
+
* optional string provider_slug = 9;
|
|
23338
23404
|
* @return {string}
|
|
23339
23405
|
*/
|
|
23340
23406
|
proto.game.InitGameSessionResponse.prototype.getProviderSlug = function() {
|
|
23341
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
23407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
23342
23408
|
};
|
|
23343
23409
|
|
|
23344
23410
|
|
|
@@ -23347,16 +23413,16 @@ proto.game.InitGameSessionResponse.prototype.getProviderSlug = function() {
|
|
|
23347
23413
|
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23348
23414
|
*/
|
|
23349
23415
|
proto.game.InitGameSessionResponse.prototype.setProviderSlug = function(value) {
|
|
23350
|
-
return jspb.Message.setProto3StringField(this,
|
|
23416
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
23351
23417
|
};
|
|
23352
23418
|
|
|
23353
23419
|
|
|
23354
23420
|
/**
|
|
23355
|
-
* optional string user_id =
|
|
23421
|
+
* optional string user_id = 10;
|
|
23356
23422
|
* @return {string}
|
|
23357
23423
|
*/
|
|
23358
23424
|
proto.game.InitGameSessionResponse.prototype.getUserId = function() {
|
|
23359
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
23425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
23360
23426
|
};
|
|
23361
23427
|
|
|
23362
23428
|
|
|
@@ -23365,7 +23431,7 @@ proto.game.InitGameSessionResponse.prototype.getUserId = function() {
|
|
|
23365
23431
|
* @return {!proto.game.InitGameSessionResponse} returns this
|
|
23366
23432
|
*/
|
|
23367
23433
|
proto.game.InitGameSessionResponse.prototype.setUserId = function(value) {
|
|
23368
|
-
return jspb.Message.setProto3StringField(this,
|
|
23434
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
23369
23435
|
};
|
|
23370
23436
|
|
|
23371
23437
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "protobuf-platform",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.190",
|
|
4
4
|
"description": "Protobuf structures",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"proto:build": "~/node-x64/bin/npm exec -- grpc_tools_node_protoc --version && sh ./update_protobuf.sh",
|
|
8
8
|
"proto:install:x64": "rm -rf node_modules package-lock.json && ~/node-v22.21.1-darwin-x64/bin/npm install",
|
|
9
9
|
"proto:build:x64": "~/node-v22.21.1-darwin-x64/bin/npm exec -- grpc_tools_node_protoc --version && sh ./update_protobuf.sh",
|
|
10
|
+
"publish-update": "npm version patch --no-git-tag-version && npm publish",
|
|
10
11
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
12
|
},
|
|
12
13
|
"repository": {
|