コード例 #1
0
bool isLimitedUnitClass(UnitClassTypes eUnitClass)
{
#if defined(MOD_BALANCE_CORE)
	return (isWorldUnitClass(eUnitClass) || isTeamUnitClass(eUnitClass) || isNationalUnitClass(eUnitClass) || isUnitLimitPerCity(eUnitClass));
#else
	return (isWorldUnitClass(eUnitClass) || isTeamUnitClass(eUnitClass) || isNationalUnitClass(eUnitClass));
#endif
}
コード例 #2
0
bool isLimitedUnitClass(UnitClassTypes eUnitClass)
{
	return (isWorldUnitClass(eUnitClass) || isTeamUnitClass(eUnitClass) || isNationalUnitClass(eUnitClass));
}
コード例 #3
0
bool cyIsTeamUnitClass(int /*UnitClassTypes*/ eUnitClass)
{
	return isTeamUnitClass((UnitClassTypes)eUnitClass);
}