public override ListViewItem GetListViewItem() { ListViewItem m = new ListViewItem(""); m.SubItems.Add(Point1.X.ToString()); m.SubItems.Add(Point1.Y.ToString()); m.SubItems.Add(Point2.X.ToString()); m.SubItems.Add(Point2.Y.ToString()); m.SubItems.Add(RespawnId.ToString()); m.SubItems.Add(Type.ToString()); m.SubItems.Add(Previous.ToString()); m.SubItems.Add(Next.ToString()); m.SubItems.Add(HexUtil.GetHexReverse(Unknown1)); m.SubItems.Add(HexUtil.GetHexReverse(Unknown2)); m.SubItems.Add(HexUtil.GetHexReverse(Unknown3)); m.SubItems.Add(HexUtil.GetHexReverse(Unknown4)); return(m); }
public override ListViewItem GetListViewItem() { ListViewItem m = new ListViewItem(""); m.SubItems.Add(Point1.X.ToString("#####0.############")); m.SubItems.Add(Point1.Y.ToString("#####0.############")); m.SubItems.Add(Point2.X.ToString("#####0.############")); m.SubItems.Add(Point2.Y.ToString("#####0.############")); m.SubItems.Add(RespawnId.ToString()); m.SubItems.Add(Type.ToString()); m.SubItems.Add(Previous.ToString()); m.SubItems.Add(Next.ToString()); m.SubItems.Add(string.Format("{0:X2}", Unknown1)); m.SubItems.Add(string.Format("{0:X2}", Unknown2)); m.SubItems.Add(string.Format("{0:X2}", Unknown3)); m.SubItems.Add(string.Format("{0:X2}", Unknown4)); return(m); }