From 6343c26dec1b8e9ae36fc3b8426dfd7b7dc09d7e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 15 Nov 2018 18:24:49 +0300 Subject: Move packets struct in login server into separate files for AC and CA packets. --- src/login/login.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/login/login.c') diff --git a/src/login/login.c b/src/login/login.c index 409b30473..67abd45af 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -27,6 +27,7 @@ #include "login/ipban.h" #include "login/loginlog.h" #include "login/lclif.h" +#include "login/packets_ac_struct.h" #include "common/HPM.h" #include "common/cbasetypes.h" #include "common/conf.h" @@ -68,14 +69,6 @@ static AccountDB *accounts = NULL; //----------------------------------------------------- #define AUTH_TIMEOUT 30000 -#if PACKETVER_MAIN_NUM >= 20181114 || PACKETVER_RE_NUM >= 20181114 || defined(PACKETVER_ZERO) -struct PACKET_AC_REQ_MOBILE_OTP { - int16 packet_id; ///< Packet ID (#HEADER_CA_SSO_LOGIN_REQ) - uint32 aid; ///< Account ID -} __attribute__((packed)); -DEFINE_PACKET_HEADER(AC_REQ_MOBILE_OTP, 0x09a2); -#endif - /** * @see DBCreateData */ -- cgit v1.2.3-70-g09d2