Replaced eos.enum by enum. Removed unused enum import.

Found another Enum to move.
This commit is contained in:
Indiction
2019-03-09 18:59:43 +01:00
parent bd33efa875
commit afa8c3c53a
11 changed files with 53 additions and 80 deletions

View File

@@ -17,8 +17,7 @@
# along with pyfa. If not, see <http://www.gnu.org/licenses/>.
# =============================================================================
from eos.enum import Enum
from enum import IntEnum,unique
from enum import Enum,IntEnum,unique,auto
@unique
class FittingSlot(IntEnum):
@@ -83,6 +82,25 @@ class FittingHardpoint(IntEnum):
MISSILE = 1
TURRET = 2
@unique
class FittingAttrGroup(IntEnum):
"""
Define the various groups of attributes
"""
FITTING = auto()
STRUCTURE = auto()
SHIELD = auto()
ARMOR = auto()
TARGETING = auto()
EWAR_RESISTS = auto()
CAPACITOR = auto()
SHARED_FACILITIES = auto()
FIGHTER_FACILITIES = auto()
ON_DEATH = auto()
JUMP_SYSTEMS = auto()
PROPULSIONS = auto()
FIGHTERS = auto()
@unique
class EsiLoginMethod(IntEnum):
"""
@@ -126,7 +144,8 @@ class PortEftOptions(IntEnum):
MUTATIONS = 2
LOADED_CHARGES = 3
class PortEftRigSize(Enum):
@unique
class PortEftRigSize(IntEnum):
"""
Contains different sizes of ship rigs
"""