From 403792db7d005066273bcbe138afcd1a98b3144c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 17:07:35 +0300 Subject: In out packets allow set packet name in packets log. --- src/net/tmwa/messageout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/tmwa/messageout.h') diff --git a/src/net/tmwa/messageout.h b/src/net/tmwa/messageout.h index 7aba1677b..0825488d6 100644 --- a/src/net/tmwa/messageout.h +++ b/src/net/tmwa/messageout.h @@ -43,7 +43,8 @@ class MessageOut final : public Net::MessageOut /** * Constructor. */ - explicit MessageOut(const int16_t id); + explicit MessageOut(const int16_t id, + const char *const str = "packet id"); A_DELETE_COPY(MessageOut) -- cgit v1.2.3-70-g09d2