limboai/limbo_string_names.h

42 lines
1003 B
C
Raw Normal View History

2022-08-28 10:54:34 +00:00
/* limbo_string_names.h */
#ifndef LIMBO_STRING_NAMES_H
#define LIMBO_STRING_NAMES_H
#include "core/string/string_name.h"
2022-08-28 10:54:34 +00:00
#include "core/typedefs.h"
#include "modules/register_module_types.h"
2022-08-28 10:54:34 +00:00
class LimboStringNames {
friend void initialize_limboai_module(ModuleInitializationLevel p_level);
friend void uninitialize_limboai_module(ModuleInitializationLevel p_level);
2022-08-28 10:54:34 +00:00
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;
2022-09-28 10:48:45 +00:00
StringName setup;
StringName entered;
StringName exited;
StringName updated;
StringName _update;
2022-09-29 10:54:07 +00:00
StringName state_changed;
StringName _get_configuration_warning;
2022-08-28 10:54:34 +00:00
};
#endif // LIMBO_STRING_NAMES_H