EventParamsReader struct
#include <Jazz2/Actors/ActorBase.h>
Typed accessor over the raw event activation parameter buffer.
Wraps the raw byte buffer of ActorActivationDetails::
Constructors, destructors, conversion operators
- EventParamsReader(const ActorActivationDetails& details) explicit noexcept
-
EventParamsReader(const std::
uint8_t* params) explicit noexcept
Public functions
-
auto GetBool(std::
int32_t offset) const -> bool noexcept - Reads a boolean at the given byte offset.
-
auto GetUint8(std::
int32_t offset) const -> std:: uint8_t noexcept - Reads an unsigned 8-bit value at the given byte offset.
-
auto GetInt8(std::
int32_t offset) const -> std:: int8_t noexcept - Reads a signed 8-bit value at the given byte offset.
-
auto GetUint16(std::
int32_t offset) const -> std:: uint16_t noexcept - Reads an unsigned 16-bit value at the given byte offset.
-
auto GetInt16(std::
int32_t offset) const -> std:: int16_t noexcept - Reads a signed 16-bit value at the given byte offset.
-
auto GetUint32(std::
int32_t offset) const -> std:: uint32_t noexcept - Reads an unsigned 32-bit value at the given byte offset.
-
auto GetFloat(std::
int32_t offset) const -> float noexcept - Reads a 32-bit floating-point value at the given byte offset.