Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Format: (ch)dddddd
- * d: object id
- * d: type (00 - no fence, 01 - only 4 columns, 02 - columns with fences)
- * d: x coord
- * d: y coord
- * d: z coord
- * d: width
- * d: height
- */
- public class ExColosseumFenceInfoPacket extends L2GameServerPacket {
- private static final String _S__FE_03_EXCOLOSSEUMFENCEINFOPACKET = "[S] FE:03 ExColosseumFenceInfoPacket";
- private L2FenceInstance _activeChar;
- public ExColosseumFenceInfoPacket(L2FenceInstance activeChar)
- {
- _activeChar = activeChar;
- }
- /* (non-Javadoc)
- * @see net.sf.l2j.gameserver.serverpackets.ServerBasePacket#writeImpl()
- */
- @Override
- protected void writeImpl()
- {
- writeC(0xfe);
- writeH(0x09);
- writeD(_activeChar.getObjectId()); // ?
- writeD(_activeChar.getType());
- writeD(_activeChar.getX());
- writeD(_activeChar.getY());
- writeD(_activeChar.getZ());
- writeD(_activeChar.getWidth());
- writeD(_activeChar.getHeight());
- }
- /* (non-Javadoc)
- * @see net.sf.l2j.gameserver.BasePacket#getType()
- */
- @Override
- public String getType()
- {
- return _S__FE_03_EXCOLOSSEUMFENCEINFOPACKET;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment