MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / Serialize

Method Serialize

src/Ext/House/Body.cpp:611–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610template <typename T>
611void HouseExt::ExtData::Serialize(T& Stm)
612{
613 Stm
614 .Process(this->PowerPlantEnhancers)
615 .Process(this->OwnedLimboDeliveredBuildings)
616 .Process(this->OwnedCountedHarvesters)
617 .Process(this->LimboAircraft)
618 .Process(this->LimboBuildings)
619 .Process(this->LimboInfantry)
620 .Process(this->LimboVehicles)
621 .Process(this->Factory_BuildingType)
622 .Process(this->Factory_InfantryType)
623 .Process(this->Factory_VehicleType)
624 .Process(this->Factory_NavyType)
625 .Process(this->Factory_AircraftType)
626 .Process(this->AISuperWeaponDelayTimer)
627 .Process(this->RepairBaseNodes)
628 .Process(this->RestrictedFactoryPlants)
629 .Process(this->LastBuiltNavalVehicleType)
630 .Process(this->ProducingNavalUnitTypeIndex)
631 .Process(this->NumAirpads_NonMFB)
632 .Process(this->NumBarracks_NonMFB)
633 .Process(this->NumWarFactories_NonMFB)
634 .Process(this->NumConYards_NonMFB)
635 .Process(this->NumShipyards_NonMFB)
636 .Process(this->AIFireSaleDelayTimer)
637 .Process(this->SuspendedEMPulseSWs)
638 .Process(this->SuperExts)
639 ;
640}
641
642void HouseExt::ExtData::LoadFromStream(PhobosStreamReader& Stm)
643{

Callers 2

LoadFromStreamMethod · 0.95
SaveToStreamMethod · 0.95

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected