Unhardcode modchooser mod for content installation.

This commit is contained in:
Paul Chote
2017-01-27 17:07:55 +00:00
parent 657ba90ae3
commit 9b6afd3c37
5 changed files with 29 additions and 11 deletions

View File

@@ -222,9 +222,19 @@ namespace OpenRA
public interface ILoadScreen : IDisposable
{
/// <summary>Initializes the loadscreen with yaml data from the LoadScreen block in mod.yaml.</summary>
void Init(ModData m, Dictionary<string, string> info);
/// <summary>Called at arbitrary times during mod load to rerender the loadscreen.</summary>
void Display();
bool RequiredContentIsInstalled();
/// <summary>
/// Called before loading the mod assets.
/// Returns false if mod loading should be aborted (e.g. switching to another mod instead).
/// </summary>
bool BeforeLoad();
/// <summary>Called when the engine expects to connect to a server/replay or load the shellmap.</summary>
void StartGame(Arguments args);
}
}