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

Method addImplantToContext

gui/setEditor.py:105–109  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

103 return []
104
105 def addImplantToContext(self, item):
106 sIS = ImplantSets.getInstance()
107 set_ = self.Parent.entityEditor.getActiveEntity()
108
109 sIS.addImplants(set_.ID, item.ID)
110
111 def removeImplantFromContext(self, implant):
112 sIS = ImplantSets.getInstance()

Callers

nothing calls this directly

Calls 3

getActiveEntityMethod · 0.80
getInstanceMethod · 0.45
addImplantsMethod · 0.45

Tested by

no test coverage detected