using System.Collections.Generic; using OpenDiablo2.Common.Enums; using OpenDiablo2.Common.Models; namespace OpenDiablo2.Common.Interfaces { /// /// A utility class to make it easy to get specific types of resources from the data files in the game. /// public interface IResourceManager { /// /// Get an from the game's resources. /// /// The path to the ImageSet to grab. /// The that was requested. Throw an exception if not found. ImageSet GetImageSet(string resourcePath); MPQFont GetMPQFont(string resourcePath); MPQDS1 GetMPQDS1(string resourcePath, LevelPreset level, LevelDetail levelDetail, LevelType levelType); MPQDT1 GetMPQDT1(string resourcePath); Palette GetPalette(string paletteFile); MPQCOF GetPlayerAnimation(eHero hero, eWeaponClass weaponClass, eMobMode mobMode); MPQDCC GetPlayerDCC(MPQCOF.COFLayer cofLayer, eArmorType armorType, Palette palette); Dictionary> Animations { get; } } }