Ejemplo n.º 1
0
        public static AppMain.NNS_PRIMLISTPTR Read(BinaryReader reader, long data0Pos)
        {
            AppMain.NNS_PRIMLISTPTR nnsPrimlistptr = new AppMain.NNS_PRIMLISTPTR();
            nnsPrimlistptr.fType = reader.ReadUInt32();
            uint num = reader.ReadUInt32();

            if (num != 0U)
            {
                long position = reader.BaseStream.Position;
                reader.BaseStream.Seek(data0Pos + (long)num, SeekOrigin.Begin);
                nnsPrimlistptr.pPrimList = (object)AppMain.NNS_PRIMLIST_GL_DESC.Read(reader, data0Pos);
                reader.BaseStream.Seek(position, SeekOrigin.Begin);
            }
            return(nnsPrimlistptr);
        }
Ejemplo n.º 2
0
 public AppMain.NNS_PRIMLISTPTR Assign(AppMain.NNS_PRIMLISTPTR primListPtr)
 {
     this.fType     = primListPtr.fType;
     this.pPrimList = primListPtr.pPrimList;
     return(this);
 }
Ejemplo n.º 3
0
 public NNS_PRIMLISTPTR(AppMain.NNS_PRIMLISTPTR primListPtr)
 {
     this.fType     = primListPtr.fType;
     this.pPrimList = primListPtr.pPrimList;
 }