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

Method Load

src/saveload/saveload.cpp:1869–1875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1867 }
1868
1869 void Load(void *object) const override
1870 {
1871 size_t length = SlGetStructListLength(UINT32_MAX);
1872 for (; length > 0; length--) {
1873 SlObject(object, this->GetLoadDescription());
1874 }
1875 }
1876
1877 void LoadCheck(void *object) const override
1878 {

Callers 3

LoadCheckMethod · 0.95
SlObjectMemberFunction · 0.45
SlLoadChunkFunction · 0.45

Calls 3

SlGetStructListLengthFunction · 0.85
SlObjectFunction · 0.85
GetLoadDescriptionMethod · 0.80

Tested by

no test coverage detected