Scripts/Accounting/Account.cs
/// <summary>
/// Deletes the account, all characters of the account, and all houses of those characters
/// </summary>
Deletes the account, all characters of the account, and all houses of those characters
Deletes the account all characters of the account and all houses of those characters
public void Delete()
		{
			for ( int i = 0; i < this.Length; ++i )
			{
				Mobile m = this[i];
				if ( m == null )
					continue;
				List<BaseHouse> list = BaseHouse.GetHouses( m );
				for ( int j = 0; j < list.Count; ++j )
					list[j].Delete();
				m.Delete();
				m.Account = null;
				m_Mobiles[i] = null;
			}
            if (m_LoginIPs.Length != 0 && AccountHandler.IPTable.ContainsKey(m_LoginIPs[0]))
                --AccountHandler.IPTable[m_LoginIPs[0]];
			Accounts.Remove( m_Username );
		}
public void Delete ( ) { for ( int i = 0 ; i < this . Length ; ++ i ) { Mobile m = this [ i ] ; if ( m == null ) continue ; List < BaseHouse > list = BaseHouse . GetHouses ( m ) ; for ( int j = 0 ; j < list . Count ; ++ j ) list [ j ] . Delete ( ) ; m . Delete ( ) ; m . Account = null ; m_Mobiles [ i ] = null ; } if ( m_LoginIPs . Length != 0 && AccountHandler . IPTable . ContainsKey ( m_LoginIPs [ 0 ] ) ) -- AccountHandler . IPTable [ m_LoginIPs [ 0 ] ] ; Accounts . Remove ( m_Username ) ; }
Deletes the account, all characters of the account, and all houses of those characters
Deletes the account all characters of the account and all houses of those characters