Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (playerBaseInfo_ != null)
            {
                hash ^= PlayerBaseInfo.GetHashCode();
            }
            if (Account.Length != 0)
            {
                hash ^= Account.GetHashCode();
            }
            if (Passward.Length != 0)
            {
                hash ^= Passward.GetHashCode();
            }
            return(hash);
        }
Example #2
0
 public void MergeFrom(LoginSuccessfull other)
 {
     if (other == null)
     {
         return;
     }
     if (other.playerBaseInfo_ != null)
     {
         if (playerBaseInfo_ == null)
         {
             playerBaseInfo_ = new global::Msg.PlayerBaseInfo();
         }
         PlayerBaseInfo.MergeFrom(other.PlayerBaseInfo);
     }
     if (other.Account.Length != 0)
     {
         Account = other.Account;
     }
     if (other.Passward.Length != 0)
     {
         Passward = other.Passward;
     }
 }