protobuf-platform 1.2.630 → 1.2.633
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/bonus/bonus.proto +35 -0
- package/bonus/bonus_grpc_pb.js +55 -0
- package/bonus/bonus_pb.js +2578 -1105
- package/game/game.proto +26 -16
- package/game/game_grpc_pb.js +35 -24
- package/game/game_pb.js +651 -299
- package/package.json +2 -2
- package/tournament/tournament.proto +33 -0
- package/tournament/tournament_grpc_pb.js +22 -0
- package/tournament/tournament_pb.js +1533 -44
package/game/game_pb.js
CHANGED
|
@@ -135,15 +135,17 @@ goog.exportSymbol('proto.game.ItemsBunchRequest', null, global);
|
|
|
135
135
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitItem', null, global);
|
|
136
136
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsRequest', null, global);
|
|
137
137
|
goog.exportSymbol('proto.game.MerchantFreeSpinLimitsResponse', null, global);
|
|
138
|
+
goog.exportSymbol('proto.game.MultiScopeCompositionItem', null, global);
|
|
139
|
+
goog.exportSymbol('proto.game.MultiScopeCompositionResponse', null, global);
|
|
138
140
|
goog.exportSymbol('proto.game.MultiScopeItem', null, global);
|
|
141
|
+
goog.exportSymbol('proto.game.MultiScopeItemReference', null, global);
|
|
139
142
|
goog.exportSymbol('proto.game.MultiScopeItemRequest', null, global);
|
|
140
143
|
goog.exportSymbol('proto.game.MultiScopeItemsResponse', null, global);
|
|
141
144
|
goog.exportSymbol('proto.game.MultiScopeListRequest', null, global);
|
|
142
|
-
goog.exportSymbol('proto.game.MultiScopeMember', null, global);
|
|
143
|
-
goog.exportSymbol('proto.game.MultiScopeMembersRequest', null, global);
|
|
144
145
|
goog.exportSymbol('proto.game.MultiScopeRequest', null, global);
|
|
145
146
|
goog.exportSymbol('proto.game.MultiScopeRequest.RequestCase', null, global);
|
|
146
147
|
goog.exportSymbol('proto.game.MultiScopeResponse', null, global);
|
|
148
|
+
goog.exportSymbol('proto.game.MultiScopeSetItemsRequest', null, global);
|
|
147
149
|
goog.exportSymbol('proto.game.MultiScopeStatusResponse', null, global);
|
|
148
150
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersRequest', null, global);
|
|
149
151
|
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersResponse', null, global);
|
|
@@ -2756,16 +2758,58 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2756
2758
|
* @extends {jspb.Message}
|
|
2757
2759
|
* @constructor
|
|
2758
2760
|
*/
|
|
2759
|
-
proto.game.
|
|
2761
|
+
proto.game.MultiScopeItemReference = function(opt_data) {
|
|
2760
2762
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2761
2763
|
};
|
|
2762
|
-
goog.inherits(proto.game.
|
|
2764
|
+
goog.inherits(proto.game.MultiScopeItemReference, jspb.Message);
|
|
2763
2765
|
if (goog.DEBUG && !COMPILED) {
|
|
2764
2766
|
/**
|
|
2765
2767
|
* @public
|
|
2766
2768
|
* @override
|
|
2767
2769
|
*/
|
|
2768
|
-
proto.game.
|
|
2770
|
+
proto.game.MultiScopeItemReference.displayName = 'proto.game.MultiScopeItemReference';
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Generated by JsPbCodeGenerator.
|
|
2774
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2775
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2776
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2777
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2778
|
+
* valid.
|
|
2779
|
+
* @extends {jspb.Message}
|
|
2780
|
+
* @constructor
|
|
2781
|
+
*/
|
|
2782
|
+
proto.game.MultiScopeCompositionItem = function(opt_data) {
|
|
2783
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2784
|
+
};
|
|
2785
|
+
goog.inherits(proto.game.MultiScopeCompositionItem, jspb.Message);
|
|
2786
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2787
|
+
/**
|
|
2788
|
+
* @public
|
|
2789
|
+
* @override
|
|
2790
|
+
*/
|
|
2791
|
+
proto.game.MultiScopeCompositionItem.displayName = 'proto.game.MultiScopeCompositionItem';
|
|
2792
|
+
}
|
|
2793
|
+
/**
|
|
2794
|
+
* Generated by JsPbCodeGenerator.
|
|
2795
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2796
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2797
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2798
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2799
|
+
* valid.
|
|
2800
|
+
* @extends {jspb.Message}
|
|
2801
|
+
* @constructor
|
|
2802
|
+
*/
|
|
2803
|
+
proto.game.MultiScopeCompositionResponse = function(opt_data) {
|
|
2804
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeCompositionResponse.repeatedFields_, null);
|
|
2805
|
+
};
|
|
2806
|
+
goog.inherits(proto.game.MultiScopeCompositionResponse, jspb.Message);
|
|
2807
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2808
|
+
/**
|
|
2809
|
+
* @public
|
|
2810
|
+
* @override
|
|
2811
|
+
*/
|
|
2812
|
+
proto.game.MultiScopeCompositionResponse.displayName = 'proto.game.MultiScopeCompositionResponse';
|
|
2769
2813
|
}
|
|
2770
2814
|
/**
|
|
2771
2815
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2882,16 +2926,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2882
2926
|
* @extends {jspb.Message}
|
|
2883
2927
|
* @constructor
|
|
2884
2928
|
*/
|
|
2885
|
-
proto.game.
|
|
2886
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.
|
|
2929
|
+
proto.game.MultiScopeSetItemsRequest = function(opt_data) {
|
|
2930
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.MultiScopeSetItemsRequest.repeatedFields_, null);
|
|
2887
2931
|
};
|
|
2888
|
-
goog.inherits(proto.game.
|
|
2932
|
+
goog.inherits(proto.game.MultiScopeSetItemsRequest, jspb.Message);
|
|
2889
2933
|
if (goog.DEBUG && !COMPILED) {
|
|
2890
2934
|
/**
|
|
2891
2935
|
* @public
|
|
2892
2936
|
* @override
|
|
2893
2937
|
*/
|
|
2894
|
-
proto.game.
|
|
2938
|
+
proto.game.MultiScopeSetItemsRequest.displayName = 'proto.game.MultiScopeSetItemsRequest';
|
|
2895
2939
|
}
|
|
2896
2940
|
/**
|
|
2897
2941
|
* Generated by JsPbCodeGenerator.
|
|
@@ -41057,8 +41101,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
41057
41101
|
* http://goto/soy-param-migration
|
|
41058
41102
|
* @return {!Object}
|
|
41059
41103
|
*/
|
|
41060
|
-
proto.game.
|
|
41061
|
-
return proto.game.
|
|
41104
|
+
proto.game.MultiScopeItemReference.prototype.toObject = function(opt_includeInstance) {
|
|
41105
|
+
return proto.game.MultiScopeItemReference.toObject(opt_includeInstance, this);
|
|
41062
41106
|
};
|
|
41063
41107
|
|
|
41064
41108
|
|
|
@@ -41067,20 +41111,15 @@ proto.game.MultiScopeMember.prototype.toObject = function(opt_includeInstance) {
|
|
|
41067
41111
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41068
41112
|
* the JSPB instance for transitional soy proto support:
|
|
41069
41113
|
* http://goto/soy-param-migration
|
|
41070
|
-
* @param {!proto.game.
|
|
41114
|
+
* @param {!proto.game.MultiScopeItemReference} msg The msg instance to transform.
|
|
41071
41115
|
* @return {!Object}
|
|
41072
41116
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41073
41117
|
*/
|
|
41074
|
-
proto.game.
|
|
41118
|
+
proto.game.MultiScopeItemReference.toObject = function(includeInstance, msg) {
|
|
41075
41119
|
var f, obj = {
|
|
41076
|
-
|
|
41077
|
-
|
|
41078
|
-
|
|
41079
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
41080
|
-
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
41081
|
-
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41082
|
-
icon: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41083
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
41120
|
+
instanceType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
41121
|
+
instanceId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41122
|
+
priorityOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
41084
41123
|
};
|
|
41085
41124
|
|
|
41086
41125
|
if (includeInstance) {
|
|
@@ -41094,23 +41133,23 @@ proto.game.MultiScopeMember.toObject = function(includeInstance, msg) {
|
|
|
41094
41133
|
/**
|
|
41095
41134
|
* Deserializes binary data (in protobuf wire format).
|
|
41096
41135
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41097
|
-
* @return {!proto.game.
|
|
41136
|
+
* @return {!proto.game.MultiScopeItemReference}
|
|
41098
41137
|
*/
|
|
41099
|
-
proto.game.
|
|
41138
|
+
proto.game.MultiScopeItemReference.deserializeBinary = function(bytes) {
|
|
41100
41139
|
var reader = new jspb.BinaryReader(bytes);
|
|
41101
|
-
var msg = new proto.game.
|
|
41102
|
-
return proto.game.
|
|
41140
|
+
var msg = new proto.game.MultiScopeItemReference;
|
|
41141
|
+
return proto.game.MultiScopeItemReference.deserializeBinaryFromReader(msg, reader);
|
|
41103
41142
|
};
|
|
41104
41143
|
|
|
41105
41144
|
|
|
41106
41145
|
/**
|
|
41107
41146
|
* Deserializes binary data (in protobuf wire format) from the
|
|
41108
41147
|
* given reader into the given message object.
|
|
41109
|
-
* @param {!proto.game.
|
|
41148
|
+
* @param {!proto.game.MultiScopeItemReference} msg The message object to deserialize into.
|
|
41110
41149
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41111
|
-
* @return {!proto.game.
|
|
41150
|
+
* @return {!proto.game.MultiScopeItemReference}
|
|
41112
41151
|
*/
|
|
41113
|
-
proto.game.
|
|
41152
|
+
proto.game.MultiScopeItemReference.deserializeBinaryFromReader = function(msg, reader) {
|
|
41114
41153
|
while (reader.nextField()) {
|
|
41115
41154
|
if (reader.isEndGroup()) {
|
|
41116
41155
|
break;
|
|
@@ -41118,37 +41157,242 @@ proto.game.MultiScopeMember.deserializeBinaryFromReader = function(msg, reader)
|
|
|
41118
41157
|
var field = reader.getFieldNumber();
|
|
41119
41158
|
switch (field) {
|
|
41120
41159
|
case 1:
|
|
41121
|
-
var value = /** @type {
|
|
41122
|
-
msg.
|
|
41160
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41161
|
+
msg.setInstanceType(value);
|
|
41123
41162
|
break;
|
|
41124
41163
|
case 2:
|
|
41125
|
-
var value = /** @type {
|
|
41126
|
-
msg.
|
|
41164
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41165
|
+
msg.setInstanceId(value);
|
|
41127
41166
|
break;
|
|
41128
41167
|
case 3:
|
|
41168
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41169
|
+
msg.setPriorityOrder(value);
|
|
41170
|
+
break;
|
|
41171
|
+
default:
|
|
41172
|
+
reader.skipField();
|
|
41173
|
+
break;
|
|
41174
|
+
}
|
|
41175
|
+
}
|
|
41176
|
+
return msg;
|
|
41177
|
+
};
|
|
41178
|
+
|
|
41179
|
+
|
|
41180
|
+
/**
|
|
41181
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41182
|
+
* @return {!Uint8Array}
|
|
41183
|
+
*/
|
|
41184
|
+
proto.game.MultiScopeItemReference.prototype.serializeBinary = function() {
|
|
41185
|
+
var writer = new jspb.BinaryWriter();
|
|
41186
|
+
proto.game.MultiScopeItemReference.serializeBinaryToWriter(this, writer);
|
|
41187
|
+
return writer.getResultBuffer();
|
|
41188
|
+
};
|
|
41189
|
+
|
|
41190
|
+
|
|
41191
|
+
/**
|
|
41192
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41193
|
+
* format), writing to the given BinaryWriter.
|
|
41194
|
+
* @param {!proto.game.MultiScopeItemReference} message
|
|
41195
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41196
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41197
|
+
*/
|
|
41198
|
+
proto.game.MultiScopeItemReference.serializeBinaryToWriter = function(message, writer) {
|
|
41199
|
+
var f = undefined;
|
|
41200
|
+
f = message.getInstanceType();
|
|
41201
|
+
if (f.length > 0) {
|
|
41202
|
+
writer.writeString(
|
|
41203
|
+
1,
|
|
41204
|
+
f
|
|
41205
|
+
);
|
|
41206
|
+
}
|
|
41207
|
+
f = message.getInstanceId();
|
|
41208
|
+
if (f !== 0) {
|
|
41209
|
+
writer.writeInt32(
|
|
41210
|
+
2,
|
|
41211
|
+
f
|
|
41212
|
+
);
|
|
41213
|
+
}
|
|
41214
|
+
f = message.getPriorityOrder();
|
|
41215
|
+
if (f !== 0) {
|
|
41216
|
+
writer.writeInt32(
|
|
41217
|
+
3,
|
|
41218
|
+
f
|
|
41219
|
+
);
|
|
41220
|
+
}
|
|
41221
|
+
};
|
|
41222
|
+
|
|
41223
|
+
|
|
41224
|
+
/**
|
|
41225
|
+
* optional string instance_type = 1;
|
|
41226
|
+
* @return {string}
|
|
41227
|
+
*/
|
|
41228
|
+
proto.game.MultiScopeItemReference.prototype.getInstanceType = function() {
|
|
41229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
41230
|
+
};
|
|
41231
|
+
|
|
41232
|
+
|
|
41233
|
+
/**
|
|
41234
|
+
* @param {string} value
|
|
41235
|
+
* @return {!proto.game.MultiScopeItemReference} returns this
|
|
41236
|
+
*/
|
|
41237
|
+
proto.game.MultiScopeItemReference.prototype.setInstanceType = function(value) {
|
|
41238
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
41239
|
+
};
|
|
41240
|
+
|
|
41241
|
+
|
|
41242
|
+
/**
|
|
41243
|
+
* optional int32 instance_id = 2;
|
|
41244
|
+
* @return {number}
|
|
41245
|
+
*/
|
|
41246
|
+
proto.game.MultiScopeItemReference.prototype.getInstanceId = function() {
|
|
41247
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
41248
|
+
};
|
|
41249
|
+
|
|
41250
|
+
|
|
41251
|
+
/**
|
|
41252
|
+
* @param {number} value
|
|
41253
|
+
* @return {!proto.game.MultiScopeItemReference} returns this
|
|
41254
|
+
*/
|
|
41255
|
+
proto.game.MultiScopeItemReference.prototype.setInstanceId = function(value) {
|
|
41256
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41257
|
+
};
|
|
41258
|
+
|
|
41259
|
+
|
|
41260
|
+
/**
|
|
41261
|
+
* optional int32 priority_order = 3;
|
|
41262
|
+
* @return {number}
|
|
41263
|
+
*/
|
|
41264
|
+
proto.game.MultiScopeItemReference.prototype.getPriorityOrder = function() {
|
|
41265
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
41266
|
+
};
|
|
41267
|
+
|
|
41268
|
+
|
|
41269
|
+
/**
|
|
41270
|
+
* @param {number} value
|
|
41271
|
+
* @return {!proto.game.MultiScopeItemReference} returns this
|
|
41272
|
+
*/
|
|
41273
|
+
proto.game.MultiScopeItemReference.prototype.setPriorityOrder = function(value) {
|
|
41274
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
41275
|
+
};
|
|
41276
|
+
|
|
41277
|
+
|
|
41278
|
+
|
|
41279
|
+
|
|
41280
|
+
|
|
41281
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41282
|
+
/**
|
|
41283
|
+
* Creates an object representation of this proto.
|
|
41284
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41285
|
+
* Optional fields that are not set will be set to undefined.
|
|
41286
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41287
|
+
* For the list of reserved names please see:
|
|
41288
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41289
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41290
|
+
* JSPB instance for transitional soy proto support:
|
|
41291
|
+
* http://goto/soy-param-migration
|
|
41292
|
+
* @return {!Object}
|
|
41293
|
+
*/
|
|
41294
|
+
proto.game.MultiScopeCompositionItem.prototype.toObject = function(opt_includeInstance) {
|
|
41295
|
+
return proto.game.MultiScopeCompositionItem.toObject(opt_includeInstance, this);
|
|
41296
|
+
};
|
|
41297
|
+
|
|
41298
|
+
|
|
41299
|
+
/**
|
|
41300
|
+
* Static version of the {@see toObject} method.
|
|
41301
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41302
|
+
* the JSPB instance for transitional soy proto support:
|
|
41303
|
+
* http://goto/soy-param-migration
|
|
41304
|
+
* @param {!proto.game.MultiScopeCompositionItem} msg The msg instance to transform.
|
|
41305
|
+
* @return {!Object}
|
|
41306
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41307
|
+
*/
|
|
41308
|
+
proto.game.MultiScopeCompositionItem.toObject = function(includeInstance, msg) {
|
|
41309
|
+
var f, obj = {
|
|
41310
|
+
instanceType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
41311
|
+
instanceId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41312
|
+
priorityOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
41313
|
+
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
41314
|
+
slug: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
41315
|
+
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
41316
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
41317
|
+
icon: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
41318
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
41319
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
41320
|
+
};
|
|
41321
|
+
|
|
41322
|
+
if (includeInstance) {
|
|
41323
|
+
obj.$jspbMessageInstance = msg;
|
|
41324
|
+
}
|
|
41325
|
+
return obj;
|
|
41326
|
+
};
|
|
41327
|
+
}
|
|
41328
|
+
|
|
41329
|
+
|
|
41330
|
+
/**
|
|
41331
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41332
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41333
|
+
* @return {!proto.game.MultiScopeCompositionItem}
|
|
41334
|
+
*/
|
|
41335
|
+
proto.game.MultiScopeCompositionItem.deserializeBinary = function(bytes) {
|
|
41336
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41337
|
+
var msg = new proto.game.MultiScopeCompositionItem;
|
|
41338
|
+
return proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader(msg, reader);
|
|
41339
|
+
};
|
|
41340
|
+
|
|
41341
|
+
|
|
41342
|
+
/**
|
|
41343
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41344
|
+
* given reader into the given message object.
|
|
41345
|
+
* @param {!proto.game.MultiScopeCompositionItem} msg The message object to deserialize into.
|
|
41346
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41347
|
+
* @return {!proto.game.MultiScopeCompositionItem}
|
|
41348
|
+
*/
|
|
41349
|
+
proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
41350
|
+
while (reader.nextField()) {
|
|
41351
|
+
if (reader.isEndGroup()) {
|
|
41352
|
+
break;
|
|
41353
|
+
}
|
|
41354
|
+
var field = reader.getFieldNumber();
|
|
41355
|
+
switch (field) {
|
|
41356
|
+
case 1:
|
|
41129
41357
|
var value = /** @type {string} */ (reader.readString());
|
|
41130
|
-
msg.
|
|
41358
|
+
msg.setInstanceType(value);
|
|
41359
|
+
break;
|
|
41360
|
+
case 2:
|
|
41361
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41362
|
+
msg.setInstanceId(value);
|
|
41363
|
+
break;
|
|
41364
|
+
case 3:
|
|
41365
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41366
|
+
msg.setPriorityOrder(value);
|
|
41131
41367
|
break;
|
|
41132
41368
|
case 4:
|
|
41133
|
-
var value = /** @type {
|
|
41134
|
-
msg.
|
|
41369
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41370
|
+
msg.setTitle(value);
|
|
41135
41371
|
break;
|
|
41136
41372
|
case 5:
|
|
41137
41373
|
var value = /** @type {string} */ (reader.readString());
|
|
41138
|
-
msg.
|
|
41374
|
+
msg.setSlug(value);
|
|
41139
41375
|
break;
|
|
41140
41376
|
case 6:
|
|
41141
41377
|
var value = /** @type {string} */ (reader.readString());
|
|
41142
|
-
msg.
|
|
41378
|
+
msg.setImage(value);
|
|
41143
41379
|
break;
|
|
41144
41380
|
case 7:
|
|
41145
41381
|
var value = /** @type {string} */ (reader.readString());
|
|
41146
|
-
msg.
|
|
41382
|
+
msg.setImageCdn(value);
|
|
41147
41383
|
break;
|
|
41148
41384
|
case 8:
|
|
41385
|
+
var value = /** @type {string} */ (reader.readString());
|
|
41386
|
+
msg.setIcon(value);
|
|
41387
|
+
break;
|
|
41388
|
+
case 9:
|
|
41149
41389
|
var value = /** @type {string} */ (reader.readString());
|
|
41150
41390
|
msg.setIconCdn(value);
|
|
41151
41391
|
break;
|
|
41392
|
+
case 10:
|
|
41393
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
41394
|
+
msg.setIsActive(value);
|
|
41395
|
+
break;
|
|
41152
41396
|
default:
|
|
41153
41397
|
reader.skipField();
|
|
41154
41398
|
break;
|
|
@@ -41162,9 +41406,9 @@ proto.game.MultiScopeMember.deserializeBinaryFromReader = function(msg, reader)
|
|
|
41162
41406
|
* Serializes the message to binary data (in protobuf wire format).
|
|
41163
41407
|
* @return {!Uint8Array}
|
|
41164
41408
|
*/
|
|
41165
|
-
proto.game.
|
|
41409
|
+
proto.game.MultiScopeCompositionItem.prototype.serializeBinary = function() {
|
|
41166
41410
|
var writer = new jspb.BinaryWriter();
|
|
41167
|
-
proto.game.
|
|
41411
|
+
proto.game.MultiScopeCompositionItem.serializeBinaryToWriter(this, writer);
|
|
41168
41412
|
return writer.getResultBuffer();
|
|
41169
41413
|
};
|
|
41170
41414
|
|
|
@@ -41172,42 +41416,42 @@ proto.game.MultiScopeMember.prototype.serializeBinary = function() {
|
|
|
41172
41416
|
/**
|
|
41173
41417
|
* Serializes the given message to binary data (in protobuf wire
|
|
41174
41418
|
* format), writing to the given BinaryWriter.
|
|
41175
|
-
* @param {!proto.game.
|
|
41419
|
+
* @param {!proto.game.MultiScopeCompositionItem} message
|
|
41176
41420
|
* @param {!jspb.BinaryWriter} writer
|
|
41177
41421
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41178
41422
|
*/
|
|
41179
|
-
proto.game.
|
|
41423
|
+
proto.game.MultiScopeCompositionItem.serializeBinaryToWriter = function(message, writer) {
|
|
41180
41424
|
var f = undefined;
|
|
41181
|
-
f = message.
|
|
41182
|
-
if (f
|
|
41183
|
-
writer.
|
|
41425
|
+
f = message.getInstanceType();
|
|
41426
|
+
if (f.length > 0) {
|
|
41427
|
+
writer.writeString(
|
|
41184
41428
|
1,
|
|
41185
41429
|
f
|
|
41186
41430
|
);
|
|
41187
41431
|
}
|
|
41188
|
-
f = message.
|
|
41189
|
-
if (f
|
|
41190
|
-
writer.
|
|
41432
|
+
f = message.getInstanceId();
|
|
41433
|
+
if (f !== 0) {
|
|
41434
|
+
writer.writeInt32(
|
|
41191
41435
|
2,
|
|
41192
41436
|
f
|
|
41193
41437
|
);
|
|
41194
41438
|
}
|
|
41195
|
-
f = message.
|
|
41196
|
-
if (f
|
|
41197
|
-
writer.
|
|
41439
|
+
f = message.getPriorityOrder();
|
|
41440
|
+
if (f !== 0) {
|
|
41441
|
+
writer.writeInt32(
|
|
41198
41442
|
3,
|
|
41199
41443
|
f
|
|
41200
41444
|
);
|
|
41201
41445
|
}
|
|
41202
|
-
f = message.
|
|
41203
|
-
if (f) {
|
|
41204
|
-
writer.
|
|
41446
|
+
f = message.getTitle();
|
|
41447
|
+
if (f.length > 0) {
|
|
41448
|
+
writer.writeString(
|
|
41205
41449
|
4,
|
|
41206
41450
|
f
|
|
41207
41451
|
);
|
|
41208
41452
|
}
|
|
41209
|
-
f =
|
|
41210
|
-
if (f
|
|
41453
|
+
f = message.getSlug();
|
|
41454
|
+
if (f.length > 0) {
|
|
41211
41455
|
writer.writeString(
|
|
41212
41456
|
5,
|
|
41213
41457
|
f
|
|
@@ -41234,105 +41478,137 @@ proto.game.MultiScopeMember.serializeBinaryToWriter = function(message, writer)
|
|
|
41234
41478
|
f
|
|
41235
41479
|
);
|
|
41236
41480
|
}
|
|
41481
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
41482
|
+
if (f != null) {
|
|
41483
|
+
writer.writeString(
|
|
41484
|
+
9,
|
|
41485
|
+
f
|
|
41486
|
+
);
|
|
41487
|
+
}
|
|
41488
|
+
f = message.getIsActive();
|
|
41489
|
+
if (f) {
|
|
41490
|
+
writer.writeBool(
|
|
41491
|
+
10,
|
|
41492
|
+
f
|
|
41493
|
+
);
|
|
41494
|
+
}
|
|
41237
41495
|
};
|
|
41238
41496
|
|
|
41239
41497
|
|
|
41240
41498
|
/**
|
|
41241
|
-
* optional
|
|
41499
|
+
* optional string instance_type = 1;
|
|
41500
|
+
* @return {string}
|
|
41501
|
+
*/
|
|
41502
|
+
proto.game.MultiScopeCompositionItem.prototype.getInstanceType = function() {
|
|
41503
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
41504
|
+
};
|
|
41505
|
+
|
|
41506
|
+
|
|
41507
|
+
/**
|
|
41508
|
+
* @param {string} value
|
|
41509
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41510
|
+
*/
|
|
41511
|
+
proto.game.MultiScopeCompositionItem.prototype.setInstanceType = function(value) {
|
|
41512
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
41513
|
+
};
|
|
41514
|
+
|
|
41515
|
+
|
|
41516
|
+
/**
|
|
41517
|
+
* optional int32 instance_id = 2;
|
|
41242
41518
|
* @return {number}
|
|
41243
41519
|
*/
|
|
41244
|
-
proto.game.
|
|
41245
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
41520
|
+
proto.game.MultiScopeCompositionItem.prototype.getInstanceId = function() {
|
|
41521
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
41246
41522
|
};
|
|
41247
41523
|
|
|
41248
41524
|
|
|
41249
41525
|
/**
|
|
41250
41526
|
* @param {number} value
|
|
41251
|
-
* @return {!proto.game.
|
|
41527
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41252
41528
|
*/
|
|
41253
|
-
proto.game.
|
|
41254
|
-
return jspb.Message.setProto3IntField(this,
|
|
41529
|
+
proto.game.MultiScopeCompositionItem.prototype.setInstanceId = function(value) {
|
|
41530
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41255
41531
|
};
|
|
41256
41532
|
|
|
41257
41533
|
|
|
41258
41534
|
/**
|
|
41259
|
-
* optional
|
|
41260
|
-
* @return {
|
|
41535
|
+
* optional int32 priority_order = 3;
|
|
41536
|
+
* @return {number}
|
|
41261
41537
|
*/
|
|
41262
|
-
proto.game.
|
|
41263
|
-
return /** @type {
|
|
41538
|
+
proto.game.MultiScopeCompositionItem.prototype.getPriorityOrder = function() {
|
|
41539
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
41264
41540
|
};
|
|
41265
41541
|
|
|
41266
41542
|
|
|
41267
41543
|
/**
|
|
41268
|
-
* @param {
|
|
41269
|
-
* @return {!proto.game.
|
|
41544
|
+
* @param {number} value
|
|
41545
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41270
41546
|
*/
|
|
41271
|
-
proto.game.
|
|
41272
|
-
return jspb.Message.
|
|
41547
|
+
proto.game.MultiScopeCompositionItem.prototype.setPriorityOrder = function(value) {
|
|
41548
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
41273
41549
|
};
|
|
41274
41550
|
|
|
41275
41551
|
|
|
41276
41552
|
/**
|
|
41277
|
-
* optional string
|
|
41553
|
+
* optional string title = 4;
|
|
41278
41554
|
* @return {string}
|
|
41279
41555
|
*/
|
|
41280
|
-
proto.game.
|
|
41281
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
41556
|
+
proto.game.MultiScopeCompositionItem.prototype.getTitle = function() {
|
|
41557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
41282
41558
|
};
|
|
41283
41559
|
|
|
41284
41560
|
|
|
41285
41561
|
/**
|
|
41286
41562
|
* @param {string} value
|
|
41287
|
-
* @return {!proto.game.
|
|
41563
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41288
41564
|
*/
|
|
41289
|
-
proto.game.
|
|
41290
|
-
return jspb.Message.setProto3StringField(this,
|
|
41565
|
+
proto.game.MultiScopeCompositionItem.prototype.setTitle = function(value) {
|
|
41566
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
41291
41567
|
};
|
|
41292
41568
|
|
|
41293
41569
|
|
|
41294
41570
|
/**
|
|
41295
|
-
* optional
|
|
41296
|
-
* @return {
|
|
41571
|
+
* optional string slug = 5;
|
|
41572
|
+
* @return {string}
|
|
41297
41573
|
*/
|
|
41298
|
-
proto.game.
|
|
41299
|
-
return /** @type {
|
|
41574
|
+
proto.game.MultiScopeCompositionItem.prototype.getSlug = function() {
|
|
41575
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
41300
41576
|
};
|
|
41301
41577
|
|
|
41302
41578
|
|
|
41303
41579
|
/**
|
|
41304
|
-
* @param {
|
|
41305
|
-
* @return {!proto.game.
|
|
41580
|
+
* @param {string} value
|
|
41581
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41306
41582
|
*/
|
|
41307
|
-
proto.game.
|
|
41308
|
-
return jspb.Message.
|
|
41583
|
+
proto.game.MultiScopeCompositionItem.prototype.setSlug = function(value) {
|
|
41584
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
41309
41585
|
};
|
|
41310
41586
|
|
|
41311
41587
|
|
|
41312
41588
|
/**
|
|
41313
|
-
* optional string image =
|
|
41589
|
+
* optional string image = 6;
|
|
41314
41590
|
* @return {string}
|
|
41315
41591
|
*/
|
|
41316
|
-
proto.game.
|
|
41317
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
41592
|
+
proto.game.MultiScopeCompositionItem.prototype.getImage = function() {
|
|
41593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
41318
41594
|
};
|
|
41319
41595
|
|
|
41320
41596
|
|
|
41321
41597
|
/**
|
|
41322
41598
|
* @param {string} value
|
|
41323
|
-
* @return {!proto.game.
|
|
41599
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41324
41600
|
*/
|
|
41325
|
-
proto.game.
|
|
41326
|
-
return jspb.Message.setField(this,
|
|
41601
|
+
proto.game.MultiScopeCompositionItem.prototype.setImage = function(value) {
|
|
41602
|
+
return jspb.Message.setField(this, 6, value);
|
|
41327
41603
|
};
|
|
41328
41604
|
|
|
41329
41605
|
|
|
41330
41606
|
/**
|
|
41331
41607
|
* Clears the field making it undefined.
|
|
41332
|
-
* @return {!proto.game.
|
|
41608
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41333
41609
|
*/
|
|
41334
|
-
proto.game.
|
|
41335
|
-
return jspb.Message.setField(this,
|
|
41610
|
+
proto.game.MultiScopeCompositionItem.prototype.clearImage = function() {
|
|
41611
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
41336
41612
|
};
|
|
41337
41613
|
|
|
41338
41614
|
|
|
@@ -41340,35 +41616,35 @@ proto.game.MultiScopeMember.prototype.clearImage = function() {
|
|
|
41340
41616
|
* Returns whether this field is set.
|
|
41341
41617
|
* @return {boolean}
|
|
41342
41618
|
*/
|
|
41343
|
-
proto.game.
|
|
41344
|
-
return jspb.Message.getField(this,
|
|
41619
|
+
proto.game.MultiScopeCompositionItem.prototype.hasImage = function() {
|
|
41620
|
+
return jspb.Message.getField(this, 6) != null;
|
|
41345
41621
|
};
|
|
41346
41622
|
|
|
41347
41623
|
|
|
41348
41624
|
/**
|
|
41349
|
-
* optional string image_cdn =
|
|
41625
|
+
* optional string image_cdn = 7;
|
|
41350
41626
|
* @return {string}
|
|
41351
41627
|
*/
|
|
41352
|
-
proto.game.
|
|
41353
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
41628
|
+
proto.game.MultiScopeCompositionItem.prototype.getImageCdn = function() {
|
|
41629
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
41354
41630
|
};
|
|
41355
41631
|
|
|
41356
41632
|
|
|
41357
41633
|
/**
|
|
41358
41634
|
* @param {string} value
|
|
41359
|
-
* @return {!proto.game.
|
|
41635
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41360
41636
|
*/
|
|
41361
|
-
proto.game.
|
|
41362
|
-
return jspb.Message.setField(this,
|
|
41637
|
+
proto.game.MultiScopeCompositionItem.prototype.setImageCdn = function(value) {
|
|
41638
|
+
return jspb.Message.setField(this, 7, value);
|
|
41363
41639
|
};
|
|
41364
41640
|
|
|
41365
41641
|
|
|
41366
41642
|
/**
|
|
41367
41643
|
* Clears the field making it undefined.
|
|
41368
|
-
* @return {!proto.game.
|
|
41644
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41369
41645
|
*/
|
|
41370
|
-
proto.game.
|
|
41371
|
-
return jspb.Message.setField(this,
|
|
41646
|
+
proto.game.MultiScopeCompositionItem.prototype.clearImageCdn = function() {
|
|
41647
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
41372
41648
|
};
|
|
41373
41649
|
|
|
41374
41650
|
|
|
@@ -41376,35 +41652,35 @@ proto.game.MultiScopeMember.prototype.clearImageCdn = function() {
|
|
|
41376
41652
|
* Returns whether this field is set.
|
|
41377
41653
|
* @return {boolean}
|
|
41378
41654
|
*/
|
|
41379
|
-
proto.game.
|
|
41380
|
-
return jspb.Message.getField(this,
|
|
41655
|
+
proto.game.MultiScopeCompositionItem.prototype.hasImageCdn = function() {
|
|
41656
|
+
return jspb.Message.getField(this, 7) != null;
|
|
41381
41657
|
};
|
|
41382
41658
|
|
|
41383
41659
|
|
|
41384
41660
|
/**
|
|
41385
|
-
* optional string icon =
|
|
41661
|
+
* optional string icon = 8;
|
|
41386
41662
|
* @return {string}
|
|
41387
41663
|
*/
|
|
41388
|
-
proto.game.
|
|
41389
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
41664
|
+
proto.game.MultiScopeCompositionItem.prototype.getIcon = function() {
|
|
41665
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
41390
41666
|
};
|
|
41391
41667
|
|
|
41392
41668
|
|
|
41393
41669
|
/**
|
|
41394
41670
|
* @param {string} value
|
|
41395
|
-
* @return {!proto.game.
|
|
41671
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41396
41672
|
*/
|
|
41397
|
-
proto.game.
|
|
41398
|
-
return jspb.Message.setField(this,
|
|
41673
|
+
proto.game.MultiScopeCompositionItem.prototype.setIcon = function(value) {
|
|
41674
|
+
return jspb.Message.setField(this, 8, value);
|
|
41399
41675
|
};
|
|
41400
41676
|
|
|
41401
41677
|
|
|
41402
41678
|
/**
|
|
41403
41679
|
* Clears the field making it undefined.
|
|
41404
|
-
* @return {!proto.game.
|
|
41680
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41405
41681
|
*/
|
|
41406
|
-
proto.game.
|
|
41407
|
-
return jspb.Message.setField(this,
|
|
41682
|
+
proto.game.MultiScopeCompositionItem.prototype.clearIcon = function() {
|
|
41683
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
41408
41684
|
};
|
|
41409
41685
|
|
|
41410
41686
|
|
|
@@ -41412,35 +41688,35 @@ proto.game.MultiScopeMember.prototype.clearIcon = function() {
|
|
|
41412
41688
|
* Returns whether this field is set.
|
|
41413
41689
|
* @return {boolean}
|
|
41414
41690
|
*/
|
|
41415
|
-
proto.game.
|
|
41416
|
-
return jspb.Message.getField(this,
|
|
41691
|
+
proto.game.MultiScopeCompositionItem.prototype.hasIcon = function() {
|
|
41692
|
+
return jspb.Message.getField(this, 8) != null;
|
|
41417
41693
|
};
|
|
41418
41694
|
|
|
41419
41695
|
|
|
41420
41696
|
/**
|
|
41421
|
-
* optional string icon_cdn =
|
|
41697
|
+
* optional string icon_cdn = 9;
|
|
41422
41698
|
* @return {string}
|
|
41423
41699
|
*/
|
|
41424
|
-
proto.game.
|
|
41425
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
41700
|
+
proto.game.MultiScopeCompositionItem.prototype.getIconCdn = function() {
|
|
41701
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
41426
41702
|
};
|
|
41427
41703
|
|
|
41428
41704
|
|
|
41429
41705
|
/**
|
|
41430
41706
|
* @param {string} value
|
|
41431
|
-
* @return {!proto.game.
|
|
41707
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41432
41708
|
*/
|
|
41433
|
-
proto.game.
|
|
41434
|
-
return jspb.Message.setField(this,
|
|
41709
|
+
proto.game.MultiScopeCompositionItem.prototype.setIconCdn = function(value) {
|
|
41710
|
+
return jspb.Message.setField(this, 9, value);
|
|
41435
41711
|
};
|
|
41436
41712
|
|
|
41437
41713
|
|
|
41438
41714
|
/**
|
|
41439
41715
|
* Clears the field making it undefined.
|
|
41440
|
-
* @return {!proto.game.
|
|
41716
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41441
41717
|
*/
|
|
41442
|
-
proto.game.
|
|
41443
|
-
return jspb.Message.setField(this,
|
|
41718
|
+
proto.game.MultiScopeCompositionItem.prototype.clearIconCdn = function() {
|
|
41719
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
41444
41720
|
};
|
|
41445
41721
|
|
|
41446
41722
|
|
|
@@ -41448,8 +41724,186 @@ proto.game.MultiScopeMember.prototype.clearIconCdn = function() {
|
|
|
41448
41724
|
* Returns whether this field is set.
|
|
41449
41725
|
* @return {boolean}
|
|
41450
41726
|
*/
|
|
41451
|
-
proto.game.
|
|
41452
|
-
return jspb.Message.getField(this,
|
|
41727
|
+
proto.game.MultiScopeCompositionItem.prototype.hasIconCdn = function() {
|
|
41728
|
+
return jspb.Message.getField(this, 9) != null;
|
|
41729
|
+
};
|
|
41730
|
+
|
|
41731
|
+
|
|
41732
|
+
/**
|
|
41733
|
+
* optional bool is_active = 10;
|
|
41734
|
+
* @return {boolean}
|
|
41735
|
+
*/
|
|
41736
|
+
proto.game.MultiScopeCompositionItem.prototype.getIsActive = function() {
|
|
41737
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
41738
|
+
};
|
|
41739
|
+
|
|
41740
|
+
|
|
41741
|
+
/**
|
|
41742
|
+
* @param {boolean} value
|
|
41743
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
41744
|
+
*/
|
|
41745
|
+
proto.game.MultiScopeCompositionItem.prototype.setIsActive = function(value) {
|
|
41746
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
41747
|
+
};
|
|
41748
|
+
|
|
41749
|
+
|
|
41750
|
+
|
|
41751
|
+
/**
|
|
41752
|
+
* List of repeated fields within this message type.
|
|
41753
|
+
* @private {!Array<number>}
|
|
41754
|
+
* @const
|
|
41755
|
+
*/
|
|
41756
|
+
proto.game.MultiScopeCompositionResponse.repeatedFields_ = [1];
|
|
41757
|
+
|
|
41758
|
+
|
|
41759
|
+
|
|
41760
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41761
|
+
/**
|
|
41762
|
+
* Creates an object representation of this proto.
|
|
41763
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41764
|
+
* Optional fields that are not set will be set to undefined.
|
|
41765
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41766
|
+
* For the list of reserved names please see:
|
|
41767
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41768
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41769
|
+
* JSPB instance for transitional soy proto support:
|
|
41770
|
+
* http://goto/soy-param-migration
|
|
41771
|
+
* @return {!Object}
|
|
41772
|
+
*/
|
|
41773
|
+
proto.game.MultiScopeCompositionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
41774
|
+
return proto.game.MultiScopeCompositionResponse.toObject(opt_includeInstance, this);
|
|
41775
|
+
};
|
|
41776
|
+
|
|
41777
|
+
|
|
41778
|
+
/**
|
|
41779
|
+
* Static version of the {@see toObject} method.
|
|
41780
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41781
|
+
* the JSPB instance for transitional soy proto support:
|
|
41782
|
+
* http://goto/soy-param-migration
|
|
41783
|
+
* @param {!proto.game.MultiScopeCompositionResponse} msg The msg instance to transform.
|
|
41784
|
+
* @return {!Object}
|
|
41785
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41786
|
+
*/
|
|
41787
|
+
proto.game.MultiScopeCompositionResponse.toObject = function(includeInstance, msg) {
|
|
41788
|
+
var f, obj = {
|
|
41789
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
41790
|
+
proto.game.MultiScopeCompositionItem.toObject, includeInstance)
|
|
41791
|
+
};
|
|
41792
|
+
|
|
41793
|
+
if (includeInstance) {
|
|
41794
|
+
obj.$jspbMessageInstance = msg;
|
|
41795
|
+
}
|
|
41796
|
+
return obj;
|
|
41797
|
+
};
|
|
41798
|
+
}
|
|
41799
|
+
|
|
41800
|
+
|
|
41801
|
+
/**
|
|
41802
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41803
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41804
|
+
* @return {!proto.game.MultiScopeCompositionResponse}
|
|
41805
|
+
*/
|
|
41806
|
+
proto.game.MultiScopeCompositionResponse.deserializeBinary = function(bytes) {
|
|
41807
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41808
|
+
var msg = new proto.game.MultiScopeCompositionResponse;
|
|
41809
|
+
return proto.game.MultiScopeCompositionResponse.deserializeBinaryFromReader(msg, reader);
|
|
41810
|
+
};
|
|
41811
|
+
|
|
41812
|
+
|
|
41813
|
+
/**
|
|
41814
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41815
|
+
* given reader into the given message object.
|
|
41816
|
+
* @param {!proto.game.MultiScopeCompositionResponse} msg The message object to deserialize into.
|
|
41817
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41818
|
+
* @return {!proto.game.MultiScopeCompositionResponse}
|
|
41819
|
+
*/
|
|
41820
|
+
proto.game.MultiScopeCompositionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
41821
|
+
while (reader.nextField()) {
|
|
41822
|
+
if (reader.isEndGroup()) {
|
|
41823
|
+
break;
|
|
41824
|
+
}
|
|
41825
|
+
var field = reader.getFieldNumber();
|
|
41826
|
+
switch (field) {
|
|
41827
|
+
case 1:
|
|
41828
|
+
var value = new proto.game.MultiScopeCompositionItem;
|
|
41829
|
+
reader.readMessage(value,proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader);
|
|
41830
|
+
msg.addItems(value);
|
|
41831
|
+
break;
|
|
41832
|
+
default:
|
|
41833
|
+
reader.skipField();
|
|
41834
|
+
break;
|
|
41835
|
+
}
|
|
41836
|
+
}
|
|
41837
|
+
return msg;
|
|
41838
|
+
};
|
|
41839
|
+
|
|
41840
|
+
|
|
41841
|
+
/**
|
|
41842
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41843
|
+
* @return {!Uint8Array}
|
|
41844
|
+
*/
|
|
41845
|
+
proto.game.MultiScopeCompositionResponse.prototype.serializeBinary = function() {
|
|
41846
|
+
var writer = new jspb.BinaryWriter();
|
|
41847
|
+
proto.game.MultiScopeCompositionResponse.serializeBinaryToWriter(this, writer);
|
|
41848
|
+
return writer.getResultBuffer();
|
|
41849
|
+
};
|
|
41850
|
+
|
|
41851
|
+
|
|
41852
|
+
/**
|
|
41853
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41854
|
+
* format), writing to the given BinaryWriter.
|
|
41855
|
+
* @param {!proto.game.MultiScopeCompositionResponse} message
|
|
41856
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41857
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41858
|
+
*/
|
|
41859
|
+
proto.game.MultiScopeCompositionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
41860
|
+
var f = undefined;
|
|
41861
|
+
f = message.getItemsList();
|
|
41862
|
+
if (f.length > 0) {
|
|
41863
|
+
writer.writeRepeatedMessage(
|
|
41864
|
+
1,
|
|
41865
|
+
f,
|
|
41866
|
+
proto.game.MultiScopeCompositionItem.serializeBinaryToWriter
|
|
41867
|
+
);
|
|
41868
|
+
}
|
|
41869
|
+
};
|
|
41870
|
+
|
|
41871
|
+
|
|
41872
|
+
/**
|
|
41873
|
+
* repeated MultiScopeCompositionItem items = 1;
|
|
41874
|
+
* @return {!Array<!proto.game.MultiScopeCompositionItem>}
|
|
41875
|
+
*/
|
|
41876
|
+
proto.game.MultiScopeCompositionResponse.prototype.getItemsList = function() {
|
|
41877
|
+
return /** @type{!Array<!proto.game.MultiScopeCompositionItem>} */ (
|
|
41878
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeCompositionItem, 1));
|
|
41879
|
+
};
|
|
41880
|
+
|
|
41881
|
+
|
|
41882
|
+
/**
|
|
41883
|
+
* @param {!Array<!proto.game.MultiScopeCompositionItem>} value
|
|
41884
|
+
* @return {!proto.game.MultiScopeCompositionResponse} returns this
|
|
41885
|
+
*/
|
|
41886
|
+
proto.game.MultiScopeCompositionResponse.prototype.setItemsList = function(value) {
|
|
41887
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
41888
|
+
};
|
|
41889
|
+
|
|
41890
|
+
|
|
41891
|
+
/**
|
|
41892
|
+
* @param {!proto.game.MultiScopeCompositionItem=} opt_value
|
|
41893
|
+
* @param {number=} opt_index
|
|
41894
|
+
* @return {!proto.game.MultiScopeCompositionItem}
|
|
41895
|
+
*/
|
|
41896
|
+
proto.game.MultiScopeCompositionResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
41897
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.MultiScopeCompositionItem, opt_index);
|
|
41898
|
+
};
|
|
41899
|
+
|
|
41900
|
+
|
|
41901
|
+
/**
|
|
41902
|
+
* Clears the list making it empty but non-null.
|
|
41903
|
+
* @return {!proto.game.MultiScopeCompositionResponse} returns this
|
|
41904
|
+
*/
|
|
41905
|
+
proto.game.MultiScopeCompositionResponse.prototype.clearItemsList = function() {
|
|
41906
|
+
return this.setItemsList([]);
|
|
41453
41907
|
};
|
|
41454
41908
|
|
|
41455
41909
|
|
|
@@ -41459,7 +41913,7 @@ proto.game.MultiScopeMember.prototype.hasIconCdn = function() {
|
|
|
41459
41913
|
* @private {!Array<number>}
|
|
41460
41914
|
* @const
|
|
41461
41915
|
*/
|
|
41462
|
-
proto.game.MultiScopeItem.repeatedFields_ = [
|
|
41916
|
+
proto.game.MultiScopeItem.repeatedFields_ = [13];
|
|
41463
41917
|
|
|
41464
41918
|
|
|
41465
41919
|
|
|
@@ -41502,10 +41956,8 @@ proto.game.MultiScopeItem.toObject = function(includeInstance, msg) {
|
|
|
41502
41956
|
iconCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
41503
41957
|
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
41504
41958
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
41505
|
-
|
|
41506
|
-
proto.game.
|
|
41507
|
-
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
41508
|
-
proto.game.MultiScopeMember.toObject, includeInstance)
|
|
41959
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
41960
|
+
proto.game.MultiScopeCompositionItem.toObject, includeInstance)
|
|
41509
41961
|
};
|
|
41510
41962
|
|
|
41511
41963
|
if (includeInstance) {
|
|
@@ -41582,15 +42034,10 @@ proto.game.MultiScopeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
41582
42034
|
var value = /** @type {string} */ (reader.readString());
|
|
41583
42035
|
msg.setUpdatedAt(value);
|
|
41584
42036
|
break;
|
|
41585
|
-
case
|
|
41586
|
-
var value = new proto.game.
|
|
41587
|
-
reader.readMessage(value,proto.game.
|
|
41588
|
-
msg.
|
|
41589
|
-
break;
|
|
41590
|
-
case 12:
|
|
41591
|
-
var value = new proto.game.MultiScopeMember;
|
|
41592
|
-
reader.readMessage(value,proto.game.MultiScopeMember.deserializeBinaryFromReader);
|
|
41593
|
-
msg.addTags(value);
|
|
42037
|
+
case 13:
|
|
42038
|
+
var value = new proto.game.MultiScopeCompositionItem;
|
|
42039
|
+
reader.readMessage(value,proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader);
|
|
42040
|
+
msg.addItems(value);
|
|
41594
42041
|
break;
|
|
41595
42042
|
default:
|
|
41596
42043
|
reader.skipField();
|
|
@@ -41691,20 +42138,12 @@ proto.game.MultiScopeItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
41691
42138
|
f
|
|
41692
42139
|
);
|
|
41693
42140
|
}
|
|
41694
|
-
f = message.
|
|
41695
|
-
if (f.length > 0) {
|
|
41696
|
-
writer.writeRepeatedMessage(
|
|
41697
|
-
11,
|
|
41698
|
-
f,
|
|
41699
|
-
proto.game.MultiScopeMember.serializeBinaryToWriter
|
|
41700
|
-
);
|
|
41701
|
-
}
|
|
41702
|
-
f = message.getTagsList();
|
|
42141
|
+
f = message.getItemsList();
|
|
41703
42142
|
if (f.length > 0) {
|
|
41704
42143
|
writer.writeRepeatedMessage(
|
|
41705
|
-
|
|
42144
|
+
13,
|
|
41706
42145
|
f,
|
|
41707
|
-
proto.game.
|
|
42146
|
+
proto.game.MultiScopeCompositionItem.serializeBinaryToWriter
|
|
41708
42147
|
);
|
|
41709
42148
|
}
|
|
41710
42149
|
};
|
|
@@ -41963,69 +42402,31 @@ proto.game.MultiScopeItem.prototype.setUpdatedAt = function(value) {
|
|
|
41963
42402
|
|
|
41964
42403
|
|
|
41965
42404
|
/**
|
|
41966
|
-
* repeated
|
|
41967
|
-
* @return {!Array<!proto.game.
|
|
42405
|
+
* repeated MultiScopeCompositionItem items = 13;
|
|
42406
|
+
* @return {!Array<!proto.game.MultiScopeCompositionItem>}
|
|
41968
42407
|
*/
|
|
41969
|
-
proto.game.MultiScopeItem.prototype.
|
|
41970
|
-
return /** @type{!Array<!proto.game.
|
|
41971
|
-
jspb.Message.getRepeatedWrapperField(this, proto.game.
|
|
42408
|
+
proto.game.MultiScopeItem.prototype.getItemsList = function() {
|
|
42409
|
+
return /** @type{!Array<!proto.game.MultiScopeCompositionItem>} */ (
|
|
42410
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeCompositionItem, 13));
|
|
41972
42411
|
};
|
|
41973
42412
|
|
|
41974
42413
|
|
|
41975
42414
|
/**
|
|
41976
|
-
* @param {!Array<!proto.game.
|
|
42415
|
+
* @param {!Array<!proto.game.MultiScopeCompositionItem>} value
|
|
41977
42416
|
* @return {!proto.game.MultiScopeItem} returns this
|
|
41978
42417
|
*/
|
|
41979
|
-
proto.game.MultiScopeItem.prototype.
|
|
41980
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
41981
|
-
};
|
|
41982
|
-
|
|
41983
|
-
|
|
41984
|
-
/**
|
|
41985
|
-
* @param {!proto.game.MultiScopeMember=} opt_value
|
|
41986
|
-
* @param {number=} opt_index
|
|
41987
|
-
* @return {!proto.game.MultiScopeMember}
|
|
41988
|
-
*/
|
|
41989
|
-
proto.game.MultiScopeItem.prototype.addCollections = function(opt_value, opt_index) {
|
|
41990
|
-
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.game.MultiScopeMember, opt_index);
|
|
41991
|
-
};
|
|
41992
|
-
|
|
41993
|
-
|
|
41994
|
-
/**
|
|
41995
|
-
* Clears the list making it empty but non-null.
|
|
41996
|
-
* @return {!proto.game.MultiScopeItem} returns this
|
|
41997
|
-
*/
|
|
41998
|
-
proto.game.MultiScopeItem.prototype.clearCollectionsList = function() {
|
|
41999
|
-
return this.setCollectionsList([]);
|
|
42000
|
-
};
|
|
42001
|
-
|
|
42002
|
-
|
|
42003
|
-
/**
|
|
42004
|
-
* repeated MultiScopeMember tags = 12;
|
|
42005
|
-
* @return {!Array<!proto.game.MultiScopeMember>}
|
|
42006
|
-
*/
|
|
42007
|
-
proto.game.MultiScopeItem.prototype.getTagsList = function() {
|
|
42008
|
-
return /** @type{!Array<!proto.game.MultiScopeMember>} */ (
|
|
42009
|
-
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeMember, 12));
|
|
42010
|
-
};
|
|
42011
|
-
|
|
42012
|
-
|
|
42013
|
-
/**
|
|
42014
|
-
* @param {!Array<!proto.game.MultiScopeMember>} value
|
|
42015
|
-
* @return {!proto.game.MultiScopeItem} returns this
|
|
42016
|
-
*/
|
|
42017
|
-
proto.game.MultiScopeItem.prototype.setTagsList = function(value) {
|
|
42018
|
-
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
42418
|
+
proto.game.MultiScopeItem.prototype.setItemsList = function(value) {
|
|
42419
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
42019
42420
|
};
|
|
42020
42421
|
|
|
42021
42422
|
|
|
42022
42423
|
/**
|
|
42023
|
-
* @param {!proto.game.
|
|
42424
|
+
* @param {!proto.game.MultiScopeCompositionItem=} opt_value
|
|
42024
42425
|
* @param {number=} opt_index
|
|
42025
|
-
* @return {!proto.game.
|
|
42426
|
+
* @return {!proto.game.MultiScopeCompositionItem}
|
|
42026
42427
|
*/
|
|
42027
|
-
proto.game.MultiScopeItem.prototype.
|
|
42028
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
42428
|
+
proto.game.MultiScopeItem.prototype.addItems = function(opt_value, opt_index) {
|
|
42429
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.game.MultiScopeCompositionItem, opt_index);
|
|
42029
42430
|
};
|
|
42030
42431
|
|
|
42031
42432
|
|
|
@@ -42033,8 +42434,8 @@ proto.game.MultiScopeItem.prototype.addTags = function(opt_value, opt_index) {
|
|
|
42033
42434
|
* Clears the list making it empty but non-null.
|
|
42034
42435
|
* @return {!proto.game.MultiScopeItem} returns this
|
|
42035
42436
|
*/
|
|
42036
|
-
proto.game.MultiScopeItem.prototype.
|
|
42037
|
-
return this.
|
|
42437
|
+
proto.game.MultiScopeItem.prototype.clearItemsList = function() {
|
|
42438
|
+
return this.setItemsList([]);
|
|
42038
42439
|
};
|
|
42039
42440
|
|
|
42040
42441
|
|
|
@@ -43156,7 +43557,7 @@ proto.game.MultiScopeListRequest.prototype.clearIdsList = function() {
|
|
|
43156
43557
|
* @private {!Array<number>}
|
|
43157
43558
|
* @const
|
|
43158
43559
|
*/
|
|
43159
|
-
proto.game.
|
|
43560
|
+
proto.game.MultiScopeSetItemsRequest.repeatedFields_ = [2];
|
|
43160
43561
|
|
|
43161
43562
|
|
|
43162
43563
|
|
|
@@ -43173,8 +43574,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43173
43574
|
* http://goto/soy-param-migration
|
|
43174
43575
|
* @return {!Object}
|
|
43175
43576
|
*/
|
|
43176
|
-
proto.game.
|
|
43177
|
-
return proto.game.
|
|
43577
|
+
proto.game.MultiScopeSetItemsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43578
|
+
return proto.game.MultiScopeSetItemsRequest.toObject(opt_includeInstance, this);
|
|
43178
43579
|
};
|
|
43179
43580
|
|
|
43180
43581
|
|
|
@@ -43183,15 +43584,15 @@ proto.game.MultiScopeMembersRequest.prototype.toObject = function(opt_includeIns
|
|
|
43183
43584
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43184
43585
|
* the JSPB instance for transitional soy proto support:
|
|
43185
43586
|
* http://goto/soy-param-migration
|
|
43186
|
-
* @param {!proto.game.
|
|
43587
|
+
* @param {!proto.game.MultiScopeSetItemsRequest} msg The msg instance to transform.
|
|
43187
43588
|
* @return {!Object}
|
|
43188
43589
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43189
43590
|
*/
|
|
43190
|
-
proto.game.
|
|
43591
|
+
proto.game.MultiScopeSetItemsRequest.toObject = function(includeInstance, msg) {
|
|
43191
43592
|
var f, obj = {
|
|
43192
43593
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43193
|
-
|
|
43194
|
-
|
|
43594
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
43595
|
+
proto.game.MultiScopeItemReference.toObject, includeInstance)
|
|
43195
43596
|
};
|
|
43196
43597
|
|
|
43197
43598
|
if (includeInstance) {
|
|
@@ -43205,23 +43606,23 @@ proto.game.MultiScopeMembersRequest.toObject = function(includeInstance, msg) {
|
|
|
43205
43606
|
/**
|
|
43206
43607
|
* Deserializes binary data (in protobuf wire format).
|
|
43207
43608
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43208
|
-
* @return {!proto.game.
|
|
43609
|
+
* @return {!proto.game.MultiScopeSetItemsRequest}
|
|
43209
43610
|
*/
|
|
43210
|
-
proto.game.
|
|
43611
|
+
proto.game.MultiScopeSetItemsRequest.deserializeBinary = function(bytes) {
|
|
43211
43612
|
var reader = new jspb.BinaryReader(bytes);
|
|
43212
|
-
var msg = new proto.game.
|
|
43213
|
-
return proto.game.
|
|
43613
|
+
var msg = new proto.game.MultiScopeSetItemsRequest;
|
|
43614
|
+
return proto.game.MultiScopeSetItemsRequest.deserializeBinaryFromReader(msg, reader);
|
|
43214
43615
|
};
|
|
43215
43616
|
|
|
43216
43617
|
|
|
43217
43618
|
/**
|
|
43218
43619
|
* Deserializes binary data (in protobuf wire format) from the
|
|
43219
43620
|
* given reader into the given message object.
|
|
43220
|
-
* @param {!proto.game.
|
|
43621
|
+
* @param {!proto.game.MultiScopeSetItemsRequest} msg The message object to deserialize into.
|
|
43221
43622
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43222
|
-
* @return {!proto.game.
|
|
43623
|
+
* @return {!proto.game.MultiScopeSetItemsRequest}
|
|
43223
43624
|
*/
|
|
43224
|
-
proto.game.
|
|
43625
|
+
proto.game.MultiScopeSetItemsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43225
43626
|
while (reader.nextField()) {
|
|
43226
43627
|
if (reader.isEndGroup()) {
|
|
43227
43628
|
break;
|
|
@@ -43233,16 +43634,9 @@ proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader = function(msg,
|
|
|
43233
43634
|
msg.setId(value);
|
|
43234
43635
|
break;
|
|
43235
43636
|
case 2:
|
|
43236
|
-
var
|
|
43237
|
-
|
|
43238
|
-
|
|
43239
|
-
}
|
|
43240
|
-
break;
|
|
43241
|
-
case 3:
|
|
43242
|
-
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
43243
|
-
for (var i = 0; i < values.length; i++) {
|
|
43244
|
-
msg.addTagIds(values[i]);
|
|
43245
|
-
}
|
|
43637
|
+
var value = new proto.game.MultiScopeItemReference;
|
|
43638
|
+
reader.readMessage(value,proto.game.MultiScopeItemReference.deserializeBinaryFromReader);
|
|
43639
|
+
msg.addItems(value);
|
|
43246
43640
|
break;
|
|
43247
43641
|
default:
|
|
43248
43642
|
reader.skipField();
|
|
@@ -43257,9 +43651,9 @@ proto.game.MultiScopeMembersRequest.deserializeBinaryFromReader = function(msg,
|
|
|
43257
43651
|
* Serializes the message to binary data (in protobuf wire format).
|
|
43258
43652
|
* @return {!Uint8Array}
|
|
43259
43653
|
*/
|
|
43260
|
-
proto.game.
|
|
43654
|
+
proto.game.MultiScopeSetItemsRequest.prototype.serializeBinary = function() {
|
|
43261
43655
|
var writer = new jspb.BinaryWriter();
|
|
43262
|
-
proto.game.
|
|
43656
|
+
proto.game.MultiScopeSetItemsRequest.serializeBinaryToWriter(this, writer);
|
|
43263
43657
|
return writer.getResultBuffer();
|
|
43264
43658
|
};
|
|
43265
43659
|
|
|
@@ -43267,11 +43661,11 @@ proto.game.MultiScopeMembersRequest.prototype.serializeBinary = function() {
|
|
|
43267
43661
|
/**
|
|
43268
43662
|
* Serializes the given message to binary data (in protobuf wire
|
|
43269
43663
|
* format), writing to the given BinaryWriter.
|
|
43270
|
-
* @param {!proto.game.
|
|
43664
|
+
* @param {!proto.game.MultiScopeSetItemsRequest} message
|
|
43271
43665
|
* @param {!jspb.BinaryWriter} writer
|
|
43272
43666
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43273
43667
|
*/
|
|
43274
|
-
proto.game.
|
|
43668
|
+
proto.game.MultiScopeSetItemsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43275
43669
|
var f = undefined;
|
|
43276
43670
|
f = message.getId();
|
|
43277
43671
|
if (f !== 0) {
|
|
@@ -43280,18 +43674,12 @@ proto.game.MultiScopeMembersRequest.serializeBinaryToWriter = function(message,
|
|
|
43280
43674
|
f
|
|
43281
43675
|
);
|
|
43282
43676
|
}
|
|
43283
|
-
f = message.
|
|
43677
|
+
f = message.getItemsList();
|
|
43284
43678
|
if (f.length > 0) {
|
|
43285
|
-
writer.
|
|
43679
|
+
writer.writeRepeatedMessage(
|
|
43286
43680
|
2,
|
|
43287
|
-
f
|
|
43288
|
-
|
|
43289
|
-
}
|
|
43290
|
-
f = message.getTagIdsList();
|
|
43291
|
-
if (f.length > 0) {
|
|
43292
|
-
writer.writePackedInt32(
|
|
43293
|
-
3,
|
|
43294
|
-
f
|
|
43681
|
+
f,
|
|
43682
|
+
proto.game.MultiScopeItemReference.serializeBinaryToWriter
|
|
43295
43683
|
);
|
|
43296
43684
|
}
|
|
43297
43685
|
};
|
|
@@ -43301,91 +43689,55 @@ proto.game.MultiScopeMembersRequest.serializeBinaryToWriter = function(message,
|
|
|
43301
43689
|
* optional int32 id = 1;
|
|
43302
43690
|
* @return {number}
|
|
43303
43691
|
*/
|
|
43304
|
-
proto.game.
|
|
43692
|
+
proto.game.MultiScopeSetItemsRequest.prototype.getId = function() {
|
|
43305
43693
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
43306
43694
|
};
|
|
43307
43695
|
|
|
43308
43696
|
|
|
43309
43697
|
/**
|
|
43310
43698
|
* @param {number} value
|
|
43311
|
-
* @return {!proto.game.
|
|
43699
|
+
* @return {!proto.game.MultiScopeSetItemsRequest} returns this
|
|
43312
43700
|
*/
|
|
43313
|
-
proto.game.
|
|
43701
|
+
proto.game.MultiScopeSetItemsRequest.prototype.setId = function(value) {
|
|
43314
43702
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
43315
43703
|
};
|
|
43316
43704
|
|
|
43317
43705
|
|
|
43318
43706
|
/**
|
|
43319
|
-
* repeated
|
|
43320
|
-
* @return {!Array
|
|
43321
|
-
*/
|
|
43322
|
-
proto.game.MultiScopeMembersRequest.prototype.getCollectionIdsList = function() {
|
|
43323
|
-
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
43324
|
-
};
|
|
43325
|
-
|
|
43326
|
-
|
|
43327
|
-
/**
|
|
43328
|
-
* @param {!Array<number>} value
|
|
43329
|
-
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43330
|
-
*/
|
|
43331
|
-
proto.game.MultiScopeMembersRequest.prototype.setCollectionIdsList = function(value) {
|
|
43332
|
-
return jspb.Message.setField(this, 2, value || []);
|
|
43333
|
-
};
|
|
43334
|
-
|
|
43335
|
-
|
|
43336
|
-
/**
|
|
43337
|
-
* @param {number} value
|
|
43338
|
-
* @param {number=} opt_index
|
|
43339
|
-
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43707
|
+
* repeated MultiScopeItemReference items = 2;
|
|
43708
|
+
* @return {!Array<!proto.game.MultiScopeItemReference>}
|
|
43340
43709
|
*/
|
|
43341
|
-
proto.game.
|
|
43342
|
-
return
|
|
43710
|
+
proto.game.MultiScopeSetItemsRequest.prototype.getItemsList = function() {
|
|
43711
|
+
return /** @type{!Array<!proto.game.MultiScopeItemReference>} */ (
|
|
43712
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.MultiScopeItemReference, 2));
|
|
43343
43713
|
};
|
|
43344
43714
|
|
|
43345
43715
|
|
|
43346
43716
|
/**
|
|
43347
|
-
*
|
|
43348
|
-
* @return {!proto.game.
|
|
43349
|
-
|
|
43350
|
-
proto.game.
|
|
43351
|
-
return
|
|
43352
|
-
};
|
|
43353
|
-
|
|
43354
|
-
|
|
43355
|
-
/**
|
|
43356
|
-
* repeated int32 tag_ids = 3;
|
|
43357
|
-
* @return {!Array<number>}
|
|
43358
|
-
*/
|
|
43359
|
-
proto.game.MultiScopeMembersRequest.prototype.getTagIdsList = function() {
|
|
43360
|
-
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
43361
|
-
};
|
|
43362
|
-
|
|
43363
|
-
|
|
43364
|
-
/**
|
|
43365
|
-
* @param {!Array<number>} value
|
|
43366
|
-
* @return {!proto.game.MultiScopeMembersRequest} returns this
|
|
43367
|
-
*/
|
|
43368
|
-
proto.game.MultiScopeMembersRequest.prototype.setTagIdsList = function(value) {
|
|
43369
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
43717
|
+
* @param {!Array<!proto.game.MultiScopeItemReference>} value
|
|
43718
|
+
* @return {!proto.game.MultiScopeSetItemsRequest} returns this
|
|
43719
|
+
*/
|
|
43720
|
+
proto.game.MultiScopeSetItemsRequest.prototype.setItemsList = function(value) {
|
|
43721
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
43370
43722
|
};
|
|
43371
43723
|
|
|
43372
43724
|
|
|
43373
43725
|
/**
|
|
43374
|
-
* @param {
|
|
43726
|
+
* @param {!proto.game.MultiScopeItemReference=} opt_value
|
|
43375
43727
|
* @param {number=} opt_index
|
|
43376
|
-
* @return {!proto.game.
|
|
43728
|
+
* @return {!proto.game.MultiScopeItemReference}
|
|
43377
43729
|
*/
|
|
43378
|
-
proto.game.
|
|
43379
|
-
return jspb.Message.
|
|
43730
|
+
proto.game.MultiScopeSetItemsRequest.prototype.addItems = function(opt_value, opt_index) {
|
|
43731
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.game.MultiScopeItemReference, opt_index);
|
|
43380
43732
|
};
|
|
43381
43733
|
|
|
43382
43734
|
|
|
43383
43735
|
/**
|
|
43384
43736
|
* Clears the list making it empty but non-null.
|
|
43385
|
-
* @return {!proto.game.
|
|
43737
|
+
* @return {!proto.game.MultiScopeSetItemsRequest} returns this
|
|
43386
43738
|
*/
|
|
43387
|
-
proto.game.
|
|
43388
|
-
return this.
|
|
43739
|
+
proto.game.MultiScopeSetItemsRequest.prototype.clearItemsList = function() {
|
|
43740
|
+
return this.setItemsList([]);
|
|
43389
43741
|
};
|
|
43390
43742
|
|
|
43391
43743
|
|