/** * limbo_string_names.h * ============================================================================= * Copyright 2021-2023 Serhii Snitsaruk * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * ============================================================================= */ #ifndef LIMBO_STRING_NAMES_H #define LIMBO_STRING_NAMES_H #ifdef LIMBOAI_MODULE #include "core/string/string_name.h" #include "core/typedefs.h" #include "modules/register_module_types.h" #endif // LIMBOAI_MODULE #ifdef LIMBOAI_GDEXTENSION #include "godot_cpp/variant/string.hpp" #include using namespace godot; #endif // LIMBOAI_GDEXTENSION class LimboStringNames { friend void initialize_limboai_module(ModuleInitializationLevel p_level); friend void uninitialize_limboai_module(ModuleInitializationLevel p_level); static LimboStringNames *singleton; static void create() { singleton = memnew(LimboStringNames); } static void free() { memdelete(singleton); singleton = nullptr; } LimboStringNames(); public: _FORCE_INLINE_ static LimboStringNames *get_singleton() { return singleton; } StringName _generate_name; StringName _setup; StringName _enter; StringName _exit; StringName _tick; StringName behavior_tree_finished; StringName setup; StringName entered; StringName exited; StringName updated; StringName _update; StringName state_changed; StringName _get_configuration_warning; StringName changed; StringName emit_changed; StringName _weight_; StringName error_value; StringName behavior_tree; StringName _draw_success_status; StringName _draw_failure_status; StringName _draw_running_status; StringName LimboExtraClock; StringName EditorIcons; StringName BTAlwaysSucceed; StringName BTAlwaysFail; StringName bold; StringName EditorFonts; StringName item_collapsed; StringName pressed; StringName StatusWarning; StringName mode_changed; StringName connect; StringName task_button_pressed; StringName gui_input; StringName icon_max_width; StringName GuiTreeArrowDown; StringName GuiTreeArrowRight; StringName font; StringName task_button_rmb; StringName favorite_tasks_changed; StringName task_selected; StringName toggled; StringName Favorites; StringName Script; StringName Help; StringName NonFavorite; StringName normal; StringName LineEdit; StringName AnimationFilter; StringName Reload; StringName LimboSelectAll; StringName LimboDeselectAll; StringName Search; StringName refresh; StringName _draw_probability; StringName probability_clicked; StringName rmb_pressed; StringName task_activated; StringName task_dragged; StringName doc_italic; StringName NodeWarning; StringName Editor; StringName disabled_font_color; StringName font_color; StringName accent_color; StringName font_size; String EVENT_FINISHED; String repeat_forever; }; #define LSNAME(m_arg) LimboStringNames::get_singleton()->m_arg #endif // LIMBO_STRING_NAMES_H