Beispiel #1
0
 internal STFSFileStream(STFSPackage container, int[] blocks, long size)
 {
     Length         = size;
     this.blocks    = blocks;
     this.container = container;
     position       = 0;
 }
Beispiel #2
0
 internal STFSFile(string name, uint size, int startBlock, int numBlocks, STFSDirectory parent, STFSPackage container)
 {
     Name            = name;
     Parent          = parent;
     Size            = size;
     this.dataBlocks = null;
     this.startBlock = startBlock;
     this.numBlocks  = numBlocks;
     this.container  = container;
 }
Beispiel #3
0
 internal STFSFile(string name, uint size, int[] dataBlocks, STFSDirectory parent, STFSPackage container)
 {
     Name            = name;
     Parent          = parent;
     Size            = size;
     this.dataBlocks = dataBlocks;
     numBlocks       = dataBlocks.Length;
     if (numBlocks > 0)
     {
         startBlock = dataBlocks[0];
     }
     this.container = container;
     ExtendedInfo   = new Dictionary <string, object>();
 }