| 17 | { } |
| 18 | |
| 19 | void InterceptorTypeClass::LoadFromINI(CCINIClass* pINI, const char* pSection) |
| 20 | { |
| 21 | INI_EX exINI(pINI); |
| 22 | |
| 23 | this->CanTargetHouses.Read(exINI, pSection, "Interceptor.CanTargetHouses"); |
| 24 | this->GuardRange.Read(exINI, pSection, "Interceptor.%sGuardRange"); |
| 25 | this->MinimumGuardRange.Read(exINI, pSection, "Interceptor.%sMinimumGuardRange"); |
| 26 | this->Weapon.Read(exINI, pSection, "Interceptor.Weapon"); |
| 27 | this->DeleteOnIntercept.Read(exINI, pSection, "Interceptor.DeleteOnIntercept"); |
| 28 | this->WeaponOverride.Read<true>(exINI, pSection, "Interceptor.WeaponOverride"); |
| 29 | this->WeaponReplaceProjectile.Read(exINI, pSection, "Interceptor.WeaponReplaceProjectile"); |
| 30 | this->WeaponCumulativeDamage.Read(exINI, pSection, "Interceptor.WeaponCumulativeDamage"); |
| 31 | this->KeepIntact.Read(exINI, pSection, "Interceptor.KeepIntact"); |
| 32 | } |
| 33 | |
| 34 | #pragma region(save/load) |
| 35 | |