Ejemplo n.º 1
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 8: {
                    Type = (global::AcFunDanmu.ZtLiveScStatusChanged.Types.Type)input.ReadEnum();
                    break;
                }

                case 16: {
                    MaxRandomDelayMs = input.ReadInt64();
                    break;
                }

                case 26: {
                    if (bannedInfo_ == null)
                    {
                        BannedInfo = new global::AcFunDanmu.ZtLiveScStatusChanged.Types.BannedInfo();
                    }
                    input.ReadMessage(BannedInfo);
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Type = (global::AcFunDanmu.ZtLiveScStatusChanged.Types.Type)input.ReadEnum();
                    break;
                }

                case 16: {
                    MaxRandomDelayMs = input.ReadInt64();
                    break;
                }

                case 26: {
                    if (bannedInfo_ == null)
                    {
                        BannedInfo = new global::AcFunDanmu.ZtLiveScStatusChanged.Types.BannedInfo();
                    }
                    input.ReadMessage(BannedInfo);
                    break;
                }
                }
            }
        }
Ejemplo n.º 3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Type = (global::AcFunDanmu.ZtLiveScStatusChanged.Types.Type)input.ReadEnum();
                    break;
                }

                case 16: {
                    MaxRandomDelayMs = input.ReadInt64();
                    break;
                }

                case 26: {
                    if (bannedInfo_ == null)
                    {
                        BannedInfo = new global::AcFunDanmu.ZtLiveScStatusChanged.Types.BannedInfo();
                    }
                    input.ReadMessage(BannedInfo);
                    break;
                }
                }
            }
    #endif
        }
Ejemplo n.º 4
0
 public void MergeFrom(ZtLiveScStatusChanged other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Type != global::AcFunDanmu.ZtLiveScStatusChanged.Types.Type.Unknown)
     {
         Type = other.Type;
     }
     if (other.MaxRandomDelayMs != 0L)
     {
         MaxRandomDelayMs = other.MaxRandomDelayMs;
     }
     if (other.bannedInfo_ != null)
     {
         if (bannedInfo_ == null)
         {
             BannedInfo = new global::AcFunDanmu.ZtLiveScStatusChanged.Types.BannedInfo();
         }
         BannedInfo.MergeFrom(other.BannedInfo);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }