|
| size_t | GetNumCargo () const |
| | Get the number of cargoes used by this savegame version.
|
| void | Load (Town *t) const override |
| | Load the object from disk.
|
| Public Member Functions inherited from DefaultSaveLoadHandler< SlTownOldSupplied, Town > |
| SaveLoadTable | GetDescription () const override |
| | Get the description of the fields in the savegame.
|
| SaveLoadCompatTable | GetCompatDescription () const override |
| | Get the pre-header description of the fields in the savegame.
|
| virtual void | Save (Town *object) const |
| | Save the object to disk.
|
| virtual void | LoadCheck (Town *object) const |
| | Similar to load, but used only to validate savegames.
|
| virtual void | FixPointers (Town *object) const |
| | A post-load callback to fix SL_REF integers into pointers.
|
| Public Member Functions inherited from SaveLoadHandler |
|
virtual | ~SaveLoadHandler ()=default |
| | Ensure the destructor of the sub classes are called as well.
|
| virtual void | Save (void *object) const |
| | Save the object to disk.
|
| virtual void | Load (void *object) const |
| | Load the object from disk.
|
| virtual void | LoadCheck (void *object) const |
| | Similar to load, but used only to validate savegames.
|
| virtual void | FixPointers (void *object) const |
| | A post-load callback to fix SL_REF integers into pointers.
|
| SaveLoadTable | GetLoadDescription () const |
| | Get the description for how to load the chunk.
|
Definition at line 117 of file town_sl.cpp.