Exemplo n.º 1
0
        public Dictionary <string, ABMemUnPakFileResItemBase> m_path2MemUnPakRes = new Dictionary <string, ABMemUnPakFileResItemBase>();       // 路径到 bytes 内容的字典,从文件加载一次就不再加载,保存这份引用

        override public void init(LoadItem item)
        {
            base.init(item);

            m_pakItem      = new PakItem();
            m_pakItem.m_fs = (item as ABPakLoadItem).m_fs;
            m_pakItem.readArchiveFileHeader();      // 获取打包头部信息

            initMemUnPak();
        }
Exemplo n.º 2
0
        public Dictionary<string, ABMemUnPakFileResItemBase> m_path2MemUnPakRes = new Dictionary<string, ABMemUnPakFileResItemBase>();       // 路径到 bytes 内容的字典,从文件加载一次就不再加载,保存这份引用

        override public void init(LoadItem item)
        {
            base.init(item);

            m_pakItem = new PakItem();
            m_pakItem.m_fs = (item as ABPakLoadItem).m_fs;
            m_pakItem.readArchiveFileHeader();      // 获取打包头部信息

            initMemUnPak();
        }