diff options
Diffstat (limited to 'src/net/eathena/attendancehandler.cpp')
-rw-r--r-- | src/net/eathena/attendancehandler.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/attendancehandler.cpp b/src/net/eathena/attendancehandler.cpp index 0eef7ea1d..ea53b71ab 100644 --- a/src/net/eathena/attendancehandler.cpp +++ b/src/net/eathena/attendancehandler.cpp @@ -25,6 +25,8 @@ #include "debug.h" +extern int packetVersion; + namespace EAthena { @@ -38,5 +40,12 @@ AttendanceHandler::~AttendanceHandler() attendanceHandler = nullptr; } +void AttendanceHandler::openAttendanceWindow() const +{ + if (packetVersion < 20160323) + return; + createOutPacket(CMSG_WINDOW_OPEN_REQUEST2); + outMsg.writeInt8(5, "window type"); +} } // namespace EAthena |