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INCglT " ,
37
+ "RUNPTkRBUlkQAkJiChNjb20uZ2Vla3N2aWxsZS5tZXNoQg1DaGFubmVsUHJv " ,
38
+ "dG9zWiJnaXRodWIuY29tL21lc2h0YXN0aWMvZ28vZ2VuZXJhdGVkqgIUTWVz " ,
39
+ "aHRhc3RpYy5Qcm90b2J1ZnO6AgBiBnByb3RvMw== " ) ) ;
40
40
descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
41
41
new pbr ::FileDescriptor [ ] { } ,
42
42
new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
43
43
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . ChannelSettings ) , global ::Meshtastic . Protobufs . ChannelSettings . Parser , new [ ] { "ChannelNum" , "Psk" , "Name" , "Id" , "UplinkEnabled" , "DownlinkEnabled" , "ModuleSettings" } , null , null , null , null ) ,
44
- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . ModuleSettings ) , global ::Meshtastic . Protobufs . ModuleSettings . Parser , new [ ] { "PositionPrecision" } , null , null , null , null ) ,
44
+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . ModuleSettings ) , global ::Meshtastic . Protobufs . ModuleSettings . Parser , new [ ] { "PositionPrecision" , "IsClientMuted" } , null , null , null , null ) ,
45
45
new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Meshtastic . Protobufs . Channel ) , global ::Meshtastic . Protobufs . Channel . Parser , new [ ] { "Index" , "Settings" , "Role" } , null , new [ ] { typeof ( global ::Meshtastic . Protobufs . Channel . Types . Role ) } , null , null )
46
46
} ) ) ;
47
47
}
@@ -581,6 +581,7 @@ public ModuleSettings() {
581
581
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
582
582
public ModuleSettings ( ModuleSettings other ) : this ( ) {
583
583
positionPrecision_ = other . positionPrecision_ ;
584
+ isClientMuted_ = other . isClientMuted_ ;
584
585
_unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
585
586
}
586
587
@@ -606,6 +607,23 @@ public uint PositionPrecision {
606
607
}
607
608
}
608
609
610
+ /// <summary>Field number for the "is_client_muted" field.</summary>
611
+ public const int IsClientMutedFieldNumber = 2 ;
612
+ private bool isClientMuted_ ;
613
+ /// <summary>
614
+ ///
615
+ /// Controls whether or not the phone / clients should mute the current channel
616
+ /// Useful for noisy public channels you don't necessarily want to disable
617
+ /// </summary>
618
+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
619
+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
620
+ public bool IsClientMuted {
621
+ get { return isClientMuted_ ; }
622
+ set {
623
+ isClientMuted_ = value ;
624
+ }
625
+ }
626
+
609
627
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
610
628
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
611
629
public override bool Equals ( object other ) {
@@ -622,6 +640,7 @@ public bool Equals(ModuleSettings other) {
622
640
return true ;
623
641
}
624
642
if ( PositionPrecision != other . PositionPrecision ) return false ;
643
+ if ( IsClientMuted != other . IsClientMuted ) return false ;
625
644
return Equals ( _unknownFields , other . _unknownFields ) ;
626
645
}
627
646
@@ -630,6 +649,7 @@ public bool Equals(ModuleSettings other) {
630
649
public override int GetHashCode ( ) {
631
650
int hash = 1 ;
632
651
if ( PositionPrecision != 0 ) hash ^= PositionPrecision . GetHashCode ( ) ;
652
+ if ( IsClientMuted != false ) hash ^= IsClientMuted . GetHashCode ( ) ;
633
653
if ( _unknownFields != null ) {
634
654
hash ^= _unknownFields . GetHashCode ( ) ;
635
655
}
@@ -652,6 +672,10 @@ public void WriteTo(pb::CodedOutputStream output) {
652
672
output . WriteRawTag ( 8 ) ;
653
673
output . WriteUInt32 ( PositionPrecision ) ;
654
674
}
675
+ if ( IsClientMuted != false ) {
676
+ output . WriteRawTag ( 16 ) ;
677
+ output . WriteBool ( IsClientMuted ) ;
678
+ }
655
679
if ( _unknownFields != null ) {
656
680
_unknownFields . WriteTo ( output ) ;
657
681
}
@@ -666,6 +690,10 @@ public void WriteTo(pb::CodedOutputStream output) {
666
690
output . WriteRawTag ( 8 ) ;
667
691
output . WriteUInt32 ( PositionPrecision ) ;
668
692
}
693
+ if ( IsClientMuted != false ) {
694
+ output . WriteRawTag ( 16 ) ;
695
+ output . WriteBool ( IsClientMuted ) ;
696
+ }
669
697
if ( _unknownFields != null ) {
670
698
_unknownFields . WriteTo ( ref output ) ;
671
699
}
@@ -679,6 +707,9 @@ public int CalculateSize() {
679
707
if ( PositionPrecision != 0 ) {
680
708
size += 1 + pb ::CodedOutputStream . ComputeUInt32Size ( PositionPrecision ) ;
681
709
}
710
+ if ( IsClientMuted != false ) {
711
+ size += 1 + 1 ;
712
+ }
682
713
if ( _unknownFields != null ) {
683
714
size += _unknownFields . CalculateSize ( ) ;
684
715
}
@@ -694,6 +725,9 @@ public void MergeFrom(ModuleSettings other) {
694
725
if ( other . PositionPrecision != 0 ) {
695
726
PositionPrecision = other . PositionPrecision ;
696
727
}
728
+ if ( other . IsClientMuted != false ) {
729
+ IsClientMuted = other . IsClientMuted ;
730
+ }
697
731
_unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
698
732
}
699
733
@@ -713,6 +747,10 @@ public void MergeFrom(pb::CodedInputStream input) {
713
747
PositionPrecision = input . ReadUInt32 ( ) ;
714
748
break ;
715
749
}
750
+ case 16 : {
751
+ IsClientMuted = input . ReadBool ( ) ;
752
+ break ;
753
+ }
716
754
}
717
755
}
718
756
#endif
@@ -732,6 +770,10 @@ public void MergeFrom(pb::CodedInputStream input) {
732
770
PositionPrecision = input . ReadUInt32 ( ) ;
733
771
break ;
734
772
}
773
+ case 16 : {
774
+ IsClientMuted = input . ReadBool ( ) ;
775
+ break ;
776
+ }
735
777
}
736
778
}
737
779
}
0 commit comments