summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_UpdateSign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_UpdateSign.cpp')
-rw-r--r--source/packets/cPacket_UpdateSign.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/packets/cPacket_UpdateSign.cpp b/source/packets/cPacket_UpdateSign.cpp
index a3ea53968..3ef587f13 100644
--- a/source/packets/cPacket_UpdateSign.cpp
+++ b/source/packets/cPacket_UpdateSign.cpp
@@ -7,16 +7,16 @@
-int cPacket_UpdateSign::Parse(const char * a_Data, int a_Size)
+int cPacket_UpdateSign::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadInteger, m_PosX, TotalBytes);
- HANDLE_PACKET_READ(ReadShort, m_PosY, TotalBytes);
- HANDLE_PACKET_READ(ReadInteger, m_PosZ, TotalBytes);
- HANDLE_PACKET_READ(ReadString16, m_Line1, TotalBytes);
- HANDLE_PACKET_READ(ReadString16, m_Line2, TotalBytes);
- HANDLE_PACKET_READ(ReadString16, m_Line3, TotalBytes);
- HANDLE_PACKET_READ(ReadString16, m_Line4, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEInt, m_PosX, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEShort, m_PosY, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEInt, m_PosZ, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEUTF16String16, m_Line1, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEUTF16String16, m_Line2, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEUTF16String16, m_Line3, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEUTF16String16, m_Line4, TotalBytes);
return TotalBytes;
}