Function addGeneratedResources

  • Generates resources with the given generator and adds them to the given store.

    Parameters

    Returns Promise<number>

    The amount of resources that were added.