Unofficial CardLife revival project, pronounced like "celery"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
718B

  1. using System.IO;
  2. using System.Reflection;
  3. using IllusionPlugin;
  4. using CLre.API.Utility;
  5. using Logging = CLre.API.Utility.Logging;
  6. namespace CLre
  7. {
  8. public class CLre : IEnhancedPlugin // the Illusion Plugin Architecture (IPA) will ignore classes that don't implement IPlugin'
  9. {
  10. public override string Name { get; } = Assembly.GetExecutingAssembly().GetName().Name;
  11. public override string Version { get; } = Assembly.GetExecutingAssembly().GetName().Version.ToString();
  12. // called when Cardlife shuts down
  13. public override void OnApplicationQuit()
  14. {
  15. }
  16. // called when Cardlife starts up
  17. public override void OnApplicationStart()
  18. {
  19. Logging.MetaLog($"{Name} has been loaded.");
  20. }
  21. }
  22. }