Пример #1
0
        public override object LoadFromArchive(BinaryReader stream)
        {
            ChunkTemplate temp = new ChunkTemplate(stream);

            ChunkTemplate.AddTemplate(temp);
            return(temp);
        }
Пример #2
0
        public override ResourceItem[] LoadFromFile(string keyPrefix, string fileName, string fileExtension, FileStream stream)
        {
            ChunkTemplate temp = new ChunkTemplate(stream);

            ChunkTemplate.AddTemplate(temp);
            return(new ResourceItem[] { new ResourceItem(keyPrefix + fileName, temp) });
        }