MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Save

Method Save

src/saveload/linkgraph_sl.cpp:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 static inline const SaveLoadCompatTable compat_description = _linkgraph_sl_compat;
159
160 void Save(LinkGraphJob *lgj) const override
161 {
162 SlObject(const_cast<LinkGraph *>(&lgj->Graph()), this->GetDescription());
163 }
164
165 void Load(LinkGraphJob *lgj) const override
166 {

Callers

nothing calls this directly

Calls 2

GetDescriptionMethod · 0.95
SlObjectFunction · 0.85

Tested by

no test coverage detected