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); }
public static AkBankRes SimAKBankCfg() { var co = new AkBankRes("Weapon_Footstep", AudioBankLoadType.Normal, new List <int>(), new List <int>()); return(co); }
public AKBankAtom(AkBankRes data, AKAudioBankLoader.BankLoadHandlerAgent handlerAgent) { BankData = data; loadHanlder = handlerAgent.InternalLoadHandler; unloadHandler = handlerAgent.InternalUnloadHandler; }