Example #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    ErrorCode = input.ReadInt32();
                    break;
                }

                case 18: {
                    Msgtxt = input.ReadString();
                    break;
                }

                case 24: {
                    nextOperate_ = (global::Suresecureivs.MsgReply.Types.OperateType)input.ReadEnum();
                    break;
                }
                }
            }
        }
Example #2
0
 public void MergeFrom(MsgReply other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ErrorCode != 0)
     {
         ErrorCode = other.ErrorCode;
     }
     if (other.Msgtxt.Length != 0)
     {
         Msgtxt = other.Msgtxt;
     }
     if (other.NextOperate != 0)
     {
         NextOperate = other.NextOperate;
     }
 }