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

Method Serialize

src/Ext/Building/Body.cpp:460–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458
459template <typename T>
460void BuildingExt::ExtData::Serialize(T& Stm)
461{
462 Stm
463 .Process(this->TypeExtData)
464 .Process(this->TechnoExtData)
465 .Process(this->DeployedTechno)
466 .Process(this->IsCreatedFromMapFile)
467 .Process(this->LimboID)
468 .Process(this->GrindingWeapon_LastFiredFrame)
469 .Process(this->GrindingWeapon_AccumulatedCredits)
470 .Process(this->CurrentAirFactory)
471 .Process(this->AccumulatedIncome)
472 .Process(this->CurrentLaserWeaponIndex)
473 .Process(this->PoweredUpToLevel)
474 .Process(this->EMPulseSW)
475 ;
476}
477
478void BuildingExt::ExtData::LoadFromStream(PhobosStreamReader& Stm)
479{

Callers 2

LoadFromStreamMethod · 0.95
SaveToStreamMethod · 0.95

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected