(self)
Returns the compatible Perforce changelist identifier for the latest installed version of UE4
Returns the compatible Perforce changelist identifier for the latest installed version of UE4
Returns the compatible Perforce changelist identifier for the latest installed version of UE4
def getEngineChangelist(self):
		"""
		Returns the compatible Perforce changelist identifier for the latest installed version of UE4
		"""
		
		# Newer versions of the engine use the key "CompatibleChangelist", older ones use "Changelist"
		version = self._getEngineVersionDetails()
		if 'CompatibleChangelist' in version:
			return int(version['CompatibleChangelist'])
		else:
			return int(version['Changelist'])
def getEngineChangelist ( self ) : # Newer versions of the engine use the key "CompatibleChangelist", older ones use "Changelist" version = self . _getEngineVersionDetails ( ) if 'CompatibleChangelist' in version : return int ( version [ 'CompatibleChangelist' ] ) else : return int ( version [ 'Changelist' ] )