protobuf-platform 1.0.168 → 1.0.170
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 +98 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -95,9 +95,11 @@ message GameSearchRequest {
|
|
95
95
|
optional int32 is_mobile = 10;
|
96
96
|
optional string user_geo = 11;
|
97
97
|
optional bool admin_side = 12;
|
98
|
+
optional int32 has_free_spins = 13;
|
98
99
|
}
|
99
100
|
message WagerSearchRequest {
|
100
101
|
int32 wager_id = 1;
|
102
|
+
optional string game_title = 2;
|
101
103
|
}
|
102
104
|
//Media
|
103
105
|
message File { bytes media = 1; }
|
package/game/game_pb.js
CHANGED
@@ -2358,7 +2358,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
2358
2358
|
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
2359
2359
|
isMobile: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
2360
2360
|
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
2361
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
2361
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
2362
|
+
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
2362
2363
|
};
|
2363
2364
|
|
2364
2365
|
if (includeInstance) {
|
@@ -2451,6 +2452,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2451
2452
|
var value = /** @type {boolean} */ (reader.readBool());
|
2452
2453
|
msg.setAdminSide(value);
|
2453
2454
|
break;
|
2455
|
+
case 13:
|
2456
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2457
|
+
msg.setHasFreeSpins(value);
|
2458
|
+
break;
|
2454
2459
|
default:
|
2455
2460
|
reader.skipField();
|
2456
2461
|
break;
|
@@ -2564,6 +2569,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2564
2569
|
f
|
2565
2570
|
);
|
2566
2571
|
}
|
2572
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
2573
|
+
if (f != null) {
|
2574
|
+
writer.writeInt32(
|
2575
|
+
13,
|
2576
|
+
f
|
2577
|
+
);
|
2578
|
+
}
|
2567
2579
|
};
|
2568
2580
|
|
2569
2581
|
|
@@ -3004,6 +3016,42 @@ proto.game.GameSearchRequest.prototype.hasAdminSide = function() {
|
|
3004
3016
|
};
|
3005
3017
|
|
3006
3018
|
|
3019
|
+
/**
|
3020
|
+
* optional int32 has_free_spins = 13;
|
3021
|
+
* @return {number}
|
3022
|
+
*/
|
3023
|
+
proto.game.GameSearchRequest.prototype.getHasFreeSpins = function() {
|
3024
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
3025
|
+
};
|
3026
|
+
|
3027
|
+
|
3028
|
+
/**
|
3029
|
+
* @param {number} value
|
3030
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
3031
|
+
*/
|
3032
|
+
proto.game.GameSearchRequest.prototype.setHasFreeSpins = function(value) {
|
3033
|
+
return jspb.Message.setField(this, 13, value);
|
3034
|
+
};
|
3035
|
+
|
3036
|
+
|
3037
|
+
/**
|
3038
|
+
* Clears the field making it undefined.
|
3039
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
3040
|
+
*/
|
3041
|
+
proto.game.GameSearchRequest.prototype.clearHasFreeSpins = function() {
|
3042
|
+
return jspb.Message.setField(this, 13, undefined);
|
3043
|
+
};
|
3044
|
+
|
3045
|
+
|
3046
|
+
/**
|
3047
|
+
* Returns whether this field is set.
|
3048
|
+
* @return {boolean}
|
3049
|
+
*/
|
3050
|
+
proto.game.GameSearchRequest.prototype.hasHasFreeSpins = function() {
|
3051
|
+
return jspb.Message.getField(this, 13) != null;
|
3052
|
+
};
|
3053
|
+
|
3054
|
+
|
3007
3055
|
|
3008
3056
|
|
3009
3057
|
|
@@ -3036,7 +3084,8 @@ proto.game.WagerSearchRequest.prototype.toObject = function(opt_includeInstance)
|
|
3036
3084
|
*/
|
3037
3085
|
proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
|
3038
3086
|
var f, obj = {
|
3039
|
-
wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
3087
|
+
wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
3088
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 2, "")
|
3040
3089
|
};
|
3041
3090
|
|
3042
3091
|
if (includeInstance) {
|
@@ -3077,6 +3126,10 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
|
|
3077
3126
|
var value = /** @type {number} */ (reader.readInt32());
|
3078
3127
|
msg.setWagerId(value);
|
3079
3128
|
break;
|
3129
|
+
case 2:
|
3130
|
+
var value = /** @type {string} */ (reader.readString());
|
3131
|
+
msg.setGameTitle(value);
|
3132
|
+
break;
|
3080
3133
|
default:
|
3081
3134
|
reader.skipField();
|
3082
3135
|
break;
|
@@ -3113,6 +3166,13 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
|
|
3113
3166
|
f
|
3114
3167
|
);
|
3115
3168
|
}
|
3169
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
3170
|
+
if (f != null) {
|
3171
|
+
writer.writeString(
|
3172
|
+
2,
|
3173
|
+
f
|
3174
|
+
);
|
3175
|
+
}
|
3116
3176
|
};
|
3117
3177
|
|
3118
3178
|
|
@@ -3134,6 +3194,42 @@ proto.game.WagerSearchRequest.prototype.setWagerId = function(value) {
|
|
3134
3194
|
};
|
3135
3195
|
|
3136
3196
|
|
3197
|
+
/**
|
3198
|
+
* optional string game_title = 2;
|
3199
|
+
* @return {string}
|
3200
|
+
*/
|
3201
|
+
proto.game.WagerSearchRequest.prototype.getGameTitle = function() {
|
3202
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3203
|
+
};
|
3204
|
+
|
3205
|
+
|
3206
|
+
/**
|
3207
|
+
* @param {string} value
|
3208
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3209
|
+
*/
|
3210
|
+
proto.game.WagerSearchRequest.prototype.setGameTitle = function(value) {
|
3211
|
+
return jspb.Message.setField(this, 2, value);
|
3212
|
+
};
|
3213
|
+
|
3214
|
+
|
3215
|
+
/**
|
3216
|
+
* Clears the field making it undefined.
|
3217
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3218
|
+
*/
|
3219
|
+
proto.game.WagerSearchRequest.prototype.clearGameTitle = function() {
|
3220
|
+
return jspb.Message.setField(this, 2, undefined);
|
3221
|
+
};
|
3222
|
+
|
3223
|
+
|
3224
|
+
/**
|
3225
|
+
* Returns whether this field is set.
|
3226
|
+
* @return {boolean}
|
3227
|
+
*/
|
3228
|
+
proto.game.WagerSearchRequest.prototype.hasGameTitle = function() {
|
3229
|
+
return jspb.Message.getField(this, 2) != null;
|
3230
|
+
};
|
3231
|
+
|
3232
|
+
|
3137
3233
|
|
3138
3234
|
|
3139
3235
|
|