12namespace remote_base {
22 if (rhs.
wand_id != this->wand_id) {
25 return (this->wand_id == 0xffff || rhs.
wand_id == 0xffff || this->wand_id == rhs.
wand_id);
36DECLARE_REMOTE_PROTOCOL(MagiQuest)
40 TEMPLATABLE_VALUE(uint16_t, magnitude)
41 TEMPLATABLE_VALUE(uint32_t, wand_id)
46 data.wand_id = this->wand_id_.value(
x...);
47 MagiQuestProtocol().encode(dst, data);
void dump(const MagiQuestData &data) override
void encode(RemoteTransmitData *dst, const MagiQuestData &data) override
optional< MagiQuestData > decode(RemoteReceiveData src) override
Providing packet encoding functions for exchanging data with a remote host.
bool operator==(const MagiQuestData &rhs) const