libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
param_defines.hpp
Go to the documentation of this file.
1
8#pragma once
9
10#include <detail/preprocessor.hpp>
11#include <param/detail/paramdef.hpp>
12
13#include <cstddef>
14#include <cstdint>
15
16namespace from {
17namespace param {
22using row_index_type = int32_t;
23
28inline constexpr row_index_type row_index_min = 0;
29
36inline constexpr row_index_type row_index_max = 999'999'999;
37
45inline constexpr row_index_type row_index_none = -1;
46
47
48#define LIBER_PARAM_ENTRY(PARAM, PARAMDEF) PARAM,
49
56enum class param_index : int {
57#include <param/detail/paramlist.inl>
58 PARAM_COUNT
59};
60
65inline constexpr size_t param_count = size_t(param_index::PARAM_COUNT);
66
67#undef LIBER_PARAM_ENTRY
68} // namespace param
69} // namespace from
param_index
An enum of all param tables as they appear in order.
Definition param_defines.hpp:56
constexpr row_index_type row_index_min
The smallest param row index.
Definition param_defines.hpp:28
constexpr row_index_type row_index_max
The biggest param row index.
Definition param_defines.hpp:36
constexpr row_index_type row_index_none
The index for specifying no param row.
Definition param_defines.hpp:45
int32_t row_index_type
Signed 32-bit integers are used to represent param row indices.
Definition param_defines.hpp:22
constexpr size_t param_count
The total number of all defined param tables.
Definition param_defines.hpp:65