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

Function init_inventory

pokemongo_bot/inventory.py:1467–1476  ·  view source on GitHub ↗

Initialises the cached inventory, retrieves data from the server. :param bot: Instance of the bot. :type bot: pokemongo_bot.PokemonGoBot :return: Nothing. :rtype: None

(bot)

Source from the content-addressed store, hash-verified

1465# Only type return have been filled for now. It helps the IDE to suggest methods of the class.
1466
1467def init_inventory(bot):
1468 """
1469 Initialises the cached inventory, retrieves data from the server.
1470 :param bot: Instance of the bot.
1471 :type bot: pokemongo_bot.PokemonGoBot
1472 :return: Nothing.
1473 :rtype: None
1474 """
1475 global _inventory
1476 _inventory = Inventory(bot)
1477
1478
1479def refresh_inventory(data=None):

Callers 1

startMethod · 0.85

Calls 1

InventoryClass · 0.85

Tested by

no test coverage detected