From b78093041d877ef30c2d17878cc03fd30c4b229c Mon Sep 17 00:00:00 2001 From: hop311 Date: Wed, 18 Sep 2024 23:12:41 +0100 Subject: Add RuleSet and ModifierValue tooltip making functions --- extension/src/openvic-extension/singletons/MenuSingleton.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.hpp') diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.hpp b/extension/src/openvic-extension/singletons/MenuSingleton.hpp index 3f07583..97a6956 100644 --- a/extension/src/openvic-extension/singletons/MenuSingleton.hpp +++ b/extension/src/openvic-extension/singletons/MenuSingleton.hpp @@ -11,6 +11,8 @@ namespace OpenVic { struct CountryInstance; struct State; struct ProvinceInstance; + struct ModifierValue; + struct RuleSet; class MenuSingleton : public godot::Object { GDCLASS(MenuSingleton, godot::Object) @@ -105,6 +107,9 @@ namespace OpenVic { godot::String get_country_name(CountryInstance const& country) const; godot::String get_country_adjective(CountryInstance const& country) const; + godot::String make_modifier_effects_tooltip(ModifierValue const& modifier) const; + godot::String make_rules_tooltip(RuleSet const& rules) const; + protected: static void _bind_methods(); -- cgit v1.2.3-56-ga3b1