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); }
public AppMain.NNS_PRIMLISTPTR Assign(AppMain.NNS_PRIMLISTPTR primListPtr) { this.fType = primListPtr.fType; this.pPrimList = primListPtr.pPrimList; return(this); }
public NNS_PRIMLISTPTR(AppMain.NNS_PRIMLISTPTR primListPtr) { this.fType = primListPtr.fType; this.pPrimList = primListPtr.pPrimList; }