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

@ -14,7 +14,7 @@ namespace NetHandlers
return !bitbuf.IsOverflowed();
}
bool SVC_SendTable_BitWrite_Internal(bf_write& bitbuf, SourceGameContext& context, NetMsg::SVC_SendTable* data)
bool SVC_SendTable_BitWrite_Internal(bf_write& bitbuf, const SourceGameContext& context, NetMsg::SVC_SendTable* data)
{
bitbuf.WriteOneBit(data->needsDecoder);
bitbuf.WriteShort(data->dataLengthInBits);
@ -27,7 +27,7 @@ namespace NetHandlers
return true;
}
bool SVC_SendTable_JsonWrite_Internal(JsonWrite& jsonbuf, SourceGameContext& context, NetMsg::SVC_SendTable* data)
bool SVC_SendTable_JsonWrite_Internal(JsonWrite& jsonbuf, const SourceGameContext& context, NetMsg::SVC_SendTable* data)
{
return true;
}