public EquipItem2(LKCamelot.script.item.Item item) : base(0x15) { m_Stream.Write((byte)item.EquipSlot); m_Stream.WriteAsciiFixed(item.NPrefix() + " " + item.Name, 32); m_Stream.Write((byte)0); m_Stream.Write((short)item.m_ItemID); }
public CreateItemGround2(LKCamelot.script.item.Item item, Serial key) : base(0x1D) { m_Stream.Write((int)key); m_Stream.Write((short)1); //facedir m_Stream.Write((short)item.Loc.X); m_Stream.Write((short)item.Loc.Y); m_Stream.Write((byte)2); //10 byte sprite 02 00 00 00 00 00 00 00 00 23 (first 2 last # id m_Stream.Fill(8); m_Stream.Write((short)item.m_ItemID); m_Stream.Write((byte)2);//1byte ukn m_Stream.Write((byte)0);//1byte ukn m_Stream.Write((byte)0);//1byte ukn m_Stream.Write((byte)0);//1byte ukn m_Stream.Write((byte)0x0); //1byte ukn m_Stream.Write((byte)03); //1byte unclickable, transparency m_Stream.Write((byte)0x0); //1byte ukn m_Stream.Write((byte)0x2); //1byte ukn m_Stream.Write((byte)12); m_Stream.Write((byte)12); m_Stream.Write((byte)12); m_Stream.Write((byte)0); m_Stream.Write((byte)01); m_Stream.WriteAsciiNull(item.NPrefix() + " " + item.Name); }