示例#1
0
 public BspFileWriter(BspFile file, string path)
 {
     _bsp    = file;
     _stream = File.OpenWrite(path);
     _writer = new BinaryWriter(_stream);
 }
示例#2
0
 public BspFileReader(BspFile file)
 {
     _bsp    = file;
     _stream = File.OpenRead(_bsp.FilePath);
     _reader = new BinaryReader(_stream);
 }