Exemple #1
0
        public static AppMain.NNS_VTXLISTPTR Read(BinaryReader reader, long data0Pos)
        {
            AppMain.NNS_VTXLISTPTR nnsVtxlistptr = new AppMain.NNS_VTXLISTPTR();
            nnsVtxlistptr.fType = reader.ReadUInt32();
            uint num = reader.ReadUInt32();

            if (num != 0U)
            {
                long position = reader.BaseStream.Position;
                reader.BaseStream.Seek(data0Pos + (long)num, SeekOrigin.Begin);
                nnsVtxlistptr.pVtxList = (object)AppMain.NNS_VTXLIST_GL_DESC.Read(reader, data0Pos);
                reader.BaseStream.Seek(position, SeekOrigin.Begin);
            }
            return(nnsVtxlistptr);
        }
Exemple #2
0
 public AppMain.NNS_VTXLISTPTR Assign(AppMain.NNS_VTXLISTPTR vtxListPtr)
 {
     this.fType    = vtxListPtr.fType;
     this.pVtxList = vtxListPtr.pVtxList;
     return(this);
 }
Exemple #3
0
 public NNS_VTXLISTPTR(AppMain.NNS_VTXLISTPTR vtxListPtr)
 {
     this.fType    = vtxListPtr.fType;
     this.pVtxList = vtxListPtr.pVtxList;
 }