OpenTTD Source
20241108-master-g80f628063a
|
Filter without any compression. More...
Public Member Functions | |
NoCompLoadFilter (std::shared_ptr< LoadFilter > chain) | |
Initialise this filter. More... | |
size_t | Read (uint8_t *buf, size_t size) override |
Read a given number of bytes from the savegame. More... | |
Public Member Functions inherited from LoadFilter | |
LoadFilter (std::shared_ptr< LoadFilter > chain) | |
Initialise this filter. More... | |
virtual | ~LoadFilter () |
Make sure the writers are properly closed. | |
virtual void | Reset () |
Reset this filter to read from the beginning of the file. | |
Additional Inherited Members | |
Data Fields inherited from LoadFilter | |
std::shared_ptr< LoadFilter > | chain |
Chained to the (savegame) filters. | |
Filter without any compression.
Definition at line 2376 of file saveload.cpp.
|
inline |
Initialise this filter.
chain | The next filter in this chain. |
Definition at line 2381 of file saveload.cpp.
|
inlineoverridevirtual |
Read a given number of bytes from the savegame.
buf | The bytes to read. |
len | The number of bytes to read. |
Implements LoadFilter.
Definition at line 2385 of file saveload.cpp.
References LoadFilter::chain.