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

Method changeChar

service/fit.py:389–400  ·  view source on GitHub ↗
(self, fitID, charID)

Source from the content-addressed store, hash-verified

387 return mutator.value
388
389 def changeChar(self, fitID, charID):
390 pyfalog.debug("Changing character ({0}) for fit ID: {1}", charID, fitID)
391 if fitID is None or charID is None:
392 if charID is not None:
393 self.character = Character.getInstance().all5()
394
395 return
396
397 fit = eos.db.getFit(fitID)
398 fit.character = self.character = eos.db.getCharacter(charID)
399 self.recalc(fit)
400 self.fill(fit)
401
402 @staticmethod
403 def getTargetProfile(fitID):

Callers 3

refreshCharacterListMethod · 0.80
charChangedMethod · 0.80
handleSkillChangeMethod · 0.80

Calls 6

recalcMethod · 0.95
fillMethod · 0.95
all5Method · 0.80
getFitMethod · 0.80
getCharacterMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected