| 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 |
nothing calls this directly
no test coverage detected