public ResLoadMgr(BinLoadMgr binLoadMgr, VerMgr verMgr) { this.binLoadMgr = binLoadMgr; this.verMgr = verMgr; waitList = new List <LoadItem>(); okBackList = new Dictionary <string, IList <LoadFinishBack> >(); errorBackList = new Dictionary <string, IList <LoadFinishBack> >(); }
public ResMgr() { _verMgr = new VerMgr(); typeConfigList = new Dictionary <int, int>(); loadingList = new Dictionary <string, IList <LoadItem> >(); progressList = new Dictionary <string, IList <LoadProgressBack> >(); //注册 每类资源的默认优先级 regTypeConfig(ResType.XML, ResPriority.XML); regTypeConfig(ResType.TXT, ResPriority.XML); regTypeConfig(ResType.ZIP, ResPriority.XML); regTypeConfig(ResType.IMGAE, ResPriority.IMGAE); regTypeConfig(ResType.SOUND, ResPriority.SOUND); regTypeConfig(ResType.DATAVO, ResPriority.BINARY); regTypeConfig(ResType.BINARY, ResPriority.BINARY); regTypeConfig(ResType.ANIMATION, ResPriority.EFFECT); }