From 854c72570f49f7ed57f35fce72bc91ebdc08d2ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 31 Aug 2015 19:59:51 +0300 Subject: Add ability to log received packet names to log file. Also add arrays with id to package info mapping for inbound packets. --- src/net/tmwa/messagein.h | 5 +++-- 1 file changed, 3 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 7d27b1188..93cb6e092 100644 --- a/src/net/tmwa/messagein.h +++ b/src/net/tmwa/messagein.h @@ -41,11 +41,12 @@ class MessageIn final : public Net::MessageIn /** * Constructor. */ - MessageIn(const char *const data, const unsigned int length); + MessageIn(const char *const data, + const unsigned int length); A_DELETE_COPY(MessageIn) - void postInit(); + void postInit(const char *const str); /**< Reads a short. */ int16_t readInt16(const char *const str) override final; -- cgit v1.2.3-70-g09d2