PHP код:
@Override
protected final void writeImpl()
{
writeC(0x11);
writeH(_showWindow ? 1 : 0);
writeH(_items.length);
for(L2ItemInstance temp : _items)
{
writeD(temp.getObjectId());
writeD(temp.getItemId());
writeD(temp.getEquipSlot()); //order
writeQ(temp.getCount());
writeH(temp.getItem().getType2ForPackets()); // item type2
writeH(temp.getCustomType1()); // item type3
writeH(temp.isEquipped() ? 1 : 0);
writeD(temp.getBodyPart());
writeH(temp.getEnchantLevel()); // enchant level
writeH(temp.getCustomType2()); // item type3
writeD(temp.getAugmentationId());
writeD(temp.isShadowItem() ? temp.getLifeTimeRemaining() : -1);
writeD(temp.isTemporalItem() ? temp.getLifeTimeRemaining() : 0x00); // limited time item life remaining
writeElements(temp);
writeEffect(temp);
}
writeH(0x00);//TODO: Block Items length
writeC(0x00);//TODO: Block Mode
}
Всё норм под 273