Open() public method

public Open ( string fileName ) : Stream
fileName string
return System.IO.Stream
Beispiel #1
0
 private KeyedClientDatabase <int, LiquidTypeRecord> InitializeDatabase(MpqFileReader fileReader)
 {
     using (var stream = fileReader.Open("DBFilesClient\\LiquidType.dbc"))
     {
         return(new KeyedClientDatabase <int, LiquidTypeRecord>(stream));
     }
 }
Beispiel #2
0
 private KeyedClientDatabase<int, LiquidTypeRecord> InitializeDatabase(MpqFileReader fileReader)
 {
     using (var stream = fileReader.Open("DBFilesClient\\LiquidType.dbc"))
     {
         return new KeyedClientDatabase<int, LiquidTypeRecord>(stream);
     }
 }