login_structs.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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_CharListAccountInfoEarlyClient {
  36. int32 account_id;
  37. int32 unknown1;
  38. int16 unknown2;
  39. int32 unknown3;
  40. int8 unknown4;
  41. // int8 unknown7; // adds 'free' option..
  42. };
  43. struct LS_CharListAccountInfo{
  44. int32 account_id;
  45. int32 unknown1;
  46. int16 unknown2;
  47. int32 unknown3;
  48. // DoF does not have the following data
  49. int8 unknown4;
  50. int32 unknown5[4];
  51. int16 unknown6;
  52. int8 unknown7; // adds 'free' option..
  53. };
  54. #pragma pack()
  55. #endif