Changed NetHandlers bit read/write types to typedefs

This commit is contained in:
Jordan Cristiano
2015-06-18 20:23:26 -04:00
parent 9ad7c54510
commit 778e20803c
34 changed files with 77 additions and 74 deletions

View File

@ -5,7 +5,7 @@
namespace NetHandlers
{
bool SVC_Prefetch_BitRead_Internal(bf_read& bitbuf, SourceGameContext& context, NetMsg::SVC_Prefetch* data)
bool SVC_Prefetch_BitRead_Internal(BitRead& bitbuf, SourceGameContext& context, NetMsg::SVC_Prefetch* data)
{
data->type = NetMsg::SVC_Prefetch::SOUND;
if (context.protocol > 23)
@ -19,7 +19,7 @@ namespace NetHandlers
return !bitbuf.IsOverflowed();
}
bool SVC_Prefetch_BitWrite_Internal(bf_write& bitbuf, const SourceGameContext& context, NetMsg::SVC_Prefetch* data)
bool SVC_Prefetch_BitWrite_Internal(BitWrite& bitbuf, const SourceGameContext& context, NetMsg::SVC_Prefetch* data)
{
if (context.protocol > 23)
{