/********* ** Public methods *********/ /// <summary>Get whether this instance can edit the given asset.</summary> /// <typeparam name="_T">The asset Type.</typeparam> /// <param name="asset">Basic metadata about the asset being loaded.</param> /// <returns>true for asset Data\Events\***, false otherwise</returns> public bool CanEdit <_T> (IAssetInfo asset) { return(ModConfig.AssetMatch(asset, "Characters\\Dialogue", ModConfig.NPCs)); }
/********* ** Public methods *********/ /// <summary>Get whether this instance can edit the given asset.</summary> /// <typeparam name="_T">The asset Type.</typeparam> /// <param name="asset">Basic metadata about the asset being loaded.</param> /// <returns>true for asset Data\Events\***, false otherwise</returns> public bool CanEdit <_T> (IAssetInfo asset) { return(ModConfig.AssetMatch(asset, "Data\\Events", ModConfig.EventLocations)); }