Skip to content

Commit

Permalink
ADD Personal/Corproation *LocationFlagEnumV3
Browse files Browse the repository at this point in the history
- Removes `frigateEscapeBay` from `PersonalLocationFlagEnumV2`
  and `CorporationLocationFlagEnumV2`.
- Adds `PersonalLocationFlagEnumV3` with `frigateEscapeBay` added.
- Adds `CorporationLocationFlagEnumV3` with `frigateEscapeBay` added.
  • Loading branch information
mateuszkrasucki committed Mar 26, 2020
1 parent 96fc4b1 commit b197d7c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions eve_glue/location_flag.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ class PersonalLocationFlagEnumV2(enum.Enum):
HangarAll = 1000


PersonalLocationFlagEnumV3 = new_from_enum( # pylint: disable=invalid-name
"PersonalLocationFlagEnumV3",
PersonalLocationFlagEnumV2,
add={
"FrigateEscapeBay": 179,
}
)


class CorporationLocationFlagEnumV1(enum.Enum):
"""From inventorycommon/const.py:75."""

Expand Down Expand Up @@ -359,3 +368,11 @@ class FittingLocationFlagEnumV1(enum.Enum):
"FrigateEscapeBay": 179,
}
)

CorporationLocationFlagEnumV3 = new_from_enum( # pylint: disable=invalid-name
"CorporationLocationFlagEnumV3",
CorporationLocationFlagEnumV2,
add={
"FrigateEscapeBay": 179,
}
)

0 comments on commit b197d7c

Please sign in to comment.