﻿from lib.game.ui.general import UIElement, Rect, load_ui_image

EVENT_LIST_DRAG_FROM = UIElement(name='EVENT_LIST_DRAG_FROM')
EVENT_LIST_DRAG_FROM.description = "Event: start position of dragging the list."
EVENT_LIST_DRAG_FROM.button_rect = Rect(0.7233069576171864, 0.48041542170252505, 0.9760352937641509, 0.5282693078368617)

EVENT_LIST_DRAG_TO = UIElement(name='EVENT_LIST_DRAG_TO')
EVENT_LIST_DRAG_TO.description = "Event: end position of dragging the list."
EVENT_LIST_DRAG_TO.button_rect = Rect(0.7233069576171864, 0.8140633500280379, 0.9737921428516039, 0.8579294123178464)

EVENT_BUTTON_1_1 = UIElement(name='EVENT_BUTTON_1_1')
EVENT_BUTTON_1_1.description = "Event button on main screen: #1 from bottom to top without scrolling."
EVENT_BUTTON_1_1.text_rect = Rect(0.7233663865283669, 0.788477455844055, 0.848876348914871, 0.8571324780041942)
EVENT_BUTTON_1_1.button_rect = Rect(0.7233663865283669, 0.788477455844055, 0.848876348914871, 0.8571324780041942)
EVENT_BUTTON_1_1.text_threshold = 120

EVENT_BUTTON_1_2 = UIElement(name='EVENT_BUTTON_1_2')
EVENT_BUTTON_1_2.description = "Event button on main screen: #2 from bottom to top without scrolling."
EVENT_BUTTON_1_2.text_rect = Rect(0.7242440785730276, 0.6987578246120553, 0.8475598108478797, 0.7666326760658291)
EVENT_BUTTON_1_2.button_rect = Rect(0.7242440785730276, 0.6987578246120553, 0.8475598108478797, 0.7666326760658291)
EVENT_BUTTON_1_2.text_threshold = 120

EVENT_BUTTON_1_3 = UIElement(name='EVENT_BUTTON_1_3')
EVENT_BUTTON_1_3.description = "Event button on main screen: #3 from bottom to top without scrolling."
EVENT_BUTTON_1_3.text_rect = Rect(0.7238052325506973, 0.6090381933800554, 0.8449267347138971, 0.6769130448338292)
EVENT_BUTTON_1_3.button_rect = Rect(0.7238052325506973, 0.6090381933800554, 0.8449267347138971, 0.6769130448338292)
EVENT_BUTTON_1_3.text_threshold = 120

EVENT_BUTTON_1_4 = UIElement(name='EVENT_BUTTON_1_4')
EVENT_BUTTON_1_4.description = "Event button on main screen: #4 from bottom to top without scrolling."
EVENT_BUTTON_1_4.text_rect = Rect(0.7233663865283668, 0.5200987328544207, 0.8453655807362276, 0.5856330721890989)
EVENT_BUTTON_1_4.button_rect = Rect(0.7233663865283668, 0.5200987328544207, 0.8453655807362276, 0.5856330721890989)
EVENT_BUTTON_1_4.text_threshold = 120

EVENT_BUTTON_2_1 = UIElement(name='EVENT_BUTTON_2_1')
EVENT_BUTTON_2_1.description = "Event button on main screen: #1 from bottom to top after scrolling."
EVENT_BUTTON_2_1.text_rect = Rect(0.7228805306401055, 0.7640989230504723, 0.8604153690112154, 0.8320866662815425)
EVENT_BUTTON_2_1.button_rect = Rect(0.7228805306401055, 0.7640989230504723, 0.8604153690112154, 0.8320866662815425)
EVENT_BUTTON_2_1.text_threshold = 120

EVENT_BUTTON_2_2 = UIElement(name='EVENT_BUTTON_2_2')
EVENT_BUTTON_2_2.description = "Event button on main screen: #2 from bottom to top after scrolling."
EVENT_BUTTON_2_2.text_rect = Rect(0.7225296764605872, 0.6749039938574171, 0.8597136606521791, 0.7416442555613116)
EVENT_BUTTON_2_2.button_rect = Rect(0.7225296764605872, 0.6749039938574171, 0.8597136606521791, 0.7416442555613116)
EVENT_BUTTON_2_2.text_threshold = 120

EVENT_BUTTON_2_3 = UIElement(name='EVENT_BUTTON_2_3')
EVENT_BUTTON_2_3.description = "Event button on main screen: #3 from bottom to top after scrolling."
EVENT_BUTTON_2_3.text_rect = Rect(0.7228805306401055, 0.584461583137186, 0.8590119522931429, 0.6524493263682561)
EVENT_BUTTON_2_3.button_rect = Rect(0.7228805306401055, 0.584461583137186, 0.8590119522931429, 0.6524493263682561)
EVENT_BUTTON_2_3.text_threshold = 120

EVENT_BUTTON_2_4 = UIElement(name='EVENT_BUTTON_2_4')
EVENT_BUTTON_2_4.description = "Event button on main screen: #4 from bottom to top after scrolling."
EVENT_BUTTON_2_4.text_rect = Rect(0.7228805306401055, 0.4940191724169549, 0.8597136606521791, 0.562630656411613)
EVENT_BUTTON_2_4.button_rect = Rect(0.7228805306401055, 0.4940191724169549, 0.8597136606521791, 0.562630656411613)
EVENT_BUTTON_2_4.text_threshold = 120

EVENT_WORLD_BOSS_LABEL = UIElement(name='EVENT_WORLD_BOSS_LABEL')
EVENT_WORLD_BOSS_LABEL.description = "Event World Boss mission label."
EVENT_WORLD_BOSS_LABEL.text_rect = Rect(0.04737081596968373, 0.015169306507586995, 0.2193457192649554, 0.07764521340519293)
EVENT_WORLD_BOSS_LABEL.text = "EVENT WORLD BOSS"
EVENT_WORLD_BOSS_LABEL.text_threshold = 120

EVENT_WORLD_BOSS_ENTER = UIElement(name='EVENT_WORLD_BOSS_ENTER')
EVENT_WORLD_BOSS_ENTER.description = "Event World Boss enter button."
EVENT_WORLD_BOSS_ENTER.text_rect = Rect(0.11391762637524536, 0.8273560961764647, 0.18868932346014614, 0.8885027284592278)
EVENT_WORLD_BOSS_ENTER.button_rect = Rect(0.11391762637524536, 0.8273560961764647, 0.18868932346014614, 0.8885027284592278)
EVENT_WORLD_BOSS_ENTER.text = "ENTER"
EVENT_WORLD_BOSS_ENTER.text_threshold = 120

EVENT_WORLD_BOSS_ALLIES = UIElement(name='EVENT_WORLD_BOSS_ALLIES')
EVENT_WORLD_BOSS_ALLIES.description = "Event World Boss: Allies label at the end of the battle."
EVENT_WORLD_BOSS_ALLIES.text_rect = Rect(0.678443939366246, 0.218548322578517, 0.7502247685677508, 0.26906075794253886)
EVENT_WORLD_BOSS_ALLIES.text = "ALLIES"
EVENT_WORLD_BOSS_ALLIES.text_threshold = 120

EVENT_WORLD_BOSS_LIMIT_REACHED = UIElement(name='EVENT_WORLD_BOSS_LIMIT_REACHED')
EVENT_WORLD_BOSS_LIMIT_REACHED.description = "Event World Boss: notice when all entries are used at the end of the battle. Leads to OK button."
EVENT_WORLD_BOSS_LIMIT_REACHED.text_rect = Rect(0.45637199902409076, 0.20126775258556223, 0.5453503185551227, 0.2597558356386401)
EVENT_WORLD_BOSS_LIMIT_REACHED.button_rect = Rect(0.48029894209125895, 0.7156970285296794, 0.5236665264005015, 0.7741851115827575)
EVENT_WORLD_BOSS_LIMIT_REACHED.text = "NOTICE"
EVENT_WORLD_BOSS_LIMIT_REACHED.text_threshold = 120

EVENT_WORLD_BOSS_HOME_BUTTON = UIElement(name='EVENT_WORLD_BOSS_HOME_BUTTON')
EVENT_WORLD_BOSS_HOME_BUTTON.description = "Event World Boss: HOME button at the end of the battle."
EVENT_WORLD_BOSS_HOME_BUTTON.button_rect = Rect(0.40477952803550926, 0.8765392569256438, 0.4503902632572988, 0.9469908115123059)

EVENT_WORLD_BOSS_REPEAT_BUTTON = UIElement(name='EVENT_WORLD_BOSS_REPEAT_BUTTON')
EVENT_WORLD_BOSS_REPEAT_BUTTON.description = "Event World Boss: REPEAT button at the end of the battle."
EVENT_WORLD_BOSS_REPEAT_BUTTON.button_rect = Rect(0.5498366203802166, 0.8805270807701718, 0.5939519216603081, 0.9496493607419912)

EVENT_WORLD_LABEL = UIElement(name='EVENT_WORLD_LABEL')
EVENT_WORLD_LABEL.description = "World Event mission label."
EVENT_WORLD_LABEL.text_rect = Rect(0.04737081596968373, 0.012510757277901676, 0.176725851926562, 0.08030376263487823)
EVENT_WORLD_LABEL.text = "WORLD EVENT"
EVENT_WORLD_LABEL.text_threshold = 120

EVENT_WORLD_LOBBY_READY_BUTTON = UIElement(name='EVENT_WORLD_LOBBY_READY_BUTTON')
EVENT_WORLD_LOBBY_READY_BUTTON.description = "World Event: Ready button in mission lobby."
EVENT_WORLD_LOBBY_READY_BUTTON.text_rect = Rect(0.7786380134600129, 0.9031247492224974, 0.8638777481367997, 0.9656006561201034)
EVENT_WORLD_LOBBY_READY_BUTTON.button_rect = Rect(0.7786380134600129, 0.9031247492224974, 0.8638777481367997, 0.9656006561201034)
EVENT_WORLD_LOBBY_READY_BUTTON.text = "READY"
EVENT_WORLD_LOBBY_READY_BUTTON.text_threshold = 120

EVENT_WORLD_BATTLE_READY_BUTTON = UIElement(name='EVENT_WORLD_BATTLE_READY_BUTTON')
EVENT_WORLD_BATTLE_READY_BUTTON.description = "World Event: Ready button in team selector."
EVENT_WORLD_BATTLE_READY_BUTTON.text_rect = Rect(0.8220055977692555, 0.8871734538443853, 0.8982727287958542, 0.9430029876677778)
EVENT_WORLD_BATTLE_READY_BUTTON.button_rect = Rect(0.8220055977692555, 0.8871734538443853, 0.8982727287958542, 0.9430029876677778)
EVENT_WORLD_BATTLE_READY_BUTTON.text = "Ready"
EVENT_WORLD_BATTLE_READY_BUTTON.text_threshold = 120

EVENT_WORLD_SELECT_BATTLE_READY = UIElement(name='EVENT_WORLD_SELECT_BATTLE_READY')
EVENT_WORLD_SELECT_BATTLE_READY.description = "World Event: menu of selecting battle system. Leads to READY selector."
EVENT_WORLD_SELECT_BATTLE_READY.text_rect = Rect(0.3890774716476801, 0.016498581122429547, 0.6104016950189863, 0.08562086109424909)
EVENT_WORLD_SELECT_BATTLE_READY.button_rect = Rect(0.11466534334609442, 0.2225361464230451, 0.3359895667174006, 0.6399283754836467)
EVENT_WORLD_SELECT_BATTLE_READY.text = "Select Battle System"
EVENT_WORLD_SELECT_BATTLE_READY.text_threshold = 120

EVENT_WORLD_SELECT_BATTLE_READY_OK = UIElement(name='EVENT_WORLD_SELECT_BATTLE_READY_OK')
EVENT_WORLD_SELECT_BATTLE_READY_OK.description = "World Event: conformation of selecting the battle. Leads to OK button."
EVENT_WORLD_SELECT_BATTLE_READY_OK.text_rect = Rect(0.5618000919138009, 0.6784773393140843, 0.6074108271355902, 0.7396239715968477)
EVENT_WORLD_SELECT_BATTLE_READY_OK.button_rect = Rect(0.5618000919138009, 0.6784773393140843, 0.6074108271355902, 0.7396239715968477)
EVENT_WORLD_SELECT_BATTLE_READY_OK.text = "OK"
EVENT_WORLD_SELECT_BATTLE_READY_OK.text_threshold = 120
EVENT_WORLD_SELECT_BATTLE_READY_OK.available_characters = "OK"

EVENT_WORLD_BATTLE_START_BUTTON = UIElement(name='EVENT_WORLD_BATTLE_START_BUTTON')
EVENT_WORLD_BATTLE_START_BUTTON.description = "World Event: Start button in team selector."
EVENT_WORLD_BATTLE_START_BUTTON.text_rect = Rect(0.772656277693221, 0.8845149046147, 0.8481756917489707, 0.9469908115123059)
EVENT_WORLD_BATTLE_START_BUTTON.button_rect = Rect(0.772656277693221, 0.8845149046147, 0.8481756917489707, 0.9469908115123059)
EVENT_WORLD_BATTLE_START_BUTTON.text = "START"
EVENT_WORLD_BATTLE_START_BUTTON.text_threshold = 120

EVENT_WORLD_BATTLE_TOTAL_SCORE = UIElement(name='EVENT_WORLD_BATTLE_TOTAL_SCORE')
EVENT_WORLD_BATTLE_TOTAL_SCORE.description = "World Event: total score at the of the battle. Leads to HOME button."
EVENT_WORLD_BATTLE_TOTAL_SCORE.text_rect = Rect(0.12064707911288644, 0.4259151624939752, 0.21785028532325743, 0.4830739709322104)
EVENT_WORLD_BATTLE_TOTAL_SCORE.button_rect = Rect(0.40627496197720725, 0.8512830392436328, 0.4533811311406948, 0.9177467699857669)
EVENT_WORLD_BATTLE_TOTAL_SCORE.text = "TOTAL SCORE"
EVENT_WORLD_BATTLE_TOTAL_SCORE.text_threshold = 120

EVENT_FUTURE_PASS_LABEL = UIElement(name='EVENT_FUTURE_PASS_LABEL')
EVENT_FUTURE_PASS_LABEL.description = "Future Pass event label."
EVENT_FUTURE_PASS_LABEL.text_rect = Rect(0.04811853294053273, 0.01384003189274423, 0.16850096524722294, 0.07365738956066484)
EVENT_FUTURE_PASS_LABEL.text = "FUTURE PASS"
EVENT_FUTURE_PASS_LABEL.text_threshold = 120

EVENT_FUTURE_PASS_ACQUIRE_POINTS = UIElement(name='EVENT_FUTURE_PASS_ACQUIRE_POINTS')
EVENT_FUTURE_PASS_ACQUIRE_POINTS.description = "Future Pass: acquire free points."
EVENT_FUTURE_PASS_ACQUIRE_POINTS.text_rect = Rect(0.8518891517050018, 0.24615171941830244, 0.9546349104613838, 0.2833410354236121)
EVENT_FUTURE_PASS_ACQUIRE_POINTS.button_rect = Rect(0.8518891517050018, 0.24615171941830244, 0.9546349104613838, 0.2833410354236121)
EVENT_FUTURE_PASS_ACQUIRE_POINTS.text = "ACQUIRE FOR FREE"
EVENT_FUTURE_PASS_ACQUIRE_POINTS.text_threshold = 120

EVENT_FUTURE_PASS_CLAIM_REWARDS = UIElement(name='EVENT_FUTURE_PASS_CLAIM_REWARDS')
EVENT_FUTURE_PASS_CLAIM_REWARDS.description = "Future Pass: claim all rewards."
EVENT_FUTURE_PASS_CLAIM_REWARDS.text_rect = Rect(0.05410026870732481, 0.3528050586776278, 0.13036739973392356, 0.40730531788617763)
EVENT_FUTURE_PASS_CLAIM_REWARDS.button_rect = Rect(0.05410026870732481, 0.3528050586776278, 0.13036739973392356, 0.40730531788617763)
EVENT_FUTURE_PASS_CLAIM_REWARDS.text = "CLAIM ALL"
EVENT_FUTURE_PASS_CLAIM_REWARDS.text_threshold = 120

EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE = UIElement(name='EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE')
EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE.description = "Future Pass: close Claim All notification. Leads to OK button."
EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE.text_rect = Rect(0.44066994263626164, 0.11087707877625992, 0.5580615070595558, 0.16138951414028183)
EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE.button_rect = Rect(0.482542093003806, 0.8153926246428804, 0.5199279415462564, 0.8645757853920596)
EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE.text = "CLAIM ALL"
EVENT_FUTURE_PASS_CLAIM_REWARDS_CLOSE.text_threshold = 120
