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

Method Serialize

src/New/Entity/ShieldClass.cpp:85–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template <typename T>
85bool ShieldClass::Serialize(T& Stm)
86{
87 return Stm
88 .Process(this->Techno)
89 .Process(this->TechnoID)
90 .Process(this->IdleAnim)
91 .Process(this->Timers.SelfHealing)
92 .Process(this->Timers.SelfHealing_WHModifier)
93 .Process(this->Timers.Respawn)
94 .Process(this->Timers.Respawn_WHModifier)
95 .Process(this->HP)
96 .Process(this->Cloak)
97 .Process(this->Online)
98 .Process(this->Temporal)
99 .Process(this->Available)
100 .Process(this->Attached)
101 .Process(this->AreAnimsHidden)
102 .Process(this->Type)
103 .Process(this->SelfHealing_Warhead)
104 .Process(this->SelfHealing_Rate_Warhead)
105 .Process(this->SelfHealing_RestartInCombat_Warhead)
106 .Process(this->SelfHealing_RestartInCombatDelay_Warhead)
107 .Process(this->Respawn_Warhead)
108 .Process(this->Respawn_Rate_Warhead)
109 .Process(this->LastBreakFrame)
110 .Process(this->LastTechnoHealthRatio)
111 .Success();
112}
113
114bool ShieldClass::Load(PhobosStreamReader& Stm, bool RegisterForChange)
115{

Callers 1

SaveMethod · 0.45

Calls 2

SuccessMethod · 0.80
ProcessMethod · 0.45

Tested by

no test coverage detected