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

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

                case 8: {
                    result_ = (global::POGOProtos.Networking.Responses.GetInboxResponse.Types.Result)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (inbox_ == null)
                    {
                        inbox_ = new global::POGOProtos.Networking.Responses.GetInboxResponse.Types.ClientInbox();
                    }
                    input.ReadMessage(inbox_);
                    break;
                }
                }
            }
        }
Exemple #2
0
 public void MergeFrom(GetInboxResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.inbox_ != null)
     {
         if (inbox_ == null)
         {
             inbox_ = new global::POGOProtos.Networking.Responses.GetInboxResponse.Types.ClientInbox();
         }
         Inbox.MergeFrom(other.Inbox);
     }
 }