Horizon Official Technical Documentation
Horizon::Auth Namespace Reference

Classes

class  AC_ACCEPT_LOGIN
 Main object for the aegis packet: AC_ACCEPT_LOGIN. More...
 
class  AC_ACCEPT_LOGIN2
 Main object for the aegis packet: AC_ACCEPT_LOGIN2. More...
 
class  AC_ACK_EKEY_FAIL_AUTHREFUSE
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_AUTHREFUSE. More...
 
class  AC_ACK_EKEY_FAIL_INPUTEKEY
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_INPUTEKEY. More...
 
class  AC_ACK_EKEY_FAIL_NEEDCARDPASS
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_NEEDCARDPASS. More...
 
class  AC_ACK_EKEY_FAIL_NOTEXIST
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_NOTEXIST. More...
 
class  AC_ACK_EKEY_FAIL_NOTICE
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_NOTICE. More...
 
class  AC_ACK_EKEY_FAIL_NOTUSEDEKEY
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_NOTUSEDEKEY. More...
 
class  AC_ACK_EKEY_FAIL_NOTUSESEKEY
 Main object for the aegis packet: AC_ACK_EKEY_FAIL_NOTUSESEKEY. More...
 
class  AC_ACK_FIRST_LOGIN
 Main object for the aegis packet: AC_ACK_FIRST_LOGIN. More...
 
class  AC_ACK_GAME_GUARD
 Main object for the aegis packet: AC_ACK_GAME_GUARD. More...
 
class  AC_ACK_HASH
 Main object for the aegis packet: AC_ACK_HASH. More...
 
class  AC_ACK_PT_ID_INFO
 Main object for the aegis packet: AC_ACK_PT_ID_INFO. More...
 
class  AC_ASK_PNGAMEROOM
 Main object for the aegis packet: AC_ASK_PNGAMEROOM. More...
 
class  AC_EVENT_RESULT
 Main object for the aegis packet: AC_EVENT_RESULT. More...
 
class  AC_LOGIN_OTP
 Main object for the aegis packet: AC_LOGIN_OTP. More...
 
class  AC_NOTIFY_ERROR
 Main object for the aegis packet: AC_NOTIFY_ERROR. More...
 
class  AC_OTP_AUTH_ACK
 Main object for the aegis packet: AC_OTP_AUTH_ACK. More...
 
class  AC_OTP_USER
 Main object for the aegis packet: AC_OTP_USER. More...
 
class  AC_REALNAME_AUTH
 Main object for the aegis packet: AC_REALNAME_AUTH. More...
 
class  AC_REFUSE_LOGIN
 Main object for the aegis packet: AC_REFUSE_LOGIN. More...
 
class  AC_REFUSE_LOGIN2
 Main object for the aegis packet: AC_REFUSE_LOGIN2. More...
 
class  AC_REFUSE_LOGIN3
 Main object for the aegis packet: AC_REFUSE_LOGIN3. More...
 
class  AC_REFUSE_LOGIN4
 Main object for the aegis packet: AC_REFUSE_LOGIN4. More...
 
class  AC_REQ_LOGIN_ACCOUNT_INFO
 Main object for the aegis packet: AC_REQ_LOGIN_ACCOUNT_INFO. More...
 
class  AC_REQ_LOGIN_CARDPASS
 Main object for the aegis packet: AC_REQ_LOGIN_CARDPASS. More...
 
class  AC_REQ_LOGIN_NEWEKEY
 Main object for the aegis packet: AC_REQ_LOGIN_NEWEKEY. More...
 
class  AC_REQ_LOGIN_OLDEKEY
 Main object for the aegis packet: AC_REQ_LOGIN_OLDEKEY. More...
 
class  AC_REQ_MOBILE_OTP
 Main object for the aegis packet: AC_REQ_MOBILE_OTP. More...
 
class  AC_REQ_NEW_USER
 Main object for the aegis packet: AC_REQ_NEW_USER. More...
 
class  AC_REQUEST_SECOND_PASSWORD
 Main object for the aegis packet: AC_REQUEST_SECOND_PASSWORD. More...
 
class  AC_SHUTDOWN_INFO
 Main object for the aegis packet: AC_SHUTDOWN_INFO. More...
 
class  AC_SHUTDOWN_NOTIFY
 Main object for the aegis packet: AC_SHUTDOWN_NOTIFY. More...
 
class  AC_SSO_LOGIN_ACK
 Main object for the aegis packet: AC_SSO_LOGIN_ACK. More...
 
struct  auth_config_type
 Main Auth Server Singleton Class. More...
 
class  AuthClientInterface
 
class  AuthNetworkThread
 
class  AuthServer
 
class  AuthSession
 
class  AuthSocket
 
class  CA_ACK_LOGIN_ACCOUNT_INFO
 Main object for the aegis packet: CA_ACK_LOGIN_ACCOUNT_INFO. More...
 
class  CA_ACK_LOGIN_CARDPASS
 Main object for the aegis packet: CA_ACK_LOGIN_CARDPASS. More...
 
class  CA_ACK_LOGIN_NEWEKEY
 Main object for the aegis packet: CA_ACK_LOGIN_NEWEKEY. More...
 
class  CA_ACK_LOGIN_OLDEKEY
 Main object for the aegis packet: CA_ACK_LOGIN_OLDEKEY. More...
 
class  CA_ACK_MOBILE_OTP
 Main object for the aegis packet: CA_ACK_MOBILE_OTP. More...
 
class  CA_ACK_NEW_USER
 Main object for the aegis packet: CA_ACK_NEW_USER. More...
 
class  CA_CLIENT_TYPE
 Main object for the aegis packet: CA_CLIENT_TYPE. More...
 
class  CA_CONNECT_INFO_CHANGED
 Main object for the aegis packet: CA_CONNECT_INFO_CHANGED. More...
 
class  CA_EXE_HASHCHECK
 Main object for the aegis packet: CA_EXE_HASHCHECK. More...
 
class  CA_LOGIN
 Main object for the aegis packet: CA_LOGIN. More...
 
class  CA_LOGIN2
 Main object for the aegis packet: CA_LOGIN2. More...
 
class  CA_LOGIN3
 Main object for the aegis packet: CA_LOGIN3. More...
 
class  CA_LOGIN4
 Main object for the aegis packet: CA_LOGIN4. More...
 
class  CA_LOGIN5
 Main object for the aegis packet: CA_LOGIN5. More...
 
class  CA_LOGIN6
 Main object for the aegis packet: CA_LOGIN6. More...
 
class  CA_LOGIN_HAN
 Main object for the aegis packet: CA_LOGIN_HAN. More...
 
class  CA_LOGIN_OTP
 Main object for the aegis packet: CA_LOGIN_OTP. More...
 
class  CA_LOGIN_PCBANG
 Main object for the aegis packet: CA_LOGIN_PCBANG. More...
 
class  CA_OTP_AUTH_REQ
 Main object for the aegis packet: CA_OTP_AUTH_REQ. More...
 
class  CA_OTP_CODE
 Main object for the aegis packet: CA_OTP_CODE. More...
 
class  CA_REPLY_PNGAMEROOM
 Main object for the aegis packet: CA_REPLY_PNGAMEROOM. More...
 
class  CA_REQ_GAME_GUARD_CHECK
 Main object for the aegis packet: CA_REQ_GAME_GUARD_CHECK. More...
 
class  CA_REQ_HASH
 Main object for the aegis packet: CA_REQ_HASH. More...
 
class  CA_SSO_LOGIN_REQ
 Main object for the aegis packet: CA_SSO_LOGIN_REQ. More...
 
class  ClientPacketLengthTable
 Auto-generated with a python generator tool authored by Sephus (sagun.nosp@m.xp@g.nosp@m.mail..nosp@m.com). More...
 
class  ClientSocketMgr
 Manager of client sockets and initialization of the packet db *. More...
 
class  PacketLengthTable
 Auto-generated with a python generator tool authored by Sephus (sagun.nosp@m.xp@g.nosp@m.mail..nosp@m.com). More...
 
struct  s_ac_accept_login
 
struct  s_ac_char_server_list
 

Typedefs

typedef std::shared_ptr< Base::NetworkPacket< AuthSession > > HPacketStructPtrType
 
typedef std::shared_ptr< Base::NetworkPacket< AuthSession > > TPacketStructPtrType
 
typedef std::pair< int16_t, HPacketStructPtrTypeHPacketTablePairType
 
typedef std::pair< int16_t, TPacketStructPtrTypeTPacketTablePairType
 

Enumerations

enum  { ID_CA_ACK_LOGIN_ACCOUNT_INFO = 0x0271 }
 
enum  { ID_CA_ACK_LOGIN_CARDPASS = 0x0266 }
 
enum  { ID_CA_ACK_LOGIN_NEWEKEY = 0x0265 }
 
enum  { ID_CA_ACK_LOGIN_OLDEKEY = 0x0264 }
 
enum  { ID_CA_ACK_MOBILE_OTP = 0x09a3 }
 
enum  { ID_CA_ACK_NEW_USER = 0x098c }
 
enum  { ID_CA_CLIENT_TYPE = 0x027f }
 
enum  { ID_CA_CONNECT_INFO_CHANGED = 0x0200 }
 
enum  { ID_CA_EXE_HASHCHECK = 0x0204 }
 
enum  { ID_CA_LOGIN = 0x0064 }
 
enum  { ID_CA_LOGIN2 = 0x01dd }
 
enum  { ID_CA_LOGIN3 = 0x01fa }
 
enum  { ID_CA_LOGIN4 = 0x027c }
 
enum  { ID_CA_LOGIN5 = 0x08cc }
 
enum  { ID_CA_LOGIN6 = 0x0987 }
 
enum  { ID_CA_LOGIN_HAN = 0x02b0 }
 
enum  { ID_CA_LOGIN_OTP = 0x0acf }
 
enum  { ID_CA_LOGIN_PCBANG = 0x0277 }
 
enum  { ID_CA_OTP_AUTH_REQ = 0x0822 }
 
enum  { ID_CA_OTP_CODE = 0x0ad0 }
 
enum  { ID_CA_REPLY_PNGAMEROOM = 0x01bf }
 
enum  { ID_CA_REQ_GAME_GUARD_CHECK = 0x0258 }
 
enum  { ID_CA_REQ_HASH = 0x01db }
 
enum  { ID_CA_SSO_LOGIN_REQ = 0x0825 }
 
enum  { ID_AC_ACCEPT_LOGIN = 0x0ac4 }
 
enum  { ID_AC_ACCEPT_LOGIN2 = 0x0276 }
 
enum  { ID_AC_ACK_EKEY_FAIL_AUTHREFUSE = 0x026a }
 
enum  { ID_AC_ACK_EKEY_FAIL_INPUTEKEY = 0x026b }
 
enum  { ID_AC_ACK_EKEY_FAIL_NEEDCARDPASS = 0x026d }
 
enum  { ID_AC_ACK_EKEY_FAIL_NOTEXIST = 0x0267 }
 
enum  { ID_AC_ACK_EKEY_FAIL_NOTICE = 0x026c }
 
enum  { ID_AC_ACK_EKEY_FAIL_NOTUSEDEKEY = 0x0269 }
 
enum  { ID_AC_ACK_EKEY_FAIL_NOTUSESEKEY = 0x0268 }
 
enum  { ID_AC_ACK_FIRST_LOGIN = 0x026f }
 
enum  { ID_AC_ACK_GAME_GUARD = 0x0259 }
 
enum  { ID_AC_ACK_HASH = 0x01dc }
 
enum  { ID_AC_ACK_PT_ID_INFO = 0x0272 }
 
enum  { ID_AC_ASK_PNGAMEROOM = 0x01be }
 
enum  { ID_AC_EVENT_RESULT = 0x023d }
 
enum  { ID_AC_LOGIN_OTP = 0x0ad1 }
 
enum  { ID_AC_NOTIFY_ERROR = 0x01f1 }
 
enum  { ID_AC_OTP_AUTH_ACK = 0x0823 }
 
enum  { ID_AC_OTP_USER = 0x0821 }
 
enum  { ID_AC_REALNAME_AUTH = 0x08b2 }
 
enum class  login_error_codes {
  ERR_NONE = -1 , ERR_UNREGISTERED_ID = 0 , ERR_INCORRECT_PASSWORD = 1 , ERR_EXPIRED_ID = 2 ,
  ERR_REJECTED_FROM_SERVER = 3 , ERR_GM_BLOCK = 4 , ERR_INCORRECT_CLIENT_VERSION = 5 , ERR_BAN_TIMESTAMP = 6 ,
  ERR_SERVER_OVERPOPULATED = 7 , ERR_COMPANY_LIMIT = 8 , ERR_MSI_REFUSE_BAN_BY_DBA = 9 , ERR_MSI_REFUSE_EMAIL_NOT_CONFIRMED = 10 ,
  ERR_MSI_REFUSE_BAN_BY_GM = 11 , ERR_MSI_REFUSE_TEMP_BAN_FOR_DBWORK = 12 , ERR_MSI_REFUSE_SELF_LOCK = 13 , ERR_MSI_REFUSE_NOT_PERMITTED_GROUP = 14 ,
  ERR_MSI_REFUSE_NOT_PERMITTED_GROUP2 = 15 , ERR_DELETED_ACCOUNT = 99 , ERR_SESSION_CONNECTED = 100 , ERR_HACKING_INVESTIGATION = 101 ,
  ERR_BUG_INVESTIGATION = 102 , ERR_DELETING_CHAR = 103 , ERR_DELETING_SPOUSE = 104
}
 
enum  { ID_AC_REFUSE_LOGIN = 0x006a }
 
enum  { ID_AC_REFUSE_LOGIN2 = 0x083e }
 
enum  { ID_AC_REFUSE_LOGIN3 = 0x09a5 }
 
enum  { ID_AC_REFUSE_LOGIN4 = 0x0b02 }
 
enum  { ID_AC_REQUEST_SECOND_PASSWORD = 0x02ad }
 
enum  { ID_AC_REQ_LOGIN_ACCOUNT_INFO = 0x0270 }
 
enum  { ID_AC_REQ_LOGIN_CARDPASS = 0x0263 }
 
enum  { ID_AC_REQ_LOGIN_NEWEKEY = 0x0262 }
 
enum  { ID_AC_REQ_LOGIN_OLDEKEY = 0x0261 }
 
enum  { ID_AC_REQ_MOBILE_OTP = 0x09a2 }
 
enum  { ID_AC_REQ_NEW_USER = 0x098b }
 
enum  { ID_AC_SHUTDOWN_INFO = 0x08e4 }
 
enum  { ID_AC_SHUTDOWN_NOTIFY = 0x0986 }
 
enum  { ID_AC_SSO_LOGIN_ACK = 0x0826 }
 

Variables

const int SALT_LEN = 16
 
const int HASH_LEN = 32
 
const int ITERATIONS = 10000
 

Typedef Documentation

◆ HPacketStructPtrType

◆ HPacketTablePairType

◆ TPacketStructPtrType

◆ TPacketTablePairType

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_LOGIN_ACCOUNT_INFO 
39 {
40#if CLIENT_TYPE == 'A' && \
41 PACKET_VERSION >= 20060126
43#elif CLIENT_TYPE == 'M' && \
44 PACKET_VERSION >= 20060126
46#elif CLIENT_TYPE == 'R' && \
47 PACKET_VERSION >= 20080000
49#elif CLIENT_TYPE == 'S' && \
50 PACKET_VERSION >= 20060126
52#elif CLIENT_TYPE == 'Z' && \
53 PACKET_VERSION >= 20170000
55#else
56ID_CA_ACK_LOGIN_ACCOUNT_INFO = 0x0000 // Disabled
57#endif
58};
@ ID_CA_ACK_LOGIN_ACCOUNT_INFO
Definition: HandledPackets.hpp:45

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_LOGIN_CARDPASS 
77 {
78#if CLIENT_TYPE == 'A' && \
79 PACKET_VERSION >= 20060109
81#elif CLIENT_TYPE == 'M' && \
82 PACKET_VERSION >= 20060109
84#elif CLIENT_TYPE == 'R' && \
85 PACKET_VERSION >= 20080000
87#elif CLIENT_TYPE == 'S' && \
88 PACKET_VERSION >= 20060109
90#elif CLIENT_TYPE == 'Z' && \
91 PACKET_VERSION >= 20170000
93#else
94ID_CA_ACK_LOGIN_CARDPASS = 0x0000 // Disabled
95#endif
96};
@ ID_CA_ACK_LOGIN_CARDPASS
Definition: HandledPackets.hpp:83

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN2 
412 {
413#if CLIENT_TYPE == 'A' && \
414 PACKET_VERSION >= 20040000
415ID_CA_LOGIN2 = 0x01dd
416#elif CLIENT_TYPE == 'M' && \
417 PACKET_VERSION >= 20030000
418ID_CA_LOGIN2 = 0x01dd
419#elif CLIENT_TYPE == 'R' && \
420 PACKET_VERSION >= 20080000
421ID_CA_LOGIN2 = 0x01dd
422#elif CLIENT_TYPE == 'S' && \
423 PACKET_VERSION >= 20030000
424ID_CA_LOGIN2 = 0x01dd
425#elif CLIENT_TYPE == 'Z' && \
426 PACKET_VERSION >= 20170000
427ID_CA_LOGIN2 = 0x01dd
428#else
429ID_CA_LOGIN2 = 0x0000 // Disabled
430#endif
431};
@ ID_CA_LOGIN2
Definition: HandledPackets.hpp:418

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN3 
450 {
451#if CLIENT_TYPE == 'A' && \
452 PACKET_VERSION >= 20040000
453ID_CA_LOGIN3 = 0x01fa
454#elif CLIENT_TYPE == 'M' && \
455 PACKET_VERSION >= 20040322
456ID_CA_LOGIN3 = 0x01fa
457#elif CLIENT_TYPE == 'R' && \
458 PACKET_VERSION >= 20080000
459ID_CA_LOGIN3 = 0x01fa
460#elif CLIENT_TYPE == 'S' && \
461 PACKET_VERSION >= 20040322
462ID_CA_LOGIN3 = 0x01fa
463#elif CLIENT_TYPE == 'Z' && \
464 PACKET_VERSION >= 20170000
465ID_CA_LOGIN3 = 0x01fa
466#else
467ID_CA_LOGIN3 = 0x0000 // Disabled
468#endif
469};
@ ID_CA_LOGIN3
Definition: HandledPackets.hpp:456

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN4 
488 {
489#if CLIENT_TYPE == 'A' && \
490 PACKET_VERSION >= 20060626
491ID_CA_LOGIN4 = 0x027c
492#elif CLIENT_TYPE == 'M' && \
493 PACKET_VERSION >= 20060626
494ID_CA_LOGIN4 = 0x027c
495#elif CLIENT_TYPE == 'R' && \
496 PACKET_VERSION >= 20080000
497ID_CA_LOGIN4 = 0x027c
498#elif CLIENT_TYPE == 'S' && \
499 PACKET_VERSION >= 20060626
500ID_CA_LOGIN4 = 0x027c
501#elif CLIENT_TYPE == 'Z' && \
502 PACKET_VERSION >= 20170000
503ID_CA_LOGIN4 = 0x027c
504#else
505ID_CA_LOGIN4 = 0x0000 // Disabled
506#endif
507};
@ ID_CA_LOGIN4
Definition: HandledPackets.hpp:494

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN5 
526 {
527#if CLIENT_TYPE == 'M' && \
528 PACKET_VERSION >= 20110726
529ID_CA_LOGIN5 = 0x08cc
530#elif CLIENT_TYPE == 'R' && \
531 PACKET_VERSION >= 20110726
532ID_CA_LOGIN5 = 0x08cc
533#elif CLIENT_TYPE == 'Z' && \
534 PACKET_VERSION >= 20170000
535ID_CA_LOGIN5 = 0x08cc
536#else
537ID_CA_LOGIN5 = 0x0000 // Disabled
538#endif
539};
@ ID_CA_LOGIN5
Definition: HandledPackets.hpp:529

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN6 
558 {
559#if CLIENT_TYPE == 'M' && \
560 PACKET_VERSION >= 20120702
561ID_CA_LOGIN6 = 0x0987
562#elif CLIENT_TYPE == 'R' && \
563 PACKET_VERSION >= 20120702
564ID_CA_LOGIN6 = 0x0987
565#elif CLIENT_TYPE == 'Z' && \
566 PACKET_VERSION >= 20170000
567ID_CA_LOGIN6 = 0x0987
568#else
569ID_CA_LOGIN6 = 0x0000 // Disabled
570#endif
571};
@ ID_CA_LOGIN6
Definition: HandledPackets.hpp:561

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN_HAN 
590 {
591#if CLIENT_TYPE == 'A' && \
592 PACKET_VERSION >= 20070514
593ID_CA_LOGIN_HAN = 0x02b0
594#elif CLIENT_TYPE == 'M' && \
595 PACKET_VERSION >= 20070514
596ID_CA_LOGIN_HAN = 0x02b0
597#elif CLIENT_TYPE == 'R' && \
598 PACKET_VERSION >= 20080000
599ID_CA_LOGIN_HAN = 0x02b0
600#elif CLIENT_TYPE == 'S' && \
601 PACKET_VERSION >= 20070514
602ID_CA_LOGIN_HAN = 0x02b0
603#elif CLIENT_TYPE == 'Z' && \
604 PACKET_VERSION >= 20170000
605ID_CA_LOGIN_HAN = 0x02b0
606#else
607ID_CA_LOGIN_HAN = 0x0000 // Disabled
608#endif
609};
@ ID_CA_LOGIN_HAN
Definition: HandledPackets.hpp:596

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN_OTP 
628 {
629#if CLIENT_TYPE == 'M' && \
630 PACKET_VERSION >= 20171115
631ID_CA_LOGIN_OTP = 0x0acf
632#elif CLIENT_TYPE == 'M' && \
633 PACKET_VERSION >= 20130605
634ID_CA_LOGIN_OTP = 0x09c8
635#elif CLIENT_TYPE == 'R' && \
636 PACKET_VERSION >= 20130605
637ID_CA_LOGIN_OTP = 0x09c8
638#elif CLIENT_TYPE == 'R' && \
639 PACKET_VERSION >= 20171115
640ID_CA_LOGIN_OTP = 0x0acf
641#elif CLIENT_TYPE == 'Z' && \
642 PACKET_VERSION >= 20170000
643ID_CA_LOGIN_OTP = 0x09c8
644#elif CLIENT_TYPE == 'Z' && \
645 PACKET_VERSION >= 20171113
646ID_CA_LOGIN_OTP = 0x0acf
647#else
648ID_CA_LOGIN_OTP = 0x0000 // Disabled
649#endif
650};
@ ID_CA_LOGIN_OTP
Definition: HandledPackets.hpp:631

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN_PCBANG 
669 {
670#if CLIENT_TYPE == 'A' && \
671 PACKET_VERSION >= 20060424
672ID_CA_LOGIN_PCBANG = 0x0277
673#elif CLIENT_TYPE == 'M' && \
674 PACKET_VERSION >= 20060424
675ID_CA_LOGIN_PCBANG = 0x0277
676#elif CLIENT_TYPE == 'R' && \
677 PACKET_VERSION >= 20080000
678ID_CA_LOGIN_PCBANG = 0x0277
679#elif CLIENT_TYPE == 'S' && \
680 PACKET_VERSION >= 20060424
681ID_CA_LOGIN_PCBANG = 0x0277
682#elif CLIENT_TYPE == 'Z' && \
683 PACKET_VERSION >= 20170000
684ID_CA_LOGIN_PCBANG = 0x0277
685#else
686ID_CA_LOGIN_PCBANG = 0x0000 // Disabled
687#endif
688};
@ ID_CA_LOGIN_PCBANG
Definition: HandledPackets.hpp:675

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_OTP_AUTH_REQ 
707 {
708#if CLIENT_TYPE == 'M' && \
709 PACKET_VERSION >= 20100413
710ID_CA_OTP_AUTH_REQ = 0x0822
711#elif CLIENT_TYPE == 'R' && \
712 PACKET_VERSION >= 20100413
713ID_CA_OTP_AUTH_REQ = 0x0822
714#elif CLIENT_TYPE == 'Z' && \
715 PACKET_VERSION >= 20170000
716ID_CA_OTP_AUTH_REQ = 0x0822
717#else
718ID_CA_OTP_AUTH_REQ = 0x0000 // Disabled
719#endif
720};
@ ID_CA_OTP_AUTH_REQ
Definition: HandledPackets.hpp:710

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_OTP_CODE 
739 {
740#if CLIENT_TYPE == 'M' && \
741 PACKET_VERSION >= 20170614
742ID_CA_OTP_CODE = 0x0ad0
743#elif CLIENT_TYPE == 'R' && \
744 PACKET_VERSION >= 20170614
745ID_CA_OTP_CODE = 0x0ad0
746#elif CLIENT_TYPE == 'Z' && \
747 PACKET_VERSION >= 20170000
748ID_CA_OTP_CODE = 0x0ad0
749#else
750ID_CA_OTP_CODE = 0x0000 // Disabled
751#endif
752};
@ ID_CA_OTP_CODE
Definition: HandledPackets.hpp:742

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_LOGIN_NEWEKEY 
115 {
116#if CLIENT_TYPE == 'A' && \
117 PACKET_VERSION >= 20060109
119#elif CLIENT_TYPE == 'M' && \
120 PACKET_VERSION >= 20060109
122#elif CLIENT_TYPE == 'R' && \
123 PACKET_VERSION >= 20080000
125#elif CLIENT_TYPE == 'S' && \
126 PACKET_VERSION >= 20060109
128#elif CLIENT_TYPE == 'Z' && \
129 PACKET_VERSION >= 20170000
131#else
132ID_CA_ACK_LOGIN_NEWEKEY = 0x0000 // Disabled
133#endif
134};
@ ID_CA_ACK_LOGIN_NEWEKEY
Definition: HandledPackets.hpp:121

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_REPLY_PNGAMEROOM 
771 {
772#if CLIENT_TYPE == 'A' && \
773 PACKET_VERSION >= 20040000
775#elif CLIENT_TYPE == 'M' && \
776 PACKET_VERSION >= 20030000
778#elif CLIENT_TYPE == 'R' && \
779 PACKET_VERSION >= 20080000
781#elif CLIENT_TYPE == 'S' && \
782 PACKET_VERSION >= 20030000
784#elif CLIENT_TYPE == 'Z' && \
785 PACKET_VERSION >= 20170000
787#else
788ID_CA_REPLY_PNGAMEROOM = 0x0000 // Disabled
789#endif
790};
@ ID_CA_REPLY_PNGAMEROOM
Definition: HandledPackets.hpp:777

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_REQ_GAME_GUARD_CHECK 
809 {
810#if CLIENT_TYPE == 'A' && \
811 PACKET_VERSION >= 20050912
813#elif CLIENT_TYPE == 'M' && \
814 PACKET_VERSION >= 20050912
816#elif CLIENT_TYPE == 'R' && \
817 PACKET_VERSION >= 20080000
819#elif CLIENT_TYPE == 'S' && \
820 PACKET_VERSION >= 20050912
822#elif CLIENT_TYPE == 'Z' && \
823 PACKET_VERSION >= 20170000
825#else
826ID_CA_REQ_GAME_GUARD_CHECK = 0x0000 // Disabled
827#endif
828};
@ ID_CA_REQ_GAME_GUARD_CHECK
Definition: HandledPackets.hpp:815

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_REQ_HASH 
847 {
848#if CLIENT_TYPE == 'A' && \
849 PACKET_VERSION >= 20040000
850ID_CA_REQ_HASH = 0x01db
851#elif CLIENT_TYPE == 'M' && \
852 PACKET_VERSION >= 20030000
853ID_CA_REQ_HASH = 0x01db
854#elif CLIENT_TYPE == 'R' && \
855 PACKET_VERSION >= 20080000
856ID_CA_REQ_HASH = 0x01db
857#elif CLIENT_TYPE == 'S' && \
858 PACKET_VERSION >= 20030000
859ID_CA_REQ_HASH = 0x01db
860#elif CLIENT_TYPE == 'Z' && \
861 PACKET_VERSION >= 20170000
862ID_CA_REQ_HASH = 0x01db
863#else
864ID_CA_REQ_HASH = 0x0000 // Disabled
865#endif
866};
@ ID_CA_REQ_HASH
Definition: HandledPackets.hpp:853

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_SSO_LOGIN_REQ 
885 {
886#if CLIENT_TYPE == 'M' && \
887 PACKET_VERSION >= 20100601
888ID_CA_SSO_LOGIN_REQ = 0x0825
889#elif CLIENT_TYPE == 'R' && \
890 PACKET_VERSION >= 20100601
891ID_CA_SSO_LOGIN_REQ = 0x0825
892#elif CLIENT_TYPE == 'Z' && \
893 PACKET_VERSION >= 20170000
894ID_CA_SSO_LOGIN_REQ = 0x0825
895#else
896ID_CA_SSO_LOGIN_REQ = 0x0000 // Disabled
897#endif
898};
@ ID_CA_SSO_LOGIN_REQ
Definition: HandledPackets.hpp:888

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACCEPT_LOGIN 
70 {
71#if CLIENT_TYPE == 'A' && \
72 PACKET_VERSION >= 20040000
73ID_AC_ACCEPT_LOGIN = 0x0069
74#elif CLIENT_TYPE == 'M' && \
75 PACKET_VERSION >= 20170228
76 ID_AC_ACCEPT_LOGIN = 0x0ac4
77#elif CLIENT_TYPE == 'M' && \
78 PACKET_VERSION >= 20030000
79ID_AC_ACCEPT_LOGIN = 0x0069
80#elif CLIENT_TYPE == 'R' && \
81 PACKET_VERSION >= 20170228
82 ID_AC_ACCEPT_LOGIN = 0x0ac4
83#elif CLIENT_TYPE == 'R' && \
84 PACKET_VERSION >= 20080000
85ID_AC_ACCEPT_LOGIN = 0x0069
86#elif CLIENT_TYPE == 'S' && \
87 PACKET_VERSION >= 20030000
88ID_AC_ACCEPT_LOGIN = 0x0069
89#elif CLIENT_TYPE == 'Z' && \
90 PACKET_VERSION >= 20180000
91 ID_AC_ACCEPT_LOGIN = 0x0069
92#elif CLIENT_TYPE == 'Z' && \
93 PACKET_VERSION >= 20170000
94ID_AC_ACCEPT_LOGIN = 0x0ac4
95#else
96ID_AC_ACCEPT_LOGIN = 0x0000 // Disabled
97#endif
98};
@ ID_AC_ACCEPT_LOGIN
Definition: TransmittedPackets.hpp:76

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACCEPT_LOGIN2 
119 {
120#if CLIENT_TYPE == 'M' && \
121 PACKET_VERSION >= 20090701
122ID_AC_ACCEPT_LOGIN2 = 0x0276
123#elif CLIENT_TYPE == 'R' && \
124 PACKET_VERSION >= 20090701
125ID_AC_ACCEPT_LOGIN2 = 0x0276
126#elif CLIENT_TYPE == 'Z' && \
127 PACKET_VERSION >= 20170000
128ID_AC_ACCEPT_LOGIN2 = 0x0276
129#else
130ID_AC_ACCEPT_LOGIN2 = 0x0000 // Disabled
131#endif
132};
@ ID_AC_ACCEPT_LOGIN2
Definition: TransmittedPackets.hpp:122

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_AUTHREFUSE 
151 {
152#if CLIENT_TYPE == 'A' && \
153 PACKET_VERSION >= 20060109
155#elif CLIENT_TYPE == 'M' && \
156 PACKET_VERSION >= 20060109
158#elif CLIENT_TYPE == 'R' && \
159 PACKET_VERSION >= 20080000
161#elif CLIENT_TYPE == 'S' && \
162 PACKET_VERSION >= 20060109
164#elif CLIENT_TYPE == 'Z' && \
165 PACKET_VERSION >= 20170000
167#else
168ID_AC_ACK_EKEY_FAIL_AUTHREFUSE = 0x0000 // Disabled
169#endif
170};
@ ID_AC_ACK_EKEY_FAIL_AUTHREFUSE
Definition: TransmittedPackets.hpp:157

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_INPUTEKEY 
189 {
190#if CLIENT_TYPE == 'A' && \
191 PACKET_VERSION >= 20060109
193#elif CLIENT_TYPE == 'M' && \
194 PACKET_VERSION >= 20060109
196#elif CLIENT_TYPE == 'R' && \
197 PACKET_VERSION >= 20080000
199#elif CLIENT_TYPE == 'S' && \
200 PACKET_VERSION >= 20060109
202#elif CLIENT_TYPE == 'Z' && \
203 PACKET_VERSION >= 20170000
205#else
206ID_AC_ACK_EKEY_FAIL_INPUTEKEY = 0x0000 // Disabled
207#endif
208};
@ ID_AC_ACK_EKEY_FAIL_INPUTEKEY
Definition: TransmittedPackets.hpp:195

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_NEEDCARDPASS 
227 {
228#if CLIENT_TYPE == 'A' && \
229 PACKET_VERSION >= 20060109
231#elif CLIENT_TYPE == 'M' && \
232 PACKET_VERSION >= 20060109
234#elif CLIENT_TYPE == 'R' && \
235 PACKET_VERSION >= 20080000
237#elif CLIENT_TYPE == 'S' && \
238 PACKET_VERSION >= 20060109
240#elif CLIENT_TYPE == 'Z' && \
241 PACKET_VERSION >= 20170000
243#else
244ID_AC_ACK_EKEY_FAIL_NEEDCARDPASS = 0x0000 // Disabled
245#endif
246};
@ ID_AC_ACK_EKEY_FAIL_NEEDCARDPASS
Definition: TransmittedPackets.hpp:233

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_NOTEXIST 
265 {
266#if CLIENT_TYPE == 'A' && \
267 PACKET_VERSION >= 20060109
269#elif CLIENT_TYPE == 'M' && \
270 PACKET_VERSION >= 20060109
272#elif CLIENT_TYPE == 'R' && \
273 PACKET_VERSION >= 20080000
275#elif CLIENT_TYPE == 'S' && \
276 PACKET_VERSION >= 20060109
278#elif CLIENT_TYPE == 'Z' && \
279 PACKET_VERSION >= 20170000
281#else
282ID_AC_ACK_EKEY_FAIL_NOTEXIST = 0x0000 // Disabled
283#endif
284};
@ ID_AC_ACK_EKEY_FAIL_NOTEXIST
Definition: TransmittedPackets.hpp:271

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_LOGIN_OLDEKEY 
153 {
154#if CLIENT_TYPE == 'A' && \
155 PACKET_VERSION >= 20060109
157#elif CLIENT_TYPE == 'M' && \
158 PACKET_VERSION >= 20060109
160#elif CLIENT_TYPE == 'R' && \
161 PACKET_VERSION >= 20080000
163#elif CLIENT_TYPE == 'S' && \
164 PACKET_VERSION >= 20060109
166#elif CLIENT_TYPE == 'Z' && \
167 PACKET_VERSION >= 20170000
169#else
170ID_CA_ACK_LOGIN_OLDEKEY = 0x0000 // Disabled
171#endif
172};
@ ID_CA_ACK_LOGIN_OLDEKEY
Definition: HandledPackets.hpp:159

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_NOTICE 
303 {
304#if CLIENT_TYPE == 'A' && \
305 PACKET_VERSION >= 20060109
307#elif CLIENT_TYPE == 'M' && \
308 PACKET_VERSION >= 20060109
310#elif CLIENT_TYPE == 'R' && \
311 PACKET_VERSION >= 20080000
313#elif CLIENT_TYPE == 'S' && \
314 PACKET_VERSION >= 20060109
316#elif CLIENT_TYPE == 'Z' && \
317 PACKET_VERSION >= 20170000
319#else
320ID_AC_ACK_EKEY_FAIL_NOTICE = 0x0000 // Disabled
321#endif
322};
@ ID_AC_ACK_EKEY_FAIL_NOTICE
Definition: TransmittedPackets.hpp:309

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_NOTUSEDEKEY 
341 {
342#if CLIENT_TYPE == 'A' && \
343 PACKET_VERSION >= 20060109
345#elif CLIENT_TYPE == 'M' && \
346 PACKET_VERSION >= 20060109
348#elif CLIENT_TYPE == 'R' && \
349 PACKET_VERSION >= 20080000
351#elif CLIENT_TYPE == 'S' && \
352 PACKET_VERSION >= 20060109
354#elif CLIENT_TYPE == 'Z' && \
355 PACKET_VERSION >= 20170000
357#else
358ID_AC_ACK_EKEY_FAIL_NOTUSEDEKEY = 0x0000 // Disabled
359#endif
360};
@ ID_AC_ACK_EKEY_FAIL_NOTUSEDEKEY
Definition: TransmittedPackets.hpp:347

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_EKEY_FAIL_NOTUSESEKEY 
379 {
380#if CLIENT_TYPE == 'A' && \
381 PACKET_VERSION >= 20060109
383#elif CLIENT_TYPE == 'M' && \
384 PACKET_VERSION >= 20060109
386#elif CLIENT_TYPE == 'R' && \
387 PACKET_VERSION >= 20080000
389#elif CLIENT_TYPE == 'S' && \
390 PACKET_VERSION >= 20060109
392#elif CLIENT_TYPE == 'Z' && \
393 PACKET_VERSION >= 20170000
395#else
396ID_AC_ACK_EKEY_FAIL_NOTUSESEKEY = 0x0000 // Disabled
397#endif
398};
@ ID_AC_ACK_EKEY_FAIL_NOTUSESEKEY
Definition: TransmittedPackets.hpp:385

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_FIRST_LOGIN 
417 {
418#if CLIENT_TYPE == 'A' && \
419 PACKET_VERSION >= 20060109
421#elif CLIENT_TYPE == 'M' && \
422 PACKET_VERSION >= 20060109
424#elif CLIENT_TYPE == 'R' && \
425 PACKET_VERSION >= 20080000
427#elif CLIENT_TYPE == 'S' && \
428 PACKET_VERSION >= 20060109
430#elif CLIENT_TYPE == 'Z' && \
431 PACKET_VERSION >= 20170000
433#else
434ID_AC_ACK_FIRST_LOGIN = 0x0000 // Disabled
435#endif
436};
@ ID_AC_ACK_FIRST_LOGIN
Definition: TransmittedPackets.hpp:423

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_GAME_GUARD 
455 {
456#if CLIENT_TYPE == 'A' && \
457 PACKET_VERSION >= 20050912
459#elif CLIENT_TYPE == 'M' && \
460 PACKET_VERSION >= 20050912
462#elif CLIENT_TYPE == 'R' && \
463 PACKET_VERSION >= 20080000
465#elif CLIENT_TYPE == 'S' && \
466 PACKET_VERSION >= 20050912
468#elif CLIENT_TYPE == 'Z' && \
469 PACKET_VERSION >= 20170000
471#else
472ID_AC_ACK_GAME_GUARD = 0x0000 // Disabled
473#endif
474};
@ ID_AC_ACK_GAME_GUARD
Definition: TransmittedPackets.hpp:461

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_HASH 
493 {
494#if CLIENT_TYPE == 'A' && \
495 PACKET_VERSION >= 20040000
496ID_AC_ACK_HASH = 0x01dc
497#elif CLIENT_TYPE == 'M' && \
498 PACKET_VERSION >= 20030000
499ID_AC_ACK_HASH = 0x01dc
500#elif CLIENT_TYPE == 'R' && \
501 PACKET_VERSION >= 20080000
502ID_AC_ACK_HASH = 0x01dc
503#elif CLIENT_TYPE == 'S' && \
504 PACKET_VERSION >= 20030000
505ID_AC_ACK_HASH = 0x01dc
506#elif CLIENT_TYPE == 'Z' && \
507 PACKET_VERSION >= 20170000
508ID_AC_ACK_HASH = 0x01dc
509#else
510ID_AC_ACK_HASH = 0x0000 // Disabled
511#endif
512};
@ ID_AC_ACK_HASH
Definition: TransmittedPackets.hpp:499

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ACK_PT_ID_INFO 
531 {
532#if CLIENT_TYPE == 'A' && \
533 PACKET_VERSION >= 20060109
535#elif CLIENT_TYPE == 'M' && \
536 PACKET_VERSION >= 20060109
538#elif CLIENT_TYPE == 'R' && \
539 PACKET_VERSION >= 20080000
541#elif CLIENT_TYPE == 'S' && \
542 PACKET_VERSION >= 20060109
544#elif CLIENT_TYPE == 'Z' && \
545 PACKET_VERSION >= 20170000
547#else
548ID_AC_ACK_PT_ID_INFO = 0x0000 // Disabled
549#endif
550};
@ ID_AC_ACK_PT_ID_INFO
Definition: TransmittedPackets.hpp:537

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_ASK_PNGAMEROOM 
569 {
570#if CLIENT_TYPE == 'A' && \
571 PACKET_VERSION >= 20040000
573#elif CLIENT_TYPE == 'M' && \
574 PACKET_VERSION >= 20030000
576#elif CLIENT_TYPE == 'R' && \
577 PACKET_VERSION >= 20080000
579#elif CLIENT_TYPE == 'S' && \
580 PACKET_VERSION >= 20030000
582#elif CLIENT_TYPE == 'Z' && \
583 PACKET_VERSION >= 20170000
585#else
586ID_AC_ASK_PNGAMEROOM = 0x0000 // Disabled
587#endif
588};
@ ID_AC_ASK_PNGAMEROOM
Definition: TransmittedPackets.hpp:575

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_EVENT_RESULT 
607 {
608#if CLIENT_TYPE == 'A' && \
609 PACKET_VERSION >= 20050628
610ID_AC_EVENT_RESULT = 0x023d
611#elif CLIENT_TYPE == 'M' && \
612 PACKET_VERSION >= 20050628
613ID_AC_EVENT_RESULT = 0x023d
614#elif CLIENT_TYPE == 'R' && \
615 PACKET_VERSION >= 20080000
616ID_AC_EVENT_RESULT = 0x023d
617#elif CLIENT_TYPE == 'S' && \
618 PACKET_VERSION >= 20050628
619ID_AC_EVENT_RESULT = 0x023d
620#elif CLIENT_TYPE == 'Z' && \
621 PACKET_VERSION >= 20170000
622ID_AC_EVENT_RESULT = 0x023d
623#else
624ID_AC_EVENT_RESULT = 0x0000 // Disabled
625#endif
626};
@ ID_AC_EVENT_RESULT
Definition: TransmittedPackets.hpp:613

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_LOGIN_OTP 
645 {
646#if CLIENT_TYPE == 'M' && \
647 PACKET_VERSION >= 20190000
648ID_AC_LOGIN_OTP = 0x0ad1
649#elif CLIENT_TYPE == 'M' && \
650 PACKET_VERSION >= 20171213
651ID_AC_LOGIN_OTP = 0x0ae3
652#elif CLIENT_TYPE == 'R' && \
653 PACKET_VERSION >= 20190000
654 ID_AC_LOGIN_OTP = 0x0ad1
655#elif CLIENT_TYPE == 'R' && \
656 PACKET_VERSION >= 20171213
657ID_AC_LOGIN_OTP = 0x0ae3
658#elif CLIENT_TYPE == 'Z' && \
659 PACKET_VERSION >= 20190000
660 ID_AC_LOGIN_OTP = 0x0ad1
661#elif CLIENT_TYPE == 'Z' && \
662 PACKET_VERSION >= 20171123
663ID_AC_LOGIN_OTP = 0x0ae3
664#else
665ID_AC_LOGIN_OTP = 0x0000 // Disabled
666#endif
667};
@ ID_AC_LOGIN_OTP
Definition: TransmittedPackets.hpp:648

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_MOBILE_OTP 
191 {
192#if CLIENT_TYPE == 'M' && \
193 PACKET_VERSION >= 20130130
195#elif CLIENT_TYPE == 'R' && \
196 PACKET_VERSION >= 20130130
198#elif CLIENT_TYPE == 'Z' && \
199 PACKET_VERSION >= 20170000
201#else
202ID_CA_ACK_MOBILE_OTP = 0x0000 // Disabled
203#endif
204};
@ ID_CA_ACK_MOBILE_OTP
Definition: HandledPackets.hpp:194

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_NOTIFY_ERROR 
695 {
696#if CLIENT_TYPE == 'A' && \
697 PACKET_VERSION >= 20040000
698ID_AC_NOTIFY_ERROR = 0x01f1
699#elif CLIENT_TYPE == 'M' && \
700 PACKET_VERSION >= 20031223
701ID_AC_NOTIFY_ERROR = 0x01f1
702#elif CLIENT_TYPE == 'R' && \
703 PACKET_VERSION >= 20080000
704ID_AC_NOTIFY_ERROR = 0x01f1
705#elif CLIENT_TYPE == 'S' && \
706 PACKET_VERSION >= 20031223
707ID_AC_NOTIFY_ERROR = 0x01f1
708#elif CLIENT_TYPE == 'Z' && \
709 PACKET_VERSION >= 20170000
710ID_AC_NOTIFY_ERROR = 0x01f1
711#else
712ID_AC_NOTIFY_ERROR = 0x0000 // Disabled
713#endif
714};
@ ID_AC_NOTIFY_ERROR
Definition: TransmittedPackets.hpp:701

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_OTP_AUTH_ACK 
733 {
734#if CLIENT_TYPE == 'M' && \
735 PACKET_VERSION >= 20100413
736ID_AC_OTP_AUTH_ACK = 0x0823
737#elif CLIENT_TYPE == 'R' && \
738 PACKET_VERSION >= 20100413
739ID_AC_OTP_AUTH_ACK = 0x0823
740#elif CLIENT_TYPE == 'Z' && \
741 PACKET_VERSION >= 20170000
742ID_AC_OTP_AUTH_ACK = 0x0823
743#else
744ID_AC_OTP_AUTH_ACK = 0x0000 // Disabled
745#endif
746};
@ ID_AC_OTP_AUTH_ACK
Definition: TransmittedPackets.hpp:736

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_OTP_USER 
765 {
766#if CLIENT_TYPE == 'M' && \
767 PACKET_VERSION >= 20100413
768ID_AC_OTP_USER = 0x0821
769#elif CLIENT_TYPE == 'R' && \
770 PACKET_VERSION >= 20100413
771ID_AC_OTP_USER = 0x0821
772#elif CLIENT_TYPE == 'Z' && \
773 PACKET_VERSION >= 20170000
774ID_AC_OTP_USER = 0x0821
775#else
776ID_AC_OTP_USER = 0x0000 // Disabled
777#endif
778};
@ ID_AC_OTP_USER
Definition: TransmittedPackets.hpp:768

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REALNAME_AUTH 
797 {
798#if CLIENT_TYPE == 'M' && \
799 PACKET_VERSION >= 20101228
800ID_AC_REALNAME_AUTH = 0x08b2
801#elif CLIENT_TYPE == 'R' && \
802 PACKET_VERSION >= 20101228
803ID_AC_REALNAME_AUTH = 0x08b2
804#elif CLIENT_TYPE == 'Z' && \
805 PACKET_VERSION >= 20170000
806ID_AC_REALNAME_AUTH = 0x08b2
807#else
808ID_AC_REALNAME_AUTH = 0x0000 // Disabled
809#endif
810};
@ ID_AC_REALNAME_AUTH
Definition: TransmittedPackets.hpp:800

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REFUSE_LOGIN 
856 {
857#if CLIENT_TYPE == 'A' && \
858 PACKET_VERSION >= 20040000
859ID_AC_REFUSE_LOGIN = 0x006a
860#elif CLIENT_TYPE == 'M' && \
861 PACKET_VERSION >= 20030000
862ID_AC_REFUSE_LOGIN = 0x006a
863#elif CLIENT_TYPE == 'R' && \
864 PACKET_VERSION >= 20080000
865ID_AC_REFUSE_LOGIN = 0x006a
866#elif CLIENT_TYPE == 'S' && \
867 PACKET_VERSION >= 20030000
868ID_AC_REFUSE_LOGIN = 0x006a
869#elif CLIENT_TYPE == 'Z' && \
870 PACKET_VERSION >= 20170000
871ID_AC_REFUSE_LOGIN = 0x006a
872#else
873ID_AC_REFUSE_LOGIN = 0x0000 // Disabled
874#endif
875};
@ ID_AC_REFUSE_LOGIN
Definition: TransmittedPackets.hpp:862

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REFUSE_LOGIN2 
896 {
897#if CLIENT_TYPE == 'M' && \
898 PACKET_VERSION >= 20100615
899ID_AC_REFUSE_LOGIN2 = 0x083e
900#elif CLIENT_TYPE == 'R' && \
901 PACKET_VERSION >= 20100615
902ID_AC_REFUSE_LOGIN2 = 0x083e
903#elif CLIENT_TYPE == 'Z' && \
904 PACKET_VERSION >= 20170000
905ID_AC_REFUSE_LOGIN2 = 0x083e
906#else
907ID_AC_REFUSE_LOGIN2 = 0x0000 // Disabled
908#endif
909};
@ ID_AC_REFUSE_LOGIN2
Definition: TransmittedPackets.hpp:899

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REFUSE_LOGIN3 
928 {
929#if CLIENT_TYPE == 'M' && \
930 PACKET_VERSION >= 20130220
931ID_AC_REFUSE_LOGIN3 = 0x09a5
932#elif CLIENT_TYPE == 'R' && \
933 PACKET_VERSION >= 20130220
934ID_AC_REFUSE_LOGIN3 = 0x09a5
935#elif CLIENT_TYPE == 'Z' && \
936 PACKET_VERSION >= 20170000
937ID_AC_REFUSE_LOGIN3 = 0x09a5
938#else
939ID_AC_REFUSE_LOGIN3 = 0x0000 // Disabled
940#endif
941};
@ ID_AC_REFUSE_LOGIN3
Definition: TransmittedPackets.hpp:931

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REFUSE_LOGIN4 
960 {
961#if CLIENT_TYPE == 'M' && \
962 PACKET_VERSION >= 20180704
963ID_AC_REFUSE_LOGIN4 = 0x0b02
964#elif CLIENT_TYPE == 'R' && \
965 PACKET_VERSION >= 20180704
966ID_AC_REFUSE_LOGIN4 = 0x0b02
967#elif CLIENT_TYPE == 'Z' && \
968 PACKET_VERSION >= 20180627
969ID_AC_REFUSE_LOGIN4 = 0x0b02
970#else
971ID_AC_REFUSE_LOGIN4 = 0x0000 // Disabled
972#endif
973};
@ ID_AC_REFUSE_LOGIN4
Definition: TransmittedPackets.hpp:963

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQUEST_SECOND_PASSWORD 
992 {
993#if CLIENT_TYPE == 'A' && \
994 PACKET_VERSION >= 20070227
996#elif CLIENT_TYPE == 'M' && \
997 PACKET_VERSION >= 20070227
999#elif CLIENT_TYPE == 'R' && \
1000 PACKET_VERSION >= 20080000
1002#elif CLIENT_TYPE == 'S' && \
1003 PACKET_VERSION >= 20070227
1005#elif CLIENT_TYPE == 'Z' && \
1006 PACKET_VERSION >= 20170000
1008#else
1009ID_AC_REQUEST_SECOND_PASSWORD = 0x0000 // Disabled
1010#endif
1011};
@ ID_AC_REQUEST_SECOND_PASSWORD
Definition: TransmittedPackets.hpp:998

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_LOGIN_ACCOUNT_INFO 
1030 {
1031#if CLIENT_TYPE == 'A' && \
1032 PACKET_VERSION >= 20060109
1034#elif CLIENT_TYPE == 'M' && \
1035 PACKET_VERSION >= 20060109
1037#elif CLIENT_TYPE == 'R' && \
1038 PACKET_VERSION >= 20080000
1040#elif CLIENT_TYPE == 'S' && \
1041 PACKET_VERSION >= 20060109
1043#elif CLIENT_TYPE == 'Z' && \
1044 PACKET_VERSION >= 20170000
1046#else
1047ID_AC_REQ_LOGIN_ACCOUNT_INFO = 0x0000 // Disabled
1048#endif
1049};
@ ID_AC_REQ_LOGIN_ACCOUNT_INFO
Definition: TransmittedPackets.hpp:1036

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_ACK_NEW_USER 
223 {
224#if CLIENT_TYPE == 'M' && \
225 PACKET_VERSION >= 20120716
226ID_CA_ACK_NEW_USER = 0x098c
227#elif CLIENT_TYPE == 'R' && \
228 PACKET_VERSION >= 20120716
229ID_CA_ACK_NEW_USER = 0x098c
230#elif CLIENT_TYPE == 'Z' && \
231 PACKET_VERSION >= 20170000
232ID_CA_ACK_NEW_USER = 0x098c
233#else
234ID_CA_ACK_NEW_USER = 0x0000 // Disabled
235#endif
236};
@ ID_CA_ACK_NEW_USER
Definition: HandledPackets.hpp:226

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_LOGIN_CARDPASS 
1068 {
1069#if CLIENT_TYPE == 'A' && \
1070 PACKET_VERSION >= 20060109
1072#elif CLIENT_TYPE == 'M' && \
1073 PACKET_VERSION >= 20060109
1075#elif CLIENT_TYPE == 'R' && \
1076 PACKET_VERSION >= 20080000
1078#elif CLIENT_TYPE == 'S' && \
1079 PACKET_VERSION >= 20060109
1081#elif CLIENT_TYPE == 'Z' && \
1082 PACKET_VERSION >= 20170000
1084#else
1085ID_AC_REQ_LOGIN_CARDPASS = 0x0000 // Disabled
1086#endif
1087};
@ ID_AC_REQ_LOGIN_CARDPASS
Definition: TransmittedPackets.hpp:1074

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_LOGIN_NEWEKEY 
1106 {
1107#if CLIENT_TYPE == 'A' && \
1108 PACKET_VERSION >= 20060109
1110#elif CLIENT_TYPE == 'M' && \
1111 PACKET_VERSION >= 20060109
1113#elif CLIENT_TYPE == 'R' && \
1114 PACKET_VERSION >= 20080000
1116#elif CLIENT_TYPE == 'S' && \
1117 PACKET_VERSION >= 20060109
1119#elif CLIENT_TYPE == 'Z' && \
1120 PACKET_VERSION >= 20170000
1122#else
1123ID_AC_REQ_LOGIN_NEWEKEY = 0x0000 // Disabled
1124#endif
1125};
@ ID_AC_REQ_LOGIN_NEWEKEY
Definition: TransmittedPackets.hpp:1112

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_LOGIN_OLDEKEY 
1144 {
1145#if CLIENT_TYPE == 'A' && \
1146 PACKET_VERSION >= 20060109
1148#elif CLIENT_TYPE == 'M' && \
1149 PACKET_VERSION >= 20060109
1151#elif CLIENT_TYPE == 'R' && \
1152 PACKET_VERSION >= 20080000
1154#elif CLIENT_TYPE == 'S' && \
1155 PACKET_VERSION >= 20060109
1157#elif CLIENT_TYPE == 'Z' && \
1158 PACKET_VERSION >= 20170000
1160#else
1161ID_AC_REQ_LOGIN_OLDEKEY = 0x0000 // Disabled
1162#endif
1163};
@ ID_AC_REQ_LOGIN_OLDEKEY
Definition: TransmittedPackets.hpp:1150

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_MOBILE_OTP 
1182 {
1183#if CLIENT_TYPE == 'M' && \
1184 PACKET_VERSION >= 20130130
1185ID_AC_REQ_MOBILE_OTP = 0x09a2
1186#elif CLIENT_TYPE == 'R' && \
1187 PACKET_VERSION >= 20130130
1188ID_AC_REQ_MOBILE_OTP = 0x09a2
1189#elif CLIENT_TYPE == 'Z' && \
1190 PACKET_VERSION >= 20170000
1191ID_AC_REQ_MOBILE_OTP = 0x09a2
1192#else
1193ID_AC_REQ_MOBILE_OTP = 0x0000 // Disabled
1194#endif
1195};
@ ID_AC_REQ_MOBILE_OTP
Definition: TransmittedPackets.hpp:1185

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_REQ_NEW_USER 
1214 {
1215#if CLIENT_TYPE == 'M' && \
1216 PACKET_VERSION >= 20120716
1217ID_AC_REQ_NEW_USER = 0x098b
1218#elif CLIENT_TYPE == 'R' && \
1219 PACKET_VERSION >= 20120716
1220ID_AC_REQ_NEW_USER = 0x098b
1221#elif CLIENT_TYPE == 'Z' && \
1222 PACKET_VERSION >= 20170000
1223ID_AC_REQ_NEW_USER = 0x098b
1224#else
1225ID_AC_REQ_NEW_USER = 0x0000 // Disabled
1226#endif
1227};
@ ID_AC_REQ_NEW_USER
Definition: TransmittedPackets.hpp:1217

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_SHUTDOWN_INFO 
1246 {
1247#if CLIENT_TYPE == 'M' && \
1248 PACKET_VERSION >= 20111025
1249ID_AC_SHUTDOWN_INFO = 0x08e4
1250#elif CLIENT_TYPE == 'R' && \
1251 PACKET_VERSION >= 20111025
1252ID_AC_SHUTDOWN_INFO = 0x08e4
1253#elif CLIENT_TYPE == 'Z' && \
1254 PACKET_VERSION >= 20170000
1255ID_AC_SHUTDOWN_INFO = 0x08e4
1256#else
1257ID_AC_SHUTDOWN_INFO = 0x0000 // Disabled
1258#endif
1259};
@ ID_AC_SHUTDOWN_INFO
Definition: TransmittedPackets.hpp:1249

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_SHUTDOWN_NOTIFY 
1278 {
1279#if CLIENT_TYPE == 'M' && \
1280 PACKET_VERSION >= 20120626
1281ID_AC_SHUTDOWN_NOTIFY = 0x0986
1282#elif CLIENT_TYPE == 'R' && \
1283 PACKET_VERSION >= 20120626
1284ID_AC_SHUTDOWN_NOTIFY = 0x0986
1285#elif CLIENT_TYPE == 'Z' && \
1286 PACKET_VERSION >= 20170000
1287ID_AC_SHUTDOWN_NOTIFY = 0x0986
1288#else
1289ID_AC_SHUTDOWN_NOTIFY = 0x0000 // Disabled
1290#endif
1291};
@ ID_AC_SHUTDOWN_NOTIFY
Definition: TransmittedPackets.hpp:1281

◆ anonymous enum

anonymous enum
Enumerator
ID_AC_SSO_LOGIN_ACK 
1310 {
1311#if CLIENT_TYPE == 'M' && \
1312 PACKET_VERSION >= 20100601
1313ID_AC_SSO_LOGIN_ACK = 0x0826
1314#elif CLIENT_TYPE == 'R' && \
1315 PACKET_VERSION >= 20100601
1316ID_AC_SSO_LOGIN_ACK = 0x0826
1317#else
1318ID_AC_SSO_LOGIN_ACK = 0x0000 // Disabled
1319#endif
1320};
@ ID_AC_SSO_LOGIN_ACK
Definition: TransmittedPackets.hpp:1313

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_CLIENT_TYPE 
255 {
256#if CLIENT_TYPE == 'A' && \
257 PACKET_VERSION >= 20060821
258ID_CA_CLIENT_TYPE = 0x027f
259#elif CLIENT_TYPE == 'M' && \
260 PACKET_VERSION >= 20060821
261ID_CA_CLIENT_TYPE = 0x027f
262#elif CLIENT_TYPE == 'R' && \
263 PACKET_VERSION >= 20080000
264ID_CA_CLIENT_TYPE = 0x027f
265#elif CLIENT_TYPE == 'S' && \
266 PACKET_VERSION >= 20060821
267ID_CA_CLIENT_TYPE = 0x027f
268#elif CLIENT_TYPE == 'Z' && \
269 PACKET_VERSION >= 20170000
270ID_CA_CLIENT_TYPE = 0x027f
271#else
272ID_CA_CLIENT_TYPE = 0x0000 // Disabled
273#endif
274};
@ ID_CA_CLIENT_TYPE
Definition: HandledPackets.hpp:261

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_CONNECT_INFO_CHANGED 
293 {
294#if CLIENT_TYPE == 'A' && \
295 PACKET_VERSION >= 20040000
297#elif CLIENT_TYPE == 'M' && \
298 PACKET_VERSION >= 20040517
300#elif CLIENT_TYPE == 'R' && \
301 PACKET_VERSION >= 20080000
303#elif CLIENT_TYPE == 'S' && \
304 PACKET_VERSION >= 20040517
306#elif CLIENT_TYPE == 'Z' && \
307 PACKET_VERSION >= 20170000
309#else
310ID_CA_CONNECT_INFO_CHANGED = 0x0000 // Disabled
311#endif
312};
@ ID_CA_CONNECT_INFO_CHANGED
Definition: HandledPackets.hpp:299

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_EXE_HASHCHECK 
331 {
332#if CLIENT_TYPE == 'A' && \
333 PACKET_VERSION >= 20040000
334ID_CA_EXE_HASHCHECK = 0x0204
335#elif CLIENT_TYPE == 'M' && \
336 PACKET_VERSION >= 20040531
337ID_CA_EXE_HASHCHECK = 0x0204
338#elif CLIENT_TYPE == 'R' && \
339 PACKET_VERSION >= 20080000
340ID_CA_EXE_HASHCHECK = 0x0204
341#elif CLIENT_TYPE == 'S' && \
342 PACKET_VERSION >= 20040531
343ID_CA_EXE_HASHCHECK = 0x0204
344#elif CLIENT_TYPE == 'Z' && \
345 PACKET_VERSION >= 20170000
346ID_CA_EXE_HASHCHECK = 0x0204
347#else
348ID_CA_EXE_HASHCHECK = 0x0000 // Disabled
349#endif
350};
@ ID_CA_EXE_HASHCHECK
Definition: HandledPackets.hpp:337

◆ anonymous enum

anonymous enum
Enumerator
ID_CA_LOGIN 
369 {
370#if CLIENT_TYPE == 'A' && \
371 PACKET_VERSION >= 20040000
372ID_CA_LOGIN = 0x0064
373#elif CLIENT_TYPE == 'M' && \
374 PACKET_VERSION >= 20030000
375ID_CA_LOGIN = 0x0064
376#elif CLIENT_TYPE == 'R' && \
377 PACKET_VERSION >= 20080000
378ID_CA_LOGIN = 0x0064
379#elif CLIENT_TYPE == 'S' && \
380 PACKET_VERSION >= 20030000
381ID_CA_LOGIN = 0x0064
382#elif CLIENT_TYPE == 'Z' && \
383 PACKET_VERSION >= 20170000
384ID_CA_LOGIN = 0x0064
385#else
386ID_CA_LOGIN = 0x0000 // Disabled
387#endif
388};
@ ID_CA_LOGIN
Definition: HandledPackets.hpp:375

◆ login_error_codes

Enumerator
ERR_NONE 
ERR_UNREGISTERED_ID 
ERR_INCORRECT_PASSWORD 
ERR_EXPIRED_ID 
ERR_REJECTED_FROM_SERVER 
ERR_GM_BLOCK 
ERR_INCORRECT_CLIENT_VERSION 
ERR_BAN_TIMESTAMP 
ERR_SERVER_OVERPOPULATED 
ERR_COMPANY_LIMIT 
ERR_MSI_REFUSE_BAN_BY_DBA 
ERR_MSI_REFUSE_EMAIL_NOT_CONFIRMED 
ERR_MSI_REFUSE_BAN_BY_GM 
ERR_MSI_REFUSE_TEMP_BAN_FOR_DBWORK 
ERR_MSI_REFUSE_SELF_LOCK 
ERR_MSI_REFUSE_NOT_PERMITTED_GROUP 
ERR_MSI_REFUSE_NOT_PERMITTED_GROUP2 
ERR_DELETED_ACCOUNT 
ERR_SESSION_CONNECTED 
ERR_HACKING_INVESTIGATION 
ERR_BUG_INVESTIGATION 
ERR_DELETING_CHAR 
ERR_DELETING_SPOUSE 
830{
831 ERR_NONE = -1, // All ok!
832 ERR_UNREGISTERED_ID = 0, // Unregistered ID
833 ERR_INCORRECT_PASSWORD = 1, // Incorrect Password
834 ERR_EXPIRED_ID = 2, // This ID is expired
835 ERR_REJECTED_FROM_SERVER = 3, // Rejected from Server
836 ERR_GM_BLOCK = 4, // You have been blocked by the GM Team
837 ERR_INCORRECT_CLIENT_VERSION = 5, // Your Game's EXE file is not the latest version
838 ERR_BAN_TIMESTAMP = 6, // Your are Prohibited to log in until %s
839 ERR_SERVER_OVERPOPULATED = 7, // Server is jammed due to over populated
840 ERR_COMPANY_LIMIT = 8, // No more accounts may be connected from this company
841 ERR_MSI_REFUSE_BAN_BY_DBA = 9, // MSI_REFUSE_BAN_BY_DBA
842 ERR_MSI_REFUSE_EMAIL_NOT_CONFIRMED = 10, // MSI_REFUSE_EMAIL_NOT_CONFIRMED
843 ERR_MSI_REFUSE_BAN_BY_GM = 11, // MSI_REFUSE_BAN_BY_GM
844 ERR_MSI_REFUSE_TEMP_BAN_FOR_DBWORK = 12, // MSI_REFUSE_TEMP_BAN_FOR_DBWORK
845 ERR_MSI_REFUSE_SELF_LOCK = 13, // MSI_REFUSE_SELF_LOCK
846 ERR_MSI_REFUSE_NOT_PERMITTED_GROUP = 14, // MSI_REFUSE_NOT_PERMITTED_GROUP
847 ERR_MSI_REFUSE_NOT_PERMITTED_GROUP2 = 15, // MSI_REFUSE_NOT_PERMITTED_GROUP
848 ERR_DELETED_ACCOUNT = 99, // This ID has been totally erased
849 ERR_SESSION_CONNECTED = 100, // Login information remains at %s
850 ERR_HACKING_INVESTIGATION = 101, // Account has been locked for a hacking investigation. Please contact the GM Team for more information
851 ERR_BUG_INVESTIGATION = 102, // This account has been temporarily prohibited from login due to a bug-related investigation
852 ERR_DELETING_CHAR = 103, // This character is being deleted. Login is temporarily unavailable for the time being
853 ERR_DELETING_SPOUSE = 104, // This character is being deleted. Login is temporarily unavailable for the time being
854};

Variable Documentation

◆ HASH_LEN

const int Horizon::Auth::HASH_LEN = 32

◆ ITERATIONS

const int Horizon::Auth::ITERATIONS = 10000

◆ SALT_LEN

const int Horizon::Auth::SALT_LEN = 16