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

Method Serialize

src/Ext/TechnoType/Body.cpp:653–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651
652template <typename T>
653void TechnoTypeExt::ExtData::Serialize(T& Stm)
654{
655 Stm
656 .Process(this->HealthBar_Hide)
657 .Process(this->UIDescription)
658 .Process(this->LowSelectionPriority)
659 .Process(this->MindControlRangeLimit)
660 .Process(this->FactoryPlant_Multiplier)
661
662 .Process(this->InterceptorType)
663
664 .Process(this->GroupAs)
665 .Process(this->RadarJamRadius)
666 .Process(this->InhibitorRange)
667 .Process(this->DesignatorRange)
668 .Process(this->TurretOffset)
669 .Process(this->TurretShadow)
670 .Process(this->ShadowIndices)
671 .Process(this->ShadowIndex_Frame)
672 .Process(this->Spawner_LimitRange)
673 //.Process(this->Spawner_ExtraLimitRange)
674 .Process(this->SpawnerRange)
675 .Process(this->EliteSpawnerRange)
676 .Process(this->Spawner_DelayFrames)
677 .Process(this->Spawner_AttackImmediately)
678 .Process(this->Harvester_Counted)
679 .Process(this->Promote_IncludeSpawns)
680 .Process(this->ImmuneToCrit)
681 .Process(this->MultiMindControl_ReleaseVictim)
682 .Process(this->CameoPriority)
683 .Process(this->NoManualMove)
684 .Process(this->InitialStrength)
685 .Process(this->ReloadInTransport)
686 .Process(this->ForbidParallelAIQueues)
687 .Process(this->ShieldType)
688 .Process(this->PassengerDeletionType)
689
690 .Process(this->Ammo_AddOnDeploy)
691 .Process(this->Ammo_AutoDeployMinimumAmount)
692 .Process(this->Ammo_AutoDeployMaximumAmount)
693 .Process(this->Ammo_DeployUnlockMinimumAmount)
694 .Process(this->Ammo_DeployUnlockMaximumAmount)
695
696 .Process(this->AutoDeath_Behavior)
697 .Process(this->AutoDeath_VanishAnimation)
698 .Process(this->AutoDeath_OnAmmoDepletion)
699 .Process(this->AutoDeath_AfterDelay)
700 .Process(this->AutoDeath_TechnosDontExist)
701 .Process(this->AutoDeath_TechnosDontExist_Any)
702 .Process(this->AutoDeath_TechnosDontExist_AllowLimboed)
703 .Process(this->AutoDeath_TechnosDontExist_Houses)
704 .Process(this->AutoDeath_TechnosExist)
705 .Process(this->AutoDeath_TechnosExist_Any)
706 .Process(this->AutoDeath_TechnosExist_AllowLimboed)
707 .Process(this->AutoDeath_TechnosExist_Houses)
708
709 .Process(this->Slaved_OwnerWhenMasterKilled)
710 .Process(this->SlavesFreeSound)

Callers 2

LoadFromStreamMethod · 0.95
SaveToStreamMethod · 0.95

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected