|
RLLib
0.1
|
This structure holds properties about a file in the bundle. More...
#include <FileProperties.hpp>
Public Member Functions | |
| FileProperties () | |
| Creates a file properties structure. | |
| void | touch () |
| Sets the time when the file has been modified to now. | |
Public Attributes | |
| uint32_t | header = 1 |
| An unknown value at the start of the structure. | |
| uint32_t | size = 0 |
| The size of the file content. | |
| uint32_t | cmpSize = 0 |
| The size of the file content once compressed. More... | |
| int64_t | time = 0 |
| The time when the file has been modified. | |
| uint64_t | offset = 0 |
| The offset of the file content in the bundle. | |
| FilePath | path |
| The file path in the bundle. | |
| uint32_t | checksum = 0 |
| An unknown value, maybe the file checksum. | |
| uint32_t | footer = 0 |
| An unknown value at the end of the structure. | |
This structure holds properties about a file in the bundle.
| uint32_t rl::FileProperties::cmpSize = 0 |
The size of the file content once compressed.
If this value is null, then the file is not compressed.