demboyz/demboyz/netmessages/svc_sounds.h

19 lines
281 B
C++

#pragma once
#include "nethandlers.h"
#include <memory>
namespace NetMsg
{
struct SVC_Sounds
{
bool reliableSound;
uint8_t numSounds;
uint16_t dataLengthInBits;
std::unique_ptr<uint8_t[]> data;
};
}
DECLARE_NET_HANDLERS(SVC_Sounds);