@tf2pickup-org/mumble-protocol 1.0.2 → 1.0.4
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/CHANGELOG.md +17 -1
- package/dist/Mumble.d.ts +20 -15
- package/dist/Mumble.js +135 -120
- package/dist/Mumble.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
package/dist/Mumble.js
CHANGED
|
@@ -5,7 +5,6 @@ const runtime_1 = require("@protobuf-ts/runtime");
|
|
|
5
5
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
7
7
|
const runtime_4 = require("@protobuf-ts/runtime");
|
|
8
|
-
const runtime_5 = require("@protobuf-ts/runtime");
|
|
9
8
|
/**
|
|
10
9
|
* @generated from protobuf enum MumbleProto.Reject.RejectType
|
|
11
10
|
*/
|
|
@@ -200,18 +199,18 @@ var ContextActionModify_Operation;
|
|
|
200
199
|
ContextActionModify_Operation[ContextActionModify_Operation["Remove"] = 1] = "Remove";
|
|
201
200
|
})(ContextActionModify_Operation || (exports.ContextActionModify_Operation = ContextActionModify_Operation = {}));
|
|
202
201
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
203
|
-
class Version$Type extends
|
|
202
|
+
class Version$Type extends runtime_4.MessageType {
|
|
204
203
|
constructor() {
|
|
205
204
|
super("MumbleProto.Version", [
|
|
206
|
-
{ no: 1, name: "
|
|
205
|
+
{ no: 1, name: "version_v1", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
206
|
+
{ no: 5, name: "version_v2", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
207
207
|
{ no: 2, name: "release", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
208
208
|
{ no: 3, name: "os", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
209
209
|
{ no: 4, name: "os_version", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
210
210
|
]);
|
|
211
211
|
}
|
|
212
212
|
create(value) {
|
|
213
|
-
const message =
|
|
214
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
213
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
215
214
|
if (value !== undefined)
|
|
216
215
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
217
216
|
return message;
|
|
@@ -221,8 +220,11 @@ class Version$Type extends runtime_5.MessageType {
|
|
|
221
220
|
while (reader.pos < end) {
|
|
222
221
|
let [fieldNo, wireType] = reader.tag();
|
|
223
222
|
switch (fieldNo) {
|
|
224
|
-
case /* optional uint32
|
|
225
|
-
message.
|
|
223
|
+
case /* optional uint32 version_v1 */ 1:
|
|
224
|
+
message.versionV1 = reader.uint32();
|
|
225
|
+
break;
|
|
226
|
+
case /* optional uint64 version_v2 */ 5:
|
|
227
|
+
message.versionV2 = reader.uint64().toBigInt();
|
|
226
228
|
break;
|
|
227
229
|
case /* optional string release */ 2:
|
|
228
230
|
message.release = reader.string();
|
|
@@ -245,9 +247,12 @@ class Version$Type extends runtime_5.MessageType {
|
|
|
245
247
|
return message;
|
|
246
248
|
}
|
|
247
249
|
internalBinaryWrite(message, writer, options) {
|
|
248
|
-
/* optional uint32
|
|
249
|
-
if (message.
|
|
250
|
-
writer.tag(1, runtime_1.WireType.Varint).uint32(message.
|
|
250
|
+
/* optional uint32 version_v1 = 1; */
|
|
251
|
+
if (message.versionV1 !== undefined)
|
|
252
|
+
writer.tag(1, runtime_1.WireType.Varint).uint32(message.versionV1);
|
|
253
|
+
/* optional uint64 version_v2 = 5; */
|
|
254
|
+
if (message.versionV2 !== undefined)
|
|
255
|
+
writer.tag(5, runtime_1.WireType.Varint).uint64(message.versionV2);
|
|
251
256
|
/* optional string release = 2; */
|
|
252
257
|
if (message.release !== undefined)
|
|
253
258
|
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.release);
|
|
@@ -268,15 +273,15 @@ class Version$Type extends runtime_5.MessageType {
|
|
|
268
273
|
*/
|
|
269
274
|
exports.Version = new Version$Type();
|
|
270
275
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
271
|
-
class UDPTunnel$Type extends
|
|
276
|
+
class UDPTunnel$Type extends runtime_4.MessageType {
|
|
272
277
|
constructor() {
|
|
273
278
|
super("MumbleProto.UDPTunnel", [
|
|
274
279
|
{ no: 1, name: "packet", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
275
280
|
]);
|
|
276
281
|
}
|
|
277
282
|
create(value) {
|
|
278
|
-
const message =
|
|
279
|
-
|
|
283
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
284
|
+
message.packet = new Uint8Array(0);
|
|
280
285
|
if (value !== undefined)
|
|
281
286
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
282
287
|
return message;
|
|
@@ -315,7 +320,7 @@ class UDPTunnel$Type extends runtime_5.MessageType {
|
|
|
315
320
|
*/
|
|
316
321
|
exports.UDPTunnel = new UDPTunnel$Type();
|
|
317
322
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
318
|
-
class Authenticate$Type extends
|
|
323
|
+
class Authenticate$Type extends runtime_4.MessageType {
|
|
319
324
|
constructor() {
|
|
320
325
|
super("MumbleProto.Authenticate", [
|
|
321
326
|
{ no: 1, name: "username", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
@@ -326,8 +331,9 @@ class Authenticate$Type extends runtime_5.MessageType {
|
|
|
326
331
|
]);
|
|
327
332
|
}
|
|
328
333
|
create(value) {
|
|
329
|
-
const message =
|
|
330
|
-
|
|
334
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
335
|
+
message.tokens = [];
|
|
336
|
+
message.celtVersions = [];
|
|
331
337
|
if (value !== undefined)
|
|
332
338
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
333
339
|
return message;
|
|
@@ -394,7 +400,7 @@ class Authenticate$Type extends runtime_5.MessageType {
|
|
|
394
400
|
*/
|
|
395
401
|
exports.Authenticate = new Authenticate$Type();
|
|
396
402
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
397
|
-
class Ping$Type extends
|
|
403
|
+
class Ping$Type extends runtime_4.MessageType {
|
|
398
404
|
constructor() {
|
|
399
405
|
super("MumbleProto.Ping", [
|
|
400
406
|
{ no: 1, name: "timestamp", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
@@ -411,8 +417,7 @@ class Ping$Type extends runtime_5.MessageType {
|
|
|
411
417
|
]);
|
|
412
418
|
}
|
|
413
419
|
create(value) {
|
|
414
|
-
const message =
|
|
415
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
420
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
416
421
|
if (value !== undefined)
|
|
417
422
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
418
423
|
return message;
|
|
@@ -511,7 +516,7 @@ class Ping$Type extends runtime_5.MessageType {
|
|
|
511
516
|
*/
|
|
512
517
|
exports.Ping = new Ping$Type();
|
|
513
518
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
514
|
-
class Reject$Type extends
|
|
519
|
+
class Reject$Type extends runtime_4.MessageType {
|
|
515
520
|
constructor() {
|
|
516
521
|
super("MumbleProto.Reject", [
|
|
517
522
|
{ no: 1, name: "type", kind: "enum", opt: true, T: () => ["MumbleProto.Reject.RejectType", Reject_RejectType] },
|
|
@@ -519,8 +524,7 @@ class Reject$Type extends runtime_5.MessageType {
|
|
|
519
524
|
]);
|
|
520
525
|
}
|
|
521
526
|
create(value) {
|
|
522
|
-
const message =
|
|
523
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
527
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
524
528
|
if (value !== undefined)
|
|
525
529
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
526
530
|
return message;
|
|
@@ -565,7 +569,7 @@ class Reject$Type extends runtime_5.MessageType {
|
|
|
565
569
|
*/
|
|
566
570
|
exports.Reject = new Reject$Type();
|
|
567
571
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
568
|
-
class ServerSync$Type extends
|
|
572
|
+
class ServerSync$Type extends runtime_4.MessageType {
|
|
569
573
|
constructor() {
|
|
570
574
|
super("MumbleProto.ServerSync", [
|
|
571
575
|
{ no: 1, name: "session", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -575,8 +579,7 @@ class ServerSync$Type extends runtime_5.MessageType {
|
|
|
575
579
|
]);
|
|
576
580
|
}
|
|
577
581
|
create(value) {
|
|
578
|
-
const message =
|
|
579
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
582
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
580
583
|
if (value !== undefined)
|
|
581
584
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
582
585
|
return message;
|
|
@@ -633,15 +636,15 @@ class ServerSync$Type extends runtime_5.MessageType {
|
|
|
633
636
|
*/
|
|
634
637
|
exports.ServerSync = new ServerSync$Type();
|
|
635
638
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
636
|
-
class ChannelRemove$Type extends
|
|
639
|
+
class ChannelRemove$Type extends runtime_4.MessageType {
|
|
637
640
|
constructor() {
|
|
638
641
|
super("MumbleProto.ChannelRemove", [
|
|
639
642
|
{ no: 1, name: "channel_id", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
640
643
|
]);
|
|
641
644
|
}
|
|
642
645
|
create(value) {
|
|
643
|
-
const message =
|
|
644
|
-
|
|
646
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
647
|
+
message.channelId = 0;
|
|
645
648
|
if (value !== undefined)
|
|
646
649
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
647
650
|
return message;
|
|
@@ -680,7 +683,7 @@ class ChannelRemove$Type extends runtime_5.MessageType {
|
|
|
680
683
|
*/
|
|
681
684
|
exports.ChannelRemove = new ChannelRemove$Type();
|
|
682
685
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
683
|
-
class ChannelState$Type extends
|
|
686
|
+
class ChannelState$Type extends runtime_4.MessageType {
|
|
684
687
|
constructor() {
|
|
685
688
|
super("MumbleProto.ChannelState", [
|
|
686
689
|
{ no: 1, name: "channel_id", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -699,8 +702,10 @@ class ChannelState$Type extends runtime_5.MessageType {
|
|
|
699
702
|
]);
|
|
700
703
|
}
|
|
701
704
|
create(value) {
|
|
702
|
-
const message =
|
|
703
|
-
|
|
705
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
706
|
+
message.links = [];
|
|
707
|
+
message.linksAdd = [];
|
|
708
|
+
message.linksRemove = [];
|
|
704
709
|
if (value !== undefined)
|
|
705
710
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
706
711
|
return message;
|
|
@@ -823,7 +828,7 @@ class ChannelState$Type extends runtime_5.MessageType {
|
|
|
823
828
|
*/
|
|
824
829
|
exports.ChannelState = new ChannelState$Type();
|
|
825
830
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
826
|
-
class UserRemove$Type extends
|
|
831
|
+
class UserRemove$Type extends runtime_4.MessageType {
|
|
827
832
|
constructor() {
|
|
828
833
|
super("MumbleProto.UserRemove", [
|
|
829
834
|
{ no: 1, name: "session", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -833,8 +838,8 @@ class UserRemove$Type extends runtime_5.MessageType {
|
|
|
833
838
|
]);
|
|
834
839
|
}
|
|
835
840
|
create(value) {
|
|
836
|
-
const message =
|
|
837
|
-
|
|
841
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
842
|
+
message.session = 0;
|
|
838
843
|
if (value !== undefined)
|
|
839
844
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
840
845
|
return message;
|
|
@@ -891,7 +896,7 @@ class UserRemove$Type extends runtime_5.MessageType {
|
|
|
891
896
|
*/
|
|
892
897
|
exports.UserRemove = new UserRemove$Type();
|
|
893
898
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
894
|
-
class UserState$Type extends
|
|
899
|
+
class UserState$Type extends runtime_4.MessageType {
|
|
895
900
|
constructor() {
|
|
896
901
|
super("MumbleProto.UserState", [
|
|
897
902
|
{ no: 1, name: "session", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -919,8 +924,10 @@ class UserState$Type extends runtime_5.MessageType {
|
|
|
919
924
|
]);
|
|
920
925
|
}
|
|
921
926
|
create(value) {
|
|
922
|
-
const message =
|
|
923
|
-
|
|
927
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
928
|
+
message.temporaryAccessTokens = [];
|
|
929
|
+
message.listeningChannelAdd = [];
|
|
930
|
+
message.listeningChannelRemove = [];
|
|
924
931
|
if (value !== undefined)
|
|
925
932
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
926
933
|
return message;
|
|
@@ -1093,7 +1100,7 @@ class UserState$Type extends runtime_5.MessageType {
|
|
|
1093
1100
|
*/
|
|
1094
1101
|
exports.UserState = new UserState$Type();
|
|
1095
1102
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1096
|
-
class BanList$Type extends
|
|
1103
|
+
class BanList$Type extends runtime_4.MessageType {
|
|
1097
1104
|
constructor() {
|
|
1098
1105
|
super("MumbleProto.BanList", [
|
|
1099
1106
|
{ no: 1, name: "bans", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.BanList_BanEntry },
|
|
@@ -1101,8 +1108,8 @@ class BanList$Type extends runtime_5.MessageType {
|
|
|
1101
1108
|
]);
|
|
1102
1109
|
}
|
|
1103
1110
|
create(value) {
|
|
1104
|
-
const message =
|
|
1105
|
-
|
|
1111
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1112
|
+
message.bans = [];
|
|
1106
1113
|
if (value !== undefined)
|
|
1107
1114
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1108
1115
|
return message;
|
|
@@ -1147,7 +1154,7 @@ class BanList$Type extends runtime_5.MessageType {
|
|
|
1147
1154
|
*/
|
|
1148
1155
|
exports.BanList = new BanList$Type();
|
|
1149
1156
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1150
|
-
class BanList_BanEntry$Type extends
|
|
1157
|
+
class BanList_BanEntry$Type extends runtime_4.MessageType {
|
|
1151
1158
|
constructor() {
|
|
1152
1159
|
super("MumbleProto.BanList.BanEntry", [
|
|
1153
1160
|
{ no: 1, name: "address", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
@@ -1160,8 +1167,9 @@ class BanList_BanEntry$Type extends runtime_5.MessageType {
|
|
|
1160
1167
|
]);
|
|
1161
1168
|
}
|
|
1162
1169
|
create(value) {
|
|
1163
|
-
const message =
|
|
1164
|
-
|
|
1170
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1171
|
+
message.address = new Uint8Array(0);
|
|
1172
|
+
message.mask = 0;
|
|
1165
1173
|
if (value !== undefined)
|
|
1166
1174
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1167
1175
|
return message;
|
|
@@ -1236,7 +1244,7 @@ class BanList_BanEntry$Type extends runtime_5.MessageType {
|
|
|
1236
1244
|
*/
|
|
1237
1245
|
exports.BanList_BanEntry = new BanList_BanEntry$Type();
|
|
1238
1246
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1239
|
-
class TextMessage$Type extends
|
|
1247
|
+
class TextMessage$Type extends runtime_4.MessageType {
|
|
1240
1248
|
constructor() {
|
|
1241
1249
|
super("MumbleProto.TextMessage", [
|
|
1242
1250
|
{ no: 1, name: "actor", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1247,8 +1255,11 @@ class TextMessage$Type extends runtime_5.MessageType {
|
|
|
1247
1255
|
]);
|
|
1248
1256
|
}
|
|
1249
1257
|
create(value) {
|
|
1250
|
-
const message =
|
|
1251
|
-
|
|
1258
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1259
|
+
message.session = [];
|
|
1260
|
+
message.channelId = [];
|
|
1261
|
+
message.treeId = [];
|
|
1262
|
+
message.message = "";
|
|
1252
1263
|
if (value !== undefined)
|
|
1253
1264
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1254
1265
|
return message;
|
|
@@ -1323,7 +1334,7 @@ class TextMessage$Type extends runtime_5.MessageType {
|
|
|
1323
1334
|
*/
|
|
1324
1335
|
exports.TextMessage = new TextMessage$Type();
|
|
1325
1336
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1326
|
-
class PermissionDenied$Type extends
|
|
1337
|
+
class PermissionDenied$Type extends runtime_4.MessageType {
|
|
1327
1338
|
constructor() {
|
|
1328
1339
|
super("MumbleProto.PermissionDenied", [
|
|
1329
1340
|
{ no: 1, name: "permission", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1335,8 +1346,7 @@ class PermissionDenied$Type extends runtime_5.MessageType {
|
|
|
1335
1346
|
]);
|
|
1336
1347
|
}
|
|
1337
1348
|
create(value) {
|
|
1338
|
-
const message =
|
|
1339
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1349
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1340
1350
|
if (value !== undefined)
|
|
1341
1351
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1342
1352
|
return message;
|
|
@@ -1405,7 +1415,7 @@ class PermissionDenied$Type extends runtime_5.MessageType {
|
|
|
1405
1415
|
*/
|
|
1406
1416
|
exports.PermissionDenied = new PermissionDenied$Type();
|
|
1407
1417
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1408
|
-
class ACL$Type extends
|
|
1418
|
+
class ACL$Type extends runtime_4.MessageType {
|
|
1409
1419
|
constructor() {
|
|
1410
1420
|
super("MumbleProto.ACL", [
|
|
1411
1421
|
{ no: 1, name: "channel_id", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1416,8 +1426,10 @@ class ACL$Type extends runtime_5.MessageType {
|
|
|
1416
1426
|
]);
|
|
1417
1427
|
}
|
|
1418
1428
|
create(value) {
|
|
1419
|
-
const message =
|
|
1420
|
-
|
|
1429
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1430
|
+
message.channelId = 0;
|
|
1431
|
+
message.groups = [];
|
|
1432
|
+
message.acls = [];
|
|
1421
1433
|
if (value !== undefined)
|
|
1422
1434
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1423
1435
|
return message;
|
|
@@ -1480,7 +1492,7 @@ class ACL$Type extends runtime_5.MessageType {
|
|
|
1480
1492
|
*/
|
|
1481
1493
|
exports.ACL = new ACL$Type();
|
|
1482
1494
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1483
|
-
class ACL_ChanGroup$Type extends
|
|
1495
|
+
class ACL_ChanGroup$Type extends runtime_4.MessageType {
|
|
1484
1496
|
constructor() {
|
|
1485
1497
|
super("MumbleProto.ACL.ChanGroup", [
|
|
1486
1498
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1493,8 +1505,11 @@ class ACL_ChanGroup$Type extends runtime_5.MessageType {
|
|
|
1493
1505
|
]);
|
|
1494
1506
|
}
|
|
1495
1507
|
create(value) {
|
|
1496
|
-
const message =
|
|
1497
|
-
|
|
1508
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1509
|
+
message.name = "";
|
|
1510
|
+
message.add = [];
|
|
1511
|
+
message.remove = [];
|
|
1512
|
+
message.inheritedMembers = [];
|
|
1498
1513
|
if (value !== undefined)
|
|
1499
1514
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1500
1515
|
return message;
|
|
@@ -1581,7 +1596,7 @@ class ACL_ChanGroup$Type extends runtime_5.MessageType {
|
|
|
1581
1596
|
*/
|
|
1582
1597
|
exports.ACL_ChanGroup = new ACL_ChanGroup$Type();
|
|
1583
1598
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1584
|
-
class ACL_ChanACL$Type extends
|
|
1599
|
+
class ACL_ChanACL$Type extends runtime_4.MessageType {
|
|
1585
1600
|
constructor() {
|
|
1586
1601
|
super("MumbleProto.ACL.ChanACL", [
|
|
1587
1602
|
{ no: 1, name: "apply_here", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
@@ -1594,8 +1609,7 @@ class ACL_ChanACL$Type extends runtime_5.MessageType {
|
|
|
1594
1609
|
]);
|
|
1595
1610
|
}
|
|
1596
1611
|
create(value) {
|
|
1597
|
-
const message =
|
|
1598
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1612
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1599
1613
|
if (value !== undefined)
|
|
1600
1614
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1601
1615
|
return message;
|
|
@@ -1670,7 +1684,7 @@ class ACL_ChanACL$Type extends runtime_5.MessageType {
|
|
|
1670
1684
|
*/
|
|
1671
1685
|
exports.ACL_ChanACL = new ACL_ChanACL$Type();
|
|
1672
1686
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1673
|
-
class QueryUsers$Type extends
|
|
1687
|
+
class QueryUsers$Type extends runtime_4.MessageType {
|
|
1674
1688
|
constructor() {
|
|
1675
1689
|
super("MumbleProto.QueryUsers", [
|
|
1676
1690
|
{ no: 1, name: "ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1678,8 +1692,9 @@ class QueryUsers$Type extends runtime_5.MessageType {
|
|
|
1678
1692
|
]);
|
|
1679
1693
|
}
|
|
1680
1694
|
create(value) {
|
|
1681
|
-
const message =
|
|
1682
|
-
|
|
1695
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1696
|
+
message.ids = [];
|
|
1697
|
+
message.names = [];
|
|
1683
1698
|
if (value !== undefined)
|
|
1684
1699
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1685
1700
|
return message;
|
|
@@ -1728,7 +1743,7 @@ class QueryUsers$Type extends runtime_5.MessageType {
|
|
|
1728
1743
|
*/
|
|
1729
1744
|
exports.QueryUsers = new QueryUsers$Type();
|
|
1730
1745
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1731
|
-
class CryptSetup$Type extends
|
|
1746
|
+
class CryptSetup$Type extends runtime_4.MessageType {
|
|
1732
1747
|
constructor() {
|
|
1733
1748
|
super("MumbleProto.CryptSetup", [
|
|
1734
1749
|
{ no: 1, name: "key", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
@@ -1737,8 +1752,7 @@ class CryptSetup$Type extends runtime_5.MessageType {
|
|
|
1737
1752
|
]);
|
|
1738
1753
|
}
|
|
1739
1754
|
create(value) {
|
|
1740
|
-
const message =
|
|
1741
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1755
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1742
1756
|
if (value !== undefined)
|
|
1743
1757
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1744
1758
|
return message;
|
|
@@ -1789,7 +1803,7 @@ class CryptSetup$Type extends runtime_5.MessageType {
|
|
|
1789
1803
|
*/
|
|
1790
1804
|
exports.CryptSetup = new CryptSetup$Type();
|
|
1791
1805
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1792
|
-
class ContextActionModify$Type extends
|
|
1806
|
+
class ContextActionModify$Type extends runtime_4.MessageType {
|
|
1793
1807
|
constructor() {
|
|
1794
1808
|
super("MumbleProto.ContextActionModify", [
|
|
1795
1809
|
{ no: 1, name: "action", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1799,8 +1813,8 @@ class ContextActionModify$Type extends runtime_5.MessageType {
|
|
|
1799
1813
|
]);
|
|
1800
1814
|
}
|
|
1801
1815
|
create(value) {
|
|
1802
|
-
const message =
|
|
1803
|
-
|
|
1816
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1817
|
+
message.action = "";
|
|
1804
1818
|
if (value !== undefined)
|
|
1805
1819
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1806
1820
|
return message;
|
|
@@ -1857,7 +1871,7 @@ class ContextActionModify$Type extends runtime_5.MessageType {
|
|
|
1857
1871
|
*/
|
|
1858
1872
|
exports.ContextActionModify = new ContextActionModify$Type();
|
|
1859
1873
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1860
|
-
class ContextAction$Type extends
|
|
1874
|
+
class ContextAction$Type extends runtime_4.MessageType {
|
|
1861
1875
|
constructor() {
|
|
1862
1876
|
super("MumbleProto.ContextAction", [
|
|
1863
1877
|
{ no: 1, name: "session", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1866,8 +1880,8 @@ class ContextAction$Type extends runtime_5.MessageType {
|
|
|
1866
1880
|
]);
|
|
1867
1881
|
}
|
|
1868
1882
|
create(value) {
|
|
1869
|
-
const message =
|
|
1870
|
-
|
|
1883
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1884
|
+
message.action = "";
|
|
1871
1885
|
if (value !== undefined)
|
|
1872
1886
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1873
1887
|
return message;
|
|
@@ -1918,15 +1932,15 @@ class ContextAction$Type extends runtime_5.MessageType {
|
|
|
1918
1932
|
*/
|
|
1919
1933
|
exports.ContextAction = new ContextAction$Type();
|
|
1920
1934
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1921
|
-
class UserList$Type extends
|
|
1935
|
+
class UserList$Type extends runtime_4.MessageType {
|
|
1922
1936
|
constructor() {
|
|
1923
1937
|
super("MumbleProto.UserList", [
|
|
1924
1938
|
{ no: 1, name: "users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UserList_User }
|
|
1925
1939
|
]);
|
|
1926
1940
|
}
|
|
1927
1941
|
create(value) {
|
|
1928
|
-
const message =
|
|
1929
|
-
|
|
1942
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1943
|
+
message.users = [];
|
|
1930
1944
|
if (value !== undefined)
|
|
1931
1945
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1932
1946
|
return message;
|
|
@@ -1965,7 +1979,7 @@ class UserList$Type extends runtime_5.MessageType {
|
|
|
1965
1979
|
*/
|
|
1966
1980
|
exports.UserList = new UserList$Type();
|
|
1967
1981
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1968
|
-
class UserList_User$Type extends
|
|
1982
|
+
class UserList_User$Type extends runtime_4.MessageType {
|
|
1969
1983
|
constructor() {
|
|
1970
1984
|
super("MumbleProto.UserList.User", [
|
|
1971
1985
|
{ no: 1, name: "user_id", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -1975,8 +1989,8 @@ class UserList_User$Type extends runtime_5.MessageType {
|
|
|
1975
1989
|
]);
|
|
1976
1990
|
}
|
|
1977
1991
|
create(value) {
|
|
1978
|
-
const message =
|
|
1979
|
-
|
|
1992
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1993
|
+
message.userId = 0;
|
|
1980
1994
|
if (value !== undefined)
|
|
1981
1995
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1982
1996
|
return message;
|
|
@@ -2033,7 +2047,7 @@ class UserList_User$Type extends runtime_5.MessageType {
|
|
|
2033
2047
|
*/
|
|
2034
2048
|
exports.UserList_User = new UserList_User$Type();
|
|
2035
2049
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2036
|
-
class VoiceTarget$Type extends
|
|
2050
|
+
class VoiceTarget$Type extends runtime_4.MessageType {
|
|
2037
2051
|
constructor() {
|
|
2038
2052
|
super("MumbleProto.VoiceTarget", [
|
|
2039
2053
|
{ no: 1, name: "id", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2041,8 +2055,8 @@ class VoiceTarget$Type extends runtime_5.MessageType {
|
|
|
2041
2055
|
]);
|
|
2042
2056
|
}
|
|
2043
2057
|
create(value) {
|
|
2044
|
-
const message =
|
|
2045
|
-
|
|
2058
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2059
|
+
message.targets = [];
|
|
2046
2060
|
if (value !== undefined)
|
|
2047
2061
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2048
2062
|
return message;
|
|
@@ -2087,7 +2101,7 @@ class VoiceTarget$Type extends runtime_5.MessageType {
|
|
|
2087
2101
|
*/
|
|
2088
2102
|
exports.VoiceTarget = new VoiceTarget$Type();
|
|
2089
2103
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2090
|
-
class VoiceTarget_Target$Type extends
|
|
2104
|
+
class VoiceTarget_Target$Type extends runtime_4.MessageType {
|
|
2091
2105
|
constructor() {
|
|
2092
2106
|
super("MumbleProto.VoiceTarget.Target", [
|
|
2093
2107
|
{ no: 1, name: "session", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2098,8 +2112,8 @@ class VoiceTarget_Target$Type extends runtime_5.MessageType {
|
|
|
2098
2112
|
]);
|
|
2099
2113
|
}
|
|
2100
2114
|
create(value) {
|
|
2101
|
-
const message =
|
|
2102
|
-
|
|
2115
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2116
|
+
message.session = [];
|
|
2103
2117
|
if (value !== undefined)
|
|
2104
2118
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2105
2119
|
return message;
|
|
@@ -2166,7 +2180,7 @@ class VoiceTarget_Target$Type extends runtime_5.MessageType {
|
|
|
2166
2180
|
*/
|
|
2167
2181
|
exports.VoiceTarget_Target = new VoiceTarget_Target$Type();
|
|
2168
2182
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2169
|
-
class PermissionQuery$Type extends
|
|
2183
|
+
class PermissionQuery$Type extends runtime_4.MessageType {
|
|
2170
2184
|
constructor() {
|
|
2171
2185
|
super("MumbleProto.PermissionQuery", [
|
|
2172
2186
|
{ no: 1, name: "channel_id", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2175,8 +2189,7 @@ class PermissionQuery$Type extends runtime_5.MessageType {
|
|
|
2175
2189
|
]);
|
|
2176
2190
|
}
|
|
2177
2191
|
create(value) {
|
|
2178
|
-
const message =
|
|
2179
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2192
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2180
2193
|
if (value !== undefined)
|
|
2181
2194
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2182
2195
|
return message;
|
|
@@ -2227,7 +2240,7 @@ class PermissionQuery$Type extends runtime_5.MessageType {
|
|
|
2227
2240
|
*/
|
|
2228
2241
|
exports.PermissionQuery = new PermissionQuery$Type();
|
|
2229
2242
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2230
|
-
class CodecVersion$Type extends
|
|
2243
|
+
class CodecVersion$Type extends runtime_4.MessageType {
|
|
2231
2244
|
constructor() {
|
|
2232
2245
|
super("MumbleProto.CodecVersion", [
|
|
2233
2246
|
{ no: 1, name: "alpha", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
@@ -2237,8 +2250,10 @@ class CodecVersion$Type extends runtime_5.MessageType {
|
|
|
2237
2250
|
]);
|
|
2238
2251
|
}
|
|
2239
2252
|
create(value) {
|
|
2240
|
-
const message =
|
|
2241
|
-
|
|
2253
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2254
|
+
message.alpha = 0;
|
|
2255
|
+
message.beta = 0;
|
|
2256
|
+
message.preferAlpha = false;
|
|
2242
2257
|
if (value !== undefined)
|
|
2243
2258
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2244
2259
|
return message;
|
|
@@ -2295,7 +2310,7 @@ class CodecVersion$Type extends runtime_5.MessageType {
|
|
|
2295
2310
|
*/
|
|
2296
2311
|
exports.CodecVersion = new CodecVersion$Type();
|
|
2297
2312
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2298
|
-
class UserStats$Type extends
|
|
2313
|
+
class UserStats$Type extends runtime_4.MessageType {
|
|
2299
2314
|
constructor() {
|
|
2300
2315
|
super("MumbleProto.UserStats", [
|
|
2301
2316
|
{ no: 1, name: "session", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2320,8 +2335,9 @@ class UserStats$Type extends runtime_5.MessageType {
|
|
|
2320
2335
|
]);
|
|
2321
2336
|
}
|
|
2322
2337
|
create(value) {
|
|
2323
|
-
const message =
|
|
2324
|
-
|
|
2338
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2339
|
+
message.certificates = [];
|
|
2340
|
+
message.celtVersions = [];
|
|
2325
2341
|
if (value !== undefined)
|
|
2326
2342
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2327
2343
|
return message;
|
|
@@ -2472,7 +2488,7 @@ class UserStats$Type extends runtime_5.MessageType {
|
|
|
2472
2488
|
*/
|
|
2473
2489
|
exports.UserStats = new UserStats$Type();
|
|
2474
2490
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2475
|
-
class UserStats_Stats$Type extends
|
|
2491
|
+
class UserStats_Stats$Type extends runtime_4.MessageType {
|
|
2476
2492
|
constructor() {
|
|
2477
2493
|
super("MumbleProto.UserStats.Stats", [
|
|
2478
2494
|
{ no: 1, name: "good", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2482,8 +2498,7 @@ class UserStats_Stats$Type extends runtime_5.MessageType {
|
|
|
2482
2498
|
]);
|
|
2483
2499
|
}
|
|
2484
2500
|
create(value) {
|
|
2485
|
-
const message =
|
|
2486
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2501
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2487
2502
|
if (value !== undefined)
|
|
2488
2503
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2489
2504
|
return message;
|
|
@@ -2540,7 +2555,7 @@ class UserStats_Stats$Type extends runtime_5.MessageType {
|
|
|
2540
2555
|
*/
|
|
2541
2556
|
exports.UserStats_Stats = new UserStats_Stats$Type();
|
|
2542
2557
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2543
|
-
class RequestBlob$Type extends
|
|
2558
|
+
class RequestBlob$Type extends runtime_4.MessageType {
|
|
2544
2559
|
constructor() {
|
|
2545
2560
|
super("MumbleProto.RequestBlob", [
|
|
2546
2561
|
{ no: 1, name: "session_texture", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2549,8 +2564,10 @@ class RequestBlob$Type extends runtime_5.MessageType {
|
|
|
2549
2564
|
]);
|
|
2550
2565
|
}
|
|
2551
2566
|
create(value) {
|
|
2552
|
-
const message =
|
|
2553
|
-
|
|
2567
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2568
|
+
message.sessionTexture = [];
|
|
2569
|
+
message.sessionComment = [];
|
|
2570
|
+
message.channelDescription = [];
|
|
2554
2571
|
if (value !== undefined)
|
|
2555
2572
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2556
2573
|
return message;
|
|
@@ -2613,7 +2630,7 @@ class RequestBlob$Type extends runtime_5.MessageType {
|
|
|
2613
2630
|
*/
|
|
2614
2631
|
exports.RequestBlob = new RequestBlob$Type();
|
|
2615
2632
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2616
|
-
class ServerConfig$Type extends
|
|
2633
|
+
class ServerConfig$Type extends runtime_4.MessageType {
|
|
2617
2634
|
constructor() {
|
|
2618
2635
|
super("MumbleProto.ServerConfig", [
|
|
2619
2636
|
{ no: 1, name: "max_bandwidth", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2621,13 +2638,11 @@ class ServerConfig$Type extends runtime_5.MessageType {
|
|
|
2621
2638
|
{ no: 3, name: "allow_html", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
2622
2639
|
{ no: 4, name: "message_length", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
2623
2640
|
{ no: 5, name: "image_message_length", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
2624
|
-
{ no: 6, name: "max_users", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
|
|
2625
|
-
{ no: 7, name: "recording_allowed", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
2641
|
+
{ no: 6, name: "max_users", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
|
|
2626
2642
|
]);
|
|
2627
2643
|
}
|
|
2628
2644
|
create(value) {
|
|
2629
|
-
const message =
|
|
2630
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2645
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2631
2646
|
if (value !== undefined)
|
|
2632
2647
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2633
2648
|
return message;
|
|
@@ -2655,9 +2670,6 @@ class ServerConfig$Type extends runtime_5.MessageType {
|
|
|
2655
2670
|
case /* optional uint32 max_users */ 6:
|
|
2656
2671
|
message.maxUsers = reader.uint32();
|
|
2657
2672
|
break;
|
|
2658
|
-
case /* optional bool recording_allowed */ 7:
|
|
2659
|
-
message.recordingAllowed = reader.bool();
|
|
2660
|
-
break;
|
|
2661
2673
|
default:
|
|
2662
2674
|
let u = options.readUnknownField;
|
|
2663
2675
|
if (u === "throw")
|
|
@@ -2688,9 +2700,6 @@ class ServerConfig$Type extends runtime_5.MessageType {
|
|
|
2688
2700
|
/* optional uint32 max_users = 6; */
|
|
2689
2701
|
if (message.maxUsers !== undefined)
|
|
2690
2702
|
writer.tag(6, runtime_1.WireType.Varint).uint32(message.maxUsers);
|
|
2691
|
-
/* optional bool recording_allowed = 7; */
|
|
2692
|
-
if (message.recordingAllowed !== undefined)
|
|
2693
|
-
writer.tag(7, runtime_1.WireType.Varint).bool(message.recordingAllowed);
|
|
2694
2703
|
let u = options.writeUnknownFields;
|
|
2695
2704
|
if (u !== false)
|
|
2696
2705
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2702,17 +2711,17 @@ class ServerConfig$Type extends runtime_5.MessageType {
|
|
|
2702
2711
|
*/
|
|
2703
2712
|
exports.ServerConfig = new ServerConfig$Type();
|
|
2704
2713
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2705
|
-
class SuggestConfig$Type extends
|
|
2714
|
+
class SuggestConfig$Type extends runtime_4.MessageType {
|
|
2706
2715
|
constructor() {
|
|
2707
2716
|
super("MumbleProto.SuggestConfig", [
|
|
2708
|
-
{ no: 1, name: "
|
|
2717
|
+
{ no: 1, name: "version_v1", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
2718
|
+
{ no: 4, name: "version_v2", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
2709
2719
|
{ no: 2, name: "positional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
2710
2720
|
{ no: 3, name: "push_to_talk", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
2711
2721
|
]);
|
|
2712
2722
|
}
|
|
2713
2723
|
create(value) {
|
|
2714
|
-
const message =
|
|
2715
|
-
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2724
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2716
2725
|
if (value !== undefined)
|
|
2717
2726
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2718
2727
|
return message;
|
|
@@ -2722,8 +2731,11 @@ class SuggestConfig$Type extends runtime_5.MessageType {
|
|
|
2722
2731
|
while (reader.pos < end) {
|
|
2723
2732
|
let [fieldNo, wireType] = reader.tag();
|
|
2724
2733
|
switch (fieldNo) {
|
|
2725
|
-
case /* optional uint32
|
|
2726
|
-
message.
|
|
2734
|
+
case /* optional uint32 version_v1 */ 1:
|
|
2735
|
+
message.versionV1 = reader.uint32();
|
|
2736
|
+
break;
|
|
2737
|
+
case /* optional uint64 version_v2 */ 4:
|
|
2738
|
+
message.versionV2 = reader.uint64().toBigInt();
|
|
2727
2739
|
break;
|
|
2728
2740
|
case /* optional bool positional */ 2:
|
|
2729
2741
|
message.positional = reader.bool();
|
|
@@ -2743,9 +2755,12 @@ class SuggestConfig$Type extends runtime_5.MessageType {
|
|
|
2743
2755
|
return message;
|
|
2744
2756
|
}
|
|
2745
2757
|
internalBinaryWrite(message, writer, options) {
|
|
2746
|
-
/* optional uint32
|
|
2747
|
-
if (message.
|
|
2748
|
-
writer.tag(1, runtime_1.WireType.Varint).uint32(message.
|
|
2758
|
+
/* optional uint32 version_v1 = 1; */
|
|
2759
|
+
if (message.versionV1 !== undefined)
|
|
2760
|
+
writer.tag(1, runtime_1.WireType.Varint).uint32(message.versionV1);
|
|
2761
|
+
/* optional uint64 version_v2 = 4; */
|
|
2762
|
+
if (message.versionV2 !== undefined)
|
|
2763
|
+
writer.tag(4, runtime_1.WireType.Varint).uint64(message.versionV2);
|
|
2749
2764
|
/* optional bool positional = 2; */
|
|
2750
2765
|
if (message.positional !== undefined)
|
|
2751
2766
|
writer.tag(2, runtime_1.WireType.Varint).bool(message.positional);
|
|
@@ -2763,7 +2778,7 @@ class SuggestConfig$Type extends runtime_5.MessageType {
|
|
|
2763
2778
|
*/
|
|
2764
2779
|
exports.SuggestConfig = new SuggestConfig$Type();
|
|
2765
2780
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2766
|
-
class PluginDataTransmission$Type extends
|
|
2781
|
+
class PluginDataTransmission$Type extends runtime_4.MessageType {
|
|
2767
2782
|
constructor() {
|
|
2768
2783
|
super("MumbleProto.PluginDataTransmission", [
|
|
2769
2784
|
{ no: 1, name: "senderSession", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -2773,8 +2788,8 @@ class PluginDataTransmission$Type extends runtime_5.MessageType {
|
|
|
2773
2788
|
]);
|
|
2774
2789
|
}
|
|
2775
2790
|
create(value) {
|
|
2776
|
-
const message =
|
|
2777
|
-
|
|
2791
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2792
|
+
message.receiverSessions = [];
|
|
2778
2793
|
if (value !== undefined)
|
|
2779
2794
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2780
2795
|
return message;
|