- allow defining flags in the script declaration of a class and do that for Weapon.
This commit is contained in:
parent
b5c4ab8c47
commit
70d3c31551
14 changed files with 207 additions and 35 deletions
|
|
@ -196,6 +196,29 @@ PProperty::PProperty(FName name, TArray<PField *> &fields)
|
|||
Variables = std::move(fields);
|
||||
}
|
||||
|
||||
/* PProperty *****************************************************************/
|
||||
|
||||
IMPLEMENT_CLASS(PPropFlag, false, false)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// PField - Default Constructor
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
PPropFlag::PPropFlag()
|
||||
: PSymbol(NAME_None)
|
||||
{
|
||||
}
|
||||
|
||||
PPropFlag::PPropFlag(FName name, PField * field, int bitValue, bool forDecorate)
|
||||
: PSymbol(name)
|
||||
{
|
||||
Offset = field;
|
||||
bitval = bitValue;
|
||||
decorateOnly = forDecorate;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue