public Tree(PackageLeaf root) { userroot = root; userroot.MakeUser(); path = new List <string>(); status = new List <string>(); }
public PackageLeaf(string nam, int byt) { pater = null; byteCount = byt; name = nam; files = new List <Edge>(); visited = false; }
static void RecursiveGo(PackageLeaf pack) { if (pack.visited) { return; } pack.Info(); pack.visited = true; WentPacks++; Loader.ChangeLoader(WentPacks, Count); for (int i = 0; i < pack.files.Count; i++) { RecursiveGo(pack.files[i].to); } // }
public Edge(PackageLeaf to, float speed_slow, ErrorType err) { this.to = to; this.speed_slow = speed_slow; this.err = err; }
public Edge(PackageLeaf to, float speed_slow) { this.to = to; this.speed_slow = speed_slow; err = ErrorType.none; }
public Tree() { userroot = new PackageLeaf("user", 0); path = new List <string>(); status = new List <string>(); }