Skip to content

Commit

Permalink
Add BS_ReadCompressedString, BS_WriteCompressedString
Browse files Browse the repository at this point in the history
  • Loading branch information
katursis committed Aug 29, 2017
1 parent 7ea28d5 commit 8383112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Pawn.RakNet.inc
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
#define BS_ReadCompressedUint32(%0,%1) BS_ReadValue(%0, PR_CUINT32, %1)
#define BS_ReadCompressedFloat(%0,%1) BS_ReadValue(%0, PR_CFLOAT, %1)
#define BS_ReadCompressedBool(%0,%1) BS_ReadValue(%0, PR_CBOOL, %1)
#define BS_ReadCompressedString(%0,%1,%2) BS_ReadValue(%0, PR_CSTRING, %1, %2)

#define BS_WriteInt8(%0,%1) BS_WriteValue(%0, PR_INT8, %1)
#define BS_WriteInt16(%0,%1) BS_WriteValue(%0, PR_INT16, %1)
Expand All @@ -282,6 +283,7 @@
#define BS_WriteCompressedUint32(%0,%1) BS_WriteValue(%0, PR_CUINT32, %1)
#define BS_WriteCompressedFloat(%0,%1) BS_WriteValue(%0, PR_CFLOAT, %1)
#define BS_WriteCompressedBool(%0,%1) BS_WriteValue(%0, PR_CBOOL, %1)
#define BS_WriteCompressedString(%0,%1) BS_WriteValue(%0, PR_CSTRING, %1)

stock BS_ReadOnFootSync(BitStream:bs, data[PR_OnFootSync])
{
Expand Down

0 comments on commit 8383112

Please sign in to comment.