login_structs.h 939 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. EQ2Emulator: Everquest II Server Emulator
  3. Copyright (C) 2007 EQ2EMulator Development Team (http://www.eq2emulator.net)
  4. This file is part of EQ2Emulator.
  5. */
  6. #ifndef LOGIN_STRUCTS_H
  7. #define LOGIN_STRUCTS_H
  8. #include "../common/types.h"
  9. #include "PacketHeaders.h"
  10. #pragma pack(1)
  11. struct LS_LoginRequest{
  12. EQ2_16BitString AccessCode;
  13. EQ2_16BitString unknown1;
  14. EQ2_16BitString username;
  15. EQ2_16BitString password;
  16. EQ2_16BitString unknown2[4];
  17. int16 unknown3;
  18. int32 unknown4[2];
  19. };
  20. struct LS_WorldStatusChanged{
  21. int32 server_id;
  22. int8 up;
  23. int8 locked;
  24. int8 hidden;
  25. };
  26. struct LS_PlayCharacterRequest{
  27. int32 character_id;
  28. int32 server_id;
  29. int16 unknown1;
  30. };
  31. struct LS_OLDPlayCharacterRequest{
  32. int32 character_id;
  33. EQ2_16BitString name;
  34. };
  35. struct LS_CharListAccountInfo{
  36. int32 account_id;
  37. int32 unknown1;
  38. int16 unknown2;
  39. int32 unknown3;
  40. int8 unknown4;
  41. int32 unknown5[4];
  42. int16 unknown6;
  43. };
  44. #pragma pack()
  45. #endif