#include "ParticipantMsg.h" namespace Passer::RoboidControl { ParticipantMsg::ParticipantMsg(char networkId) { this->networkId = networkId; } ParticipantMsg::ParticipantMsg(const char *buffer) { this->networkId = buffer[1]; } ParticipantMsg::~ParticipantMsg() {} unsigned char ParticipantMsg::Serialize(char *buffer) { unsigned char ix = 0; buffer[ix++] = this->id; buffer[ix++] = this->networkId; return ParticipantMsg::length; } // bool ParticipantMsg::Send(Participant *participant, unsigned char networkId) { // ParticipantMsg msg = ParticipantMsg() // } // Client Msg } // namespace Passer::RoboidControl