コード例 #1
0
 public AccountLoginB(string nAccountName,
                      uint nAccountMgrId)
 {
     mAccountId    = GenerateId._runNameId(nAccountName);
     mAccountName  = nAccountName;
     mAccountMgrId = nAccountMgrId;
 }
コード例 #2
0
        public void _getAccountInfo(out uint nAccountMgrId,
                                    out uint nAccountId, string nAccountName)
        {
            uint hashName_ = GenerateId._runTableId(nAccountName);

            nAccountMgrId = hashName_ % mAccountMgrCount;
            nAccountId    = GenerateId._runNameId(nAccountName);
        }
コード例 #3
0
        public Account _getAccount(string nAccountName)
        {
            Account result_    = null;
            uint    accountId_ = GenerateId._runNameId(nAccountName);

            if (mAccounts.ContainsKey(accountId_))
            {
                result_ = mAccounts[accountId_];
            }
            return(result_);
        }
コード例 #4
0
 public AccountCreateB(int nPlatform, string nAccountName, string nNickname,
                       string nPassward, string nGetPassward, uint nAccountMgrId)
 {
     mAccountId    = GenerateId._runNameId(nAccountName);
     mPlatform     = nPlatform;
     mAccountName  = nAccountName;
     mAccountMgrId = nAccountMgrId;
     mNickName     = nNickname;
     mPassward     = nPassward;
     mGetPassward  = nGetPassward;
     mTicks        = DateTime.Now.Ticks;
 }