Saveload: Add table header only save load struct handler helper

This commit is contained in:
Jonathan G Rennison 2024-07-30 00:19:57 +01:00
parent daf77f5ab1
commit 7d77f8acf4

View File

@ -283,4 +283,12 @@ public:
void FixPointers(void *object) const override { static_cast<const TImpl *>(this)->FixPointers(static_cast<TObject *>(object)); }
};
class HeaderOnlySaveLoadStructHandler : public SaveLoadStructHandler {
public:
void Save(void *object) const override { NOT_REACHED(); }
void Load(void *object) const override { NOT_REACHED(); }
void LoadCheck(void *object) const override { NOT_REACHED(); }
void FixPointers(void *object) const override { NOT_REACHED(); }
};
#endif /* SL_SAVELOAD_TYPES_H */