MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / setSsoCharacter

Method setSsoCharacter

eos/saveddata/character.py:179–185  ·  view source on GitHub ↗
(self, character, clientHash)

Source from the content-addressed store, hash-verified

177 self.savedName = name
178
179 def setSsoCharacter(self, character, clientHash):
180 if character is not None:
181 self.__ssoCharacters.append(character)
182 else:
183 for x in self.__ssoCharacters:
184 if x.client == clientHash:
185 self.__ssoCharacters.remove(x)
186
187 def getSsoCharacter(self, clientHash):
188 return next((x for x in self.__ssoCharacters if x.client == clientHash), None)

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected