libER 0.1.4.2
ELDEN RING API library
|
The layout of a .param file. More...
#include <param_file.hpp>
Classes | |
struct | param_row_locator |
An instance of a structure describing a param table entry later in the file. More... | |
Public Member Functions | |
uintptr_t | get_file_start () const noexcept |
Get the file start as an integer pointer representation. | |
char * | get_param_type () const noexcept |
Get a pointer to the null terminated param type char string. | |
std::span< param_row_locator > | get_param_row_locators () const noexcept |
Get the param row locators in this param file. | |
Public Attributes | |
uint32_t | _end |
The "end" offset, does not always point to valid data. | |
uint16_t | data_offset |
The short data offset (always 0), purpose is unclear. | |
uint16_t | paramdef_version |
The paramdef version. | |
uint16_t | row_count |
How many rows there are in the param table. | |
uint64_t | param_type_offset |
Offset of the param type string. | |
uint64_t | param_data_offset |
The offset of the raw param data. | |
The layout of a .param file.
.param files contain whole param tables of a given param type.
|
inlinenoexcept |
Get the file start as an integer pointer representation.
|
inlinenoexcept |
Get the param row locators in this param file.
|
inlinenoexcept |
Get a pointer to the null terminated param type char string.
uint32_t from::param::param_file::_end |
The "end" offset, does not always point to valid data.
Most often points to the last 16 bytes of the file.
uint64_t from::param::param_file::param_type_offset |
Offset of the param type string.
The type string is a null terminated char string containing the paramdef/param type name.
uint16_t from::param::param_file::row_count |
How many rows there are in the param table.
Note it is a 16-bit unsigned integer, therefore only 65535 rows may be defined in a single param file at once.