| 231 | |
| 232 | template <typename T> |
| 233 | void BuildingTypeExt::ExtData::Serialize(T& Stm) |
| 234 | { |
| 235 | Stm |
| 236 | .Process(this->PowersUp_Owner) |
| 237 | .Process(this->PowersUp_Buildings) |
| 238 | .Process(this->PowerPlantEnhancer_Buildings) |
| 239 | .Process(this->PowerPlantEnhancer_Amount) |
| 240 | .Process(this->PowerPlantEnhancer_Factor) |
| 241 | .Process(this->SuperWeapons) |
| 242 | .Process(this->OccupierMuzzleFlashes) |
| 243 | .Process(this->Powered_KillSpawns) |
| 244 | .Process(this->AllowAirstrike) |
| 245 | .Process(this->CanC4_AllowZeroDamage) |
| 246 | .Process(this->InitialStrength_Cloning) |
| 247 | .Process(this->ExcludeFromMultipleFactoryBonus) |
| 248 | .Process(this->Refinery_UseStorage) |
| 249 | .Process(this->Grinding_AllowAllies) |
| 250 | .Process(this->Grinding_AllowOwner) |
| 251 | .Process(this->Grinding_AllowTypes) |
| 252 | .Process(this->Grinding_DisallowTypes) |
| 253 | .Process(this->Grinding_Sound) |
| 254 | .Process(this->Grinding_PlayDieSound) |
| 255 | .Process(this->Grinding_Weapon) |
| 256 | .Process(this->Grinding_Weapon_RequiredCredits) |
| 257 | .Process(this->DisplayIncome) |
| 258 | .Process(this->DisplayIncome_Houses) |
| 259 | .Process(this->DisplayIncome_Offset) |
| 260 | .Process(this->PlacementPreview) |
| 261 | .Process(this->PlacementPreview_Shape) |
| 262 | .Process(this->PlacementPreview_ShapeFrame) |
| 263 | .Process(this->PlacementPreview_Offset) |
| 264 | .Process(this->PlacementPreview_Remap) |
| 265 | .Process(this->PlacementPreview_Palette) |
| 266 | .Process(this->PlacementPreview_Translucency) |
| 267 | .Process(this->SpyEffect_Custom) |
| 268 | .Process(this->SpyEffect_VictimSuperWeapon) |
| 269 | .Process(this->SpyEffect_InfiltratorSuperWeapon) |
| 270 | .Process(this->ConsideredVehicle) |
| 271 | .Process(this->ZShapePointMove_OnBuildup) |
| 272 | .Process(this->SellBuildupLength) |
| 273 | .Process(this->AircraftDockingDirs) |
| 274 | .Process(this->FactoryPlant_AllowTypes) |
| 275 | .Process(this->FactoryPlant_DisallowTypes) |
| 276 | .Process(this->IsDestroyableObstacle) |
| 277 | .Process(this->Units_RepairRate) |
| 278 | .Process(this->Units_RepairStep) |
| 279 | .Process(this->Units_RepairPercent) |
| 280 | .Process(this->Units_UseRepairCost) |
| 281 | .Process(this->NoBuildAreaOnBuildup) |
| 282 | .Process(this->Adjacent_Allowed) |
| 283 | .Process(this->Adjacent_Disallowed) |
| 284 | .Process(this->HasPowerUpAnim) |
| 285 | .Process(this->UndeploysInto_Sellable) |
| 286 | ; |
| 287 | } |
| 288 | |
| 289 | void BuildingTypeExt::ExtData::LoadFromStream(PhobosStreamReader& Stm) |
| 290 | { |
no test coverage detected