mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Added Alignment, Defaultable and Scriptable types, needed some reflection tweaks for the last two.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@17 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -82,6 +82,8 @@
|
||||
#define REFLECT(var) tag.handle(_(#var), var)
|
||||
/// Reflect a variable under the given name
|
||||
#define REFLECT_N(name, var) tag.handle(_(name), var)
|
||||
/// Reflect a variable without a name, should be used only once per class
|
||||
#define REFLECT_NAMELESS(var) tag.handle(var)
|
||||
|
||||
/// Declare that the variables of a base class should also be reflected
|
||||
#define REFLECT_BASE(Base) Base::reflect_impl(tag)
|
||||
|
||||
Reference in New Issue
Block a user