Example #1
0
        internal bool Add(AkBankRes bankData, AKAudioBankLoader.BankLoadHandlerAgent loadHandlers)
        {
            AKBankAtom atom;
            string     bankName = bankData.Name;

            if (bankAtomContenter.TryGetValue(bankName, out atom))
            {
                return(false);
            }
            atom = new AKBankAtom(bankData, loadHandlers);
            bankAtomContenter.Add(bankName, atom);
            //  bankFinishLoadingIdList.Add(bankName);

            return(true);
        }
Example #2
0
        public static AkBankRes SimAKBankCfg()
        {
            var co = new AkBankRes("Weapon_Footstep", AudioBankLoadType.Normal, new List <int>(), new List <int>());

            return(co);
        }
Example #3
0
 public AKBankAtom(AkBankRes data, AKAudioBankLoader.BankLoadHandlerAgent handlerAgent)
 {
     BankData      = data;
     loadHanlder   = handlerAgent.InternalLoadHandler;
     unloadHandler = handlerAgent.InternalUnloadHandler;
 }