summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/chathandler.cpp12
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 36a8035c5..e8d857cf2 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -88,6 +88,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_ROLE_CHANGE,
SMSG_MANNER_MESSAGE,
SMSG_CHAT_SILENCE,
+ SMSG_CHAT_TALKIE_BOX,
0
};
handledMessages = _messages;
@@ -216,6 +217,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processChatSilence(msg);
break;
+ case SMSG_CHAT_TALKIE_BOX:
+ processChatTalkieBox(msg);
+ break;
+
default:
break;
}
@@ -900,4 +905,11 @@ void ChatHandler::processChatSilence(Net::MessageIn &msg)
msg.readString(24, "gm name");
}
+void ChatHandler::processChatTalkieBox(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("being id");
+ msg.readString(80, "message");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index 00a901ac7..257df525c 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -149,6 +149,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processMannerMessage(Net::MessageIn &msg);
static void processChatSilence(Net::MessageIn &msg);
+
+ static void processChatTalkieBox(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 21f2b825d..da873bda8 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -281,6 +281,7 @@
#define SMSG_CHAT_SETTINGS 0x00df
#define SMSG_CHAT_ROLE_CHANGE 0x00e1
#define SMSG_CHAT_JOIN_CHANNEL 0x0b08
+#define SMSG_CHAT_TALKIE_BOX 0x0191
#define SMSG_MAIL_OPEN_WINDOW 0x0260