SimCommandBlock struct

Public functions

void Clear()
auto IsEmpty() const -> bool
auto Append(uint32_t type, const void* data, uint8_t size) -> bool
False if it doesn't fit.
template<typename TFn>
void ForEach(TFn&& visit) const
visit(type, data, size) for each command, in the order sent. Stops at a malformed entry.

Public variables

uint8_t Bytes
uint8_t Data

Friends

auto operator==(const SimCommandBlock& a, const SimCommandBlock& b) -> bool