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

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (invite_ == null)
                    {
                        invite_ = new global::POGOProtos.Data.Friends.IncomingFriendInvite();
                    }
                    input.ReadMessage(invite_);
                    break;
                }

                case 18: {
                    if (player_ == null)
                    {
                        player_ = new global::POGOProtos.Data.Player.PlayerSummary();
                    }
                    input.ReadMessage(player_);
                    break;
                }
                }
            }
        }
Exemple #2
0
 public void MergeFrom(IncomingFriendInviteDisplay other)
 {
     if (other == null)
     {
         return;
     }
     if (other.invite_ != null)
     {
         if (invite_ == null)
         {
             invite_ = new global::POGOProtos.Data.Friends.IncomingFriendInvite();
         }
         Invite.MergeFrom(other.Invite);
     }
     if (other.player_ != null)
     {
         if (player_ == null)
         {
             player_ = new global::POGOProtos.Data.Player.PlayerSummary();
         }
         Player.MergeFrom(other.Player);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }