void _getStatus(StatusGetC nStatusGetC, string nAccountName, long nTicks) { AccountService accountService_ = __singleton <AccountService> ._instance(); uint accountMgrId_ = default(uint); uint accountId_ = default(uint); accountService_._getAccountInfo(out accountMgrId_, out accountId_, nAccountName); StatusMgr statusMgr_ = new StatusMgr(); statusMgr_._runAccountLogin(accountMgrId_, accountId_); statusMgr_._getStatus(nStatusGetC, nTicks, accountMgrId_, accountId_); }
void _getStatus(StatusGetC nStatusGetC, Account nAccount, long nTicks) { AccountMgr accountMgr_ = nAccount._getAccountMgr(); uint accountMgrId_ = accountMgr_._getId(); uint accountId_ = nAccount._getId(); uint propertyId_ = PropertyId <StatusMgr> ._classId(); StatusMgr statusMgr_ = nAccount._getProperty <StatusMgr>(propertyId_); if (statusMgr_._getTicks() == nTicks) { nStatusGetC.m_tErrorCode = StatusError_.mSucessTicks_; return; } statusMgr_._getStatus(nStatusGetC, nTicks, accountMgrId_, accountId_); }