Some checks failed
Linux arm64 / Build (push) Has been cancelled
ajout d'un changement pour la cadence de tir Co-authored-by: Morph01 <145839520+Morph01@users.noreply.github.com> Co-authored-by: Persson-dev <sim16.prib@gmail.com> Reviewed-on: #33 Reviewed-by: Simon Pribylski <sim16.prib@gmail.com> Co-authored-by: Morph01 <thibaut6969delastreet@gmail.com> Co-committed-by: Morph01 <thibaut6969delastreet@gmail.com>
20 lines
381 B
C++
20 lines
381 B
C++
#include "blitz/protocol/packets/ServerConfigPacket.h"
|
|
|
|
namespace blitz {
|
|
namespace protocol {
|
|
|
|
DataBuffer ServerConfigPacket::Serialize(bool packetID) const {
|
|
DataBuffer data;
|
|
|
|
WritePacketID(data, packetID);
|
|
data << m_GameConfig;
|
|
return data;
|
|
}
|
|
|
|
void ServerConfigPacket::Deserialize(DataBuffer& data) {
|
|
data >> m_GameConfig;
|
|
}
|
|
|
|
} // namespace protocol
|
|
} // namespace blitz
|