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

Method Process

src/Phobos.Ext.cpp:140–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138{
139 template <typename T>
140 static bool Process(IStream* pStm)
141 {
142 if constexpr (GlobalSaveLoadable<T>)
143 {
144 PhobosByteStream stm;
145 PhobosStreamWriter writer(stm);
146
147 return T::SaveGlobals(writer) && stm.WriteBlockToStream(pStm);
148 }
149 else
150 {
151 return true;
152 }
153 }
154};
155
156// this is a complicated thing that calls methods on classes. add types to the

Callers

nothing calls this directly

Calls 1

WriteBlockToStreamMethod · 0.80

Tested by

no test coverage detected