From a63248380554067d4291c653b4ba82db36fbc821 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Aug 2014 13:53:06 +0300 Subject: Add comments for inbound packet fields in debug log. --- src/net/tmwa/messagein.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/messagein.h') diff --git a/src/net/tmwa/messagein.h b/src/net/tmwa/messagein.h index 8dd95a478..26ce4612c 100644 --- a/src/net/tmwa/messagein.h +++ b/src/net/tmwa/messagein.h @@ -47,8 +47,10 @@ class MessageIn final : public Net::MessageIn void postInit(); - int16_t readInt16(); /**< Reads a short. */ - int32_t readInt32(); /**< Reads a long. */ + /**< Reads a short. */ + int16_t readInt16(const char *const str = nullptr); + /**< Reads a long. */ + int32_t readInt32(const char *const str = nullptr); }; } // namespace TmwAthena -- cgit v1.2.3-60-g2f50