diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-31 13:53:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-31 13:53:06 +0300 |
commit | a63248380554067d4291c653b4ba82db36fbc821 (patch) | |
tree | c4ad257d15fc44179ccafe9c3e887bfce710967c /src/net/eathena/messagein.h | |
parent | 1d5aa3c38c3a545ad0056613f561ac01d945b2ed (diff) | |
download | manaplus-a63248380554067d4291c653b4ba82db36fbc821.tar.gz manaplus-a63248380554067d4291c653b4ba82db36fbc821.tar.bz2 manaplus-a63248380554067d4291c653b4ba82db36fbc821.tar.xz manaplus-a63248380554067d4291c653b4ba82db36fbc821.zip |
Add comments for inbound packet fields in debug log.
Diffstat (limited to 'src/net/eathena/messagein.h')
-rw-r--r-- | src/net/eathena/messagein.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/messagein.h b/src/net/eathena/messagein.h index ad7fd7663..3c267a888 100644 --- a/src/net/eathena/messagein.h +++ b/src/net/eathena/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 EAthena |