예제 #1
0
            public override ListViewItem GetListViewItem()
            {
                ListViewItem m = new ListViewItem("");

                m.SubItems.Add(ToString());
                m.SubItems.Add(HexUtil.GetHexReverse(Unknown1));
                m.SubItems.Add(Position.X.ToString());
                m.SubItems.Add(Position.Y.ToString());
                m.SubItems.Add(Position.Z.ToString());

                m.SubItems.Add(Rotation.X.ToString());
                m.SubItems.Add(Rotation.Y.ToString());
                m.SubItems.Add(Rotation.Z.ToString());

                m.SubItems.Add(Scale.X.ToString());
                m.SubItems.Add(Scale.Y.ToString());
                m.SubItems.Add(Scale.Z.ToString());

                m.SubItems.Add(RouteID.ToString());

                m.SubItems.Add(HexUtil.GetHexReverse(Settings[0]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[1]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[2]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[3]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[4]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[5]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[6]));
                m.SubItems.Add(HexUtil.GetHexReverse(Settings[7]));

                m.SubItems.Add(HexUtil.GetHexReverse(Visibility));

                m.SubItems.Add(HexUtil.GetHexReverse(Unknown2));
                m.SubItems.Add(HexUtil.GetHexReverse(Unknown3));
                return(m);
            }
예제 #2
0
                public override ListViewItem GetListViewItem()
                {
                    ListViewItem m = new ListViewItem("");

                    m.SubItems.Add(Position.X.ToString("#####0.############"));
                    m.SubItems.Add(Position.Y.ToString("#####0.############"));
                    m.SubItems.Add(Position.Z.ToString("#####0.############"));

                    m.SubItems.Add(Rotation.X.ToString("#####0.############"));
                    m.SubItems.Add(Rotation.Y.ToString("#####0.############"));
                    m.SubItems.Add(Rotation.Z.ToString("#####0.############"));

                    m.SubItems.Add(Scale.X.ToString("#####0.############"));
                    m.SubItems.Add(Scale.Y.ToString("#####0.############"));
                    m.SubItems.Add(Scale.Z.ToString("#####0.############"));

                    //ObjectDb.Object ob = MKDS_Const.ObjectDatabase.GetObject(o.ObjectID);
                    //if (ob != null) i.SubItems.Add(ob.ToString());
                    /*else */
                    m.SubItems.Add(GetHexReverse(ObjectID));
                    m.SubItems.Add(RouteID.ToString());

                    m.SubItems.Add(GetHexReverse(Settings[0]));
                    m.SubItems.Add(GetHexReverse(Settings[1]));
                    m.SubItems.Add(GetHexReverse(Settings[2]));
                    m.SubItems.Add(GetHexReverse(Settings[3]));
                    m.SubItems.Add(GetHexReverse(Settings[4]));
                    m.SubItems.Add(GetHexReverse(Settings[5]));
                    m.SubItems.Add(GetHexReverse(Settings[6]));
                    m.SubItems.Add(GetHexReverse(Settings[7]));

                    m.SubItems.Add(TTVisible.ToString());
                    return(m);
                }
예제 #3
0
            public override ListViewItem GetListViewItem()
            {
                ListViewItem m = new ListViewItem("");

                m.SubItems.Add(Type.ToString());
                m.SubItems.Add(Next.ToString());
                m.SubItems.Add(Unknown1.ToString());
                m.SubItems.Add(RouteID.ToString());

                m.SubItems.Add(RouteSpeed.ToString());
                m.SubItems.Add(FOVSpeed.ToString());
                m.SubItems.Add(ViewpointSpeed.ToString());

                m.SubItems.Add(Unknown2.ToString());
                m.SubItems.Add(Unknown3.ToString());

                m.SubItems.Add(Position.X.ToString());
                m.SubItems.Add(Position.Y.ToString());
                m.SubItems.Add(Position.Z.ToString());

                m.SubItems.Add(Rotation.X.ToString());
                m.SubItems.Add(Rotation.Y.ToString());
                m.SubItems.Add(Rotation.Z.ToString());

                m.SubItems.Add(FOVBegin.ToString());
                m.SubItems.Add(FOVEnd.ToString());

                m.SubItems.Add(Viewpoint1.X.ToString());
                m.SubItems.Add(Viewpoint1.Y.ToString());
                m.SubItems.Add(Viewpoint1.Z.ToString());

                m.SubItems.Add(Viewpoint2.X.ToString());
                m.SubItems.Add(Viewpoint2.Y.ToString());
                m.SubItems.Add(Viewpoint2.Z.ToString());

                m.SubItems.Add(Duration.ToString());
                return(m);
            }