aether::netcode::transcode::optional_struct_coder< T, BitMaskMember, Spec > Struct Template Reference

A struct coder that can skip fields based on a bit mask. More...

#include <transcode.hh>

Detailed Description

template<typename T, typename BitMaskMember, typename... Spec>
struct aether::netcode::transcode::optional_struct_coder< T, BitMaskMember, Spec >

A struct coder that can skip fields based on a bit mask.

The bit mask itself has to be part of the struct you want to transcode.

Parameters
BitMaskMembera struct_member<> describing how the bit mask field itself