22#ifndef QDENGINE_QDCORE_QD_TRIGGER_CHAIN_H
23#define QDENGINE_QDCORE_QD_TRIGGER_CHAIN_H
25#include "qdengine/parser/xml_fwd.h"
26#include "qdengine/qdcore/qd_trigger_element.h"
40 return QD_NAMED_OBJECT_TRIGGER_CHAIN;
46 qdTriggerElementConstPtr root_element()
const {
50 qdTriggerElementPtr add_element(qdNamedObject *p);
51 bool remove_element(qdTriggerElementPtr p,
bool free_mem =
false,
bool relink_elements =
false);
53 bool can_add_element(
const qdNamedObject *p)
const;
67 bool is_element_in_list(qdTriggerElementConstPtr p)
const;
99 bool reindex_elements();
Поименованный объект.
Definition: qd_named_object.h:70
Definition: qd_trigger_chain.h:34
static const char * debug_comline()
Возвращает имя параметра командной строки для отладки тиггеров.
bool load_data(Common::SeekableReadStream &fh, int save_version)
Загрузка данных из сэйва.
int named_object_type() const
Возвращает тип объекта.
Definition: qd_trigger_chain.h:39
bool init_debug_check()
Инициализация для отладочной проверки цепочки.
bool deactivate_object_triggers(const qdNamedObject *p)
Делает неактивными все триггера объекта.
bool save_data(Common::WriteStream &fh) const
Запись данных в сэйв.
bool activate_links(const qdNamedObject *from)
Активирует все линки, идущие от элементов, содержащих объект from.
Элемент триггера.
Definition: qd_trigger_element.h:152
XML тег.
Definition: xml_tag.h:33
Definition: algorithm.h:29
Базовый класс для игровых ресурсов.
Definition: console.h:28