public AccountLoginB(string nAccountName, uint nAccountMgrId) { mAccountId = GenerateId._runNameId(nAccountName); mAccountName = nAccountName; mAccountMgrId = nAccountMgrId; }
public void _getAccountInfo(out uint nAccountMgrId, out uint nAccountId, string nAccountName) { uint hashName_ = GenerateId._runTableId(nAccountName); nAccountMgrId = hashName_ % mAccountMgrCount; nAccountId = GenerateId._runNameId(nAccountName); }
public Account _getAccount(string nAccountName) { Account result_ = null; uint accountId_ = GenerateId._runNameId(nAccountName); if (mAccounts.ContainsKey(accountId_)) { result_ = mAccounts[accountId_]; } return(result_); }
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; }