mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Refactored always-include
This commit is contained in:
parent
c0ae4bb8f7
commit
d11348a4e4
7 changed files with 276 additions and 174 deletions
|
@ -1571,21 +1571,27 @@ enum BfAttributeTargets : int32
|
|||
BfAttributeTargets_All = 0x3FFFFF
|
||||
};
|
||||
|
||||
enum BfAttributeFlags : int8
|
||||
{
|
||||
BfAttributeFlag_None,
|
||||
BfAttributeFlag_DisallowAllowMultiple = 1,
|
||||
BfAttributeFlag_NotInherited = 2,
|
||||
BfAttributeFlag_ReflectAttribute = 4,
|
||||
BfAttributeFlag_AlwaysIncludeTarget = 8
|
||||
};
|
||||
|
||||
class BfAttributeData
|
||||
{
|
||||
public:
|
||||
BfAttributeTargets mAttributeTargets;
|
||||
BfAlwaysIncludeFlags mAlwaysIncludeUser;
|
||||
bool mInherited;
|
||||
bool mAllowMultiple;
|
||||
|
||||
BfAttributeFlags mFlags;
|
||||
public:
|
||||
BfAttributeData()
|
||||
{
|
||||
mAttributeTargets = BfAttributeTargets_All;
|
||||
mAlwaysIncludeUser = BfAlwaysIncludeFlag_None;
|
||||
mInherited = true;
|
||||
mAllowMultiple = false;
|
||||
mFlags = BfAttributeFlag_None;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue