We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dca88b commit cbc92d8Copy full SHA for cbc92d8
1 file changed
src/Extensions/Extension.cs
@@ -1,4 +1,5 @@
1
-using System.Linq;
+using System.Collections.Generic;
2
+using System.Linq;
3
using System.Reflection;
4
5
namespace Oxide.Core.Extensions
@@ -101,6 +102,15 @@ public virtual void LoadPluginWatchers(string pluginDirectory)
101
102
{
103
}
104
105
+ /// <summary>
106
+ /// Gets the preprocessor directives for this extension
107
+ /// </summary>
108
+ /// <returns></returns>
109
+ public virtual IEnumerable<string> GetPreprocessorDirectives()
110
+ {
111
+ return Enumerable.Empty<string>();
112
+ }
113
+
114
/// <summary>
115
/// Called after all other extensions have been loaded
116
/// </summary>
0 commit comments