mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Implement clearing the regular key, setting and clearing the no master
flag and enforcing the no master flag.
This commit is contained in:
@@ -531,6 +531,11 @@ bool STObject::clearFlag (uint32 f)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool STObject::isFlag (uint32 f)
|
||||
{
|
||||
return (getFlags () & f) == f;
|
||||
}
|
||||
|
||||
uint32 STObject::getFlags (void) const
|
||||
{
|
||||
const STUInt32* t = dynamic_cast<const STUInt32*> (peekAtPField (sfFlags));
|
||||
|
||||
Reference in New Issue
Block a user