Server.Misc.AccountHandler.CheckAccount C# (CSharp) Méthode

CheckAccount() public static méthode

public static CheckAccount ( Server.Mobile mobCheck, Server.Mobile accCheck ) : bool
mobCheck Server.Mobile
accCheck Server.Mobile
Résultat bool
		public static bool CheckAccount( Mobile mobCheck, Mobile accCheck )
		{
			if ( accCheck != null )
			{
				Account a = accCheck.Account as Account;

				if ( a != null )
				{
					for ( int i = 0; i < a.Length; ++i )
					{
						if ( a[i] == mobCheck )
							return true;
					}
				}
			}

			return false;
		}
	}