| 116 | { |
| 117 | template <typename T> |
| 118 | static bool Process(IStream* pStm) |
| 119 | { |
| 120 | if constexpr (GlobalSaveLoadable<T>) |
| 121 | { |
| 122 | PhobosByteStream stm(0); |
| 123 | stm.ReadBlockFromStream(pStm); |
| 124 | PhobosStreamReader reader(stm); |
| 125 | |
| 126 | return T::LoadGlobals(reader) && reader.ExpectEndOfBlock(); |
| 127 | } |
| 128 | else |
| 129 | { |
| 130 | return true; |
| 131 | } |
| 132 | } |
| 133 | }; |
| 134 | |
| 135 | // calls: |
nothing calls this directly
no test coverage detected