MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / Citadel

Class Citadel

eos/saveddata/citadel.py:27–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27class Citadel(Ship):
28 def validate(self, item):
29 if item.category.name != "Structure":
30 pyfalog.error("Passed item '{0}' (category: {1}) is not under Structure category", item.name, item.category.name)
31 raise ValueError(
32 'Passed item "%s" (category: (%s)) is not under Structure category' % (item.name, item.category.name))
33
34 def __deepcopy__(self, memo):
35 copy = Citadel(self.item)
36 return copy
37
38 def __repr__(self):
39 return "Citadel(ID={}, name={}) at {}".format(
40 self.item.ID, self.item.name, hex(id(self))
41 )

Callers 9

importESIFunction · 0.90
_resolve_shipFunction · 0.90
importEftCfgFunction · 0.90
_importCreateFitFunction · 0.90
importDnaFunction · 0.90
importDnaAltFunction · 0.90
processImportInfoFunction · 0.90
initMethod · 0.90
__deepcopy__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected