bump to MelonLoader 0.3.0

This commit is contained in:
Sinai 2021-03-06 17:25:54 +11:00
parent 12cd718f12
commit ce38e8ac50
5 changed files with 8 additions and 8 deletions

Binary file not shown.

BIN
lib/MelonLoader.dll Normal file

Binary file not shown.

View File

@ -199,7 +199,7 @@ namespace UnityExplorer
return;
#if ML
MelonLoader.MelonLogger.Log(message?.ToString());
MelonLoader.MelonLogger.Msg(message?.ToString());
#elif BIE
ExplorerBepInPlugin.Logging?.LogMessage(message?.ToString());
#elif STANDALONE
@ -215,7 +215,7 @@ namespace UnityExplorer
return;
#if ML
MelonLoader.MelonLogger.LogWarning(message?.ToString());
MelonLoader.MelonLogger.Msg(message?.ToString());
#elif BIE
ExplorerBepInPlugin.Logging?.LogWarning(message?.ToString());
#elif STANDALONE
@ -231,7 +231,7 @@ namespace UnityExplorer
return;
#if ML
MelonLoader.MelonLogger.LogError(message?.ToString());
MelonLoader.MelonLogger.Msg(message?.ToString());
#elif BIE
ExplorerBepInPlugin.Logging?.LogError(message?.ToString());
#elif STANDALONE

View File

@ -20,7 +20,7 @@ namespace UnityExplorer
ExplorerCore.Update();
}
public override void OnLevelWasLoaded(int level)
public override void OnSceneWasLoaded(int buildIndex, string sceneName)
{
ExplorerCore.Instance.OnSceneLoaded();
}

View File

@ -116,8 +116,8 @@
</ItemGroup>
<!-- MelonLoader Mono refs -->
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|false'">
<Reference Include="MelonLoader.ModHandler">
<HintPath>..\lib\MelonLoader.ModHandler.dll</HintPath>
<Reference Include="MelonLoader">
<HintPath>..\lib\MelonLoader.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
@ -134,8 +134,8 @@
</ItemGroup>
<!-- MelonLoader Il2Cpp refs -->
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|true'">
<Reference Include="MelonLoader.ModHandler">
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.ModHandler.dll</HintPath>
<Reference Include="MelonLoader">
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnhollowerBaseLib">