38 uint16_t liber_unknown;
63 uint64_t liber_unknown[3];
70 uint64_t liber_unknown;
107 return reinterpret_cast<uintptr_t
>(&this->
_end);
116 return reinterpret_cast<char*
>(
128 return std::span<param_row_locator>(first, this->row_count);
193 align = (align + 0xF) & ~0xF;
195 return std::span<wrapper_row_locator>(first, this->row_count);
ELDEN RING param defines and enums.
int32_t row_index_type
Signed 32-bit integers are used to represent param row indices.
Definition param_defines.hpp:22
An instance of a structure describing a param table entry later in the file.
Definition param_file.hpp:77
uintptr_t file_offset
The offset (from the start of the file) to this param's row data.
Definition param_file.hpp:89
row_index_type row
The param row index.
Definition param_file.hpp:82
uintptr_t file_end
The offset (from the start of the file) to the end of the file.
Definition param_file.hpp:98
An instance of a structure describing a param entry in the file.
Definition param_file.hpp:166
row_index_type index
The entry index in the param table.
Definition param_file.hpp:183
row_index_type row
The param row index.
Definition param_file.hpp:171
A wrapper for a raw param file in memory used by ELDEN RING.
Definition param_file.hpp:136
std::span< wrapper_row_locator > get_wrapper_row_locators() const noexcept
Get the wrapper row locators in this param file wrapper.
Definition param_file.hpp:191
param_file file
The wrapped param file.
Definition param_file.hpp:160
row_index_type row_count
How many rows there are in the param table.
Definition param_file.hpp:154
uint32_t wrapper_data_offset
The offset (from the start of the file) to the rest of the wrapper's data.
Definition param_file.hpp:144
The layout of a .param file.
Definition param_file.hpp:24
uint32_t _end
The "end" offset, does not always point to valid data.
Definition param_file.hpp:31
uint64_t param_type_offset
Offset of the param type string.
Definition param_file.hpp:62
std::span< param_row_locator > get_param_row_locators() const noexcept
Get the param row locators in this param file.
Definition param_file.hpp:125
uint16_t row_count
How many rows there are in the param table.
Definition param_file.hpp:53
uint16_t paramdef_version
The paramdef version.
Definition param_file.hpp:44
char * get_param_type() const noexcept
Get a pointer to the null terminated param type char string.
Definition param_file.hpp:115
uint16_t data_offset
The short data offset (always 0), purpose is unclear.
Definition param_file.hpp:37
uint64_t param_data_offset
The offset of the raw param data.
Definition param_file.hpp:69
uintptr_t get_file_start() const noexcept
Get the file start as an integer pointer representation.
Definition param_file.hpp:106