public SoundFileSetData(string cueSheet, string acb, string awb, bool isInclude, IAccessPoint dir) { CueSheet = cueSheet; Acb = new CriFileData($"{cueSheet}_acb", acb, string.Empty, 0); Awb = new CriFileData($"{cueSheet}_awb", awb, string.Empty, string.IsNullOrEmpty(awb) ? 0 : 1); Dir = dir; IsIncludeFlag = isInclude; }
public LocalSoundFile( string cueSheet, string acbPath, string awbPath) { CueSheet = cueSheet; Acb = new CriFileData(cueSheet + "_acb", acbPath, string.Empty, 0); Awb = new CriFileData(cueSheet + "_awb", awbPath, string.Empty, 0); Labels = Array.Empty <string>(); }
public void OnAfterDeserialize() { CueSheetName = string.Intern(CueSheetName); Acb = new CriFileData(CueSheetName + "_acb", m_acbPath, AcbHash, AcbSize); Awb = new CriFileData(CueSheetName + "_awb", m_awbPath, AwbHash, AwbSize); }