示例#1
0
        public int _checkPassward(string nPassward)
        {
            int result_ = AccountError_.mSucess_;

            if ((null == nPassward) ||
                (null == mNickName) ||
                (0 == mTicks))
            {
                result_ = AccountError_.mNoAccount_;
            }
            if (AccountError_.mSucess_ == result_)
            {
                uint loginPassward_ = GenerateId._runPasswardId(nPassward);
                uint hashPassward_  = GenerateId._runPasswardId(mPassward);
                if (loginPassward_ != hashPassward_)
                {
                    result_ = AccountError_.mPassward_;
                }
            }
            return(result_);
        }