Exemplo n.º 1
0
        public static async Task <StainingTemplateFile> GetStainingTemplateFile(bool forceOriginal = false, IndexFile index = null, ModList modlist = null)
        {
            var _dat = new Dat(XivCache.GameInfo.GameDirectory);

            var data = await _dat.GetType2Data(GearStainingTemplatePath, forceOriginal, index, modlist);

            var ret = new StainingTemplateFile(data);

            return(ret);
        }
Exemplo n.º 2
0
        public static async Task SaveStainingTemplateFile(StainingTemplateFile file, string applicationSource, IndexFile index = null, ModList modlist = null)
        {
            throw new NotImplementedException();
            var data = new byte[0];//file.GetBytes();

            var _dat = new Dat(XivCache.GameInfo.GameDirectory);

            var dummyItem = new XivGenericItemModel()
            {
                Name = "Equipment Staining Template",
                SecondaryCategory = "Raw Files"
            };

            await _dat.ImportType2Data(data, GearStainingTemplatePath, applicationSource, null, index, modlist);
        }