Beispiel #1
0
 // Token: 0x060159CF RID: 88527 RVA: 0x005806AC File Offset: 0x0057E8AC
 public void CRIAddCueSheet(string sheetName, string acbFullPath, string awbFullPath)
 {
     if (CriAtom.GetCueSheet(sheetName) == null)
     {
         CriAtomCueSheet criAtomCueSheet = CriAtom.AddCueSheet(sheetName, acbFullPath, awbFullPath, null);
         if (criAtomCueSheet == null || (criAtomCueSheet.acbFile == string.Empty && criAtomCueSheet.awbFile == string.Empty))
         {
             global::Debug.LogError(string.Format("Failed to add cue sheet: sheetName={0}, acbFullPath={1}, awbFullPath={2}", sheetName, acbFullPath, awbFullPath));
             this.CRIRemoveCueSheet(sheetName);
         }
     }
 }
Beispiel #2
0
        // Token: 0x060159D5 RID: 88533 RVA: 0x005807B4 File Offset: 0x0057E9B4
        private bool GetCueInfo(string sheetName, string cueName, out CriAtomEx.CueInfo cueInfo)
        {
            cueInfo = default(CriAtomEx.CueInfo);
            CriAtomCueSheet cueSheet = CriAtom.GetCueSheet(sheetName);

            if (cueSheet == null)
            {
                global::Debug.LogError(string.Format("Failed to get cue sheet: {0}", sheetName));
                return(false);
            }
            return(cueSheet.acb.GetCueInfo(cueName, out cueInfo));
        }