Browse Source

Added a few TODOs

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
fb232e076e
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      IPA.Loader/Config/Config.cs
  2. +1
    -1
      IPA.Loader/Config/IConfigProvider.cs
  3. +1
    -1
      IPA.Loader/Loader/PluginLoader.cs

+ 1
- 1
IPA.Loader/Config/Config.cs View File

@ -166,7 +166,7 @@ namespace IPA.Config
/// <param name="onChange">an action to perform on value change</param> /// <param name="onChange">an action to perform on value change</param>
/// <returns>a <see cref="Ref{T}"/> to an ever-changing value, mirroring whatever the file contains.</returns> /// <returns>a <see cref="Ref{T}"/> to an ever-changing value, mirroring whatever the file contains.</returns>
public static Ref<T> MakeLink<T>(this IConfigProvider config, Action<IConfigProvider, Ref<T>> onChange = null) public static Ref<T> MakeLink<T>(this IConfigProvider config, Action<IConfigProvider, Ref<T>> onChange = null)
{
{ // TODO: rework this stuff
Ref<T> @ref = config.Parse<T>(); Ref<T> @ref = config.Parse<T>();
void ChangeDelegate() void ChangeDelegate()
{ {


+ 1
- 1
IPA.Loader/Config/IConfigProvider.cs View File

@ -7,7 +7,7 @@ namespace IPA.Config
/// An interface for configuration providers. /// An interface for configuration providers.
/// </summary> /// </summary>
public interface IConfigProvider public interface IConfigProvider
{
{ // TODO: rework this
/// <summary> /// <summary>
/// Loads the data provided by this <see cref="IConfigProvider"/> into an object of type <typeparamref name="T"/>. /// Loads the data provided by this <see cref="IConfigProvider"/> into an object of type <typeparamref name="T"/>.
/// </summary> /// </summary>


+ 1
- 1
IPA.Loader/Loader/PluginLoader.cs View File

@ -630,7 +630,7 @@ namespace IPA.Loader
Logger.loader.Warn($"Mod {meta.Name} developed for game version {meta.Manifest.GameVersion}, so it may not work properly."); Logger.loader.Warn($"Mod {meta.Name} developed for game version {meta.Manifest.GameVersion}, so it may not work properly.");
try try
{
{ // TODO: add dependency checking for when features prevent loading
Load(meta); Load(meta);
Feature denyingFeature = null; Feature denyingFeature = null;


Loading…
Cancel
Save