Made NetHandler Write functions take a const SourceGameContext

This commit is contained in:
Jordan Cristiano
2015-05-15 02:49:51 -04:00
parent 9a0956e8f2
commit 3d80d17a99
34 changed files with 74 additions and 74 deletions

View File

@ -19,7 +19,7 @@ namespace NetHandlers
return !bitbuf.IsOverflowed();
}
bool SVC_Prefetch_BitWrite_Internal(bf_write& bitbuf, SourceGameContext& context, NetMsg::SVC_Prefetch* data)
bool SVC_Prefetch_BitWrite_Internal(bf_write& bitbuf, const SourceGameContext& context, NetMsg::SVC_Prefetch* data)
{
if (context.protocol > 23)
{
@ -37,7 +37,7 @@ namespace NetHandlers
return true;
}
bool SVC_Prefetch_JsonWrite_Internal(JsonWrite& jsonbuf, SourceGameContext& context, NetMsg::SVC_Prefetch* data)
bool SVC_Prefetch_JsonWrite_Internal(JsonWrite& jsonbuf, const SourceGameContext& context, NetMsg::SVC_Prefetch* data)
{
return true;
}