示例#1
0
def get_accepted_mission_status(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_accepted_mission_status()
示例#2
0
def is_docked_citadel(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_docked_citadel()
示例#3
0
def get_mission_stage(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_mission_stage()
示例#4
0
def is_any_news_in_journal(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_any_news_in_journal()
示例#5
0
def get_refresh_cooldown(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_refresh_cooldown()
示例#6
0
def get_lock_command_pos(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_lock_command_pos()
示例#7
0
def is_select_all_active(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_select_all_active()
示例#8
0
def is_tip_dialog_showing(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_confirm_dialog_showing()
示例#9
0
def get_selected_item_move_to_button_position(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_selected_item_move_to_button_position()
示例#10
0
def is_load_amount_window_showing(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_load_amount_window_showing()
示例#11
0
def is_item_compact_mode(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_item_compact_mode()
示例#12
0
def test_find_mineral_hold_menu_button_2():
    ic = ImageCapture('tests/images/test_find_ore_hold_menu_button_2.png')
    player = Player(ic, 0)
    assert player.find_mineral_hold_menu_button() == None
示例#13
0
def get_news_with_chains(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_news_with_chains()
示例#14
0
def is_inventory_visible(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_inventory_visible()
示例#15
0
def get_additional_cargo_position(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_additional_cargo_position()
示例#16
0
def get_inventory_load_percent(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_inventory_load_percent()
示例#17
0
def get_local(screenshotPath, user = '******'):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0, user)
    return player.get_local()
示例#18
0
def is_npc_dialog_with_reply_showing(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.is_npc_dialog_with_reply_showing()
示例#19
0
def get_autopilot_status(screenshotPath):
    ic = ImageCapture(screenshotPath)
    player = Player(ic, 0)
    return player.get_autopilot_status()