(self, dir)
Detects the descriptor file for either an Unreal project or an Unreal plugin in the specified directory
Detects the descriptor file for either an Unreal project or an Unreal plugin in the specified directory
Detects the descriptor file for either an Unreal project or an Unreal plugin in the specified directory
def getDescriptor(self, dir):
		"""
		Detects the descriptor file for either an Unreal project or an Unreal plugin in the specified directory
		"""
		try:
			return self.getProjectDescriptor(dir)
		except:
			try:
				return self.getPluginDescriptor(dir)
			except:
				raise UnrealManagerException('could not detect an Unreal project or plugin in the directory "{}"'.format(dir))
def getDescriptor ( self , dir ) : try : return self . getProjectDescriptor ( dir ) except : try : return self . getPluginDescriptor ( dir ) except : raise UnrealManagerException ( 'could not detect an Unreal project or plugin in the directory "{}"' . format ( dir ) )