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

Method itemIDCallback

eos/gamedata.py:690–693  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

688
689 @staticmethod
690 def itemIDCallback(v):
691 v = int(v)
692 item = eos.db.getItem(int(v))
693 return "%s (%d)" % (item.name, v) if item is not None else str(v)
694
695 @staticmethod
696 def groupIDCallback(v):

Callers

nothing calls this directly

Calls 1

getItemMethod · 0.80

Tested by

no test coverage detected