|
UFO: Alien Invasion
|
The data behaviour allows to store a string/float number/integer into a node. It is a virtual node which is not displayed nor activatable by input device like mouse. The node can store 3 types, which have no relations together.
More...
#include "../ui_nodes.h"#include "../ui_parse.h"#include "../ui_behaviour.h"#include "ui_node_data.h"#include "ui_node_abstractnode.h"#include "../../client.h"#include "../../../common/scripts_lua.h"
Go to the source code of this file.
Macros | |
| #define | EXTRADATA_TYPE dataExtraData_t |
| #define | EXTRADATA(node) |
| #define | EXTRADATACONST(node) |
Functions | |
| void | UI_RegisterDataNode (uiBehaviour_t *behaviour) |
The data behaviour allows to store a string/float number/integer into a node. It is a virtual node which is not displayed nor activatable by input device like mouse. The node can store 3 types, which have no relations together.
Definition in file ui_node_data.cpp.
| #define EXTRADATA | ( | node | ) |
Definition at line 44 of file ui_node_data.cpp.
| #define EXTRADATA_TYPE dataExtraData_t |
Definition at line 43 of file ui_node_data.cpp.
| #define EXTRADATACONST | ( | node | ) |
Definition at line 45 of file ui_node_data.cpp.
| void UI_RegisterDataNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 47 of file ui_node_data.cpp.
References EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::isVirtual, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_RegisterExtradataNodeProperty, UI_RegisterOveridedNodeProperty, UI_SWIG_TypeQuery(), V_FLOAT, and V_INT.