aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUILabel.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-09-08 18:55:42 +0200
committer hop311 <hop3114@gmail.com>2024-09-10 00:29:16 +0200
commit6d4b8b087b62b5487d72cc6c2265b3e00afb9c8a (patch)
tree95518129dcaf6116c71b8c9f0e819675c31b99fd /extension/src/openvic-extension/classes/GUILabel.cpp
parenta3b34e2d6a9bf2bc59619390e0490a5b45d75337 (diff)
Ranking + army topbar inforanking
Diffstat (limited to 'extension/src/openvic-extension/classes/GUILabel.cpp')
-rw-r--r--extension/src/openvic-extension/classes/GUILabel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUILabel.cpp b/extension/src/openvic-extension/classes/GUILabel.cpp
index 732dec2..4b6b1c1 100644
--- a/extension/src/openvic-extension/classes/GUILabel.cpp
+++ b/extension/src/openvic-extension/classes/GUILabel.cpp
@@ -31,12 +31,18 @@ String const& GUILabel::get_substitution_marker() {
return SUBSTITUTION_MARKER;
}
+String const& GUILabel::get_flag_marker() {
+ static const String FLAG_MARKER = String::chr(0x40); // @
+ return FLAG_MARKER;
+}
+
void GUILabel::_bind_methods() {
GUI_TOOLTIP_BIND_METHODS(GUILabel)
OV_BIND_SMETHOD(get_colour_marker);
OV_BIND_SMETHOD(get_currency_marker);
OV_BIND_SMETHOD(get_substitution_marker);
+ OV_BIND_SMETHOD(get_flag_marker);
OV_BIND_METHOD(GUILabel::clear);
OV_BIND_METHOD(GUILabel::get_gui_text_name);