summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/chathandler.cpp11
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 85c869a87..18cfa32cd 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -77,6 +77,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_LEAVE,
SMSG_CHAT_JOIN_CHANNEL,
SMSG_IGNORE_NICK_ACK,
+ SMSG_CHAT_CREATE_ACK,
0
};
handledMessages = _messages;
@@ -161,6 +162,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processIgnoreNickAck(msg);
break;
+ case SMSG_CHAT_CREATE_ACK:
+ processChatCreateAck(msg);
+ break;
+
default:
break;
}
@@ -771,4 +776,10 @@ void ChatHandler::talkPet(const std::string &restrict text,
outMsg.writeInt8(0, "zero byte");
}
+void ChatHandler::processChatCreateAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index 798524da9..98efb4711 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -127,6 +127,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processBeingChat(Net::MessageIn &msg);
static void processIgnoreNickAck(Net::MessageIn &msg);
+
+ static void processChatCreateAck(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 25290b89f..db6e430b5 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -258,6 +258,7 @@
#define SMSG_PVP_INFO 0x0210
#define SMSG_CHAT_IGNORE_LIST 0x00d4
+#define SMSG_CHAT_CREATE_ACK 0x00d6
#define SMSG_CHAT_DISPLAY 0x00d7
#define SMSG_CHAT_JOIN_ACK 0x00db
#define SMSG_CHAT_LEAVE 0x00dd