ExOlympiadUserInfo.java 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License as published by
  4. * the Free Software Foundation; either version 2, or (at your option)
  5. * any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program; if not, write to the Free Software
  14. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  15. * 02111-1307, USA.
  16. *
  17. * http://www.gnu.org/copyleft/gpl.html
  18. */
  19. package net.sf.l2j.gameserver.serverpackets;
  20. import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
  21. /**
  22. * This class ...
  23. *
  24. * @version $Revision: 1.4.2.1.2.3 $ $Date: 2005/03/27 15:29:57 $
  25. *
  26. * @author godson
  27. */
  28. public class ExOlympiadUserInfo extends L2GameServerPacket
  29. {
  30. // chcdSddddd
  31. private static final String _S__FE_29_OLYMPIADUSERINFO = "[S] FE:2C OlympiadUserInfo";
  32. @SuppressWarnings("unused")
  33. private static L2PcInstance _activeChar;
  34. /**
  35. * @param _player
  36. * @param _side (1 = right, 2 = left)
  37. */
  38. public ExOlympiadUserInfo(L2PcInstance player)
  39. {
  40. _activeChar = player;
  41. }
  42. @Override
  43. protected final void writeImpl()
  44. {
  45. /*writeC(0xfe);
  46. writeH(0x2c);
  47. writeD(_activeChar.getObjectId());
  48. writeS(_activeChar.getName());
  49. writeD(_activeChar.getClassId().getId());
  50. writeD((int)_activeChar.getCurrentHp());
  51. writeD(_activeChar.getMaxHp());
  52. writeD((int)_activeChar.getCurrentCp());
  53. writeD(_activeChar.getMaxCp());*/
  54. }
  55. /* (non-Javadoc)
  56. * @see net.sf.l2j.gameserver.serverpackets.ServerBasePacket#getType()
  57. */
  58. @Override
  59. public String getType()
  60. {
  61. return _S__FE_29_OLYMPIADUSERINFO;
  62. }
  63. }