Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PokemonGoF/PokemonGo-Bot
/ __init__
Method
__init__
pokemongo_bot/inventory.py:761–763 ·
view source on GitHub ↗
(self, family_id, quantity)
Source
from the content-addressed store, hash-verified
759
760
class
Candy(object):
761
def
__init__(self, family_id, quantity):
762
self.type = Pokemons.name_for(family_id)
763
self.quantity = quantity
764
765
def
consume(self, amount):
766
if
self.quantity < amount:
Callers
nothing calls this directly
Calls
1
name_for
Method · 0.45
Tested by
no test coverage detected