예제 #1
0
 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;
 }
예제 #2
0
 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>();
 }
예제 #3
0
 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);
 }