/// <summary> /// Creates the List for the specific Folder /// </summary> /// <param name="folder">The Folder with the Character Files</param> public SimNames(string folder, Interfaces.Providers.IOpcodeProvider opcodes) : base() { BaseFolder = folder; this.opcodes = opcodes; ArrayList folders = new ArrayList(); foreach (SimPe.ExpansionItem ei in SimPe.PathProvider.Global.Expansions) { if (!ei.Exists) { continue; } foreach (string s in ei.SimNameDeepSearch) { string path = System.IO.Path.Combine(SimPe.PathProvider.Global.Latest.InstallFolder, s); if (!Directory.Exists(path)) { path = System.IO.Path.Combine(ei.InstallFolder, s); } if (Directory.Exists(path)) { folders.Add(new SimPe.FileTableItem(path)); } } } characterfi = new SimPe.Plugin.FileIndex(folders); }
public Objd(Interfaces.Providers.IOpcodeProvider opcodes) : base() { filename = new byte[0]; reserved_01 = new byte[0]; reserved_02 = new byte[0]; items = new ArrayList(); attr = new Hashtable(); this.opcodes = opcodes; type = 1; }
/// <summary> /// Creates the List for the specific Folder /// </summary> public SimNames(Interfaces.Providers.IOpcodeProvider opcodes) : this("", opcodes) { }