demboyz/demboyz/netmessages/net_stringcmd.cpp

13 lines
311 B
C++

#include "net_stringcmd.h"
#include "base/bitfile.h"
namespace NetHandlers
{
bool Net_StringCmd_BitRead_Internal(BitRead& bitbuf, SourceGameContext& context, NetMsg::Net_StringCmd* data)
{
bitbuf.ReadString(data->command, sizeof(data->command));
return !bitbuf.IsOverflowed();
}
}