MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / __init__

Method __init__

pokemongo_bot/inventory.py:1305–1316  ·  view source on GitHub ↗
(self, bot)

Source from the content-addressed store, hash-verified

1303
1304class Inventory(object):
1305 def __init__(self, bot):
1306 self.bot = bot
1307 self.pokedex = Pokedex()
1308 self.candy = Candies()
1309 self.items = Items()
1310 self.applied_items = AppliedItems()
1311 self.pokemons = Pokemons()
1312 self.player = Player(self.bot) # include inventory inside Player?
1313 self.egg_incubators = None
1314 self.refresh()
1315 self.item_inventory_size = None
1316 self.pokemon_inventory_size = None
1317
1318 def refresh(self, inventory=None):
1319 if inventory is None:

Callers

nothing calls this directly

Calls 7

refreshMethod · 0.95
PokedexClass · 0.85
CandiesClass · 0.85
ItemsClass · 0.85
AppliedItemsClass · 0.85
PokemonsClass · 0.85
PlayerClass · 0.85

Tested by

no test coverage detected