| 756 | } |
| 757 | #pragma region BuildLimitGroup |
| 758 | int CountOwnedIncludeDeploy(const HouseClass* pThis, const TechnoTypeClass* pItem) |
| 759 | { |
| 760 | int count = pThis->CountOwnedNow(pItem); |
| 761 | count += pItem->DeploysInto ? pThis->CountOwnedNow(pItem->DeploysInto) : 0; |
| 762 | count += pItem->UndeploysInto ? pThis->CountOwnedNow(pItem->UndeploysInto) : 0; |
| 763 | return count; |
| 764 | } |
| 765 | |
| 766 | CanBuildResult HouseExt::BuildLimitGroupCheck(const HouseClass* pThis, const TechnoTypeClass* pItem, bool buildLimitOnly, bool includeQueued) |
| 767 | { |
no outgoing calls
no test coverage detected