/// <summary> /// Creates a new Mod using TXD, DFF and COL instances /// </summary> /// <param name="txd"></param> /// <param name="dff"></param> /// <param name="col"></param> public Mod(Txd txd = null, Dff dff = null, Col col = null) { this.txd = txd; this.dff = dff; this.col = col; this.state = DownloadState.Default; this.modelsToApply = new List <Tuple <int, bool> >(); }
/// <summary> /// Creates a new mod using TXD, DFF and COL filepaths /// </summary> /// <param name="txdFilepath"></param> /// <param name="dffFilepath"></param> /// <param name="colFilepath"></param> public Mod(string txdFilepath, string dffFilepath = null, string colFilepath = null) { this.txd = new Txd(txdFilepath); if (dffFilepath != null) { this.dff = new Dff(dffFilepath); } if (colFilepath != null) { this.col = new Col(colFilepath); } this.state = DownloadState.Default; this.modelsToApply = new List <int>(); }