From ea868bd27953b840d644665216ed06beb525de95 Mon Sep 17 00:00:00 2001 From: Cameron Royal <81903+cammm@users.noreply.github.com> Date: Fri, 4 Mar 2022 15:18:12 -0800 Subject: [PATCH] Support for Banners / Callouts / Timers A couple of missing render toggles that have since been added to the API --- leaguedirector/api.py | 3 +++ leaguedirector/app.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/leaguedirector/api.py b/leaguedirector/api.py index d7891d8..c8e9a5c 100644 --- a/leaguedirector/api.py +++ b/leaguedirector/api.py @@ -147,6 +147,8 @@ class Render(Resource): 'interfaceTarget' : True, 'interfaceQuests' : True, 'interfaceAnnounce' : True, + 'interfaceKillCallouts' : True, + 'interfaceNeutralTimers' : True, 'healthBarChampions' : True, 'healthBarStructures' : True, 'healthBarWards' : True, @@ -155,6 +157,7 @@ class Render(Resource): 'environment' : True, 'characters' : True, 'particles' : True, + 'banners' : True, 'skyboxPath' : '', 'skyboxRotation' : 0, 'skyboxRadius' : 0, diff --git a/leaguedirector/app.py b/leaguedirector/app.py index 6bbfe0f..a8e2dde 100644 --- a/leaguedirector/app.py +++ b/leaguedirector/app.py @@ -90,6 +90,8 @@ class VisibleWindow(QScrollArea): ('interfaceTarget', 'show_interface_target', 'Show UI Target?'), ('interfaceQuests', 'show_interface_quests', 'Show UI Quests?'), ('interfaceAnnounce', 'show_interface_announce', 'Show UI Announcements?'), + ('interfaceKillCallouts', 'show_interface_killcallouts', 'Show Kill Callouts?'), + ('interfaceNeutralTimers', 'show_interface_neutraltimers', 'Show Neutral Timers?'), ('healthBarChampions', 'show_healthbar_champions', 'Show Health Champions?'), ('healthBarStructures', 'show_healthbar_structures', 'Show Health Structures?'), ('healthBarWards', 'show_healthbar_wards', 'Show Health Wards?'), @@ -98,6 +100,7 @@ class VisibleWindow(QScrollArea): ('environment', 'show_environment', 'Show Environment?'), ('characters', 'show_characters', 'Show Characters?'), ('particles', 'show_particles', 'Show Particles?'), + ('banners', 'show_banners', 'Show Banners?'), ] def __init__(self, api):