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.

43 lines
939 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. using IPA.Config;
  2. using System;
  3. using UnityEngine.SceneManagement;
  4. namespace IPA.Updating
  5. {
  6. [Obsolete("Only used for old updating system, replaced with a PluginMeta for the embedded manifest")]
  7. internal class SelfPlugin : IBeatSaberPlugin
  8. {
  9. public static SelfPlugin Instance { get; set; } = new SelfPlugin();
  10. public string Name => SelfConfig.IPAName;
  11. public string Version => SelfConfig.IPAVersion;
  12. public void OnActiveSceneChanged(Scene prevScene, Scene nextScene)
  13. {
  14. }
  15. public void OnApplicationQuit()
  16. {
  17. }
  18. public void OnApplicationStart()
  19. {
  20. }
  21. public void OnFixedUpdate()
  22. {
  23. }
  24. public void OnSceneLoaded(Scene scene, LoadSceneMode sceneMode)
  25. {
  26. }
  27. public void OnSceneUnloaded(Scene scene)
  28. {
  29. }
  30. public void OnUpdate()
  31. {
  32. }
  33. }
  34. }