Skip to content

Commit a1c0720

Browse files
Fixed System.Func errors in BP:Essentials
1 parent 923ee69 commit a1c0720

19 files changed

Lines changed: 72 additions & 51 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d8ecb5d4a0d3442744a3508f47ae82529b9d83b5
1+
6f051f3773f28dd737e06e6fa081d55ae6f23112
Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
/home/dbk/Documents/BPGame/bpgameserver_Data/Managed/HookAttribute.dll
2-
/home/dbk/Documents/BPGame/bpgameserver_Data/Managed/HookAttribute.pdb
3-
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.csprojResolveAssemblyReference.cache
4-
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.csproj.CoreCompileInputs.cache
5-
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.dll
6-
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.pdb
7-
F:\BPGame\bpgameserver_Data\Managed\HookAttribute.dll
8-
F:\BPGame\bpgameserver_Data\Managed\HookAttribute.pdb
9-
F:\UnityHooks\HookAttribute\obj\Release\HookAttribute.csprojResolveAssemblyReference.cache
10-
F:\UnityHooks\HookAttribute\obj\Release\HookAttribute.dll
11-
F:\UnityHooks\HookAttribute\obj\Release\HookAttribute.pdb
1+
/home/dbk/Documents/BPGame/bpgameserver_Data/Managed/HookAttribute.dll
2+
/home/dbk/Documents/BPGame/bpgameserver_Data/Managed/HookAttribute.pdb
3+
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.csprojResolveAssemblyReference.cache
4+
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.csproj.CoreCompileInputs.cache
5+
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.dll
6+
/home/dbk/Documents/UnityHooks/HookAttribute/obj/Release/HookAttribute.pdb
7+
F:/BPGame/bpgameserver_Data/Managed/HookAttribute.dll
8+
F:/BPGame/bpgameserver_Data/Managed/HookAttribute.pdb
9+
F:/UnityHooks/HookAttribute/obj/Release/HookAttribute.csprojResolveAssemblyReference.cache
10+
F:/UnityHooks/HookAttribute/obj/Release/HookAttribute.dll
11+
F:/UnityHooks/HookAttribute/obj/Release/HookAttribute.pdb
12+
/home/dbk/Documents/Git/UniversalUnityHooks/Output/HookAttribute.dll
13+
/home/dbk/Documents/Git/UniversalUnityHooks/Output/HookAttribute.pdb
14+
/home/dbk/Documents/Git/UniversalUnityHooks/HookAttribute/obj/Release/HookAttribute.csprojResolveAssemblyReference.cache
15+
/home/dbk/Documents/Git/UniversalUnityHooks/HookAttribute/obj/Release/HookAttribute.csproj.CoreCompileInputs.cache
16+
/home/dbk/Documents/Git/UniversalUnityHooks/HookAttribute/obj/Release/HookAttribute.dll
17+
/home/dbk/Documents/Git/UniversalUnityHooks/HookAttribute/obj/Release/HookAttribute.pdb
Binary file not shown.
0 Bytes
Binary file not shown.
-11 KB
Binary file not shown.

HooksInjector/ScriptsCompiler.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public ScriptsCompiler(string pluginsDirectory, string managedFolder)
2828

2929
public string CompileScript(string scriptFile)
3030
{
31-
CSharpCodeProvider provider = new CSharpCodeProvider();
31+
32+
CSharpCodeProvider provider = new CSharpCodeProvider();
3233

3334
string outputPath = "Plugins/" + new FileInfo(scriptFile).Name.Replace(".cs", ".dll");
3435
CompilerParameters compilerParams = new CompilerParameters
@@ -42,7 +43,7 @@ public string CompileScript(string scriptFile)
4243

4344
foreach (var file in Directory.GetFiles(_managedFolder))
4445
{
45-
if (file.EndsWith(".dll") && !file.Contains("msc") && !file.Contains(("System")))
46+
if (file.EndsWith(".dll") && !file.Contains("msc"))
4647
{
4748
compilerParams.ReferencedAssemblies.Add(file);
4849
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cd9ff965a801c6d2016791a7277c1bd703ebd3c1
1+
c3d5ac8fed8be022c3e32cc07c05feb778703222
Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
/home/dbk/Documents/BPGame/HooksInjector.exe.config
2-
/home/dbk/Documents/BPGame/HooksInjector.exe
3-
/home/dbk/Documents/BPGame/HooksInjector.pdb
4-
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csprojResolveAssemblyReference.cache
5-
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.HooksInjector.exe.config
6-
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.CoreCompileInputs.cache
7-
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.exe
8-
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.pdb
9-
F:\BPGame\HooksInjector.exe.config
10-
F:\BPGame\HooksInjector.exe
11-
F:\BPGame\HooksInjector.pdb
12-
F:\UnityHooks\HooksInjector\obj\Release\HooksInjector.csprojResolveAssemblyReference.cache
13-
F:\UnityHooks\HooksInjector\obj\Release\HooksInjector.exe
14-
F:\UnityHooks\HooksInjector\obj\Release\HooksInjector.pdb
1+
/home/dbk/Documents/BPGame/HooksInjector.exe.config
2+
/home/dbk/Documents/BPGame/HooksInjector.exe
3+
/home/dbk/Documents/BPGame/HooksInjector.pdb
4+
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csprojResolveAssemblyReference.cache
5+
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.HooksInjector.exe.config
6+
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.CoreCompileInputs.cache
7+
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.exe
8+
/home/dbk/Documents/UnityHooks/HooksInjector/obj/Release/HooksInjector.pdb
9+
F:/BPGame/HooksInjector.exe.config
10+
F:/BPGame/HooksInjector.exe
11+
F:/BPGame/HooksInjector.pdb
12+
F:/UnityHooks/HooksInjector/obj/Release/HooksInjector.csprojResolveAssemblyReference.cache
13+
F:/UnityHooks/HooksInjector/obj/Release/HooksInjector.exe
14+
F:/UnityHooks/HooksInjector/obj/Release/HooksInjector.pdb
15+
/home/dbk/Documents/Git/UniversalUnityHooks/Output/HooksInjector.exe.config
16+
/home/dbk/Documents/Git/UniversalUnityHooks/Output/HooksInjector.exe
17+
/home/dbk/Documents/Git/UniversalUnityHooks/Output/HooksInjector.pdb
18+
/home/dbk/Documents/Git/UniversalUnityHooks/HooksInjector/obj/Release/HooksInjector.csprojResolveAssemblyReference.cache
19+
/home/dbk/Documents/Git/UniversalUnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.HooksInjector.exe.config
20+
/home/dbk/Documents/Git/UniversalUnityHooks/HooksInjector/obj/Release/HooksInjector.csproj.CoreCompileInputs.cache
21+
/home/dbk/Documents/Git/UniversalUnityHooks/HooksInjector/obj/Release/HooksInjector.exe
22+
/home/dbk/Documents/Git/UniversalUnityHooks/HooksInjector/obj/Release/HooksInjector.pdb
0 Bytes
Binary file not shown.
-17 KB
Binary file not shown.

0 commit comments

Comments
 (0)