10 constexpr Offset() noexcept = default;
12 explicit constexpr
Offset(
std::
size_t a_offset) noexcept :
22 [[nodiscard]] std::uintptr_t
address()
const {
return base() +
offset(); }
23 [[nodiscard]]
constexpr std::size_t
offset() const noexcept {
return _offset; }
26 [[nodiscard]]
static std::uintptr_t base() {
return Module::get().
base(); }
28 std::size_t _offset{ 0 };
std::uintptr_t base() const noexcept
Definition Module.h:60
static Module & get()
Definition Module.h:54
constexpr Offset() noexcept=default
std::uintptr_t address() const
Definition Offset.h:22
constexpr Offset & operator=(std::size_t a_offset) noexcept
Definition Offset.h:16
constexpr std::size_t offset() const noexcept
Definition Offset.h:23
Definition EffectArchetypes.h:65