Ejemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    Ret = input.ReadSInt32();
                    break;
                }

                case 18: {
                    if (userClock_ == null)
                    {
                        userClock_ = new global::Com.Proto.UserClockPB();
                    }
                    input.ReadMessage(userClock_);
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
 public void MergeFrom(SetClockRes other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Ret != 0)
     {
         Ret = other.Ret;
     }
     if (other.userClock_ != null)
     {
         if (userClock_ == null)
         {
             userClock_ = new global::Com.Proto.UserClockPB();
         }
         UserClock.MergeFrom(other.UserClock);
     }
 }