Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarBaseScriptPane.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-29 02:12:03 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-29 02:12:03 +1000
commit224ad2c2c07311475875d1d243354f8647112b45 (patch)
treec8247f22b4ddda345b7f35d7c6ead25d5e1f2791 /source/frontend/StarBaseScriptPane.hpp
parent35fc2679dea7b625bf559c6855e101fc62e613f4 (diff)
Reset script panes on character swap
Diffstat (limited to 'source/frontend/StarBaseScriptPane.hpp')
-rw-r--r--source/frontend/StarBaseScriptPane.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/frontend/StarBaseScriptPane.hpp b/source/frontend/StarBaseScriptPane.hpp
index 4a47a4a..df2d4c5 100644
--- a/source/frontend/StarBaseScriptPane.hpp
+++ b/source/frontend/StarBaseScriptPane.hpp
@@ -25,12 +25,16 @@ public:
void tick(float dt) override;
bool sendEvent(InputEvent const& event) override;
+
+ Json const& config() const;
+ Json const& rawConfig() const;
PanePtr createTooltip(Vec2I const& screenPosition) override;
Maybe<String> cursorOverride(Vec2I const& screenPosition) override;
protected:
virtual GuiReaderPtr reader();
Json m_config;
+ Json m_rawConfig;
GuiReaderPtr m_reader;