Beispiel #1
0
 public void MergeFrom(GetStatsResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.stat_ != null)
     {
         if (stat_ == null)
         {
             stat_ = new global::V2Ray.Core.App.Stats.Command.Stat();
         }
         Stat.MergeFrom(other.Stat);
     }
 }
 public void MergeFrom(GetStatsResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.stat_ != null)
     {
         if (stat_ == null)
         {
             stat_ = new global::V2Ray.Core.App.Stats.Command.Stat();
         }
         Stat.MergeFrom(other.Stat);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Beispiel #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (stat_ == null)
                    {
                        stat_ = new global::V2Ray.Core.App.Stats.Command.Stat();
                    }
                    input.ReadMessage(stat_);
                    break;
                }
                }
            }
        }