mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added reflection category to distinct build options (wip)
This commit is contained in:
parent
5cb6570e14
commit
037b2ac1e4
15 changed files with 538 additions and 94 deletions
|
@ -1909,6 +1909,17 @@ void BfTypeInstance::GenerateProjectsReferenced()
|
|||
BfTypeUtils::GetProjectList(genericArgType, &mGenericTypeInfo->mProjectsReferenced, 0);
|
||||
}
|
||||
|
||||
bool BfTypeInstance::IsAlwaysInclude()
|
||||
{
|
||||
bool alwaysInclude = mTypeDef->mIsAlwaysInclude || mTypeDef->mProject->mAlwaysIncludeAll;
|
||||
if (mTypeOptionsIdx > 0)
|
||||
{
|
||||
auto typeOptions = mModule->mSystem->GetTypeOptions(mTypeOptionsIdx);
|
||||
typeOptions->Apply(alwaysInclude, BfOptionFlags_ReflectAlwaysIncludeType);
|
||||
}
|
||||
return alwaysInclude;
|
||||
}
|
||||
|
||||
bool BfTypeInstance::IsSpecializedByAutoCompleteMethod()
|
||||
{
|
||||
if (mGenericTypeInfo == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue