PluginInfo.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Reflection;
  2. using JoystickTriggerFix;
  3. #region Assembly attributes
  4. /*
  5. * These attributes define various metainformation of the generated DLL.
  6. * In general, you don't need to touch these. Instead, edit the values in PluginInfo.
  7. */
  8. [assembly: AssemblyVersion(PluginInfo.PLUGIN_VERSION)]
  9. [assembly: AssemblyTitle(PluginInfo.PLUGIN_NAME + " (" + PluginInfo.PLUGIN_ID + ")")]
  10. [assembly: AssemblyProduct(PluginInfo.PLUGIN_NAME)]
  11. #endregion
  12. namespace JoystickTriggerFix
  13. {
  14. /// <summary>
  15. /// The main metadata of the plugin.
  16. /// This information is used for BepInEx plugin metadata.
  17. /// </summary>
  18. /// <remarks>
  19. /// See also description of BepInEx metadata:
  20. /// https://bepinex.github.io/bepinex_docs/master/articles/dev_guide/plugin_tutorial/2_plugin_start.html#basic-information-about-the-plug-in
  21. /// </remarks>
  22. internal static class PluginInfo
  23. {
  24. /// <summary>
  25. /// Human-readable name of the plugin. In general, it should be short and concise.
  26. /// This is the name that is shown to the users who run BepInEx and to modders that inspect BepInEx logs.
  27. /// </summary>
  28. public const string PLUGIN_NAME = "Joystick Fix";
  29. /// <summary>
  30. /// Unique ID of the plugin.
  31. /// This must be a unique string that contains only characters a-z, 0-9 underscores (_) and dots (.)
  32. /// Prefer using the reverse domain name notation: https://eqdn.tech/reverse-domain-notation/
  33. ///
  34. /// When creating Harmony patches, prefer using this ID for Harmony instances as well.
  35. /// </summary>
  36. public const string PLUGIN_ID = "org.bepinex.joystick.fix";
  37. /// <summary>
  38. /// Version of the plugin. Must be in form <major>.<minor>.<build>.<revision>.
  39. /// Major and minor versions are mandatory, but build and revision can be left unspecified.
  40. /// </summary>
  41. public const string PLUGIN_VERSION = "1.0.0";
  42. }
  43. }