ExGetOnAirShip.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.network.clientpackets;
  16. import java.util.logging.Logger;
  17. /**
  18. * Format: (c) dddd
  19. * d: dx
  20. * d: dy
  21. * d: dz
  22. * d: AirShip id ??
  23. * @author -Wooden-
  24. *
  25. */
  26. public class ExGetOnAirShip extends L2GameClientPacket
  27. {
  28. protected static final Logger _log = Logger.getLogger(ExGetOnAirShip.class.getName());
  29. private int _x;
  30. private int _y;
  31. private int _z;
  32. private int _shipId;
  33. @Override
  34. protected void readImpl()
  35. {
  36. _x = readD();
  37. _y = readD();
  38. _z = readD();
  39. _shipId = readD();
  40. }
  41. @Override
  42. protected void runImpl()
  43. {
  44. _log.info("[T1:ExGetOnAirShip] x: "+_x);
  45. _log.info("[T1:ExGetOnAirShip] y: "+_y);
  46. _log.info("[T1:ExGetOnAirShip] z: "+_z);
  47. _log.info("[T1:ExGetOnAirShip] ship ID: "+_shipId);
  48. }
  49. @Override
  50. public String getType()
  51. {
  52. return "[C] 0xD0:0x36 ExGetOnAirShip";
  53. }
  54. }