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

Method Serialize

src/Ext/Bullet/Body.cpp:395–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393
394template <typename T>
395void BulletExt::ExtData::Serialize(T& Stm)
396{
397 Stm
398 .Process(this->TypeExtData)
399 .Process(this->FirerHouse)
400 .Process(this->CurrentStrength)
401 .Process(this->InterceptorTechnoType)
402 .Process(this->InterceptedStatus)
403 .Process(this->DetonateOnInterception)
404 .Process(this->LaserTrails)
405 .Process(this->SnappedToTarget)
406 .Process(this->DamageNumberOffset)
407
408 .Process(this->Trajectory) // Keep this shit at last
409 ;
410}
411
412void BulletExt::ExtData::LoadFromStream(PhobosStreamReader& Stm)
413{

Callers 2

LoadFromStreamMethod · 0.95
SaveToStreamMethod · 0.95

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected