Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit ce38e8a

Browse files
committed
bump to MelonLoader 0.3.0
1 parent 12cd718 commit ce38e8a

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lib/MelonLoader.ModHandler.dll

-413 KB
Binary file not shown.

lib/MelonLoader.dll

453 KB
Binary file not shown.

src/ExplorerCore.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static void Log(object message, bool unity = false)
199199
return;
200200

201201
#if ML
202-
MelonLoader.MelonLogger.Log(message?.ToString());
202+
MelonLoader.MelonLogger.Msg(message?.ToString());
203203
#elif BIE
204204
ExplorerBepInPlugin.Logging?.LogMessage(message?.ToString());
205205
#elif STANDALONE
@@ -215,7 +215,7 @@ public static void LogWarning(object message, bool unity = false)
215215
return;
216216

217217
#if ML
218-
MelonLoader.MelonLogger.LogWarning(message?.ToString());
218+
MelonLoader.MelonLogger.Msg(message?.ToString());
219219
#elif BIE
220220
ExplorerBepInPlugin.Logging?.LogWarning(message?.ToString());
221221
#elif STANDALONE
@@ -231,7 +231,7 @@ public static void LogError(object message, bool unity = false)
231231
return;
232232

233233
#if ML
234-
MelonLoader.MelonLogger.LogError(message?.ToString());
234+
MelonLoader.MelonLogger.Msg(message?.ToString());
235235
#elif BIE
236236
ExplorerBepInPlugin.Logging?.LogError(message?.ToString());
237237
#elif STANDALONE

src/ExplorerMelonMod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public override void OnUpdate()
2020
ExplorerCore.Update();
2121
}
2222

23-
public override void OnLevelWasLoaded(int level)
23+
public override void OnSceneWasLoaded(int buildIndex, string sceneName)
2424
{
2525
ExplorerCore.Instance.OnSceneLoaded();
2626
}

src/UnityExplorer.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
</ItemGroup>
117117
<!-- MelonLoader Mono refs -->
118118
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|false'">
119-
<Reference Include="MelonLoader.ModHandler">
120-
<HintPath>..\lib\MelonLoader.ModHandler.dll</HintPath>
119+
<Reference Include="MelonLoader">
120+
<HintPath>..\lib\MelonLoader.dll</HintPath>
121121
<Private>False</Private>
122122
</Reference>
123123
</ItemGroup>
@@ -134,8 +134,8 @@
134134
</ItemGroup>
135135
<!-- MelonLoader Il2Cpp refs -->
136136
<ItemGroup Condition="'$(IsMelonLoader)|$(IsCpp)'=='true|true'">
137-
<Reference Include="MelonLoader.ModHandler">
138-
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.ModHandler.dll</HintPath>
137+
<Reference Include="MelonLoader">
138+
<HintPath>$(MLCppGameFolder)\MelonLoader\MelonLoader.dll</HintPath>
139139
<Private>False</Private>
140140
</Reference>
141141
<Reference Include="UnhollowerBaseLib">

0 commit comments

Comments
 (0)