public function IsValid()
	{
		$AccountType = $this->GetAccountType();
		
		if( $AccountType <= self::TypeInvalid || $AccountType >= 11 ) // EAccountType.Max
		{
			return false;
		}
		
		$AccountUniverse = $this->GetAccountUniverse();
		
		if( $AccountUniverse <= self::UniverseInvalid || $AccountUniverse >= self::UniverseMax )
		{
			return false;
		}
		
		$AccountID = $this->GetAccountID();
		$AccountInstance = $this->GetAccountInstance();
		
		if( $AccountType === self::TypeIndividual )
		{
			if( $AccountID == 0 || $AccountInstance > self::WebInstance )
			{
				return false;
			}
		}
		
		if( $AccountType === self::TypeClan )
		{
			if( $AccountID == 0 || $AccountInstance != 0 )
			{
				return false;
			}
		}
		
		if( $AccountType === self::TypeGameServer )
		{
			if( $AccountID == 0 )
			{
				return false;
			}
		}
		
		return true;
	}
public function IsValid()
	{
		$AccountType = $this->GetAccountType();
		
		if( $AccountType <= self::TypeInvalid || $AccountType >= 11 ) // EAccountType.Max
		{
			return false;
		}
		
		$AccountUniverse = $this->GetAccountUniverse();
		
		if( $AccountUniverse <= self::UniverseInvalid || $AccountUniverse >= self::UniverseMax )
		{
			return false;
		}
		
		$AccountID = $this->GetAccountID();
		$AccountInstance = $this->GetAccountInstance();
		
		if( $AccountType === self::TypeIndividual )
		{
			if( $AccountID == 0 || $AccountInstance > self::WebInstance )
			{
				return false;
			}
		}
		
		if( $AccountType === self::TypeClan )
		{
			if( $AccountID == 0 || $AccountInstance != 0 )
			{
				return false;
			}
		}
		
		if( $AccountType === self::TypeGameServer )
		{
			if( $AccountID == 0 )
			{
				return false;
			}
		}
		
		return true;
	}
public function IsValid ( ) { $ AccountType = $ this -> GetAccountType ( ) ; if ( $ AccountType <= self :: TypeInvalid || $ AccountType >= 11 ) // EAccountType.Max { return false ; } $ AccountUniverse = $ this -> GetAccountUniverse ( ) ; if ( $ AccountUniverse <= self :: UniverseInvalid || $ AccountUniverse >= self :: UniverseMax ) { return false ; } $ AccountID = $ this -> GetAccountID ( ) ; $ AccountInstance = $ this -> GetAccountInstance ( ) ; if ( $ AccountType === self :: TypeIndividual ) { if ( $ AccountID == 0 || $ AccountInstance > self :: WebInstance ) { return false ; } } if ( $ AccountType === self :: TypeClan ) { if ( $ AccountID == 0 || $ AccountInstance != 0 ) { return false ; } } if ( $ AccountType === self :: TypeGameServer ) { if ( $ AccountID == 0 ) { return false ; } } return true ; }
Gets a value indicating whether this instance is valid.

@return bool true if this instance is valid; otherwise, false.
Gets a value indicating whether this instance is valid .