Преглед изворни кода

Mark DependencyFlags with FlagsAttribute
Rebase of 743223e

Bepis пре 4 година
родитељ
комит
98335942b5
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      BepInEx.Core/Contract/Attributes.cs

+ 4 - 0
BepInEx.Core/Contract/Attributes.cs

@@ -67,6 +67,10 @@ namespace BepInEx
 	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
 	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
 	public class BepInDependency : Attribute, ICacheable
 	public class BepInDependency : Attribute, ICacheable
 	{
 	{
+		/// <summary>
+		/// Flags that are applied to a dependency
+		/// </summary>
+		[Flags]
 		public enum DependencyFlags
 		public enum DependencyFlags
 		{
 		{
 			/// <summary>
 			/// <summary>