| 112 | |
| 113 | template <typename T> |
| 114 | void BulletTypeExt::ExtData::Serialize(T& Stm) |
| 115 | { |
| 116 | Stm |
| 117 | .Process(this->Armor) |
| 118 | .Process(this->Interceptable) |
| 119 | .Process(this->Interceptable_DeleteOnIntercept) |
| 120 | .Process(this->Interceptable_WeaponOverride) |
| 121 | .Process(this->LaserTrail_Types) |
| 122 | .Process(this->Gravity) |
| 123 | .Process(this->Shrapnel_AffectsGround) |
| 124 | .Process(this->Shrapnel_AffectsBuildings) |
| 125 | .Process(this->Shrapnel_UseWeaponTargeting) |
| 126 | .Process(this->ClusterScatter_Min) |
| 127 | .Process(this->ClusterScatter_Max) |
| 128 | .Process(this->BallisticScatter_Min) |
| 129 | .Process(this->BallisticScatter_Max) |
| 130 | .Process(this->SubjectToLand) |
| 131 | .Process(this->SubjectToLand_Detonate) |
| 132 | .Process(this->SubjectToWater) |
| 133 | .Process(this->SubjectToWater_Detonate) |
| 134 | .Process(this->AAOnly) |
| 135 | .Process(this->Arcing_AllowElevationInaccuracy) |
| 136 | .Process(this->ReturnWeapon) |
| 137 | .Process(this->Splits) |
| 138 | .Process(this->AirburstSpread) |
| 139 | .Process(this->RetargetAccuracy) |
| 140 | .Process(this->RetargetSelf) |
| 141 | .Process(this->RetargetSelf_Probability) |
| 142 | .Process(this->AroundTarget) |
| 143 | .Process(this->Airburst_UseCluster) |
| 144 | .Process(this->Airburst_RandomClusters) |
| 145 | .Process(this->Splits_TargetingDistance) |
| 146 | .Process(this->Splits_TargetCellRange) |
| 147 | .Process(this->Splits_UseWeaponTargeting) |
| 148 | .Process(this->AirburstWeapon_ApplyFirepowerMult) |
| 149 | |
| 150 | |
| 151 | .Process(this->TrajectoryType) // just keep this shit at last |
| 152 | ; |
| 153 | } |
| 154 | |
| 155 | void BulletTypeExt::ExtData::LoadFromStream(PhobosStreamReader& Stm) |
| 156 | { |
no test coverage detected