Ejemplo n.º 1
0
 public void MergeFrom(ApiOnChat other)
 {
     if (other == null)
     {
         return;
     }
     if (other.chat_ != null)
     {
         if (chat_ == null)
         {
             chat_ = new global::Org.OkraAx.V3.MsgOnChat();
         }
         Chat.MergeFrom(other.Chat);
     }
 }
Ejemplo n.º 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (chat_ == null)
                    {
                        chat_ = new global::Org.OkraAx.V3.MsgOnChat();
                    }
                    input.ReadMessage(chat_);
                    break;
                }
                }
            }
        }